Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add negative border radius to tab elements #17

Merged
merged 1 commit into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 38 additions & 3 deletions src/frontend/styles/components/golden_layout.styl
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@
height: 34px !important
padding-left: 2px !important
box-shadow: 2px 0 0 0 HEADER_PANEL_BACKGROUND_COLOR !important
z-index: 10 !important
z-index: 3 !important
margin-right: 2px !important

.lm_splitter
background: LAYOUT_SPLITTER_COLOR !important
opacity: unset !important
transition: opacity 200ms ease !important
z-index: 4 !important

.lm_stack
overflow: hidden !important

.lm_tabs
width: calc(100% - 2px)
Expand Down Expand Up @@ -49,8 +53,7 @@
line-height: 24px !important
// max-width: min(200px, 30%)
overflow: hidden
border-top-left-radius: 6px
border-top-right-radius: 6px
border-radius: 6px
// margin-left: 2px !important
margin-right: 4px !important
margin-bottom: 0px !important
Expand All @@ -65,6 +68,7 @@
.lm_item
background-color: LAYOUT_SPLITTER_COLOR !important
outline: 1px solid LAYOUT_SPLITTER_COLOR !important
z-index: 3 !important

.lm_items
transform: translateX(-2px)
Expand Down Expand Up @@ -124,6 +128,37 @@
border-bottom-right-radius: 0px
border-bottom-left-radius: 0px
box-shadow: 0px 8px 0px 0px HEADER_ACTIVE_PANEL_BACKGROUND_COLOR !important
overflow: visible !important

&::before
content: " ";
pointer-events: none;
position: absolute;
display: block;
height: 80%;
width: 26px;
bottom: 0px;
z-index: 1;
left: -26px;
border-radius: 0 0 10px 0;
opacity: 1;
box-shadow: 10px 0.34em 0 -4px SECONDARY_BASE
transform: translate(0px, 4.1px)

&::after
content: " ";
pointer-events: none;
position: absolute;
display: block;
height: 80%;
width: 26px;
bottom: 0px;
z-index: 1;
right: -26px;
border-radius: 0 0 0 10px;
opacity: 1;
box-shadow: -10px 0.34em 0 -4px SECONDARY_BASE
transform: translate(0px, 4.1px)

.lm_header .lm_active .lm_title
color: HEADER_ACTIVE_PANEL_TEXT_COLOR !important
Expand Down
3 changes: 3 additions & 0 deletions src/frontend/styles/components/shared_widgets.styl
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@ input:checked ~ .checkmark:after
.hamburger-dropdown + .dropdown-list.active
width: fit-content

.layout-buttons-container-wrapper
outline: 4px solid PRIMARY_BASE

.layout-buttons-container
width: 28px !important
height: 28px !important
Expand Down