mediawiki-skins-Citizen/skinStyles/ext.echo.ui.less

328 lines
5.5 KiB
Plaintext
Raw Normal View History

2019-08-15 17:40:13 +00:00
/*
* Citizen - Echo Styles
* https://starcitizen.tools
*/
@import '../resources/variables.less';
@import '../resources/mixins.less';
.mw-echo-ui-overlay {
z-index: 6;
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head {
position: relative;
z-index: 2;
2019-12-26 10:21:50 +00:00
border: 0 !important;
2019-08-15 17:40:13 +00:00
.boxshadow(2);
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer {
2019-12-26 10:21:50 +00:00
border-color: @base-80 !important;
2019-08-15 17:40:13 +00:00
}
2019-08-21 21:39:51 +00:00
.mw-echo-ui-notificationItemWidget {
max-width: 100vw;
}
2019-08-15 17:40:13 +00:00
// 500px or below will break the message box, +40px margin
2019-12-26 10:21:50 +00:00
@media only screen and ( max-width: 540px ) {
2019-08-15 17:40:13 +00:00
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
2019-12-28 21:32:44 +00:00
left: 0 !important;
2019-08-15 17:40:13 +00:00
> .oo-ui-popupWidget-popup {
2019-12-26 10:21:50 +00:00
width: auto !important;
2019-08-15 17:40:13 +00:00
> .oo-ui-popupWidget-body {
2019-12-26 10:21:50 +00:00
width: auto !important;
2019-08-15 17:40:13 +00:00
}
}
2019-12-26 10:21:50 +00:00
> .oo-ui-popupWidget-anchor {
display: none;
}
2019-08-15 17:40:13 +00:00
}
}
2019-12-28 14:52:02 +00:00
@media ( prefers-color-scheme: dark ) {
/**
mw.echo.ui.CrossWikiUnreadFilterWidget.less
*/
.mw-echo-ui-crossWikiNotificationItemWidget,
.mw-echo-ui-bundleNotificationItemWidget {
&-separator {
border-bottom: 1px solid @dark-bg-20;
}
&-group {
background-color: @dark-bg-10;
}
.mw-echo-ui-subGroupListWidget-header {
&-row-title {
color: @dark-text-80;
}
}
}
/**
mw.echo.ui.CrossWikiNotificationItemWidget.less
*/
.mw-echo-ui-crossWikiUnreadFilterWidget {
border: 1px solid @dark-bg-30 !important;
&-subtitle {
color: @dark-text-70;
}
}
/**
mw.echo.ui.CrossWikiNotificationItemWidget.less
*/
.mw-echo-ui-datedSubGroupListWidget {
.mw-body-content &-title {
&-secondary {
color: @dark-text-70;
}
}
/**
mw.echo.ui.FooterNoticeWidget.less
*/
.mw-echo-ui-footerNoticeWidget {
border-bottom: 1px solid @dark-bg-30;
}
}
/**
mw.echo.ui.MenuItemWidget.less
*/
.mw-echo-ui-menuItemWidget {
> .oo-ui-labelElement-label {
color: @dark-text-90;
}
&-dynamic-action {
&:hover {
background-color: @dark-bg-0;
}
.mw-echo-ui-menuItemWidget-description {
color: @dark-text-80;
}
}
.mw-echo-ui-actionMenuPopupWidget-menu:hover {
background-color: @dark-bg-20;
}
}
/**
mw.echo.ui.NotificationBadgeWidget.less
*/
.mw-echo-ui-notificationBadgeButtonPopupWidget {
&-popup {
> .oo-ui-popupWidget-popup {
> .oo-ui-popupWidget-head {
2019-12-28 19:05:50 +00:00
border-color: @dark-bg-30;
2019-12-28 14:52:02 +00:00
}
> .oo-ui-popupWidget-footer {
2019-12-28 21:27:54 +00:00
border-color: @dark-bg-30 !important;
2019-12-28 14:52:02 +00:00
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons {
.oo-ui-buttonElement {
&:last-child {
2019-12-28 21:27:54 +00:00
border-color: @dark-bg-30 !important;
2019-12-28 14:52:02 +00:00
}
}
}
}
}
}
}
/**
mw.echo.ui.NotificationItemWidget.less
*/
.mw-echo-ui-notificationItemWidget {
background-color: @dark-bg-20;
2019-12-28 19:05:50 +00:00
border-color: @dark-bg-30;
2019-12-28 14:52:02 +00:00
&:hover {
background-color: @dark-bg-30;
}
&:last-child {
2019-12-28 19:05:50 +00:00
border-color: @dark-bg-30;
2019-12-28 14:52:02 +00:00
}
&-unread {
background-color: @dark-bg-0;
&:hover {
background-color: @dark-bg-10;
}
}
&-notify {
&-description {
color: @dark-text-80;
}
}
&-content {
&-message {
&-header {
color: @dark-text-100;
}
&-body {
color: @dark-text-70;
}
}
2019-12-28 16:47:07 +00:00
&-actions {
&-timestamp {
color: @dark-text-100;
}
}
2019-12-28 14:52:02 +00:00
}
&-bundled {
.mw-echo-ui-notificationItemWidget-content {
.mw-echo-ui-notificationItemWidget {
&-content-message {
&-header {
em {
color: @dark-text-70;
}
}
}
}
}
}
}
@-webkit-keyframes unseen-fadeout-to-unread {
from {
background-color: @dark-bg-30;
}
to {
background-color: @dark-bg-0;
}
}
@keyframes unseen-fadeout-to-unread {
from {
background-color: @dark-bg-30;
}
to {
background-color: @dark-bg-0;
}
}
@-webkit-keyframes unseen-fadeout-to-read {
from {
background-color: @dark-bg-30;
}
to {
background-color: @dark-bg-20;
}
}
@keyframes unseen-fadeout-to-read {
from {
background-color: @dark-bg-30;
}
to {
background-color: @dark-bg-20;
}
}
/**
mw.echo.ui.NotificationsInboxWidget.less
*/
.mw-echo-ui-notificationsInboxWidget {
&-toolbarWrapper {
background: @dark-bg-0 !important;
}
}
/**
mw.echo.ui.NotificationsListWidget.less
*/
.mw-echo-ui-notificationsListWidget {
> a,
&:hover > a {
color: @dark-text-80;
}
&:not( :hover ) a,
#p-personal &:not( :hover ) a.new {
color: @dark-text-80;
}
}
/**
mw.echo.ui.PageNotificationsOptionWidget.less
*/
.mw-echo-ui-pageNotificationsOptionWidget {
&.oo-ui-optionWidget {
&-selected {
background-color: @dark-bg-30 !important;
}
&-highlighted {
background-color: @dark-bg-10 !important;
color: @dark-text-100 !important;
}
}
&-label-count {
background-color: @dark-bg-20;
color: @dark-text-80;
}
}
/**
mw.echo.ui.PlaceholderItemWidget.less
*/
.mw-echo-ui-placeholderItemWidget {
background-color: @dark-bg-20;
}
/**
mw.echo.ui.ToggleReadCircleButtonWidget.less
*/
.mw-echo-ui-toggleReadCircleButtonWidget {
&-circle {
&-unread {
background-color: @dark-bg-20;
2019-12-28 19:05:50 +00:00
border-color: @dark-bg-60;
2019-12-28 14:52:02 +00:00
}
}
&:hover .mw-echo-ui-toggleReadCircleButtonWidget-circle {
&-unread {
background-color: @dark-bg-30;
}
}
}
/**
Icons
*/
.mw-echo-ui-notificationsInboxWidget,
.mw-echo-ui-overlay {
.oo-ui-indicatorElement-indicator,
.oo-ui-iconElement-icon {
filter: invert( 1 ) hue-rotate( 180deg );
}
}
}