2019-12-29 18:45:17 +00:00
|
|
|
/*
|
|
|
|
* Citizen - Echo Styles
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
|
|
|
|
// Styles for echo badges
|
|
|
|
#pt-notifications {
|
|
|
|
&-alert,
|
|
|
|
&-notice {
|
|
|
|
.mw-echo-notifications-badge {
|
2021-01-13 17:21:01 +00:00
|
|
|
top: 0;
|
2021-01-16 00:56:59 +00:00
|
|
|
width: var( --width-button-base );
|
|
|
|
height: var( --height-header );
|
2021-01-11 16:45:52 +00:00
|
|
|
margin: 0;
|
2021-01-13 17:21:39 +00:00
|
|
|
background-position: center;
|
2021-01-13 17:21:01 +00:00
|
|
|
background-repeat: no-repeat;
|
2021-01-15 19:27:39 +00:00
|
|
|
opacity: var( --opacity-icon-base );
|
2021-01-13 17:21:01 +00:00
|
|
|
transition: @transition-opacity-quick, @transition-transform-quick;
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2021-01-15 19:27:39 +00:00
|
|
|
&:hover {
|
|
|
|
opacity: var( --opacity-icon-base--hover ) !important; // override all styles
|
|
|
|
}
|
|
|
|
|
2019-12-29 18:45:17 +00:00
|
|
|
&:active {
|
2021-01-15 19:27:39 +00:00
|
|
|
opacity: var( --opacity-icon-base--active ) !important;
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Badge tweaks
|
|
|
|
&:after {
|
2021-03-06 19:40:32 +00:00
|
|
|
background-color: var( --color-destructive );
|
|
|
|
border-radius: 100px;
|
|
|
|
font-size: 10px;
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-echo-notifications-badge-all-read {
|
2021-01-15 19:27:39 +00:00
|
|
|
opacity: var( --opacity-base--disabled );
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Rotate bell
|
|
|
|
&-alert {
|
|
|
|
.mw-echo-notifications-badge {
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2021-01-13 17:21:01 +00:00
|
|
|
transform: rotateZ( 20deg );
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-12 05:59:04 +00:00
|
|
|
|
2021-01-09 21:57:28 +00:00
|
|
|
.skin-citizen-dark {
|
2020-06-12 05:59:04 +00:00
|
|
|
#pt-notifications {
|
|
|
|
&-alert,
|
|
|
|
&-notice {
|
2021-01-13 19:48:34 +00:00
|
|
|
.mw-echo-notifications-badge {
|
|
|
|
filter: invert( 1 ) hue-rotate( 180deg );
|
2020-06-12 05:59:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|