Nextrek
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
@mixin flash($color) {
background: $color;
color: darken($color, 60);
a {
color: darken($color, 70);
&:hover {
color: darken($color, 90);
}
}
}
%flash-base {
font-weight: bold;
margin-bottom: $base-spacing / 2;
padding: $base-spacing / 2;
}
%flash-alert {
@extend %flash-base;
@include flash($alert-color);
}
%flash-error {
@extend %flash-base;
@include flash($error-color);
}
%flash-notice {
@extend %flash-base;
@include flash($notice-color);
}
%flash-success {
@extend %flash-base;
@include flash($success-color);
}
|
Revision |
Author |
Commited |
Message |
1464
|
MOliva
|
Tue 13 Oct, 2020 11:16:56 +0000 |
|