Skip to content

Commit 3114c03

Browse files
pxoralehander92
authored andcommitted
feat: Add negative border radius to tab elements
1 parent a66390a commit 3114c03

File tree

2 files changed

+41
-3
lines changed

2 files changed

+41
-3
lines changed

src/frontend/styles/components/golden_layout.styl

+38-3
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@
1010
height: 34px !important
1111
padding-left: 2px !important
1212
box-shadow: 2px 0 0 0 HEADER_PANEL_BACKGROUND_COLOR !important
13-
z-index: 10 !important
13+
z-index: 3 !important
1414
margin-right: 2px !important
1515

1616
.lm_splitter
1717
background: LAYOUT_SPLITTER_COLOR !important
1818
opacity: unset !important
1919
transition: opacity 200ms ease !important
20+
z-index: 4 !important
21+
22+
.lm_stack
23+
overflow: hidden !important
2024

2125
.lm_tabs
2226
width: calc(100% - 2px)
@@ -49,8 +53,7 @@
4953
line-height: 24px !important
5054
// max-width: min(200px, 30%)
5155
overflow: hidden
52-
border-top-left-radius: 6px
53-
border-top-right-radius: 6px
56+
border-radius: 6px
5457
// margin-left: 2px !important
5558
margin-right: 4px !important
5659
margin-bottom: 0px !important
@@ -65,6 +68,7 @@
6568
.lm_item
6669
background-color: LAYOUT_SPLITTER_COLOR !important
6770
outline: 1px solid LAYOUT_SPLITTER_COLOR !important
71+
z-index: 3 !important
6872

6973
.lm_items
7074
transform: translateX(-2px)
@@ -124,6 +128,37 @@
124128
border-bottom-right-radius: 0px
125129
border-bottom-left-radius: 0px
126130
box-shadow: 0px 8px 0px 0px HEADER_ACTIVE_PANEL_BACKGROUND_COLOR !important
131+
overflow: visible !important
132+
133+
&::before
134+
content: " ";
135+
pointer-events: none;
136+
position: absolute;
137+
display: block;
138+
height: 80%;
139+
width: 26px;
140+
bottom: 0px;
141+
z-index: 1;
142+
left: -26px;
143+
border-radius: 0 0 10px 0;
144+
opacity: 1;
145+
box-shadow: 10px 0.34em 0 -4px SECONDARY_BASE
146+
transform: translate(0px, 4.1px)
147+
148+
&::after
149+
content: " ";
150+
pointer-events: none;
151+
position: absolute;
152+
display: block;
153+
height: 80%;
154+
width: 26px;
155+
bottom: 0px;
156+
z-index: 1;
157+
right: -26px;
158+
border-radius: 0 0 0 10px;
159+
opacity: 1;
160+
box-shadow: -10px 0.34em 0 -4px SECONDARY_BASE
161+
transform: translate(0px, 4.1px)
127162

128163
.lm_header .lm_active .lm_title
129164
color: HEADER_ACTIVE_PANEL_TEXT_COLOR !important

src/frontend/styles/components/shared_widgets.styl

+3
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@ input:checked ~ .checkmark:after
368368
.hamburger-dropdown + .dropdown-list.active
369369
width: fit-content
370370

371+
.layout-buttons-container-wrapper
372+
outline: 4px solid PRIMARY_BASE
373+
371374
.layout-buttons-container
372375
width: 28px !important
373376
height: 28px !important

0 commit comments

Comments
 (0)