1
0
Fork 0

Further scss-lint

This commit is contained in:
Michael Hackstein 2014-03-07 11:16:54 +01:00
parent f6c914e481
commit 68f2ac9567
1 changed files with 41 additions and 18 deletions

View File

@ -1,80 +1,103 @@
//.databaseButtons => .contentButtons //.databaseButtons => .contentButtons
.contentButtons { .contentButtons {
clear:both; clear: both;
width: 100%;
margin-bottom: 10px; margin-bottom: 10px;
#createDatabase, #createUser { width: 100%;
#createDatabase,
#createUser {
margin-left: 0; margin-left: 0;
} }
} }
// #databaseTable => .contentTables // #databaseTable => .contentTables
.contentTables { .contentTables {
width: 100%;
margin-bottom: 10px; margin-bottom: 10px;
width: 100%;
thead { thead {
text-align: left; text-align: left;
tr { tr {
border-bottom: 1px solid $c_c2grey; background-color: $c-white;
background-color: $c_white; border-bottom: 1px solid $c-c2grey;
} }
} }
tbody { tbody {
tr { tr {
&:nth-child(odd){
background-color: $c_odd; &:nth-child(odd) {
background-color: $c-odd;
}; };
&:nth-child(even){
background-color: $c_even; &:nth-child(even) {
background-color: $c-even;
}; };
} }
} }
tr { tr {
&.contentRowActive { &.contentRowActive {
background-color: $c_contentRowActive !important; background-color: $c-content-row-active !important;
font-weight: 400; font-weight: 400;
a { a {
color: $c_black !important; color: $c-black !important;
} }
span { span {
display:none; display: none;
} }
} }
//.databaseInactive => .contentRowInactive //.databaseInactive => .contentRowInactive
&.contentRowInactive { &.contentRowInactive {
a { a {
@extend %clickable; @extend %clickable;
color: $c_black !important; color: $c-black !important;
} }
} }
} }
.dbThFirst { .dbThFirst {
width: 90%; width: 90%;
} }
.dbThSecond { .dbThSecond {
width: 10%; width: 10%;
} }
td { td {
padding:12px 18px; padding: 12px 18px;
span { span {
float: right;
@extend %icon-negative; @extend %icon-negative;
float: right;
font-size: 22px; font-size: 22px;
} }
&.dbThSecond { &.dbThSecond {
span { span {
@extend %icon-positive; @extend %icon-positive;
} }
} }
} }
.collectionThSec { .collectionThSec {
margin-right: 0;
width: 80%; width: 80%;
margin-right: 0;
} }
.collectionTh { .collectionTh {
width: 5%;
margin-right: 0; margin-right: 0;
width: 5%;
} }
} }