Show More
@@ -5,11 +5,5 b'' | |||
|
5 | 5 | @import 'rcicons'; |
|
6 | 6 | @import 'fonts'; |
|
7 | 7 | @import 'variables'; |
|
8 | @import 'legacy_code_styles'; | |
|
9 | 8 | @import 'type'; |
|
10 | @import 'alerts'; | |
|
11 | 9 | @import 'buttons'; |
|
12 | @import 'tags'; | |
|
13 | @import 'examples'; | |
|
14 | @import 'login'; | |
|
15 | @import 'comments'; |
@@ -2,6 +2,7 b'' | |||
|
2 | 2 | <link rel="import" href="../rhodecode-unsafe-html/rhodecode-unsafe-html.html"> |
|
3 | 3 | <dom-module id="rhodecode-toast"> |
|
4 | 4 | <template> |
|
5 | <style include="shared-styles"></style> | |
|
5 | 6 | <link rel="stylesheet" href="rhodecode-toast.css"> |
|
6 | 7 | |
|
7 | 8 | <paper-toast id="p-toast" duration="0" horizontal-offset="100" horizontal-align="auto" vertical-align="top" always-on-top> |
@@ -14,7 +15,7 b'' | |||
|
14 | 15 | </template> |
|
15 | 16 | </div> |
|
16 | 17 | <div class="toast-close"> |
|
17 |
<paper-button on-tap="dismissNotifications" class="btn btn- |
|
|
18 | <paper-button on-tap="dismissNotifications" class="btn btn-primary">{{_gettext('Close now')}}</paper-button> | |
|
18 | 19 | </div> |
|
19 | 20 | </paper-toast> |
|
20 | 21 | </template> |
@@ -1,3 +1,5 b'' | |||
|
1 | @import '../../../../css/variables'; | |
|
2 | ||
|
1 | 3 | paper-toast{ |
|
2 | 4 | width: 100%; |
|
3 | 5 | min-width: 400px; |
@@ -27,13 +29,16 b' paper-toast a{' | |||
|
27 | 29 | min-width: 100px; |
|
28 | 30 | font-weight: bold; |
|
29 | 31 | text-transform: uppercase; |
|
30 |
&.info |
|
|
31 |
color: |
|
|
32 | &.info{ | |
|
33 | color: @alert4; | |
|
34 | } | |
|
35 | &.success { | |
|
36 | color: @alert1; | |
|
32 | 37 | } |
|
33 | 38 | &.error, &.danger { |
|
34 |
color: |
|
|
39 | color: @alert2; | |
|
35 | 40 | } |
|
36 | 41 | &.warning { |
|
37 |
color: |
|
|
42 | color: @alert3; | |
|
38 | 43 | } |
|
39 | 44 | } |
General Comments 0
You need to be logged in to leave comments.
Login now