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;
|
2019-12-29 18:45:17 +00:00
|
|
|
width: @icon-box-size + @icon-padding;
|
|
|
|
height: @header-height;
|
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 {
|
|
|
|
background-color: @red-50;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|