fonts
9 months ago
vendor
8 months ago
admin-notices.css
6 months ago
admin.build.css
7 months ago
admin.css
7 months ago
analytics.build.css
9 months ago
blocks.build.css
5 months ago
carousel.min.css
2 years ago
el-icon.css
3 years ago
embedpress-elementor.css
2 years ago
embedpress.css
7 months ago
feature-notices.css
7 months ago
font.css
7 years ago
glider.min.css
2 years ago
index.html
7 years ago
lazy-load.css
6 months ago
meetup-events.css
7 months ago
modal.css
8 months ago
plyr.css
9 months ago
preview.css
6 years ago
settings-icons.css
9 months ago
settings.css
7 months ago
modal.css
223 lines
| 1 | /* EmbedPress Modal Styles */ |
| 2 | .embedpress-modal-overlay { |
| 3 | position: fixed; |
| 4 | top: 0; |
| 5 | left: 0; |
| 6 | width: 100%; |
| 7 | height: 100%; |
| 8 | background: rgba(0, 0, 0, 0.5); |
| 9 | z-index: 10000; |
| 10 | display: flex; |
| 11 | align-items: center; |
| 12 | justify-content: center; |
| 13 | } |
| 14 | |
| 15 | .embedpress-modal { |
| 16 | background: #fff; |
| 17 | border-radius: 8px; |
| 18 | box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); |
| 19 | max-width: 500px; |
| 20 | width: 90%; |
| 21 | max-height: 90vh; |
| 22 | overflow: hidden; |
| 23 | animation: modalFadeIn 0.3s ease-out; |
| 24 | } |
| 25 | |
| 26 | @keyframes modalFadeIn { |
| 27 | from { |
| 28 | opacity: 0; |
| 29 | transform: scale(0.9) translateY(-20px); |
| 30 | } |
| 31 | |
| 32 | to { |
| 33 | opacity: 1; |
| 34 | transform: scale(1) translateY(0); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | .embedpress-modal-header { |
| 39 | padding: 20px 24px 16px; |
| 40 | border-bottom: 1px solid #e0e0e0; |
| 41 | display: flex; |
| 42 | justify-content: space-between; |
| 43 | align-items: center; |
| 44 | } |
| 45 | |
| 46 | .embedpress-modal-header h3 { |
| 47 | margin: 0; |
| 48 | font-size: 18px; |
| 49 | font-weight: 600; |
| 50 | color: #333; |
| 51 | } |
| 52 | |
| 53 | .embedpress-modal-close { |
| 54 | background: none; |
| 55 | border: none; |
| 56 | font-size: 24px; |
| 57 | color: #666; |
| 58 | cursor: pointer; |
| 59 | padding: 0; |
| 60 | width: 30px; |
| 61 | height: 30px; |
| 62 | display: flex; |
| 63 | align-items: center; |
| 64 | justify-content: center; |
| 65 | border-radius: 4px; |
| 66 | transition: background-color 0.2s; |
| 67 | } |
| 68 | |
| 69 | .embedpress-modal-close:hover { |
| 70 | background-color: #f5f5f5; |
| 71 | color: #333; |
| 72 | } |
| 73 | |
| 74 | .embedpress-modal-body { |
| 75 | padding: 24px; |
| 76 | max-height: 60vh; |
| 77 | overflow-y: auto; |
| 78 | } |
| 79 | |
| 80 | .embedpress-form { |
| 81 | margin: 0; |
| 82 | } |
| 83 | |
| 84 | .embedpress-form-group { |
| 85 | margin-bottom: 20px; |
| 86 | } |
| 87 | |
| 88 | .embedpress-form-group:last-child { |
| 89 | margin-bottom: 0; |
| 90 | } |
| 91 | |
| 92 | .embedpress-form-group label { |
| 93 | display: block; |
| 94 | margin-bottom: 6px; |
| 95 | font-weight: 500; |
| 96 | color: #333; |
| 97 | font-size: 14px; |
| 98 | } |
| 99 | |
| 100 | .embedpress-form-group input[type="url"], |
| 101 | .embedpress-form-group input[type="number"] { |
| 102 | width: 100%; |
| 103 | padding: 10px 12px; |
| 104 | border: 1px solid #ddd; |
| 105 | border-radius: 4px; |
| 106 | font-size: 14px; |
| 107 | transition: border-color 0.2s, box-shadow 0.2s; |
| 108 | box-sizing: border-box; |
| 109 | } |
| 110 | |
| 111 | .embedpress-form-group input[type="url"]:focus, |
| 112 | .embedpress-form-group input[type="number"]:focus { |
| 113 | outline: none; |
| 114 | border-color: #0073aa; |
| 115 | box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1); |
| 116 | } |
| 117 | |
| 118 | .embedpress-form-group input[type="url"]:disabled, |
| 119 | .embedpress-form-group input[type="number"]:disabled { |
| 120 | background-color: #f5f5f5; |
| 121 | color: #666; |
| 122 | cursor: not-allowed; |
| 123 | } |
| 124 | |
| 125 | .embedpress-radio-group { |
| 126 | display: flex; |
| 127 | gap: 16px; |
| 128 | } |
| 129 | |
| 130 | .embedpress-radio-group label { |
| 131 | display: flex; |
| 132 | align-items: center; |
| 133 | font-weight: normal; |
| 134 | margin-bottom: 0; |
| 135 | cursor: pointer; |
| 136 | } |
| 137 | |
| 138 | .embedpress-radio-group input[type="radio"] { |
| 139 | margin-right: 6px; |
| 140 | margin-top: 0; |
| 141 | } |
| 142 | |
| 143 | .embedpress-form-row { |
| 144 | display: flex; |
| 145 | gap: 16px; |
| 146 | } |
| 147 | |
| 148 | .embedpress-form-row .embedpress-form-group { |
| 149 | flex: 1; |
| 150 | } |
| 151 | |
| 152 | .embedpress-modal-footer { |
| 153 | padding: 16px 24px 20px; |
| 154 | border-top: 1px solid #e0e0e0; |
| 155 | display: flex; |
| 156 | justify-content: flex-end; |
| 157 | gap: 12px; |
| 158 | } |
| 159 | |
| 160 | .embedpress-btn { |
| 161 | padding: 10px 20px; |
| 162 | border: 1px solid #ddd; |
| 163 | border-radius: 4px; |
| 164 | font-size: 14px; |
| 165 | font-weight: 500; |
| 166 | cursor: pointer; |
| 167 | transition: all 0.2s; |
| 168 | text-decoration: none; |
| 169 | display: inline-block; |
| 170 | text-align: center; |
| 171 | background: #fff; |
| 172 | color: #333; |
| 173 | } |
| 174 | |
| 175 | .embedpress-btn:hover { |
| 176 | background-color: #f5f5f5; |
| 177 | border-color: #ccc; |
| 178 | } |
| 179 | |
| 180 | .embedpress-btn-primary { |
| 181 | background-color: #0073aa; |
| 182 | border-color: #0073aa; |
| 183 | color: #fff; |
| 184 | } |
| 185 | |
| 186 | .embedpress-btn-primary:hover { |
| 187 | background-color: #005a87; |
| 188 | border-color: #005a87; |
| 189 | color: #fff; |
| 190 | } |
| 191 | |
| 192 | .embedpress-btn-cancel { |
| 193 | background-color: #fff; |
| 194 | border-color: #ddd; |
| 195 | color: #666; |
| 196 | } |
| 197 | |
| 198 | .embedpress-btn-cancel:hover { |
| 199 | background-color: #f5f5f5; |
| 200 | border-color: #ccc; |
| 201 | color: #333; |
| 202 | } |
| 203 | |
| 204 | /* Responsive adjustments */ |
| 205 | @media (max-width: 600px) { |
| 206 | .embedpress-modal { |
| 207 | width: 95%; |
| 208 | margin: 20px; |
| 209 | } |
| 210 | |
| 211 | .embedpress-form-row { |
| 212 | flex-direction: column; |
| 213 | gap: 12px; |
| 214 | } |
| 215 | |
| 216 | .embedpress-modal-footer { |
| 217 | flex-direction: column-reverse; |
| 218 | } |
| 219 | |
| 220 | .embedpress-btn { |
| 221 | width: 100%; |
| 222 | } |
| 223 | } |