Skip to content

Commit

Permalink
alternate tab styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Sep 27, 2024
1 parent b7cb0e8 commit 14fae22
Showing 1 changed file with 59 additions and 1 deletion.
60 changes: 59 additions & 1 deletion haxe/ui/_module/styles/default/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
}

/************************************************************************
** TABVIEW ALT STYLES
** TABVIEW ALT STYLES - COLLAPSIBLE LABELS
*************************************************************************/
.collapsible-labels .tabbar-button .label {
hidden: true;
Expand All @@ -274,6 +274,64 @@
hidden: false;
}

/************************************************************************
** TABVIEW ALT STYLES - FULL WIDTH BUTTONS
*************************************************************************/
.full-width-buttons .tabbar-button, .full-width-buttons .tabbar > .tabbar-contents {
width: 100%;
}

/************************************************************************
** TABVIEW ALT STYLES - FLAT BUTTONS
*************************************************************************/
.tabview.flat-tabs .tabview-content {
border: none;
}

.tabbar.flat-tabs .tabbar-button, .tabview.flat-tabs > .tabbar .tabbar-button {
background-color: none;
border: none;
filter: none;
}

.tabbar.flat-tabs .tabbar-button-selected, .tabview.flat-tabs > .tabbar .tabbar-button-selected {
border-none: none;
border-bottom: 1px solid $accent-color;
color: $accent-color-darker;
}

.tabbar.flat-tabs:bottom .tabbar-button-selected, .tabview.flat-tabs > .tabbar:bottom .tabbar-button-selected {
border-top: 1px solid $accent-color;
border-bottom: none;
color: $accent-color-darker;
}

/************************************************************************
** TABVIEW ALT STYLES - PILL BUTTONS
*************************************************************************/
.tabview.pill-tabs .tabview-content {
border: none;
}

.tabbar.pill-tabs, .tabview.pill-tabs > .tabbar {
background-color: $solid-background-color-down;
padding: 5px;
}

.tabbar.pill-tabs .tabbar-contents, .tabview.pill-tabs > .tabbar .tabbar-contents {
border: none;
spacing: 5px;
}

.tabbar.pill-tabs .tabbar-button, .tabview.pill-tabs > .tabbar .tabbar-button {
background-color: none;
border: none;
filter: none;
border-radius: 5px;
color: $down-text-color;
}

.tabbar.pill-tabs .tabbar-button-selected, .tabview.pill-tabs > .tabbar .tabbar-button-selected {
background-color: $hover-background-color-end;
color: $accent-color-darker;
}

0 comments on commit 14fae22

Please sign in to comment.