Make panels use our colour palette. Add .alert default styles

This commit is contained in:
James Brooks
2015-05-18 09:59:07 +01:00
parent c370ed47ef
commit 159e4fc0c9
5 changed files with 21 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
{
"dist/css/all.css": "dist/css/all-93223aff.css",
"dist/css/all.css": "dist/css/all-019f86e2.css",
"dist/js/all.js": "dist/js/all-c574dfda.js"
}

View File

@@ -16,6 +16,7 @@ html, body {
@import "modules/forms";
@import "modules/well";
@import "modules/alerts";
@import "modules/panels";
// Styles for partials
@import "partials/base";

View File

@@ -1,5 +1,8 @@
.alert {
border-radius: 4px;
background: $cachet_yellow;
border: solid 2px $cachet_dark-yellow;
&.alert-success {
background-color: $cachet_green;
border: solid 2px $cachet_dark-green;

View File

@@ -0,0 +1,15 @@
.panel-danger {
@include panel-variant($cachet_dark-red, white, $cachet-red, $cachet_dark-red);
}
.panel-success {
@include panel-variant($cachet_dark-green, white, $cachet-green, $cachet_dark-green);
}
.panel-info {
@include panel-variant($cachet_dark-blue, white, $cachet-blue, $cachet_dark-blue);
}
.panel-warning {
@include panel-variant($cachet_dark-yellow, $panel-warning-text, $cachet-yellow, $cachet_dark-yellow);
}