small UI tweaks/improvements

This commit is contained in:
Drewster727 2016-05-24 15:45:25 -05:00
parent 137c4ca093
commit 1bfd5f435b
7 changed files with 60 additions and 12 deletions

View file

@ -14,6 +14,14 @@
.home { .home {
padding-top: 4rem; } } padding-top: 4rem; } }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: #fff; }
hr {
border-color: #777; }
.btn { .btn {
border-radius: 0.25rem !important; } border-radius: 0.25rem !important; }
@ -219,7 +227,7 @@ label {
position: absolute; position: absolute;
right: 45px; right: 45px;
z-index: 3; z-index: 3;
top: 13px; top: 10px;
box-shadow: 0 0 0; } box-shadow: 0 0 0; }
.input-group-addon .btn-group .btn { .input-group-addon .btn-group .btn {
@ -238,9 +246,10 @@ label {
padding: 12px 8px; } padding: 12px 8px; }
#updateAvailable { #updateAvailable {
background-color: #ffa400; background-color: #df691a;
text-align: center; text-align: center;
font-size: 15px; } font-size: 15px;
padding: 3px 0; }
.checkbox label { .checkbox label {
display: inline-block; display: inline-block;

File diff suppressed because one or more lines are too long

View file

@ -33,6 +33,16 @@ $i:
} }
} }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: #fff;
}
hr {
border-color: #777;
}
.btn { .btn {
border-radius: .25rem $i; border-radius: .25rem $i;
} }
@ -279,7 +289,7 @@ $border-radius: 10px;
position: absolute; position: absolute;
right: 45px; right: 45px;
z-index: 3; z-index: 3;
top: 13px; top: 10px;
box-shadow: 0 0 0; box-shadow: 0 0 0;
} }
@ -303,9 +313,10 @@ $border-radius: 10px;
} }
#updateAvailable { #updateAvailable {
background-color: rgb(255, 164, 0); background-color: #df691a;
text-align: center; text-align: center;
font-size: 15px; font-size: 15px;
padding: 3px 0;
} }
.checkbox label { .checkbox label {

View file

@ -14,6 +14,17 @@
.home { .home {
padding-top: 4rem; } } padding-top: 4rem; } }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: #fff; }
hr {
border-color: #777; }
body.update-available {
margin-top: 80px; }
.btn { .btn {
border-radius: 0.25rem !important; } border-radius: 0.25rem !important; }
@ -219,7 +230,7 @@ label {
position: absolute; position: absolute;
right: 45px; right: 45px;
z-index: 3; z-index: 3;
top: 13px; top: 10px;
box-shadow: 0 0 0; } box-shadow: 0 0 0; }
.input-group-addon .btn-group .btn { .input-group-addon .btn-group .btn {
@ -238,9 +249,10 @@ label {
padding: 12px 8px; } padding: 12px 8px; }
#updateAvailable { #updateAvailable {
background-color: #ffa400; background-color: #df691a;
text-align: center; text-align: center;
font-size: 15px; } font-size: 15px;
padding: 3px 0; }
.checkbox label { .checkbox label {
display: inline-block; display: inline-block;

File diff suppressed because one or more lines are too long

View file

@ -34,6 +34,20 @@ $i:
} }
} }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: #fff;
}
hr {
border-color: #777;
}
body.update-available {
margin-top: 80px;
}
.btn { .btn {
border-radius: .25rem $i; border-radius: .25rem $i;
} }
@ -280,7 +294,7 @@ $border-radius: 10px;
position: absolute; position: absolute;
right: 45px; right: 45px;
z-index: 3; z-index: 3;
top: 13px; top: 10px;
box-shadow: 0 0 0; box-shadow: 0 0 0;
} }
@ -304,9 +318,10 @@ $border-radius: 10px;
} }
#updateAvailable { #updateAvailable {
background-color: rgb(255, 164, 0); background-color: #df691a;
text-align: center; text-align: center;
font-size: 15px; font-size: 15px;
padding: 3px 0;
} }
.checkbox label { .checkbox label {

View file

@ -97,6 +97,7 @@
var status = createBaseUrl(urlBase, '/admin/status'); var status = createBaseUrl(urlBase, '/admin/status');
$('#updateAvailable').html("<i class='fa fa-cloud-download' aria-hidden='true'></i> There is a new update available! Click <a style='color: white' href='" + status + "'>Here!</a>"); $('#updateAvailable').html("<i class='fa fa-cloud-download' aria-hidden='true'></i> There is a new update available! Click <a style='color: white' href='" + status + "'>Here!</a>");
$('#updateAvailable').removeAttr("hidden"); $('#updateAvailable').removeAttr("hidden");
$('body').addClass('update-available')
} }
}, },
error: function (e) { error: function (e) {