Files
mediawiki-extensions-Univer…/resources/css/ext.uls.interface.less
NikG 5d576d05b4 Add language settings button inside dropdown for non-content pages
Bug: T316559
Change-Id: Ifdf2a529b30e5a2df8867b606a525c9f7b3bdb6c
2023-01-09 05:02:57 +00:00

77 lines
1.4 KiB
Plaintext

/* stylelint-disable selector-max-id */
@import 'mediawiki.mixins';
#uls-settings-block {
background-color: #f8f9fa;
border-top: 1px solid #c8ccd1;
padding-left: 10px;
line-height: 1.2em;
border-radius: 0 0 2px 2px;
> button {
background: left top transparent no-repeat;
// Support: Safari 3.1-6.1 & Android browser 3-4.3
// Don't support `background-size` values in `background` shorthand
background-size: 20px auto;
color: #54595d;
display: inline-block;
// Normalize the button
margin: 8px 15px;
border: 0;
padding: 0 0 0 26px;
font-size: medium;
cursor: pointer;
&:hover {
color: #202122;
}
&.display-settings-block {
background-image: url( ../images/display.svg );
}
&.input-settings-block {
background-image: url( ../images/input.svg );
}
}
}
.mw-ui-button.uls-language-actions-button {
position: absolute;
bottom: 0;
// set a value that doesn't cause overlap with scrollbar
right: 16px;
background: center transparent no-repeat;
min-width: unset;
&--single {
background-image: url( ../images/cog.svg );
}
&--multiple {
background-image: url( ../images/ellipsis.svg );
}
}
.uls-tipsy.uls-tipsy {
z-index: 1000;
}
.uls-empty-state {
padding: 28px;
.uls-empty-state__header,
.uls-empty-state__desc {
color: #54595d;
}
.uls-language-action-items {
list-style: none;
margin: 1em 0;
}
}
.empty-language-selector__language-settings-button {
margin: 12px;
}