It's now possible to tab to "display settings" and "input settings" and access them with enter or space. Also escape can now be used to close the settings screen. The ULS trigger in interlanguage position is a button to get native accessibility features. Also removed `mw.hook( 'mw.uls.settings.open' ).fire( 'uls' );` as it didn't seem very useful and there wasn't immediately obvious place to put it. The existing click handler could be removed because the settings dialog themselves place event listeners. The patch is a bit longer than strictly necessary because the CSS was mess (rules in different modules, poorly organized) and I had to bring related rules together to understand them. Bug: T52793 Change-Id: Id37c2665b1c97b81ef57be27a1abfae0db6b34d5
57 lines
878 B
Plaintext
57 lines
878 B
Plaintext
@import 'mediawiki.mixins';
|
|
|
|
.uls-display-settings-tab-switcher {
|
|
text-align: center;
|
|
}
|
|
|
|
.uls-button-group {
|
|
display: inline-block;
|
|
position: relative;
|
|
padding: 0 0 0 0;
|
|
left: -20px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.ext-uls-sub-panel {
|
|
border-top: 1px solid #eaecf0;
|
|
padding-top: 25px;
|
|
top: -20px;
|
|
position: relative;
|
|
min-height: 150px;
|
|
}
|
|
|
|
.uls-display-settings-font-selectors {
|
|
margin: 5px 0 15px 0;
|
|
}
|
|
|
|
.uls-font-item {
|
|
border-bottom: 1px solid #eaecf0;
|
|
background: #f8f9fa;
|
|
padding: 10px 0;
|
|
|
|
&:first-child {
|
|
border-top: 1px solid #eaecf0;
|
|
}
|
|
}
|
|
|
|
/* stylelint-disable selector-max-id */
|
|
.uls-font-label,
|
|
.uls-font-select,
|
|
#uls-display-settings-anon-log-in-cta {
|
|
font-size: 10pt;
|
|
}
|
|
/* stylelint-enable selector-max-id */
|
|
|
|
.uls-font-label {
|
|
color: #54595d;
|
|
font-size: 10pt;
|
|
}
|
|
|
|
.uls-font-label strong {
|
|
color: #222;
|
|
}
|
|
|
|
.uls-display-settings-anon-label {
|
|
font-weight: bold;
|
|
}
|