-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
bitWolfy
committed
Mar 22, 2020
1 parent
03ac1f9
commit 813d29a
Showing
6 changed files
with
58 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,48 @@ | ||
/* Tab Group Styles */ | ||
re-tab-group { | ||
box-sizing: border-box; | ||
display: flex; | ||
flex-wrap: wrap; | ||
width: fit-content; | ||
|
||
.re-tab-input { | ||
position: absolute; | ||
opacity: 0; | ||
|
||
&:focus+.re-tab-label { | ||
z-index: 1; | ||
} | ||
div.ui-widget-content.ui-tabs { | ||
|
||
&:checked+.re-tab-label { | ||
background: #00000050; | ||
} | ||
// Whoever desided to include JQuery-UI theming in e621. | ||
// My hatred for you is ever increasing. Just why. | ||
|
||
&:checked+.re-tab-label+.re-tab-panel { | ||
display: block; | ||
} | ||
@include themable { | ||
border: 1px solid lighten(themed("color-section"), 10%) !important; | ||
background-color: lighten(themed("color-section"), 10%) !important; | ||
color: themed("color-text") !important; | ||
} | ||
|
||
.re-tab-label { | ||
width: 100%; | ||
cursor: pointer; | ||
ul.ui-tabs-nav { | ||
border: unset !important; | ||
background-color: unset !important; | ||
color: unset !important; | ||
|
||
padding: 0.25rem 0.5rem; | ||
margin-right: 0.5rem; | ||
border-radius: 0 0 6px 6px; | ||
margin-left: 0; | ||
|
||
background: #00000030; | ||
li.ui-tabs-tab { | ||
display: inline-block; | ||
|
||
&:hover, | ||
&:active { | ||
background: #00000050; | ||
} | ||
border: unset; | ||
background: unset; | ||
|
||
@media (min-width: 800px) { | ||
width: auto; | ||
} | ||
} | ||
padding: 0.5rem 0.25rem; | ||
margin-right: 1rem; | ||
|
||
.re-tab-panel { | ||
display: none; | ||
width: 100%; | ||
padding-top: 0.5rem; | ||
@include themable { | ||
background-color: lighten(themed("color-section"), 10%) !important; | ||
color: themed("color-text") !important; | ||
} | ||
|
||
@media (min-width: 600px) { | ||
order: 99; | ||
&.ui-tabs-active { | ||
@include themable { | ||
background-color: themed("color-section") !important; | ||
color: themed("color-text") !important; | ||
} | ||
} | ||
} | ||
} | ||
|
||
div.ui-tabs-panel { | ||
border: unset !important; | ||
background-color: unset !important; | ||
color: unset !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters