mediawiki-skins-Citizen/skinStyles/extensions/Translate/ext.translate.messagetable.less

161 lines
2.4 KiB
Plaintext
Raw Normal View History

2019-12-29 18:45:17 +00:00
/*
* Citizen - Translate Styles
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
@import '../../../resources/mixins.less';
#page-tools {
z-index: 0;
margin-top: 0;
#p-views {
ul {
flex-direction: column;
li > a {
width: auto;
height: auto;
padding: @margin-side / 4 @margin-side / 2 @margin-side / 4 0;
opacity: 1;
&:hover {
2021-01-13 08:37:43 +00:00
color: @color-primary--active;
opacity: 1;
2019-12-29 18:45:17 +00:00
}
&:after {
content: none;
}
> span {
position: relative !important;
width: auto;
height: auto;
margin: 0;
clip: unset;
2019-12-29 18:45:17 +00:00
}
}
}
}
}
.tux-messagelist,
.tux-action-bar,
.tux-messagetable-header.floating {
margin: 0 @negative-margin !important;
}
.tux-action-bar.floating,
.tux-messagetable-header.floating {
.boxshadow(3);
}
.tux-messagelist,
.tux-action-bar,
.tux-messagetable-header {
transition: @transition-margin, @transition-width;
}
.tux-messagelist,
.tux-action-bar:not( .floating ) {
width: auto !important;
}
.tux-messagetable-header {
display: flex;
align-items: center;
padding: 0; // Reserve spaces for tabs
2019-12-29 18:45:17 +00:00
&.floating {
> div:first-of-type {
padding: 0 20px 10px;
}
}
}
.tux-message-selector {
li {
&.selected {
border: 0;
}
a {
display: block;
padding: @margin-side / 2 @margin-side;
color: @base-50;
2019-12-29 18:45:17 +00:00
transition: @transition-color-quick;
&:hover {
color: @accent-50;
}
&:first-of-type {
padding-left: 0;
}
}
}
.more {
padding: @margin-side / 2 @margin-side !important;
> ul {
top: 0;
left: 0;
width: auto;
padding: 8px 0;
2019-12-29 18:45:17 +00:00
border: 0;
margin: 0;
2019-12-29 18:45:17 +00:00
.boxshadow(5);
li {
padding: 0;
font-size: @ui-menu-text-big;
white-space: nowrap;
2019-12-29 18:45:17 +00:00
a {
padding: 10px 15px !important;
margin: 0;
2019-12-29 18:45:17 +00:00
}
input {
margin: @margin-side / 2 @margin-side / 4 @margin-side @margin-side;
}
label {
padding-right: @margin-side;
}
}
}
}
}
@media only screen and ( max-width: @screen2 ) {
#page-tools {
max-width: @page-width;
2019-12-29 18:45:17 +00:00
margin: 0 auto @margin-side * 2;
float: none;
#p-views {
ul {
flex-direction: row;
}
}
}
.tux-messagelist,
.tux-action-bar,
.tux-messagetable-header.floating {
margin: 0 ~'calc((100vw - @{page-width}) / -2)' !important;
}
}
@media only screen and ( max-width: @screen1 ) {
.tux-messagelist,
.tux-action-bar,
.tux-messagetable-header.floating {
margin: 0 -@margin-side !important; // fill margin
}
}