Template:CustomTabs/styles.css: Difference between revisions
Added skin-theme-clientpref-os |
ReisuDesign (talk | contribs) No edit summary |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
.skin-theme-clientpref-night { | |||
--secondary-tab-text: var(--color-base); | |||
} | |||
.skin-theme-clientpref-day { | |||
--secondary-tab-text: var(--color-accent-text); | |||
} | } | ||
.custom-tabs { | .custom-tabs { | ||
display: flex; | |||
flex-direction: row; | |||
gap: 5px; | |||
width: 100%; | |||
margin: 5px 0; | |||
flex-wrap: wrap; | |||
justify-content: space-evenly; | |||
} | |||
.custom-tabs > span { | |||
border-radius: 10px; | border-radius: 10px; | ||
display: flex; | display: flex; | ||
| Line 25: | Line 25: | ||
text-align: center; | text-align: center; | ||
transition: 0.25s; | transition: 0.25s; | ||
} | |||
.custom-tabs a, | |||
.custom-tabs .selflink, | |||
.custom-tabs span.new { | |||
display: flex; | display: flex; | ||
width: 100%; | width: 100%; | ||
| Line 39: | Line 39: | ||
text-align: center; | text-align: center; | ||
font-weight: 900 !important; | font-weight: 900 !important; | ||
} | |||
.custom-tabs span.active-tab { | |||
background-color: var(--color-accent); | |||
} | |||
.custom-tabs span.active-tab strong, | |||
.custom-tabs span.active-tab a:not(.new) { | |||
color: var(--color-accent-text); | |||
} | |||
.custom-tabs span.inactive-tab { | |||
background: var(--background-color-1); | |||
} | |||
.custom-tabs span.inactive-tab a:not(.new), | |||
.custom-tabs span.inactive-tab:hover a:not(.new) { | |||
color: var(--color-base); | |||
text-decoration: none; | |||
} | |||
.custom-tabs span.inactive-tab:hover { | |||
background: var(--background-color-3); | |||
} | |||
/* Secondary Tabs */ | |||
.custom-tabs-secondary span.active-tab { | |||
background: rgba(56, 147, 165, 0.6) !important; | |||
} | } | ||
.custom-tabs-secondary span.active-tab strong, | |||
. | .custom-tabs-secondary span.active-tab a:not(.new) { | ||
color: var(--secondary-tab-text) !important; | |||
} | |||
/* Tertiary Tabs */ | |||
.custom-tabs-tertiary span.active-tab { | |||
background-color: var(--background-color-3) !important; | |||
} | } | ||
.custom-tabs-tertiary span.active-tab strong, | |||
.custom-tabs- | .custom-tabs-tertiary span.active-tab a:not(.new) { | ||
color: var(--secondary-tab-text) !important; | |||
} | } | ||