mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
822bf0f0c3
Added styles for Special:Preferences' mobile layout icons. Bug: T317419 Depends-On: I6d5730d47e7595b1705787995fe5db2fe734d7f5 Change-Id: I40a1783a24a2d643026132038a71a027d69f178f
79 lines
1.4 KiB
Plaintext
79 lines
1.4 KiB
Plaintext
@import 'mediawiki.ui/variables';
|
|
|
|
/* stylelint-disable-next-line selector-max-id */
|
|
#mw-prefs-container .oo-ui-iconWidget {
|
|
font-size: 0.875em;
|
|
}
|
|
|
|
.mw-mobile-preferences-option {
|
|
cursor: pointer;
|
|
padding-top: 0.75em;
|
|
border-bottom: 0.0625em solid @colorGray12;
|
|
}
|
|
|
|
.mw-mobile-preferences-option:hover {
|
|
background-color: @colorGray15;
|
|
}
|
|
|
|
.mw-mobile-preferences-option:last-child {
|
|
border-bottom: none; // stylelint-disable-line declaration-property-value-disallowed-list
|
|
}
|
|
|
|
.oo-ui-iconWidget.mw-prefs-icon {
|
|
color: @colorGray2;
|
|
margin: 0.5em 0.5em 0 0.5em;
|
|
}
|
|
|
|
.mw-prefs-title {
|
|
font-weight: normal;
|
|
font-size: 1em;
|
|
line-height: 1.25em;
|
|
color: @colorGray2;
|
|
}
|
|
|
|
.mw-prefs-description {
|
|
font-weight: normal;
|
|
font-size: 0.875em;
|
|
line-height: 1.25em;
|
|
padding: 0 0 0 2.5em;
|
|
color: @colorGray7;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.mw-prefs-header-container {
|
|
display: flex;
|
|
}
|
|
|
|
.mw-prefs-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.mw-prefs-content-header {
|
|
width: 100%;
|
|
height: 3.125em;
|
|
display: block;
|
|
border-bottom: 1px solid @colorGray12;
|
|
box-shadow: 0 0.25em 0.125em -0.1875em rgba( 0, 0, 0, 0.25 );
|
|
}
|
|
|
|
.mw-prefs-header-icon {
|
|
padding: 0em; // stylelint-disable-line length-zero-no-unit
|
|
color: @colorGray2;
|
|
cursor: pointer;
|
|
margin: 0.25em 0.5em;
|
|
}
|
|
|
|
.mw-prefs-header-title {
|
|
display: inline-flex;
|
|
}
|
|
|
|
/* stylelint-disable-next-line selector-max-id */
|
|
#mw-prefs-form p {
|
|
margin: 0 0 0.75em 0;
|
|
}
|
|
|
|
/* stylelint-disable-next-line selector-max-id */
|
|
#mw-prefs-form h5 {
|
|
padding-bottom: 0.25em;
|
|
}
|