Files
mediawiki-extensions-Univer…/resources/css/ext.uls.displaysettings.less
Jdlrobson 5481573341 Revert "Use Codex styles for buttons in language overlay"
This reverts commit d29050d080.

Reason for revert: I had mistakenly assumed the @wikimedia/codex
module was loaded on clicking the language button. It appears to
be added on page load.

Given T248718 it's still unclear what our policy on loading
@wikimedia/codex on page load is and given several people are out
I think it would be better to attempt this again next week, possibly
delaying further if needed.

Bug: T353071
Bug: T248718
Change-Id: I09334a1faec06a7400e61013ddda374156bf5d72
2023-12-08 22:00:26 +00:00

59 lines
1.1 KiB
Plaintext

// TODO: Replace with @import 'mediawiki.skin.variables.less'; with MW core LTS v1.42 dependency.
@import '../../lib/codex-design-tokens/theme-wikimedia-ui-legacy.less';
@import 'mediawiki.mixins';
.uls-display-settings-tab-switcher {
text-align: center;
}
.uls-button-group {
display: inline-block;
position: relative;
padding: 0;
left: -20px;
z-index: 1;
}
.uls-sub-panel {
border-top: @border-width-base @border-style-base #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: @border-width-base @border-style-base #eaecf0;
background: #f8f9fa;
padding: 10px 0;
&:first-child {
border-top: @border-width-base @border-style-base #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: @color-subtle;
font-size: 10pt;
}
.uls-font-label strong {
color: @color-base;
}
.uls-display-settings-anon-label {
font-weight: bold;
}