|
1 | 1 | @import "~styles/mixins";
|
2 | 2 |
|
3 |
| -.overlay { |
4 |
| - background-color: #2a2a2a !important; |
5 |
| - opacity: 0.95; |
| 3 | +.modal-overlay { |
| 4 | + background-color: rgba($color-tc-black, 0.85); |
6 | 5 | }
|
7 | 6 |
|
8 |
| -.container { |
9 |
| - @include roboto-regular; |
10 |
| - |
11 |
| - padding: 0; |
12 |
| - position: fixed; |
13 |
| - overflow: auto; |
14 |
| - z-index: 10000; |
| 7 | +.modal { |
| 8 | + display: flex; |
| 9 | + flex-direction: column; |
| 10 | + align-items: center; |
| 11 | + justify-content: flex-start; |
| 12 | + width: 100%; |
| 13 | + height: 100%; |
| 14 | + max-width: none; |
| 15 | + max-height: none; |
| 16 | + border-radius: 8px; |
| 17 | + overflow-y: auto; |
| 18 | + background: none; |
15 | 19 | top: 0;
|
16 |
| - right: 0; |
17 |
| - bottom: 0; |
18 | 20 | left: 0;
|
19 |
| - box-sizing: border-box; |
20 |
| - width: auto; |
21 |
| - max-width: none; |
22 | 21 | transform: none;
|
23 |
| - background: transparent; |
24 | 22 |
|
25 |
| - .deletion-confirmation-container { |
26 |
| - background: transparent; |
27 |
| - opacity: 1; |
28 |
| - position: relative; |
29 |
| - padding: 30px; |
30 |
| - width: 100%; |
31 |
| - height: 100%; |
32 |
| - display: flex; |
33 |
| - flex-direction: column; |
34 |
| - justify-content: center; |
35 |
| - align-items: center; |
36 |
| - border-radius: 0; |
37 |
| - color: #444; |
38 |
| - font-family: Helvetica, sans-serif; |
39 |
| - font-size: 1.1em; |
40 |
| - line-height: 1.5em; |
41 |
| - margin: 0 auto; |
42 |
| - max-width: 100%; |
| 23 | + .close { |
| 24 | + padding: 0; |
| 25 | + margin: 0 0 0 auto; |
| 26 | + min-height: 0; |
43 | 27 | }
|
44 | 28 | }
|
45 | 29 |
|
46 |
| -.deletion-confirmation { |
| 30 | +.modal-dialog { |
| 31 | + flex: 0 0 auto; |
47 | 32 | display: flex;
|
48 |
| - flex-flow: column wrap; |
49 |
| - justify-content: space-around; |
50 |
| - align-items: center; |
51 |
| - background-color: $tc-white; |
52 |
| - opacity: 1; |
53 |
| - border-radius: 4px; |
54 |
| - padding: 40px; |
55 |
| - max-width: 100%; |
| 33 | + flex-direction: column; |
| 34 | + margin: auto; |
56 | 35 | }
|
57 | 36 |
|
58 |
| -@media (min-width: 768px) { |
59 |
| - .deletion-confirmation { |
60 |
| - width: 520px; |
61 |
| - min-height: 256px; |
62 |
| - } |
| 37 | +.modal-content { |
| 38 | + flex: auto; |
| 39 | + display: flex; |
| 40 | + flex-direction: column; |
| 41 | + color: $color-black-100; |
| 42 | + max-width: 794px; |
| 43 | + background-color: $color-tc-white; |
| 44 | + border-radius: 8px; |
| 45 | + box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); |
| 46 | + margin: 32px; |
| 47 | + width: calc(100% - 64px); |
63 | 48 | }
|
64 | 49 |
|
65 |
| -.deletion-confirmation-title { |
66 |
| - @include roboto-medium; |
| 50 | +.modal-header { |
| 51 | + @include roboto-bold; |
67 | 52 |
|
68 |
| - font-size: 20px; |
69 |
| - line-height: 24px; |
70 |
| - color: $tc-gray-90; |
| 53 | + font-size: 34px; |
| 54 | + line-height: 32px; |
| 55 | + font-weight: 500; |
71 | 56 | text-transform: uppercase;
|
| 57 | + display: flex; |
| 58 | + align-items: center; |
| 59 | + padding: $pad-xxxl $pad-xxxxl $pad-xxxxl; |
| 60 | + border-radius: 8px 8px 0 0; |
72 | 61 | }
|
73 | 62 |
|
74 |
| -.deletion-confirmation-message { |
75 |
| - @include merriweather-sans-light; |
| 63 | +.modal-body { |
| 64 | + @include roboto-bold; |
76 | 65 |
|
77 |
| - margin: 10px 0; |
78 |
| - width: 100%; |
79 |
| - text-align: center; |
| 66 | + flex: auto; |
| 67 | + display: flex; |
| 68 | + padding: 0 $pad-xxxxl; |
| 69 | + |
| 70 | + .title { |
| 71 | + font-size: 16px; |
| 72 | + line-height: 20px; |
| 73 | + letter-spacing: 0.5px; |
| 74 | + font-weight: 500; |
| 75 | + padding-bottom: 10px; |
| 76 | + text-transform: uppercase; |
| 77 | + display: flex; |
| 78 | + align-items: center; |
| 79 | + border-radius: 8px 8px 0 0; |
80 | 80 |
|
81 |
| - .deletion-confirmation-account-title { |
82 |
| - font-style: italic; |
83 |
| - word-wrap: break-word; |
| 81 | + @include xs-to-sm { |
| 82 | + font-size: 16px; |
| 83 | + } |
84 | 84 | }
|
85 | 85 | }
|
86 | 86 |
|
87 |
| -.deletion-confirmation-buttons { |
| 87 | +.modal-footer { |
88 | 88 | display: flex;
|
89 |
| - flex-flow: row wrap; |
| 89 | + flex-direction: row-reverse; |
| 90 | + align-items: flex-end; |
| 91 | + padding: $pad-xxxxl 0; |
| 92 | + margin: $margin-xxxl $margin-xxxxl 0; |
| 93 | + border-top: 2px solid $color-black-10; |
| 94 | + border-radius: 0 0 8px 8px; |
| 95 | + |
| 96 | + @include xs-to-md { |
| 97 | + padding: $pad-lg; |
| 98 | + margin: 0 $margin-lg 0; |
| 99 | + } |
| 100 | +} |
| 101 | + |
| 102 | +@include xs-to-md { |
| 103 | + .modal { |
| 104 | + padding: 0 20px; |
| 105 | + overflow-y: auto; |
| 106 | + height: 100%; |
| 107 | + max-height: 100%; |
| 108 | + border: none; |
| 109 | + box-shadow: none; |
| 110 | + border-radius: 0; |
| 111 | + z-index: 999999; |
| 112 | + } |
90 | 113 |
|
91 |
| - .deletion-confirmation-button-no { |
92 |
| - margin-left: 10px; |
| 114 | + .modal-content { |
| 115 | + min-height: 120px; |
| 116 | + } |
93 | 117 |
|
94 |
| - button { |
95 |
| - text-transform: uppercase; |
96 |
| - height: 40px; |
| 118 | + .modal-header { |
| 119 | + @include roboto-bold; |
97 | 120 |
|
98 |
| - @include roboto-medium; |
| 121 | + font-size: 16px; |
| 122 | + line-height: 20px; |
| 123 | + padding: $pad-lg; |
| 124 | + border-radius: 0; |
| 125 | + } |
99 | 126 |
|
100 |
| - font-size: 12px; |
101 |
| - } |
| 127 | + .modal-body { |
| 128 | + padding: 0 $pad-lg; |
| 129 | + flex-direction: column; |
102 | 130 | }
|
103 | 131 |
|
104 |
| - .deletion-confirmation-button-yes { |
105 |
| - button { |
106 |
| - border: 1px solid $tc-dark-blue; |
107 |
| - text-transform: uppercase; |
108 |
| - height: 40px; |
| 132 | + .modal-footer { |
| 133 | + padding: $pad-lg; |
| 134 | + margin: 0 $margin-lg 0; |
| 135 | + border-radius: 0; |
| 136 | + } |
| 137 | +} |
109 | 138 |
|
110 |
| - @include roboto-medium; |
| 139 | +@include xs-to-sm { |
| 140 | + .modal-content { |
| 141 | + width: 100%; |
| 142 | + margin: 0; |
| 143 | + border-radius: 0; |
| 144 | + } |
| 145 | +} |
111 | 146 |
|
112 |
| - font-size: 12px; |
| 147 | +.button-save-ghost { |
| 148 | + @include roboto-bold; |
113 | 149 |
|
114 |
| - &:hover { |
115 |
| - color: $tc-white; |
116 |
| - background-color: $tc-dark-blue; |
117 |
| - } |
118 |
| - } |
| 150 | + font-weight: 700; |
| 151 | + font-size: 16px; |
| 152 | + line-height: 24px; |
| 153 | + border-radius: 50px !important; |
| 154 | + color: #2a2a2a !important; |
| 155 | + text-transform: uppercase; |
| 156 | + background-color: #fff !important; |
| 157 | + border: 1px solid #2a2a2a !important; |
| 158 | + |
| 159 | + &:hover { |
| 160 | + background-color: #fff !important; |
| 161 | + background-image: none !important; |
| 162 | + border-color: #2a2a2a !important; |
| 163 | + } |
| 164 | + |
| 165 | + @include xs-to-md { |
| 166 | + font-size: 14px; |
| 167 | + line-height: 20px; |
| 168 | + } |
| 169 | +} |
| 170 | + |
| 171 | +.button-save { |
| 172 | + @include roboto-bold; |
| 173 | + |
| 174 | + font-weight: 700; |
| 175 | + font-size: 16px; |
| 176 | + line-height: 24px; |
| 177 | + border-radius: 50px !important; |
| 178 | + background: $color-turq-160 !important; |
| 179 | + color: $color-tc-white !important; |
| 180 | + text-transform: uppercase; |
| 181 | + |
| 182 | + @include xs-to-md { |
| 183 | + font-size: 14px; |
| 184 | + line-height: 20px; |
119 | 185 | }
|
120 | 186 | }
|
0 commit comments