translate header style

This commit is contained in:
alistair3149 2019-08-10 16:47:03 -04:00
parent 47245c897b
commit f5550d2fe4
7 changed files with 42 additions and 6 deletions

View file

@ -34,6 +34,10 @@ table {
overflow: auto;
}
hr {
display: none;
}
ul {
list-style-type: square;
}

View file

@ -124,7 +124,7 @@
}
// TODO: Flexible value
@media only screen and (max-width: 1250px) {
@media only screen and (max-width: @screen2) {
#page-tools {
position: relative;
margin-left: @margin-side / 2;

View file

@ -173,8 +173,7 @@
* Viewports
*/
@screen0: @page-width - @margin-side * 7;
@screen1: @page-width + @margin-side * 2;
@screen2: @footer-width;
@screen3: @footer-width + @margin-side * 8;
@screen0: @page-width - @margin-side * 7; // 720px
@screen1: @page-width + @margin-side * 2; // 900px
@screen2: @footer-width; // 1250px
@screen3: @footer-width + @margin-side * 8; // 1410px

View file

@ -169,6 +169,7 @@
"+ext.echo.styles.badge": "skinStyles/echo.styles.badge.less",
"+ext.relatedArticles.cards": "skinStyles/ext.relatedArticles.cards.less",
"+ext.relatedArticles.readMore": "skinStyles/ext.relatedArticles.readMore.less",
"+ext.translate": "skinStyles/ext.translate.less",
"+ext.translate.tag.languages": "skinStyles/ext.translate.tag.languages.less",
"+ext.uls.pt": "skinStyles/ext.uls.pt.less",
"+ext.visualEditor.core": "skinStyles/ext.visualEditor.core.less"

View file

@ -9,6 +9,7 @@
.ext-related-articles-card-list {
margin-top: 0;
padding-top: @content-margin-top; // Give room for shadows and translate
overflow: visible; // Show shadow
.ext-related-articles-card {
border: 0!important;

View file

@ -0,0 +1,27 @@
/*
* Citizen - Translate Styles
* https://starcitizen.tools
*/
@import '../resources/variables.less';
.mw-pt-translate-header {
margin: 8px 0 0 ~"calc(-@{page-width} / 2 + 310px)";
width: 90px;
position: absolute;
border-top: 1px solid currentColor;
padding-top: @margin-side / 2;
margin-top: 8px;
color: #a2a9b1;
text-align: left;
opacity: 1;
transition: @transition-opacity;
}
@media only screen and (max-width: @screen2) {
.mw-pt-translate-header {
z-index: -1; // Not interactable
pointer-events: none; // Not interactable
opacity: 0;
}
}

View file

@ -38,6 +38,10 @@
.mw-pt-languages-ui {
font-weight: 400;
.boxshadow(2)!important;
&:hover {
transform: none!important;
}
}
.mw-pt-progress {