File tree Expand file tree Collapse file tree 3 files changed +18
-18
lines changed Expand file tree Collapse file tree 3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 2222 - Complex CSS Selectors
2323 - NO !important
2424\* ========== COMPONENTS ========== */
25- @import ' components/alert/index' ;
2625@import ' components/badge/index' ;
2726@import ' components/box/index' ;
2827@import ' components/breadcrumb/index' ;
Original file line number Diff line number Diff line change 11// TODO: migrate components from LESS
22@import " accordion/index" ;
3+ @import " alert/index" ;
34@import " loader/index" ;
45@import " selector-strip/index" ;
56@import " typography/index" ;
Original file line number Diff line number Diff line change 11hx-alert {
2- background-color : @ gray-400 ;
3- color : @ gray-1000 ;
2+ background-color : $ gray-400 ;
3+ color : $ gray-1000 ;
44 display : block ;
55 font-weight : 300 ;
66 line-height : 1.25rem ;
77
88 & [type = " info" ] {
9- background-color : @ blue-100 ;
10- color : @ gray-1000 ;
9+ background-color : $ blue-100 ;
10+ color : $ gray-1000 ;
1111 }
1212
1313 & [type = " error" ] {
14- background-color : @ red-900 ;
15- color : @ gray-0 ;
14+ background-color : $ red-900 ;
15+ color : $ gray-0 ;
1616 }
1717
1818 & [type = " success" ] {
19- background-color : @ green-500 ;
20- color : @ gray-0 ;
19+ background-color : $ green-500 ;
20+ color : $ gray-0 ;
2121 }
2222
2323 & [type = " warning" ] {
24- background-color : @ yellow-500 ;
25- color : @ gray-1000 ;
24+ background-color : $ yellow-500 ;
25+ color : $ gray-1000 ;
2626 }
2727}
2828
2929/* DEPRECATED: Remove in v1.0.0 */
3030.hxAlert {
31- background-color : @ blue-100 ;
32- color : @ gray-1000 ;
31+ background-color : $ blue-100 ;
32+ color : $ gray-1000 ;
3333 display : flex ;
3434 font-weight : 300 ;
3535 line-height : 1.25em ;
@@ -40,17 +40,17 @@ hx-alert {
4040 }
4141
4242 & --error {
43- background-color : @ red-900 ;
44- color : @ gray-0 ;
43+ background-color : $ red-900 ;
44+ color : $ gray-0 ;
4545 }
4646
4747 & --warning {
48- background-color : @ yellow-500 ;
48+ background-color : $ yellow-500 ;
4949 }
5050
5151 & --success {
52- background-color : @ green-500 ;
53- color : @ gray-0 ;
52+ background-color : $ green-500 ;
53+ color : $ gray-0 ;
5454 }
5555
5656 & __icon {
You can’t perform that action at this time.
0 commit comments