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 {
background: #B8312F;
color: #fff; color: #fff;
} }
thead { thead {
background: #B8312F;
color: #fff;
}
}
.table.orange {
background: none;
caption {
background: #FBA026;
color: #fff; color: #fff;
} }
thead { &.red {
background: #FBA026; caption, thead {
color: #fff; background: #B8312F;
} }
}
.table.green {
background: none;
caption {
background: #41A85F;
color: #fff;
} }
thead { &.orange {
background: #41A85F; caption, thead {
color: #fff; background: #FBA026;
} }
}
.table.blue {
background: none;
caption {
background: #2C82C9;
color: #fff;
} }
thead { &.green {
background: #2C82C9; caption, thead {
color: #fff; background: #41A85F;
} }
}
.table.white {
background: none;
caption {
background: #fff;
} }
thead { &.blue {
background: #fff; caption, thead {
background: #2C82C9;
}
}
&.white {
caption, thead {
background: #fff;
}
} }
} }