| 1 |
/** |
| 2 |
* |
| 3 |
* Common styles |
| 4 |
* |
| 5 |
*/ |
| 6 |
.happyforms-modal { |
| 7 |
width: 312px; |
| 8 |
} |
| 9 |
|
| 10 |
.happyforms-modal picture > img { |
| 11 |
display: block; |
| 12 |
max-width: 100%; |
| 13 |
-o-object-fit: cover; |
| 14 |
object-fit: cover; |
| 15 |
} |
| 16 |
|
| 17 |
.happyforms-modal p:last-child { |
| 18 |
margin-bottom: 0; |
| 19 |
} |
| 20 |
|
| 21 |
.happyforms-modal .components-radio-control__option:not(:last-child) { |
| 22 |
margin-bottom: 13px; |
| 23 |
} |
| 24 |
|
| 25 |
.happyforms-modal__footer { |
| 26 |
margin-top: 24px; |
| 27 |
} |
| 28 |
|
| 29 |
.happyforms-modal__footer-button-group { |
| 30 |
display: flex; |
| 31 |
} |
| 32 |
|
| 33 |
.happyforms-modal__footer-button-group .components-button { |
| 34 |
flex: 1 0 auto; |
| 35 |
justify-content: center; |
| 36 |
} |
| 37 |
|
| 38 |
.happyforms-modal__footer-button-group .components-button + .components-button { |
| 39 |
margin-left: 10px; |
| 40 |
} |
| 41 |
|
| 42 |
.components-modal__frame.components-guide.happyforms-modal { |
| 43 |
height: auto; |
| 44 |
max-height: 90vh; |
| 45 |
} |
| 46 |
|
| 47 |
|
| 48 |
/** |
| 49 |
* |
| 50 |
* Deactivation modal |
| 51 |
* |
| 52 |
*/ |
| 53 |
.happyforms-modal.happyforms-modal--deactivate label { |
| 54 |
display: block; |
| 55 |
margin: 0 0 3px; |
| 56 |
} |
| 57 |
|
| 58 |
.happyforms-modal.happyforms-modal--deactivate label:not(:last-child) { |
| 59 |
margin: 0 0 5px; |
| 60 |
} |
| 61 |
|
| 62 |
.happyforms-modal.happyforms-modal--deactivate .components-modal__content { |
| 63 |
padding-bottom: 32px; |
| 64 |
} |