mediawiki-skins-Citizen/skinStyles/ext.translate.tag.languages.less

97 lines
1.7 KiB
Plaintext
Raw Normal View History

2019-08-15 17:40:13 +00:00
/*
* Citizen - Translate Styles
* https://starcitizen.tools
*/
@import '../resources/variables.less';
@import '../resources/mixins.less';
.mw-pt-languages {
2019-12-26 10:21:50 +00:00
display: block;
border: 0;
width: auto;
background: 0;
margin: 0;
padding: @margin-side 0;
2019-08-15 17:40:13 +00:00
}
.mw-pt-languages-label {
2019-12-26 10:21:50 +00:00
display: block;
border: 0;
padding: 0;
color: @base-30;
background: 0;
font-size: 0.8125rem;
font-weight: normal;
text-transform: uppercase;
letter-spacing: 1px;
width: auto;
2019-08-15 17:40:13 +00:00
}
.mw-pt-languages-list {
2019-12-26 10:21:50 +00:00
padding: @content-margin-top 0 0 0;
display: flex;
flex-wrap: wrap;
width: auto;
visibility: hidden; // Hide dots
2019-12-26 10:21:50 +00:00
> * {
visibility: visible;
}
2019-08-15 17:40:13 +00:00
}
.mw-pt-languages-selected,
.mw-pt-languages-ui {
2019-12-26 10:21:50 +00:00
font-weight: normal;
.boxshadow(2) !important;
2019-08-15 17:40:13 +00:00
2019-12-26 10:21:50 +00:00
&:hover {
transform: none !important;
}
2019-08-15 17:40:13 +00:00
}
.mw-pt-progress {
2019-12-26 10:21:50 +00:00
margin: 0 0 @margin-side / 2 0;
padding: @margin-side / 4 @margin-side / 2;
display: block;
border: 1px solid @base-90;
background: @base-90;
color: @base-30;
font-size: @content-caption-size;
.boxshadow(1);
transition: @transition-transform-quick, @transition-box-shadow-quick;
2019-12-26 10:21:50 +00:00
&:hover {
.boxshadow(2);
transform: translateY( -2px );
}
2019-08-15 17:40:13 +00:00
}
.mw-pt-progress--stub {
2019-12-26 10:21:50 +00:00
background: @base-90;
2019-08-15 17:40:13 +00:00
}
.mw-pt-progress--low {
2019-12-26 10:21:50 +00:00
background: @red-50;
border-color: @red-50;
color: @base-100 !important; // bypass visited styles
2019-08-15 17:40:13 +00:00
}
.mw-pt-progress--med {
2019-12-26 10:21:50 +00:00
background: @yellow-50;
border-color: @yellow-50;
color: @base-100 !important; // bypass visited styles
2019-08-15 17:40:13 +00:00
}
.mw-pt-progress--high {
2019-12-26 10:21:50 +00:00
background: @green-50;
border-color: @green-50;
color: @base-100 !important; // bypass visited styles
2019-08-15 17:40:13 +00:00
}
.mw-pt-progress--complete {
2019-12-26 10:21:50 +00:00
background: @green-30;
border-color: @green-30;
color: @base-100 !important; // bypass visited styles
}