Skip to content

Commit

Permalink
map scss class correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Lodder committed Oct 6, 2016
1 parent 797aa3a commit 6ca23a8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions administrator/templates/atum/css/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -3318,22 +3318,22 @@ a.tag:focus, a.tag:hover {
right: -1rem;
color: inherit; }

.alert-success {
.alert-success, .alert-message {
background-color: #dff0d8;
border-color: #d0e9c6;
color: #3c763d; }
.alert-success hr {
.alert-success hr, .alert-message hr {
border-top-color: #c1e2b3; }
.alert-success .alert-link {
.alert-success .alert-link, .alert-message .alert-link {
color: #2b542c; }

.alert-info, .alert-message {
.alert-info {
background-color: #d9edf7;
border-color: #bcdff1;
color: #31708f; }
.alert-info hr, .alert-message hr {
.alert-info hr {
border-top-color: #a6d5ec; }
.alert-info .alert-link, .alert-message .alert-link {
.alert-info .alert-link {
color: #245269; }

.alert-warning {
Expand Down
2 changes: 1 addition & 1 deletion administrator/templates/atum/css/template.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion administrator/templates/atum/css/template.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libraries/cms/application/cms.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public function checkSession()
*
* @since 3.2
*/
public function enqueueMessage($msg, $type = self::MSG_INFO)
public function enqueueMessage($msg, $type = 'success')
{
// Don't add empty messages.
if (!strlen(trim($msg)))
Expand Down
2 changes: 1 addition & 1 deletion media/system/scss/_jalert.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Bootstrap alert mapping */

.alert-message {
@extend .alert-info;
@extend .alert-success;
}

0 comments on commit 6ca23a8

Please sign in to comment.