File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 11@import " ../mixins" ;
22@import " ../const" ;
33
4+ $messagesAlpha : .8 ;
5+
46.toast {
57
68 position : fixed ;
1113
1214 > .body {
1315
14- font-size : 12pt ;
15- margin : 3px ;
16- padding : .3em ;
16+ font-size : $fontNormal ;
17+ margin : 1em ;
18+ padding : .5em ;
19+ border-radius : $defaultPadding / 2 ;;
1720 background : rgba (255 , 255 , 255 , 0.8 );
1821 box-shadow : 0 1px 2px rgba (0 , 0 , 0 , 0.5 );
1922
2023 & .info {
21- background : #fffcc8 ;
22- }
23-
24- & .info :before {
25- content : " [INFO] " ;
24+ background : rgba ($colorP1 , $messagesAlpha );
2625 }
2726
2827 & .warning {
2928
30- background : #e8ab1f ;
29+ background : rgba ( $colorP4 , $messagesAlpha ) ;
3130
3231 > .icon {
3332 color : white ;
3837 & .error {
3938 color : white ;
4039 text-shadow : 0 0 1px black ;
41- background : #ff4300 ;
40+ background : rgba ( $colorP2 , $messagesAlpha ) ;
4241 }
4342
4443 & .done {
45- background : $colorP3 ;
44+ background : rgba ( $colorP3 , $messagesAlpha ) ;
4645 }
4746
4847 }
You can’t perform that action at this time.
0 commit comments