mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-14 18:15:49 +00:00
feat: update toc and theme toggle to use new icon opacity
This commit is contained in:
parent
9cd101c833
commit
06b60ca582
|
@ -9,12 +9,16 @@
|
|||
background-repeat: no-repeat;
|
||||
cursor: pointer;
|
||||
font-size: 0;
|
||||
opacity: @opacity-icon;
|
||||
opacity: var( --opacity-icon-base );
|
||||
outline: 0;
|
||||
transition: @transition-transform-quick, @transition-opacity-quick;
|
||||
|
||||
&:hover {
|
||||
opacity: @opacity-icon-active;
|
||||
opacity: var( --opacity-icon-base--hover );
|
||||
}
|
||||
|
||||
&:active {
|
||||
opacity: var( --opacity-icon-base--active );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -135,18 +135,22 @@
|
|||
.boxshadow(5);
|
||||
|
||||
&:before {
|
||||
opacity: @opacity-icon-active;
|
||||
opacity: var( --opacity-icon-base--hover );
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: var( --background-color-dp-02 );
|
||||
|
||||
&:before {
|
||||
opacity: var( --opacity-icon-base--active );
|
||||
}
|
||||
}
|
||||
|
||||
&:before {
|
||||
.resource-loader-icon;
|
||||
display: block;
|
||||
opacity: @opacity-icon;
|
||||
opacity: var( --opacity-icon-base );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue