| 1 |
@import "variables.scss"; |
| 2 |
|
| 3 |
.wtotem { |
| 4 |
&_layout { |
| 5 |
background: #e5e5e5; |
| 6 |
} |
| 7 |
|
| 8 |
&_alert { |
| 9 |
} |
| 10 |
} |
| 11 |
.wtotem_alert { |
| 12 |
padding: 17px 22px; |
| 13 |
display: flex; |
| 14 |
justify-content: space-between; |
| 15 |
align-items: center; |
| 16 |
background: #fff; |
| 17 |
border-radius: 4px; |
| 18 |
margin-bottom: 30px; |
| 19 |
&__desc { |
| 20 |
display: flex; |
| 21 |
align-items: center; |
| 22 |
} |
| 23 |
|
| 24 |
&__img { |
| 25 |
margin-right: 5px; |
| 26 |
display: flex; |
| 27 |
align-items: center; |
| 28 |
justify-content: center; |
| 29 |
&_cross { |
| 30 |
width: 16px; |
| 31 |
height: 16px; |
| 32 |
border-radius: 100px; |
| 33 |
display: flex; |
| 34 |
align-items: center; |
| 35 |
justify-content: center; |
| 36 |
background: #ee3f3f; |
| 37 |
&:before { |
| 38 |
content: ""; |
| 39 |
position: absolute; |
| 40 |
display: block; |
| 41 |
width: 8px; |
| 42 |
height: 1.3px; |
| 43 |
border-radius: 1px; |
| 44 |
transform: rotate(45deg); |
| 45 |
background: #fff; |
| 46 |
} |
| 47 |
&:after { |
| 48 |
content: ""; |
| 49 |
position: absolute; |
| 50 |
display: block; |
| 51 |
width: 8px; |
| 52 |
height: 1.3px; |
| 53 |
border-radius: 1px; |
| 54 |
transform: rotate(-45deg); |
| 55 |
background: #fff; |
| 56 |
} |
| 57 |
} |
| 58 |
} |
| 59 |
|
| 60 |
&__title { |
| 61 |
font-size: 12px; |
| 62 |
text-transform: uppercase; |
| 63 |
&_yellow { |
| 64 |
color: #f5c451; |
| 65 |
} |
| 66 |
&_green { |
| 67 |
color: #4bc374; |
| 68 |
} |
| 69 |
|
| 70 |
&_red { |
| 71 |
color: #ee3f3f; |
| 72 |
} |
| 73 |
} |
| 74 |
|
| 75 |
&__text { |
| 76 |
color: #1d293f; |
| 77 |
font-size: 12px; |
| 78 |
} |
| 79 |
|
| 80 |
&__close { |
| 81 |
position: relative; |
| 82 |
width: 10px; |
| 83 |
height: 10px; |
| 84 |
display: flex; |
| 85 |
justify-self: center; |
| 86 |
align-items: center; |
| 87 |
cursor: pointer; |
| 88 |
&:before { |
| 89 |
content: ""; |
| 90 |
position: absolute; |
| 91 |
display: block; |
| 92 |
width: 10px; |
| 93 |
height: 2px; |
| 94 |
border-radius: 1px; |
| 95 |
transform: rotate(45deg); |
| 96 |
background: #000; |
| 97 |
} |
| 98 |
&:after { |
| 99 |
content: ""; |
| 100 |
position: absolute; |
| 101 |
display: block; |
| 102 |
width: 10px; |
| 103 |
height: 2px; |
| 104 |
border-radius: 1px; |
| 105 |
transform: rotate(-45deg); |
| 106 |
background: #000; |
| 107 |
} |
| 108 |
} |
| 109 |
} |
| 110 |
|
| 111 |
/* 576-768px sm Small */ |
| 112 |
@media screen and (max-width: 768px) { |
| 113 |
.wtotem_alert { |
| 114 |
margin-bottom: 20px; |
| 115 |
} |
| 116 |
} |
| 117 |
/* 320-576px Extra small */ |
| 118 |
@media screen and (max-width: 576px) { |
| 119 |
} |
| 120 |
|