Move interface styles to ext.uls.interface.css

This change avoids loading of not needed styles for non-JavaScript client.

Change-Id: Ieaca5098181d1e922b940ed339fcee7bad8741b4
This commit is contained in:
Fomafix
2016-09-15 18:15:18 +02:00
parent 02b1e6fa99
commit 337e0aef8c
3 changed files with 27 additions and 25 deletions

View File

@@ -0,0 +1,26 @@
/* stylelint-disable selector-no-id */
#uls-settings-block {
border-top: 1px solid #c9c9c9;
background: #f8f8f8;
background: -webkit-gradient( linear, left top, left bottom, from( #fbfbfb ), to( #f0f0f0 ) );
background: -webkit-linear-gradient( top, #fbfbfb, #f0f0f0 );
background: -moz-linear-gradient( top, #fbfbfb, #f0f0f0 );
background: -o-linear-gradient( top, #fbfbfb, #f0f0f0 );
background: linear-gradient( #fbfbfb, #f0f0f0 );
padding-left: 10px;
line-height: 1.2em;
border-radius: 0 0 5px 5px;
}
#uls-settings-block div.display-settings-block,
#uls-settings-block div.input-settings-block {
display: inline-block;
margin: 8px 15px;
color: #565656;
}
#uls-settings-block div.display-settings-block:hover,
#uls-settings-block div.input-settings-block:hover {
color: #252525;
}

View File

@@ -32,31 +32,6 @@ body.rtl li#pt-uls {
direction: ltr;
}
#uls-settings-block {
border-top: 1px solid #c9c9c9;
background: #f8f8f8;
background: -webkit-gradient( linear, left top, left bottom, from( #fbfbfb ), to( #f0f0f0 ) );
background: -webkit-linear-gradient( top, #fbfbfb, #f0f0f0 );
background: -moz-linear-gradient( top, #fbfbfb, #f0f0f0 );
background: -o-linear-gradient( top, #fbfbfb, #f0f0f0 );
background: linear-gradient( #fbfbfb, #f0f0f0 );
padding-left: 10px;
line-height: 1.2em;
border-radius: 0 0 5px 5px;
}
#uls-settings-block div.display-settings-block,
#uls-settings-block div.input-settings-block {
display: inline-block;
margin: 8px 15px;
color: #565656;
}
#uls-settings-block div.display-settings-block:hover,
#uls-settings-block div.input-settings-block:hover {
color: #252525;
}
/* Don't show it to users who disabled JS */
.client-nojs #pt-uls {
display: none;