Show More
@@ -1,58 +1,57 b'' | |||||
1 | .alert1 { .border ( @border-thickness-tags, @alert1 ); color:@alert1; } |
|
1 | .alert1 { .border ( @border-thickness-tags, @alert1 ); color:@alert1; } | |
2 | .alert2 { .border ( @border-thickness-tags, @alert2 ); color:@alert2; } |
|
2 | .alert2 { .border ( @border-thickness-tags, @alert2 ); color:@alert2; } | |
3 | .alert3 { .border ( @border-thickness-tags, @alert3 ); color:@alert3; } |
|
3 | .alert3 { .border ( @border-thickness-tags, @alert3 ); color:@alert3; } | |
4 | .alert4 { .border ( @border-thickness-tags, @alert4 ); color:@alert4; } |
|
4 | .alert4 { .border ( @border-thickness-tags, @alert4 ); color:@alert4; } | |
5 |
|
5 | |||
6 | .alert { |
|
6 | .alert { | |
7 | clear: both; |
|
7 | clear: both; | |
8 | margin: @space auto 0 auto; |
|
|||
9 | padding: @padding; |
|
8 | padding: @padding; | |
10 | border: @border-thickness solid; |
|
9 | border: @border-thickness solid; | |
11 | border-radius: @border-radius; |
|
10 | border-radius: @border-radius; | |
12 |
|
11 | |||
13 | // overwritter css from specific alerts |
|
12 | // overwritter css from specific alerts | |
14 | color: @grey3; |
|
13 | color: @grey3; | |
15 | border-color: @alert4; |
|
14 | border-color: @alert4; | |
16 | background-color: @alert4-inner; |
|
15 | background-color: @alert4-inner; | |
17 |
|
16 | |||
18 | a { |
|
17 | a { | |
19 | text-decoration: underline; |
|
18 | text-decoration: underline; | |
20 | } |
|
19 | } | |
21 | .close { |
|
20 | .close { | |
22 | color: @grey3; |
|
21 | color: @grey3; | |
23 | } |
|
22 | } | |
24 | } |
|
23 | } | |
25 |
|
24 | |||
26 | .infoform .alert { |
|
25 | .infoform .alert { | |
27 | width: 100%; |
|
26 | width: 100%; | |
28 | margin-top: 0; |
|
27 | margin-top: 0; | |
29 | } |
|
28 | } | |
30 |
|
29 | |||
31 | .alert-success { |
|
30 | .alert-success { | |
32 | border-color: @alert1; |
|
31 | border-color: @alert1; | |
33 | background-color: @alert1-inner; |
|
32 | background-color: @alert1-inner; | |
34 | } |
|
33 | } | |
35 |
|
34 | |||
36 | .alert-error { |
|
35 | .alert-error { | |
37 | border-color: @alert2; |
|
36 | border-color: @alert2; | |
38 | background-color: @alert2-inner; |
|
37 | background-color: @alert2-inner; | |
39 | } |
|
38 | } | |
40 |
|
39 | |||
41 | .alert-warning { |
|
40 | .alert-warning { | |
42 | border-color: @alert3; |
|
41 | border-color: @alert3; | |
43 | background-color: @alert3-inner; |
|
42 | background-color: @alert3-inner; | |
44 | } |
|
43 | } | |
45 |
|
44 | |||
46 | .alert-dismissable { |
|
45 | .alert-dismissable { | |
47 | padding-right: 10px; |
|
46 | padding-right: 10px; | |
48 |
|
47 | |||
49 | .close { |
|
48 | .close { | |
50 | margin-top: -5px; |
|
49 | margin-top: -5px; | |
51 | } |
|
50 | } | |
52 | } |
|
51 | } | |
53 |
|
52 | |||
54 | .loginbox { |
|
53 | .loginbox { | |
55 | .alert { |
|
54 | .alert { | |
56 | margin: 0 auto 35px auto; |
|
55 | margin: 0 auto 35px auto; | |
57 | } |
|
56 | } | |
58 | } |
|
57 | } |
@@ -1,22 +1,28 b'' | |||||
1 | @import '../../../../css/variables'; |
|
1 | @import '../../../../css/variables'; | |
2 | @import '../../../../css/mixins'; |
|
2 | @import '../../../../css/mixins'; | |
3 |
|
3 | |||
4 | .alert{ |
|
4 | .alert{ | |
5 | margin: 10px 0; |
|
5 | margin: 10px 0; | |
6 | } |
|
6 | } | |
7 |
|
7 | |||
8 | .toast-close{ |
|
8 | .toast-close{ | |
9 | text-align: right; |
|
9 | text-align: right; | |
|
10 | .btn { | |||
|
11 | margin: 0; | |||
|
12 | } | |||
10 | } |
|
13 | } | |
11 |
|
14 | |||
12 | .toast-message-holder{ |
|
15 | .toast-message-holder{ | |
13 |
background |
|
16 | background: fade(#fff, 25%); | |
14 |
|
17 | |||
15 | &.fixed{ |
|
18 | &.fixed{ | |
16 | position: fixed; |
|
19 | position: fixed; | |
17 | padding: 10px; |
|
20 | padding: 10px 0; | |
|
21 | margin-left: 10px; | |||
|
22 | margin-right: 10px; | |||
18 | top: 0; |
|
23 | top: 0; | |
19 |
|
|
24 | left: 0; | |
20 |
|
|
25 | right:0; | |
|
26 | z-index: 100; | |||
21 | } |
|
27 | } | |
22 | } |
|
28 | } |
General Comments 0
You need to be logged in to leave comments.
Login now