_deactivation-feedback.scss
9 years ago
_license-activation.scss
9 years ago
_license-key-resend.scss
9 years ago
_modal-common.scss
9 years ago
account.scss
9 years ago
add-ons.scss
9 years ago
checkout.scss
9 years ago
common.scss
9 years ago
connect.scss
9 years ago
debug.scss
9 years ago
dialog-boxes.scss
9 years ago
_modal-common.scss
155 lines
| 1 | @import "../colors"; |
| 2 | @import "../mixins"; |
| 3 | |
| 4 | .fs-modal { |
| 5 | position: fixed; |
| 6 | overflow: auto; |
| 7 | height: 100%; |
| 8 | width: 100%; |
| 9 | top: 0; |
| 10 | z-index: 100000; |
| 11 | display: none; |
| 12 | background: rgba(0, 0, 0, 0.6); |
| 13 | |
| 14 | .fs-modal-dialog { |
| 15 | background: transparent; |
| 16 | position: absolute; |
| 17 | left: 50%; |
| 18 | margin-left: -298px; |
| 19 | padding-bottom: 30px; |
| 20 | top: -100%; |
| 21 | z-index: 100001; |
| 22 | width: 596px; |
| 23 | |
| 24 | @media (max-width: 650px) { |
| 25 | margin-left: -50%; |
| 26 | box-sizing: border-box; |
| 27 | padding-left: 10px; |
| 28 | padding-right: 10px; |
| 29 | width: 100%; |
| 30 | |
| 31 | .fs-modal-panel > h3 > strong { |
| 32 | font-size: 1.3em; |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | &.active { |
| 38 | display: block; |
| 39 | |
| 40 | &:before { |
| 41 | display: block; |
| 42 | } |
| 43 | |
| 44 | .fs-modal-dialog { |
| 45 | top: 10%; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | .fs-modal-body, |
| 50 | .fs-modal-footer { |
| 51 | border: 0; |
| 52 | background: #fefefe; |
| 53 | padding: 20px; |
| 54 | } |
| 55 | |
| 56 | .fs-modal-header { |
| 57 | border-bottom: #eeeeee solid 1px; |
| 58 | background: #fbfbfb; |
| 59 | padding: 15px 20px; |
| 60 | position: relative; |
| 61 | margin-bottom: -10px; |
| 62 | // z-index: 2; |
| 63 | |
| 64 | h4 { |
| 65 | margin: 0; |
| 66 | padding: 0; |
| 67 | text-transform: uppercase; |
| 68 | font-size: 1.2em; |
| 69 | font-weight: bold; |
| 70 | color: #cacaca; |
| 71 | text-shadow: 1px 1px 1px #fff; |
| 72 | letter-spacing: 0.6px; |
| 73 | -webkit-font-smoothing: antialiased; |
| 74 | } |
| 75 | |
| 76 | .fs-close { |
| 77 | position: absolute; |
| 78 | right: 10px; |
| 79 | top: 12px; |
| 80 | cursor: pointer; |
| 81 | color: #bbb; |
| 82 | @include border-radius(20px); |
| 83 | padding: 3px; |
| 84 | @include transition(all 0.2s ease-in-out); |
| 85 | |
| 86 | &:hover { |
| 87 | color: #fff; |
| 88 | background: #aaa; |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | .fs-modal-body { |
| 94 | border-bottom: 0; |
| 95 | |
| 96 | p { |
| 97 | font-size: 14px; |
| 98 | } |
| 99 | |
| 100 | h2 { |
| 101 | font-size: 20px; |
| 102 | line-height: 1.5em; |
| 103 | } |
| 104 | |
| 105 | > div { |
| 106 | margin-top: 10px; |
| 107 | |
| 108 | h2 { |
| 109 | font-weight: bold; |
| 110 | font-size: 20px; |
| 111 | margin-top: 0; |
| 112 | } |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | .fs-modal-footer { |
| 117 | border-top: #eeeeee solid 1px; |
| 118 | text-align: right; |
| 119 | |
| 120 | > .button { |
| 121 | margin: 0 7px; |
| 122 | |
| 123 | &:first-child { |
| 124 | margin: 0; |
| 125 | } |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | .fs-modal-panel { |
| 130 | > .notice.inline { |
| 131 | margin: 0; |
| 132 | display: none; |
| 133 | } |
| 134 | |
| 135 | &:not(.active) { |
| 136 | display: none; |
| 137 | } |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | .rtl |
| 142 | { |
| 143 | .fs-modal { |
| 144 | .fs-modal-header { |
| 145 | .fs-close { |
| 146 | right: auto; |
| 147 | left: 20px; |
| 148 | } |
| 149 | } |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | body.has-fs-modal { |
| 154 | overflow: hidden; |
| 155 | } |