Quellcode durchsuchen

Adjusted notification width

j8
Ilya Daynatovich vor 9 Jahren
Ursprung
Commit
ae7ad8b456
2 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  1. 3
    3
      css/_toastr.scss
  2. 1
    0
      css/_variables.scss

+ 3
- 3
css/_toastr.scss Datei anzeigen

7
  *
7
  *
8
  * Author: John Papa and Hans Fjällemark
8
  * Author: John Papa and Hans Fjällemark
9
  * Project: https://github.com/CodeSeven/toastr
9
  * Project: https://github.com/CodeSeven/toastr
10
- * 
10
+ *
11
  * Last updated: October 13, 2016
11
  * Last updated: October 13, 2016
12
  */
12
  */
13
 
13
 
77
   padding: $notificationPadding;
77
   padding: $notificationPadding;
78
   border: 1px solid lighten($notificationBackground, 10%);
78
   border: 1px solid lighten($notificationBackground, 10%);
79
 
79
 
80
-  @include border-radius($notificationBorderRadius); 
80
+  @include border-radius($notificationBorderRadius);
81
   @include box-shadow(1px, 1px, 2px, rgba(0,0,0,0.3));
81
   @include box-shadow(1px, 1px, 2px, rgba(0,0,0,0.3));
82
   @include opacity($notificationOpacity);
82
   @include opacity($notificationOpacity);
83
 }
83
 }
101
 }
101
 }
102
 
102
 
103
 #toast-container .toast {
103
 #toast-container .toast {
104
-  width: 200px;
104
+  width: $notificationWidth;
105
   margin: 0 0 8px;
105
   margin: 0 0 8px;
106
 }
106
 }

+ 1
- 0
css/_variables.scss Datei anzeigen

84
 $notificationOpacity: 0.9;
84
 $notificationOpacity: 0.9;
85
 $notificationPadding: 15px 20px;
85
 $notificationPadding: 15px 20px;
86
 $notificationBorderRadius: 4px;
86
 $notificationBorderRadius: 4px;
87
+$notificationWidth: 215px;
87
 
88
 
88
 /**
89
 /**
89
  * Misc.
90
  * Misc.

Laden…
Abbrechen
Speichern