Преглед на файлове

fix .btn color in .alert

Yuki Takei преди 7 години
родител
ревизия
7836332a5c
променени са 1 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 5 5
      resource/styles/scss/theme/_override-agileadmin.scss

+ 5 - 5
resource/styles/scss/theme/_override-agileadmin.scss

@@ -76,33 +76,33 @@ a {
  * Alert
  * Alert
  */
  */
 .alert {
 .alert {
-  a {
+  a:not(.btn) {
     color: white;
     color: white;
   }
   }
 
 
   &.alert-info {
   &.alert-info {
-    a {
+    a:not(.btn) {
       &:hover, &:focus {
       &:hover, &:focus {
         color: lighten($info, 40%);
         color: lighten($info, 40%);
       }
       }
     }
     }
   }
   }
   &.alert-success {
   &.alert-success {
-    a {
+    a:not(.btn) {
       &:hover, &:focus {
       &:hover, &:focus {
         color: lighten($success, 40%);
         color: lighten($success, 40%);
       }
       }
     }
     }
   }
   }
   &.alert-warning {
   &.alert-warning {
-    a {
+    a:not(.btn) {
       &:hover, &:focus {
       &:hover, &:focus {
         color: lighten($warning, 30%);
         color: lighten($warning, 30%);
       }
       }
     }
     }
   }
   }
   &.alert-danger {
   &.alert-danger {
-    a {
+    a:not(.btn) {
       &:hover, &:focus {
       &:hover, &:focus {
         color: lighten($danger, 30%);
         color: lighten($danger, 30%);
       }
       }