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