diff options
author | MaZderMind | 2015-02-26 17:57:42 +0100 |
---|---|---|
committer | MaZderMind | 2015-02-26 17:57:42 +0100 |
commit | 6db2f0f4b9816ccd271332b89a05a9d0d753216b (patch) | |
tree | fd7ecf7cf16b33bdb75c45e747d12f9ecca43358 /assets/css/bootstrap-3.3.2/alerts.less | |
parent | 9fb5b19bb0652b9c187c9b552c0a7ec4d6778222 (diff) |
shuffle things around on the way to a bootstrap-based configurable website
Diffstat (limited to '')
-rw-r--r-- | assets/css/bootstrap-3.3.2/alerts.less (renamed from assets/css/lib/bootstrap/_alerts.scss) | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/assets/css/lib/bootstrap/_alerts.scss b/assets/css/bootstrap-3.3.2/alerts.less index e45de83..5618bfc 100644 --- a/assets/css/lib/bootstrap/_alerts.scss +++ b/assets/css/bootstrap-3.3.2/alerts.less @@ -7,20 +7,21 @@ // ------------------------- .alert { - padding: $alert-padding; - margin-bottom: $line-height-computed; + padding: @alert-padding; + margin-bottom: @line-height-computed; border: 1px solid transparent; - border-radius: $alert-border-radius; + border-radius: @alert-border-radius; // Headings for larger alerts h4 { margin-top: 0; - // Specified for the h4 to prevent conflicts of changing $headings-color + // Specified for the h4 to prevent conflicts of changing @headings-color color: inherit; } + // Provide class for links that match alerts .alert-link { - font-weight: $alert-link-font-weight; + font-weight: @alert-link-font-weight; } // Improve alignment and spacing of inner content @@ -28,6 +29,7 @@ > ul { margin-bottom: 0; } + > p + p { margin-top: 5px; } @@ -39,7 +41,7 @@ .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0. .alert-dismissible { - padding-right: ($alert-padding + 20); + padding-right: (@alert-padding + 20); // Adjust close link position .close { @@ -55,14 +57,17 @@ // Generate contextual modifier classes for colorizing the alert. .alert-success { - @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text); + .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text); } + .alert-info { - @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text); + .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text); } + .alert-warning { - @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text); + .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text); } + .alert-danger { - @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text); + .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text); } |