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;
|
background-repeat: no-repeat;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
opacity: @opacity-icon;
|
opacity: var( --opacity-icon-base );
|
||||||
outline: 0;
|
outline: 0;
|
||||||
transition: @transition-transform-quick, @transition-opacity-quick;
|
transition: @transition-transform-quick, @transition-opacity-quick;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: @opacity-icon-active;
|
opacity: var( --opacity-icon-base--hover );
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
opacity: var( --opacity-icon-base--active );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -135,18 +135,22 @@
|
||||||
.boxshadow(5);
|
.boxshadow(5);
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
opacity: @opacity-icon-active;
|
opacity: var( --opacity-icon-base--hover );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background-color: var( --background-color-dp-02 );
|
background-color: var( --background-color-dp-02 );
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
opacity: var( --opacity-icon-base--active );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
.resource-loader-icon;
|
.resource-loader-icon;
|
||||||
display: block;
|
display: block;
|
||||||
opacity: @opacity-icon;
|
opacity: var( --opacity-icon-base );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue