add rollback button style

This commit is contained in:
Régis Hanol 2014-02-12 20:36:10 -08:00
parent babcc3fc50
commit b05bb86323
1 changed files with 34 additions and 18 deletions

View File

@ -4,14 +4,14 @@
@import "common/foundation/helpers";
.admin-contents table {
width: 100%;
tr {text-align: left;}
td, th {padding: 8px;}
th {border-top: 1px solid $primary_lighter;}
td {border-bottom: 1px solid $primary_lighter; border-top: 1px solid $primary_lighter;}
width: 100%;
tr {text-align: left;}
td, th {padding: 8px;}
th {border-top: 1px solid $primary_lighter;}
td {border-bottom: 1px solid $primary_lighter; border-top: 1px solid $primary_lighter;}
tr:hover { background-color: darken($secondary, 2.5%); }
tr.selected { background-color: lighten($tertiary, 58%); }
}
.content-list li a span.count {
@ -148,10 +148,6 @@ td {border-bottom: 1px solid $primary_lighter; border-top: 1px solid $primary_li
display: inline-block;
margin-right: 5px;
}
.btn {
background: $primary_lighter;
&:hover { background: $primary_lighter; }
}
}
.site-settings-nav {
@ -245,12 +241,6 @@ section.details {
border: 1px solid lighten($tertiary, 45%);
}
table {
tr.selected {
background-color: lighten($tertiary, 58%);
}
}
.display-row {
line-height: 30px;
padding: 5px;
@ -969,4 +959,30 @@ table.api-keys {
.fa-times {
color: $highlight_danger;
}
}
}
// Backups
// --------------------------------------------------
$rollback: #3D9970;
$rollback-dark: darken($rollback, 10%) !default;
$rollback-darker: darken($rollback, 20%) !default;
.btn-rollback {
color: $secondary;
background: $rollback;
&:hover {
background: $rollback-dark;
}
&:active {
@include linear-gradient($rollback-darker, $rollback-dark);
}
&[disabled] {
background: $rollback;
}
}
.admin-backups-logs {
max-height: 500px;
overflow: auto;
}