|
2 | 2 | * Twitter Bootstrap Look and Feel |
3 | 3 | * Based on http://twitter.github.com/bootstrap/ |
4 | 4 | */ |
5 | | - |
| 5 | + |
6 | 6 | /** offset all the other colors */ |
7 | 7 | @offset: #000000; |
8 | | - |
| 8 | + |
9 | 9 | .alertify, |
10 | 10 | .alertify-log { |
11 | 11 | font-family: inherit; |
|
33 | 33 | } |
34 | 34 | .alertify-text { |
35 | 35 | color: negation(#CCC, @offset); |
36 | | - |
| 36 | + |
37 | 37 | padding: 8px; |
38 | 38 | border: 1px solid negation(#CCC, @offset); |
39 | 39 | } |
|
61 | 61 | .alertify-button:active { |
62 | 62 | position: relative; |
63 | 63 | } |
64 | | - .alertify-button-cancel, |
65 | | - .alertify-button-cancel:hover, |
66 | | - .alertify-button-cancel:focus, |
67 | | - .alertify-button-cancel:active { |
68 | | - color: negation(#CCC, @offset); |
69 | | - } |
70 | | - .alertify-button-cancel:hover, |
71 | | - .alertify-button-cancel:focus, |
72 | | - .alertify-button-cancel:active { |
73 | | - color: negation(#000, @offset); |
74 | | - background: negation(#fff, @offset); |
75 | | - } |
| 64 | + |
76 | 65 | .alertify-button-ok, |
77 | 66 | .alertify-button-ok:hover, |
78 | 67 | .alertify-button-ok:focus, |
79 | | - .alertify-button-ok:active { |
| 68 | + .alertify-button-ok:active, |
| 69 | + .alertify-button-cancel, |
| 70 | + .alertify-button-cancel:hover, |
| 71 | + .alertify-button-cancel:focus, |
| 72 | + .alertify-button-cancel:active { |
| 73 | + border: none; |
80 | 74 | color: negation(#CCC, @offset); |
| 75 | + background: negation(#000, @offset); |
81 | 76 | } |
82 | 77 | .alertify-button-ok:hover, |
83 | 78 | .alertify-button-ok:focus, |
84 | | - .alertify-button-ok:active { |
| 79 | + .alertify-button-ok:active, |
| 80 | + .alertify-button-cancel:hover, |
| 81 | + .alertify-button-cancel:focus, |
| 82 | + .alertify-button-cancel:active { |
| 83 | + border: none; |
85 | 84 | color: negation(#000, @offset); |
86 | 85 | background: negation(#fff, @offset); |
87 | 86 | } |
|
99 | 98 | .alertify-log-success { |
100 | 99 | color: negation(#CCC, @offset); |
101 | 100 | } |
102 | | - |
| 101 | + |
103 | 102 | .alertify-cover { |
104 | 103 | transition: opacity 1s ease-out, width 0s; |
105 | 104 | background-color: negation(#555, @offset); |
|
111 | 110 | right:0; |
112 | 111 | } |
113 | 112 |
|
114 | | -.alertify-cover.alertify-cover-hidden{/*For animation*/ |
| 113 | +.alertify-cover.alertify-cover-hidden{/*For animation*/ |
115 | 114 | display: block; |
116 | 115 | opacity: 0; |
117 | 116 | width:0; |
|
0 commit comments