mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Small CSS fixes.
This commit is contained in:
parent
efdff52210
commit
353dd90a89
2 changed files with 40 additions and 13 deletions
|
@ -11,16 +11,41 @@
|
||||||
html, body {
|
html, body {
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
|
html {
|
||||||
|
/* Force vertical scrollbar to prevent centering jumps. */
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
max-width: @container-md;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.block {
|
.block {
|
||||||
float:left;
|
float:left;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-width: 750px;
|
/*max-width: 750px;*/
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix bootstrap use of width. We prefer max-width. */
|
||||||
|
.container {
|
||||||
|
@media (min-width: @screen-sm-min) {
|
||||||
|
width: auto;
|
||||||
|
max-width: @container-sm;
|
||||||
|
}
|
||||||
|
@media (min-width: @screen-md-min) {
|
||||||
|
width: auto;
|
||||||
|
max-width: @container-md;
|
||||||
|
}
|
||||||
|
@media (min-width: @screen-lg-min) {
|
||||||
|
width: auto;
|
||||||
|
max-width: @container-lg;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.move {
|
.move {
|
||||||
-webkit-transition: margin-left 0.4s ease-in-out;
|
-webkit-transition: margin-left 0.4s ease-in-out;
|
||||||
-moz-transition: margin-left 0.4s ease-in-out;
|
-moz-transition: margin-left 0.4s ease-in-out;
|
||||||
|
@ -40,9 +65,10 @@ html, body {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#masthead {
|
#masthead {
|
||||||
.page-header;
|
|
||||||
.clearfix;
|
|
||||||
.hidden-xs;
|
.hidden-xs;
|
||||||
|
}
|
||||||
|
.page-header {
|
||||||
|
.clearfix;
|
||||||
.make-row(12);
|
.make-row(12);
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
|
@ -52,7 +78,7 @@ html, body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.app.title {
|
.app.title {
|
||||||
.make-sm-column(10);
|
.make-xs-column(10);
|
||||||
.desc {
|
.desc {
|
||||||
.small;
|
.small;
|
||||||
color: @gray-light;
|
color: @gray-light;
|
||||||
|
@ -60,12 +86,11 @@ html, body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.logout-button {
|
.logout-button {
|
||||||
.make-sm-column(2);
|
.make-xs-column(2);
|
||||||
.btn;
|
.btn;
|
||||||
.btn-link;
|
.btn-link;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
a.fa-sign-out {
|
a.fa-sign-out {
|
||||||
.fa;
|
|
||||||
.fa-2x;
|
.fa-2x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -79,7 +104,6 @@ html, body {
|
||||||
#slider {
|
#slider {
|
||||||
.center-block;
|
.center-block;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
max-width: 750px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -88,8 +112,10 @@ html, body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#slider-container {
|
#slider-container {
|
||||||
max-width: 1500px;/*[RFC] why the max-width? */
|
/*[RFC] why the max-width? */
|
||||||
width: 1500px;
|
/*max-width: 1500px;*/
|
||||||
|
/*width: 1500px; */
|
||||||
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -103,8 +129,8 @@ html, body {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#main {
|
#main {
|
||||||
float: left;
|
/*float: left;*/
|
||||||
overflow: hidden;
|
/*overflow: hidden;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.ajax-loader {
|
.ajax-loader {
|
||||||
|
@ -199,5 +225,6 @@ select option[default] {
|
||||||
|
|
||||||
/* various fixes */
|
/* various fixes */
|
||||||
|
|
||||||
|
[class*="fa-"] {.fa;}
|
||||||
a[class*="fa-"]:hover {text-decoration:none;}
|
a[class*="fa-"]:hover {text-decoration:none;}
|
||||||
|
|
||||||
|
|
4
css/style.min.css
vendored
4
css/style.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue