分离公共 js;修改 footer 效果,固定在底部

This commit is contained in:
virusdefender 2015-08-06 23:47:28 +08:00
parent 529cea5476
commit ab63ac652f
3 changed files with 22 additions and 36 deletions

View File

@ -1,25 +1,15 @@
@import url("global.css");
@import url("bootstrap/bootstrap.min.css");
@import url("bootstrap/todc-bootstrap.min.css");
@import url("codeMirror/codemirror.css");
@import url("simditor/simditor.css");
@import url("webuploader/webuploader.css");
@import url("datetime_picker/bootstrap-datetimepicker.css");
html, body {
height: 100%;
}
img {
max-width: 100%;
height: auto;
}
.footer {
padding-top: 30px;
padding-bottom: 30px;
float: bottom;
bottom: 0;
}
label {
font-size: 16px;
#loading-gif{
width: 40px;
height: 40px;
margin: auto;
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
}

15
static/src/css/global.css Normal file
View File

@ -0,0 +1,15 @@
img {
max-width: 100%;
height: auto;
}
.footer {
left: 0;
right: 0;
position: absolute;
bottom: 30px;
}
label {
font-size: 16px;
}

View File

@ -1,25 +1,7 @@
@import url("bootstrap/bootstrap.min.css");
@import url("bootstrap/todc-bootstrap.min.css");
@import url("codeMirror/codemirror.css");
html, body {
height: 100%;
}
img {
max-width: 100%;
height: auto;
}
.footer {
padding-top: 30px;
padding-bottom: 30px;
float: bottom;
bottom: 0;
}
label {
font-size: 16px;
}
#language-selector {
width: 130px;
@ -47,7 +29,6 @@ label {
font-size: 15px;
}
/* index css */
.jumbotron {
text-align: center;
background-color: transparent;