Optimize scss

This commit is contained in:
Dennis Eichhorn 2017-07-13 15:25:35 +02:00 committed by GitHub
parent 783aa29209
commit a4799ad5dd

View File

@ -1,70 +1,43 @@
@import "_mixins", "_vars"; @import "_mixins", "_vars";
.table.red { .table {
background: none; background: none;
caption { caption {
color: #fff;
}
thead {
color: #fff;
}
&.red {
caption, thead {
background: #B8312F; background: #B8312F;
color: #fff;
}
thead {
background: #B8312F;
color: #fff;
} }
} }
.table.orange { &.orange {
background: none; caption, thead {
caption {
background: #FBA026; background: #FBA026;
color: #fff;
}
thead {
background: #FBA026;
color: #fff;
} }
} }
.table.green { &.green {
background: none; caption, thead {
caption {
background: #41A85F; background: #41A85F;
color: #fff;
}
thead {
background: #41A85F;
color: #fff;
} }
} }
.table.blue { &.blue {
background: none; caption, thead {
caption {
background: #2C82C9; background: #2C82C9;
color: #fff;
}
thead {
background: #2C82C9;
color: #fff;
} }
} }
.table.white { &.white {
background: none; caption, thead {
caption {
background: #fff; background: #fff;
} }
thead {
background: #fff;
} }
} }