| @@ -1,197 +1,477 @@ | ||
| 1 | -/* Welcome page start */ | |
| 1 | +body[class*="page_poll-maker-ays-dashboard"] .notice, | |
| 2 | +#ays-poll-dicount-month-main{ | |
| 3 | + display: none !important; | |
| 4 | +} | |
| 2 | 5 | |
| 3 | -#poll-maker-welcome { | |
| 4 | - border-top: 3px solid #08A9BE; | |
| 5 | - color: #555; | |
| 6 | - padding-top: 110px; | |
| 6 | +.ays-pm-w-a { | |
| 7 | + color: #2563eb; | |
| 8 | + text-decoration: none; | |
| 7 | 9 | } |
| 8 | - | |
| 9 | -@media (max-width: 767px) { | |
| 10 | - #poll-maker-welcome { | |
| 11 | - padding-top: 64px; | |
| 12 | - } | |
| 10 | +.ays-pm-w-a:hover { | |
| 11 | + text-decoration: underline; | |
| 13 | 12 | } |
| 14 | - | |
| 15 | -#poll-maker-welcome *, | |
| 16 | -#poll-maker-welcome *::before, | |
| 17 | -#poll-maker-welcome *::after { | |
| 18 | - -webkit-box-sizing: border-box; | |
| 19 | - -moz-box-sizing: border-box; | |
| 20 | - box-sizing: border-box; | |
| 13 | + | |
| 14 | +/* Layout */ | |
| 15 | +.ays-pm-w-container { | |
| 16 | + max-width: 1280px; | |
| 17 | + margin: 0 auto; | |
| 18 | + padding: 2rem 1rem; | |
| 21 | 19 | } |
| 22 | - | |
| 23 | -#poll-maker-welcome .poll-maker-welcome-container { | |
| 24 | - margin: 0 auto; | |
| 25 | - max-width: 720px; | |
| 26 | - padding: 0; | |
| 20 | +.ays-pm-w-section { | |
| 21 | + background: #ffffff; | |
| 22 | + border: 1px solid #e5e7eb; | |
| 23 | + border-radius: 0.5rem; | |
| 24 | + padding: 2rem; | |
| 25 | + margin-bottom: 3rem; | |
| 26 | + box-shadow: 0 1px 2px rgba(0,0,0,0.05); | |
| 27 | 27 | } |
| 28 | - | |
| 29 | -#poll-maker-welcome .poll-maker-welcome-block { | |
| 30 | - padding: 40px; | |
| 28 | +.ays-pm-w-text-center { | |
| 29 | + text-align: center; | |
| 31 | 30 | } |
| 32 | - | |
| 33 | -@media (max-width: 767px) { | |
| 34 | - #poll-maker-welcome .poll-maker-welcome-block { | |
| 35 | - padding: 20px; | |
| 36 | - } | |
| 31 | + | |
| 32 | +.ays-pm-w-header-create a { | |
| 33 | + transition-duration: .05s; | |
| 34 | + transition-timing-function: ease-in-out; | |
| 35 | + outline: 0; | |
| 36 | + box-sizing: border-box; | |
| 37 | + background-color: #2463EB; | |
| 38 | + border: 1px solid #2463EB; | |
| 39 | + color: #fff; | |
| 40 | + border-radius: 4px; | |
| 41 | + font-size: 18px; | |
| 42 | + font-weight: 600; | |
| 43 | + padding: 16px 28px; | |
| 44 | + display: inline-block; | |
| 45 | + text-align: center; | |
| 46 | + text-decoration: none; | |
| 47 | + width: 230px; | |
| 37 | 48 | } |
| 38 | - | |
| 39 | -#poll-maker-welcome img { | |
| 40 | - max-width: 100%; | |
| 41 | - height: auto; | |
| 49 | + | |
| 50 | +.ays-pm-w-header-create a:hover { | |
| 51 | + background-color: #83ABED; | |
| 52 | + border-color: #83ABED; | |
| 53 | + color: #000; | |
| 42 | 54 | } |
| 43 | - | |
| 44 | -#poll-maker-welcome h1 { | |
| 45 | - color: #222; | |
| 46 | - font-size: 24px; | |
| 47 | - text-align: center; | |
| 48 | - margin: 0 0 16px 0; | |
| 55 | + | |
| 56 | +/* Header */ | |
| 57 | +.ays-pm-w-header-wrapper { | |
| 58 | + position: relative; | |
| 49 | 59 | } |
| 50 | - | |
| 51 | -#poll-maker-welcome h6 { | |
| 52 | - font-size: 16px; | |
| 53 | - font-weight: 400; | |
| 54 | - line-height: 1.6; | |
| 55 | - text-align: center; | |
| 56 | - margin: 0; | |
| 60 | +.ays-pm-w-header-dismiss { | |
| 61 | + position: absolute; | |
| 62 | + top: 1rem; | |
| 63 | + right: 1rem; | |
| 64 | + background: none; | |
| 65 | + border: none; | |
| 66 | + cursor: pointer; | |
| 67 | + color: #9ca3af; | |
| 57 | 68 | } |
| 58 | - | |
| 59 | -#poll-maker-welcome .poll-maker-welcome-button-wrap { | |
| 60 | - max-width: 590px; | |
| 61 | - margin: 0 auto 0 auto; | |
| 69 | + | |
| 70 | +.ays-pm-w-header-dismiss a:focus, | |
| 71 | +.ays-pm-w-resource-content a:focus { | |
| 72 | + outline: none !important; | |
| 73 | + border: none !important; | |
| 74 | + box-shadow: none !important; | |
| 75 | +} | |
| 76 | + | |
| 77 | +.error:not([class*="ays-poll"]):not([class*="ays_poll"]), | |
| 78 | +.notice:not([class*="ays-poll"]):not([class*="ays_poll"]) { | |
| 79 | + display: none !important; | |
| 80 | +} | |
| 81 | + | |
| 82 | +.ays-pm-w-header-dismiss:hover { | |
| 83 | + color: #4b5563; | |
| 84 | +} | |
| 85 | +.ays-pm-w-header-icon { | |
| 86 | + width: 4rem; | |
| 87 | + height: 4rem; | |
| 62 | 88 | display: flex; |
| 63 | 89 | align-items: center; |
| 64 | 90 | justify-content: center; |
| 91 | + margin: 0 auto 1.5rem; | |
| 92 | +} | |
| 93 | +.ays-pm-w-header-icon img{ | |
| 94 | + width: 70px; | |
| 95 | + height: 70px; | |
| 96 | +} | |
| 97 | +.ays-pm-w-header-title { | |
| 98 | + font-size: 1.875rem; | |
| 99 | + font-weight: 700; | |
| 100 | + color: #111827; | |
| 101 | + margin-bottom: 0.75rem; | |
| 102 | + line-height: 1.2; | |
| 103 | +} | |
| 104 | +.ays-pm-w-header-desc { | |
| 105 | + font-size: 1rem; | |
| 106 | + color: #6b7280; | |
| 107 | +} | |
| 108 | + | |
| 109 | +/* Video Tutorials */ | |
| 110 | +.ays-pm-w-video-grid { | |
| 111 | + display: flex; | |
| 65 | 112 | flex-wrap: wrap; |
| 113 | + gap: 1.5rem; | |
| 66 | 114 | } |
| 67 | - | |
| 68 | -#poll-maker-welcome .poll-maker-welcome-button-wrap .poll-maker-welcome-left { | |
| 69 | - width: 50%; | |
| 70 | - padding-right: 20px; | |
| 115 | +.ays-pm-w-video-card { | |
| 116 | + cursor: pointer; | |
| 117 | + flex: 1 1 280px; | |
| 118 | + min-width: 280px; | |
| 71 | 119 | } |
| 120 | +.ays-pm-w-video-thumb { | |
| 121 | + position: relative; | |
| 122 | + overflow: hidden; | |
| 123 | + border-radius: 0.5rem; | |
| 124 | + background: #f3f4f6; | |
| 125 | + aspect-ratio: 16/9; | |
| 126 | + margin-bottom: 1rem; | |
| 127 | +} | |
| 128 | +.ays-pm-w-video-thumb img { | |
| 129 | + width: 100%; | |
| 130 | + height: 100%; | |
| 131 | + object-fit: cover; | |
| 132 | + transition: transform .2s ease; | |
| 133 | +} | |
| 134 | +.ays-pm-w-video-card:hover .ays-pm-w-video-thumb img { | |
| 135 | + transform: scale(1.05); | |
| 136 | +} | |
| 137 | +.ays-pm-w-video-overlay { | |
| 138 | + position: absolute; | |
| 139 | + inset: 0; | |
| 140 | + background: rgba(0,0,0,0.2); | |
| 141 | + display: flex; | |
| 142 | + align-items: center; | |
| 143 | + justify-content: center; | |
| 144 | + transition: background .2s ease; | |
| 145 | +} | |
| 146 | +.ays-pm-w-video-card:hover .ays-pm-w-video-overlay { | |
| 147 | + background: rgba(0,0,0,0.3); | |
| 148 | +} | |
| 149 | +.ays-pm-w-play-btn { | |
| 150 | + width: 3rem; | |
| 151 | + height: 3rem; | |
| 152 | + background: #dc2626; | |
| 153 | + border-radius: 50%; | |
| 154 | + display: flex; | |
| 155 | + align-items: center; | |
| 156 | + justify-content: center; | |
| 157 | +} | |
| 158 | +.ays-pm-w-video-duration { | |
| 159 | + position: absolute; | |
| 160 | + right: 0.5rem; | |
| 161 | + bottom: 0.5rem; | |
| 162 | + background: rgba(0,0,0,0.75); | |
| 163 | + color: #ffffff; | |
| 164 | + font-size: 0.75rem; | |
| 165 | + padding: 0.125rem 0.5rem; | |
| 166 | + border-radius: 0.25rem; | |
| 167 | +} | |
| 168 | +.ays-pm-w-video-title { | |
| 169 | + font-weight: 600; | |
| 170 | + color: #111827; | |
| 171 | + margin-bottom: 0.5rem; | |
| 172 | + font-size: 15px; | |
| 173 | +} | |
| 174 | +.ays-pm-w-video-card:hover .ays-pm-w-video-title { | |
| 175 | + color: #2563eb; | |
| 176 | +} | |
| 177 | +.ays-pm-w-video-desc { | |
| 178 | + font-size: 0.875rem; | |
| 179 | + color: #6b7280; | |
| 180 | +} | |
| 72 | 181 | |
| 73 | -#poll-maker-welcome .poll-maker-welcome-button-wrap .poll-maker-welcome-left a { | |
| 74 | - background-color: #83ABED; | |
| 75 | - border: 1px solid #83ABED; | |
| 76 | - color: #000000; | |
| 182 | +/* Quick Start Steps */ | |
| 183 | +.ays-pm-w-steps-wrapper { | |
| 184 | + max-width: 800px; | |
| 185 | + margin: 0 auto; | |
| 77 | 186 | } |
| 78 | 187 | |
| 79 | -#poll-maker-welcome .poll-maker-welcome-button-wrap .poll-maker-welcome-left a:hover { | |
| 80 | - background-color: #7092ca; | |
| 188 | +.ays-pm-w-step-item { | |
| 189 | + position: relative; | |
| 190 | + border: 1px solid #e5e7eb; | |
| 191 | + border-radius: 15px; | |
| 192 | + padding: 1rem; | |
| 193 | + display: flex; | |
| 194 | + align-items: center; | |
| 195 | + transition: all .2s ease; | |
| 196 | + margin-top: 15px; | |
| 81 | 197 | } |
| 82 | 198 | |
| 199 | +.ays-pm-w-step-number { | |
| 200 | + background: #dbeafe; | |
| 201 | + color: #2563eb; | |
| 202 | + border-radius: 15px; | |
| 203 | + display: flex; | |
| 204 | + align-items: center; | |
| 205 | + justify-content: center; | |
| 206 | + font-weight: 600; | |
| 207 | + margin-right: 1rem; | |
| 208 | + padding: 5px 15px; | |
| 209 | +} | |
| 210 | +.ays-pm-w-step-content h3 { | |
| 211 | + font-size: 1.125rem; | |
| 212 | + font-weight: 600; | |
| 213 | + color: #111827; | |
| 214 | + display: flex; | |
| 215 | + align-items: center; | |
| 216 | + margin: 0; | |
| 217 | + gap: 0.5rem; | |
| 218 | +} | |
| 219 | +.ays-pm-w-step-content p { | |
| 220 | + font-size: 0.875rem; | |
| 221 | + color: #6b7280; | |
| 222 | +} | |
| 223 | +.ays-pm-w-step-chevron { | |
| 224 | + margin-left: auto; | |
| 225 | + color: #9ca3af; | |
| 226 | +} | |
| 227 | +.ays-pm-w-step-divider { | |
| 228 | + position: absolute; | |
| 229 | + left: 1.75rem; | |
| 230 | + top: 100%; | |
| 231 | + width: 2px; | |
| 232 | + height: 1rem; | |
| 233 | + background: #e5e7eb; | |
| 234 | +} | |
| 83 | 235 | |
| 84 | -#poll-maker-welcome .poll-maker-welcome-button-wrap .poll-maker-welcome-right a { | |
| 85 | - background: #EEEEEE; | |
| 86 | - border: 1px solid #CCCCCC; | |
| 87 | - color: #666666; | |
| 236 | +.ays-pm-w-resource-content { | |
| 237 | + display: flex; | |
| 238 | + flex-direction: column; | |
| 239 | + justify-content: space-between; | |
| 240 | + min-height: 180px; | |
| 88 | 241 | } |
| 89 | 242 | |
| 90 | -#poll-maker-welcome .poll-maker-welcome-button-wrap .poll-maker-welcome-right a:hover { | |
| 91 | - background-color: #d7d7d7; | |
| 243 | +/* Useful Resources & Changelog */ | |
| 244 | +.ays-pm-w-list { | |
| 245 | + list-style: none; | |
| 246 | + margin-top: 1rem; | |
| 92 | 247 | } |
| 248 | +.ays-pm-w-list li+li { | |
| 249 | + margin-top: 0.75rem; | |
| 250 | +} | |
| 251 | +.ays-pm-w-list a { | |
| 252 | + color: #2563eb; | |
| 253 | +} | |
| 93 | 254 | |
| 94 | -#poll-maker-welcome .poll-maker-welcome-button-wrap .poll-maker-welcome-left a, | |
| 95 | -#poll-maker-welcome .poll-maker-welcome-button-wrap .poll-maker-welcome-right a{ | |
| 96 | - | |
| 97 | - border-radius: 4px; | |
| 98 | - font-size: 18px; | |
| 99 | - font-weight: 600; | |
| 100 | - padding: 16px 28px; | |
| 101 | - display: block; | |
| 102 | - width: 100%; | |
| 103 | - text-align: center; | |
| 104 | - text-decoration: none; | |
| 255 | +/* Resource Cards */ | |
| 256 | +.ays-pm-w-resource-grid { | |
| 257 | + display: flex; | |
| 258 | + flex-wrap: wrap; | |
| 259 | + justify-content: space-between; | |
| 260 | + gap: 1.5rem; | |
| 105 | 261 | } |
| 106 | - | |
| 107 | -@media (max-width: 767px) { | |
| 108 | - #poll-maker-welcome .poll-maker-welcome-button-wrap .poll-maker-welcome-left { | |
| 109 | - width: 100%; | |
| 110 | - padding: 0; | |
| 111 | - margin-bottom: 20px; | |
| 112 | - } | |
| 262 | +.ays-pm-w-resource-card { | |
| 263 | + width: calc(25% - 1.125rem); | |
| 264 | + border: 1px solid #e5e7eb; | |
| 265 | + border-radius: 0.5rem; | |
| 266 | + padding: 1.5rem; | |
| 267 | + transition: all 0.2s ease; | |
| 268 | + display: flex; | |
| 269 | + align-items: flex-start; | |
| 270 | + gap: 1rem; | |
| 271 | + box-sizing: border-box; | |
| 113 | 272 | } |
| 114 | - | |
| 115 | -#poll-maker-welcome .poll-maker-welcome-button-wrap .poll-maker-welcome-right { | |
| 116 | - width: 50%; | |
| 117 | - padding-left: 20px; | |
| 273 | +.ays-pm-w-resource-card:hover { | |
| 274 | + border-color: #93c5fd; | |
| 275 | + box-shadow: 0 1px 2px rgba(0,0,0,0.05); | |
| 118 | 276 | } |
| 119 | - | |
| 120 | -@media (max-width: 767px) { | |
| 121 | - #poll-maker-welcome .poll-maker-welcome-button-wrap .poll-maker-welcome-right { | |
| 122 | - width: 100%; | |
| 123 | - padding: 0; | |
| 124 | - } | |
| 277 | +.ays-pm-w-resource-icon { | |
| 278 | + width: 2.5rem; | |
| 279 | + height: 2.5rem; | |
| 280 | + border-radius: 0.5rem; | |
| 281 | + display: flex; | |
| 282 | + align-items: center; | |
| 283 | + justify-content: center; | |
| 284 | + font-size: 1.25rem; | |
| 285 | + flex-shrink: 0; | |
| 125 | 286 | } |
| 126 | - | |
| 127 | -#poll-maker-welcome .poll-maker-welcome-intro { | |
| 128 | - background-color: #fff; | |
| 129 | - border: 2px solid #e1e1e1; | |
| 130 | - border-radius: 2px; | |
| 131 | - margin-bottom: 30px; | |
| 132 | - position: relative; | |
| 133 | - padding-top: 40px; | |
| 287 | +.ays-pm-w-resource-icon img { | |
| 288 | + width: 24px; | |
| 289 | + height: 24px; | |
| 134 | 290 | } |
| 135 | - | |
| 136 | -#poll-maker-welcome .poll-maker-welcome-intro .poll-maker-welcome-logo { | |
| 137 | - border-radius: 50%; | |
| 138 | - height: 110px; | |
| 139 | - width: 110px; | |
| 140 | - position: absolute; | |
| 141 | - top: -58px; | |
| 142 | - left: 50%; | |
| 143 | - margin-left: -55px; | |
| 291 | +.ays-pm-w-resource-title { | |
| 292 | + font-weight: 600; | |
| 293 | + color: #111827; | |
| 294 | + margin-bottom: 0.5rem; | |
| 295 | + margin-top: 0; | |
| 144 | 296 | } |
| 297 | +.ays-pm-w-resource-desc { | |
| 298 | + font-size: 0.875rem; | |
| 299 | + color: #6b7280; | |
| 300 | + margin-bottom: 1rem; | |
| 301 | +} | |
| 302 | +.ays-pm-w-resource-action { | |
| 303 | + font-size: 0.875rem; | |
| 304 | + color: #2563eb; | |
| 305 | + text-decoration: none; | |
| 306 | + font-weight: 600; | |
| 307 | +} | |
| 308 | +.ays-pm-w-resource-action:hover { | |
| 309 | + color: #1d4ed8; | |
| 310 | +} | |
| 145 | 311 | |
| 146 | -#poll-maker-welcome .poll-maker-welcome-intro .poll-maker-welcome-close { | |
| 147 | - position: absolute; | |
| 148 | - top: 2%; | |
| 149 | - right: 2%; | |
| 312 | +/* Changelog */ | |
| 313 | +.ays-pm-w-changelog { | |
| 314 | + display: block; | |
| 315 | + transition: max-height .3s ease; | |
| 316 | +} | |
| 317 | +.ays-pm-w-changelog.ays-pm-w-expanded { | |
| 318 | + max-height: 600px; | |
| 319 | + overflow-y: auto; | |
| 320 | +} | |
| 321 | +.ays-pm-w-changelog.ays-pm-w-collapsed { | |
| 322 | + max-height: 500px; | |
| 323 | + overflow: hidden; | |
| 324 | +} | |
| 325 | +.ays-pm-w-changelog.ays-pm-w-collapsed .ays-pm-w-release:not(:first-child) { | |
| 326 | + display: none; | |
| 327 | +} | |
| 328 | +.ays-pm-w-wn-toggle { | |
| 329 | + background: none; | |
| 330 | + border: none; | |
| 331 | + font-size: 0.875rem; | |
| 332 | + color: #2563eb; | |
| 150 | 333 | cursor: pointer; |
| 334 | + display: flex; | |
| 335 | + align-items: center; | |
| 336 | + gap: 0.25rem; | |
| 151 | 337 | } |
| 152 | - | |
| 153 | -#poll-maker-welcome .poll-maker-welcome-intro .poll-maker-welcome-video-thumbnail { | |
| 154 | - display: block; | |
| 155 | - margin: 0 auto; | |
| 338 | +.ays-pm-w-wn-toggle:hover { | |
| 339 | + color: #1d4ed8; | |
| 156 | 340 | } |
| 157 | - | |
| 158 | -#poll-maker-welcome .poll-maker-welcome-intro .poll-maker-welcome-button-wrap { | |
| 159 | - margin-top: 25px; | |
| 341 | +.ays-pm-w-release { | |
| 342 | + margin-bottom: 2rem; | |
| 160 | 343 | } |
| 344 | +.ays-pm-w-release-header { | |
| 345 | + display: flex; | |
| 346 | + align-items: center; | |
| 347 | + gap: 0.75rem; | |
| 348 | + margin-bottom: 0.75rem; | |
| 349 | +} | |
| 350 | +.ays-pm-w-badge { | |
| 351 | + display: inline-flex; | |
| 352 | + align-items: center; | |
| 353 | + padding: 0.25rem 0.75rem; | |
| 354 | + border-radius: 9999px; | |
| 355 | + font-size: 0.75rem; | |
| 356 | + font-weight: 600; | |
| 357 | + background: #dbeafe; | |
| 358 | + color: #2563eb; | |
| 359 | +} | |
| 360 | +.ays-pm-w-release-date { | |
| 361 | + font-size: 0.875rem; | |
| 362 | + color: #6b7280; | |
| 363 | +} | |
| 364 | +.ays-pm-w-release-list { | |
| 365 | + list-style: none; | |
| 366 | + margin: 0; | |
| 367 | + padding: 0; | |
| 368 | + margin-left: 15px; | |
| 369 | +} | |
| 370 | +.ays-pm-w-release-list li { | |
| 371 | + display: flex; | |
| 372 | + align-items: start; | |
| 373 | + gap: 0.5rem; | |
| 374 | + margin-bottom: 0.5rem; | |
| 375 | + font-size: 0.875rem; | |
| 376 | + color: #374151; | |
| 377 | +} | |
| 378 | +.ays-pm-w-release-list li::before { | |
| 379 | + content: ""; | |
| 380 | + display: block; | |
| 381 | + width: 0.375rem; | |
| 382 | + height: 0.375rem; | |
| 383 | + background: #2563eb; | |
| 384 | + border-radius: 9999px; | |
| 385 | + margin-top: 0.375rem; | |
| 386 | +} | |
| 161 | 387 | |
| 162 | -.poll-maker-welcome-modal { | |
| 388 | +@media (max-width: 768px) { | |
| 389 | + .ays-pm-w-resource-card { | |
| 390 | + width: 100%; | |
| 391 | + } | |
| 392 | +} | |
| 393 | +/* Video Lightbox */ | |
| 394 | +.ays-pm-w-video-lightbox { | |
| 163 | 395 | position: fixed; |
| 396 | + z-index: 1000; | |
| 164 | 397 | top: 0; |
| 165 | 398 | left: 0; |
| 166 | 399 | width: 100%; |
| 167 | 400 | height: 100%; |
| 168 | - background-color: rgba(0, 0, 0, 0.7); | |
| 401 | + background: rgba(0, 0, 0, 0.8); | |
| 169 | 402 | display: flex; |
| 403 | + align-items: center; | |
| 170 | 404 | justify-content: center; |
| 171 | - align-items: center; | |
| 172 | - z-index: 9999; | |
| 173 | - } | |
| 174 | - | |
| 175 | - .poll-maker-welcome-modal-content { | |
| 405 | + opacity: 0; | |
| 406 | + visibility: hidden; | |
| 407 | + transition: opacity 0.3s ease, visibility 0.3s ease; | |
| 408 | +} | |
| 409 | + | |
| 410 | +.ays-pm-w-video-lightbox.ays-pm-w-show { | |
| 411 | + opacity: 1; | |
| 412 | + visibility: visible; | |
| 413 | +} | |
| 414 | + | |
| 415 | +.ays-pm-w-video-lightbox-content { | |
| 176 | 416 | position: relative; |
| 177 | - max-width: 700px; | |
| 178 | - height: 400px; | |
| 179 | - width: 100%; | |
| 180 | - padding: 20px; | |
| 181 | - background-color: #fff; | |
| 182 | - border-radius: 4px; | |
| 183 | - } | |
| 417 | + background: #000; | |
| 418 | + padding: 0; | |
| 419 | + border-radius: 8px; | |
| 420 | + max-width: 900px; | |
| 421 | + width: 90%; | |
| 422 | + box-shadow: 0 5px 15px rgba(0,0,0,0.5); | |
| 423 | + transform: scale(0.9); | |
| 424 | + transition: transform 0.3s ease; | |
| 425 | +} | |
| 184 | 426 | |
| 185 | - .poll-maker-welcome-modal-content iframe{ | |
| 186 | - width: 100%; | |
| 427 | +.ays-pm-w-video-lightbox.ays-pm-w-show .ays-pm-w-video-lightbox-content { | |
| 428 | + transform: scale(1); | |
| 187 | 429 | } |
| 188 | - | |
| 189 | - .poll-maker-welcome-modal-close { | |
| 430 | + | |
| 431 | +.ays-pm-w-video-lightbox-close { | |
| 190 | 432 | position: absolute; |
| 191 | - top: 0; | |
| 192 | - right: 3px; | |
| 433 | + top: -15px; | |
| 434 | + right: -15px; | |
| 435 | + background: #fff; | |
| 436 | + border: none; | |
| 437 | + border-radius: 50%; | |
| 438 | + width: 36px; | |
| 439 | + height: 36px; | |
| 193 | 440 | font-size: 24px; |
| 441 | + font-weight: bold; | |
| 194 | 442 | cursor: pointer; |
| 195 | - color: #000; | |
| 196 | - } | |
| 197 | -/* Welcome page end */ | |
| 443 | + color: #333; | |
| 444 | + text-align: center; | |
| 445 | + box-shadow: 0 2px 5px rgba(0,0,0,0.2); | |
| 446 | + z-index: 1001; | |
| 447 | + display: flex; | |
| 448 | + align-items: center; | |
| 449 | + justify-content: center; | |
| 450 | +} | |
| 451 | + | |
| 452 | +.ays-pm-w-video-lightbox-close img{ | |
| 453 | + width: 18px; | |
| 454 | + height: 18px; | |
| 455 | +} | |
| 456 | + | |
| 457 | +.ays-pm-w-video-wrapper { | |
| 458 | + position: relative; | |
| 459 | + padding-bottom: 56.25%; /* 16:9 aspect ratio */ | |
| 460 | + height: 0; | |
| 461 | + overflow: hidden; | |
| 462 | + border-radius: 8px; | |
| 463 | +} | |
| 464 | + | |
| 465 | +.ays-pm-w-video-wrapper iframe { | |
| 466 | + position: absolute; | |
| 467 | + top: 0; | |
| 468 | + left: 0; | |
| 469 | + width: 100%; | |
| 470 | + height: 100%; | |
| 471 | +} | |
| 472 | + | |
| 473 | +@media (max-width: 1200px) and (min-width: 768px){ | |
| 474 | + .ays-pm-w-resource-card{ | |
| 475 | + width: calc(50% - 1.125rem); | |
| 476 | + } | |
| 477 | +} | |