| 1 |
/* Echo specific CSS */ |
| 2 |
|
| 3 |
@import 'mediawiki.skin.variables.less'; |
| 4 |
@import 'mediawiki.mixins.less'; |
| 5 |
@import '../echo.variables.less'; |
| 6 |
|
| 7 |
.mw-echo-special-container { |
| 8 |
max-width: 600px; |
| 9 |
} |
| 10 |
|
| 11 |
.client-js .mw-echo-special-nojs { |
| 12 |
min-height: 5em; |
| 13 |
/* @embed */ |
| 14 |
background-image: url( ../../images/pending.gif ); |
| 15 |
|
| 16 |
.mw-echo-special-container { |
| 17 |
display: none; |
| 18 |
} |
| 19 |
} |
| 20 |
|
| 21 |
// Hide the preferences link |
| 22 |
// in the JS version, since it appear inside |
| 23 |
// the cog menu |
| 24 |
|
| 25 |
.client-js #mw-echo-pref-link, |
| 26 |
.client-js #contentSub { |
| 27 |
display: none; |
| 28 |
} |
| 29 |
|
| 30 |
@media all and ( min-width: @specialpage-hd-width ) { |
| 31 |
.client-js #mw-content-text { |
| 32 |
margin-top: 2em; |
| 33 |
} |
| 34 |
} |
| 35 |
|
| 36 |
.mw-echo-special-markAllReadButton { |
| 37 |
float: right; |
| 38 |
} |
| 39 |
|
| 40 |
/* Special styles to use if we're converting subtitle links into header icons */ |
| 41 |
#firstHeading { |
| 42 |
.mw-echo-special-header-link { |
| 43 |
display: block; |
| 44 |
height: 19px; |
| 45 |
width: 19px; |
| 46 |
} |
| 47 |
} |
| 48 |
|
| 49 |
.mw-echo-date-section { |
| 50 |
border-bottom: @border-width-base @border-style-base @border-color-subtle; |
| 51 |
margin: 20px 0 5px 0; |
| 52 |
color: @grey-light; |
| 53 |
display: inline-block; |
| 54 |
width: 100%; |
| 55 |
padding-bottom: 0.5em; |
| 56 |
} |
| 57 |
|
| 58 |
.mw-echo-date-section-text { |
| 59 |
text-transform: uppercase; |
| 60 |
font-size: 1.1em; |
| 61 |
font-weight: 800; |
| 62 |
display: inline-block; |
| 63 |
} |
| 64 |
|
| 65 |
ul.mw-echo-special-notifications { |
| 66 |
list-style: none; |
| 67 |
padding: 0; |
| 68 |
margin: 0; |
| 69 |
width: 100%; |
| 70 |
|
| 71 |
div.mw-htmlform-submit-buttons { |
| 72 |
margin: 0; |
| 73 |
} |
| 74 |
} |
| 75 |
|
| 76 |
.mw-echo-special-navbar-top { |
| 77 |
margin-bottom: 10px; |
| 78 |
} |
| 79 |
|
| 80 |
.mw-echo-special-navbar-bottom { |
| 81 |
margin-top: 20px; |
| 82 |
padding-top: 10px; |
| 83 |
border-top: @border-width-base @border-style-base @border-color-subtle; |
| 84 |
} |
| 85 |
|
| 86 |
.mw-echo-notification { |
| 87 |
padding: 30px 40px 15px 10px; |
| 88 |
|
| 89 |
.mw-echo-markAsReadButton { |
| 90 |
display: none; |
| 91 |
|
| 92 |
button { |
| 93 |
padding: 0; |
| 94 |
} |
| 95 |
} |
| 96 |
} |
| 97 |
|
| 98 |
.mw-echo-markAsReadSectionButton { |
| 99 |
float: right; |
| 100 |
display: inline-block; |
| 101 |
|
| 102 |
button.oo-ui-buttonElement-button { |
| 103 |
padding: 2px 12px 2px 12px; |
| 104 |
} |
| 105 |
|
| 106 |
// HACK: temporary workaround for T136024 |
| 107 |
line-height: normal; |
| 108 |
|
| 109 |
.oo-ui-buttonElement-button { |
| 110 |
.oo-ui-labelElement-label { |
| 111 |
font-weight: normal; |
| 112 |
} |
| 113 |
} |
| 114 |
} |
| 115 |
|
| 116 |
.mw-echo-special-notifications { |
| 117 |
overflow-y: auto; |
| 118 |
|
| 119 |
.mw-echo-notification { |
| 120 |
background-color: @background-color-neutral-subtle; |
| 121 |
|
| 122 |
&:hover { |
| 123 |
background-color: #eaecf0; |
| 124 |
} |
| 125 |
|
| 126 |
&-unread { |
| 127 |
color: @color-base; |
| 128 |
background-color: transparent; |
| 129 |
padding-right: 0; |
| 130 |
|
| 131 |
.mw-echo-title { |
| 132 |
font-weight: bold; |
| 133 |
} |
| 134 |
|
| 135 |
.mw-echo-markAsReadButton { |
| 136 |
float: right; |
| 137 |
display: inline-block; |
| 138 |
margin: 0; |
| 139 |
opacity: 0.5; |
| 140 |
|
| 141 |
&:hover { |
| 142 |
opacity: 1; |
| 143 |
} |
| 144 |
} |
| 145 |
} |
| 146 |
} |
| 147 |
} |
| 148 |
|
| 149 |
div.mw-htmlform-ooui-wrapper { |
| 150 |
margin: 0; |
| 151 |
} |
| 152 |
|
| 153 |
@media all and ( max-width: ( @specialpage-hd-width - 1 ) ) { |
| 154 |
/* stylelint-disable-next-line selector-class-pattern */ |
| 155 |
.pre-content.heading-holder { |
| 156 |
// Center 'preferences' in mobile special page |
| 157 |
text-align: center; |
| 158 |
} |
| 159 |
|
| 160 |
.mw-echo-special-header-link { |
| 161 |
display: none; |
| 162 |
} |
| 163 |
} |