Show More
@@ -5,7 +5,6 b'' | |||
|
5 | 5 | |
|
6 | 6 | .alert { |
|
7 | 7 | clear: both; |
|
8 | margin: @space auto 0 auto; | |
|
9 | 8 | padding: @padding; |
|
10 | 9 | border: @border-thickness solid; |
|
11 | 10 | border-radius: @border-radius; |
@@ -6,7 +6,7 b'' | |||
|
6 | 6 | <style include="shared-styles"></style> |
|
7 | 7 | <link rel="stylesheet" href="rhodecode-toast.css"> |
|
8 | 8 | <template is="dom-if" if="[[hasToasts]]"> |
|
9 |
<div class$="container toast-message-holder [[conditionalClass(isFixed)]]" |
|
|
9 | <div class$="container toast-message-holder [[conditionalClass(isFixed)]]"> | |
|
10 | 10 | <template is="dom-repeat" items="[[toasts]]"> |
|
11 | 11 | <div class$="alert alert-[[item.level]]"> |
|
12 | 12 | <rhodecode-unsafe-html text="[[item.message]]"></rhodecode-unsafe-html> |
@@ -7,16 +7,22 b'' | |||
|
7 | 7 | |
|
8 | 8 | .toast-close{ |
|
9 | 9 | text-align: right; |
|
10 | .btn { | |
|
11 | margin: 0; | |
|
12 | } | |
|
10 | 13 | } |
|
11 | 14 | |
|
12 | 15 | .toast-message-holder{ |
|
13 |
background |
|
|
16 | background: fade(#fff, 25%); | |
|
14 | 17 | |
|
15 | 18 | &.fixed{ |
|
16 | 19 | position: fixed; |
|
17 | padding: 10px; | |
|
20 | padding: 10px 0; | |
|
21 | margin-left: 10px; | |
|
22 | margin-right: 10px; | |
|
18 | 23 | top: 0; |
|
19 |
|
|
|
20 |
|
|
|
24 | left: 0; | |
|
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