|
1 | 1 | /*!
|
2 |
| - * # Semantic UI 2.4.0 - Modal |
| 2 | + * # Semantic UI 2.5.0 - Modal |
3 | 3 | * http://github.com/semantic-org/semantic-ui/
|
4 | 4 | *
|
5 | 5 | *
|
|
20 | 20 | text-align: left;
|
21 | 21 | background: #FFFFFF;
|
22 | 22 | border: none;
|
23 |
| - -webkit-box-shadow: 1px 3px 3px 0px rgba(0, 0, 0, 0.2), 1px 3px 15px 2px rgba(0, 0, 0, 0.2); |
24 |
| - box-shadow: 1px 3px 3px 0px rgba(0, 0, 0, 0.2), 1px 3px 15px 2px rgba(0, 0, 0, 0.2); |
25 |
| - -webkit-transform-origin: 50% 25%; |
26 |
| - transform-origin: 50% 25%; |
27 |
| - -webkit-box-flex: 0; |
28 |
| - -ms-flex: 0 0 auto; |
29 |
| - flex: 0 0 auto; |
| 23 | + box-shadow: 1px 3px 3px 0px rgba(0, 0, 0, 0.2), 1px 3px 15px 2px rgba(0, 0, 0, 0.2); |
| 24 | + transform-origin: 50% 25%; |
| 25 | + flex: 0 0 auto; |
30 | 26 | border-radius: 0.28571429rem;
|
31 | 27 | -webkit-user-select: text;
|
32 | 28 | -moz-user-select: text;
|
|
81 | 77 | background: #FFFFFF;
|
82 | 78 | margin: 0em;
|
83 | 79 | padding: 1.25rem 1.5rem;
|
84 |
| - -webkit-box-shadow: none; |
85 |
| - box-shadow: none; |
| 80 | + box-shadow: none; |
86 | 81 | color: rgba(0, 0, 0, 0.85);
|
87 | 82 | border-bottom: 1px solid rgba(34, 36, 38, 0.15);
|
88 | 83 | }
|
|
105 | 100 | background: #FFFFFF;
|
106 | 101 | }
|
107 | 102 | .ui.modal > .image.content {
|
108 |
| - display: -webkit-box; |
109 |
| - display: -ms-flexbox; |
110 | 103 | display: flex;
|
111 |
| - -webkit-box-orient: horizontal; |
112 |
| - -webkit-box-direction: normal; |
113 |
| - -ms-flex-direction: row; |
114 |
| - flex-direction: row; |
| 104 | + flex-direction: row; |
115 | 105 | }
|
116 | 106 |
|
117 | 107 | /* Image */
|
118 | 108 | .ui.modal > .content > .image {
|
119 | 109 | display: block;
|
120 |
| - -webkit-box-flex: 0; |
121 |
| - -ms-flex: 0 1 auto; |
122 |
| - flex: 0 1 auto; |
| 110 | + flex: 0 1 auto; |
123 | 111 | width: '';
|
124 |
| - -ms-flex-item-align: top; |
125 |
| - align-self: top; |
| 112 | + align-self: top; |
126 | 113 | }
|
127 | 114 | .ui.modal > [class*="top aligned"] {
|
128 |
| - -ms-flex-item-align: top; |
129 |
| - align-self: top; |
| 115 | + align-self: top; |
130 | 116 | }
|
131 | 117 | .ui.modal > [class*="middle aligned"] {
|
132 |
| - -ms-flex-item-align: middle; |
133 |
| - align-self: middle; |
| 118 | + align-self: middle; |
134 | 119 | }
|
135 | 120 | .ui.modal > [class*="stretched"] {
|
136 |
| - -ms-flex-item-align: stretch; |
137 |
| - align-self: stretch; |
| 121 | + align-self: stretch; |
138 | 122 | }
|
139 | 123 |
|
140 | 124 | /* Description */
|
141 | 125 | .ui.modal > .content > .description {
|
142 | 126 | display: block;
|
143 |
| - -webkit-box-flex: 1; |
144 |
| - -ms-flex: 1 0 auto; |
145 |
| - flex: 1 0 auto; |
| 127 | + flex: 1 0 auto; |
146 | 128 | min-width: 0px;
|
147 |
| - -ms-flex-item-align: top; |
148 |
| - align-self: top; |
| 129 | + align-self: top; |
149 | 130 | }
|
150 | 131 | .ui.modal > .content > .icon + .description,
|
151 | 132 | .ui.modal > .content > .image + .description {
|
152 |
| - -webkit-box-flex: 0; |
153 |
| - -ms-flex: 0 1 auto; |
154 |
| - flex: 0 1 auto; |
| 133 | + flex: 0 1 auto; |
155 | 134 | min-width: '';
|
156 | 135 | width: auto;
|
157 | 136 | padding-left: 2em;
|
|
244 | 223 | }
|
245 | 224 | /*rtl:ignore*/
|
246 | 225 | .ui.modal .image.content {
|
247 |
| - -webkit-box-orient: vertical; |
248 |
| - -webkit-box-direction: normal; |
249 |
| - -ms-flex-direction: column; |
250 |
| - flex-direction: column; |
| 226 | + flex-direction: column; |
251 | 227 | }
|
252 | 228 | .ui.modal .content > .image {
|
253 | 229 | display: block;
|
|
266 | 242 | width: 100% !important;
|
267 | 243 | margin: 0em !important;
|
268 | 244 | padding: 1rem 0rem !important;
|
269 |
| - -webkit-box-shadow: none; |
270 |
| - box-shadow: none; |
| 245 | + box-shadow: none; |
271 | 246 | }
|
272 | 247 |
|
273 | 248 | /* Let Buttons Stack */
|
|
285 | 260 | ---------------*/
|
286 | 261 |
|
287 | 262 | .ui.inverted.dimmer > .ui.modal {
|
288 |
| - -webkit-box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.2); |
289 |
| - box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.2); |
| 263 | + box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.2); |
290 | 264 | }
|
291 | 265 |
|
292 | 266 |
|
|
298 | 272 | background-color: transparent;
|
299 | 273 | border: none;
|
300 | 274 | border-radius: 0em;
|
301 |
| - -webkit-box-shadow: none !important; |
302 |
| - box-shadow: none !important; |
| 275 | + box-shadow: none !important; |
303 | 276 | color: #FFFFFF;
|
304 | 277 | }
|
305 | 278 | .ui.basic.modal > .header,
|
|
396 | 369 | overflow: hidden;
|
397 | 370 | }
|
398 | 371 | .scrolling.dimmable > .dimmer {
|
399 |
| - -webkit-box-pack: start; |
400 |
| - -ms-flex-pack: start; |
401 |
| - justify-content: flex-start; |
| 372 | + justify-content: flex-start; |
402 | 373 | }
|
403 | 374 | .scrolling.dimmable.dimmed > .dimmer {
|
404 | 375 | overflow: auto;
|
|
427 | 398 |
|
428 | 399 | /* Scrolling Content */
|
429 | 400 | .ui.modal .scrolling.content {
|
430 |
| - max-height: calc(70vh); |
| 401 | + max-height: calc(80vh - 10em); |
431 | 402 | overflow: auto;
|
432 | 403 | }
|
433 | 404 |
|
|
437 | 408 |
|
438 | 409 | .ui.fullscreen.modal {
|
439 | 410 | width: 95% !important;
|
440 |
| - left: 0em !important; |
441 | 411 | margin: 1em auto;
|
442 | 412 | }
|
443 |
| -.ui.fullscreen.scrolling.modal { |
444 |
| - left: 0em !important; |
445 |
| -} |
446 | 413 | .ui.fullscreen.modal > .header {
|
447 | 414 | padding-right: 2.25rem;
|
448 | 415 | }
|
|
0 commit comments