jetpack-banners.css
| 1 | /*! |
| 2 | * Do not modify this file directly. It is compiled SASS code. |
| 3 | */ |
| 4 | @charset "UTF-8"; |
| 5 | /* |
| 6 | The MIT License (MIT) |
| 7 | |
| 8 | Copyright © 2011–2015 thoughtbot, inc. |
| 9 | |
| 10 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated |
| 11 | documentation files (the “Software”), to deal in the Software without restriction, including without limitation the |
| 12 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit |
| 13 | persons to whom the Software is furnished to do so, subject to the following conditions: |
| 14 | |
| 15 | The above copyright notice and this permission notice shall be included in all copies or substantial |
| 16 | portions of the Software. |
| 17 | |
| 18 | THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE |
| 19 | WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
| 20 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
| 21 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 22 | |
| 23 | https://github.com/thoughtbot/bourbon |
| 24 | */ |
| 25 | .updated.jp-banner { |
| 26 | position: relative; |
| 27 | padding: 0; |
| 28 | } |
| 29 | |
| 30 | .updated .jp-banner__header { |
| 31 | font-size: 1.25rem; |
| 32 | font-weight: 400; |
| 33 | margin-top: 0; |
| 34 | } |
| 35 | |
| 36 | .updated .jp-banner__button-container { |
| 37 | padding: 2rem 0 0; |
| 38 | flex-direction: row-reverse; |
| 39 | align-items: center; |
| 40 | justify-content: flex-end; |
| 41 | } |
| 42 | |
| 43 | @media (min-width: 600px) { |
| 44 | .updated .jp-banner__button-container { |
| 45 | display: flex; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | .updated .jp-banner__tos-blurb { |
| 50 | display: block; |
| 51 | padding: 0.375rem 0; |
| 52 | line-height: 1.5; |
| 53 | font-size: 0.75rem; |
| 54 | color: #414141; |
| 55 | } |
| 56 | |
| 57 | @media (min-width: 600px) { |
| 58 | .updated .jp-banner__tos-blurb { |
| 59 | margin-left: 1.125rem; |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | .updated .jp-banner__tos-blurb a { |
| 64 | color: inherit; |
| 65 | } |
| 66 | |
| 67 | .jp-banner .notice-dismiss { |
| 68 | text-decoration: none; |
| 69 | } |
| 70 | |
| 71 | .jp-banner__description { |
| 72 | font-size: 0.875rem; |
| 73 | } |
| 74 | |
| 75 | .jp-banner__description-container { |
| 76 | padding: 1rem; |
| 77 | } |
| 78 | |
| 79 | .jetpack-disconnected .jp-connect-full__container { |
| 80 | box-sizing: border-box; |
| 81 | position: absolute; |
| 82 | top: 0; |
| 83 | right: 0; |
| 84 | bottom: 1.25rem; |
| 85 | left: 0; |
| 86 | z-index: 999; |
| 87 | background: #f1f1f1; |
| 88 | text-align: center; |
| 89 | } |
| 90 | |
| 91 | @media (max-width: 530px) { |
| 92 | .jetpack-disconnected .jp-connect-full__container { |
| 93 | top: 42px; |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | @media (min-width: 782px) { |
| 98 | .jetpack-disconnected .jp-connect-full__container { |
| 99 | left: -20px; |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | .jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card { |
| 104 | padding: 4rem 4rem 6rem; |
| 105 | background: white; |
| 106 | margin: 1em; |
| 107 | } |
| 108 | |
| 109 | @media (max-width: 530px) { |
| 110 | .jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card { |
| 111 | padding: 2rem 2rem; |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | .jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card img.jetpack-logo { |
| 116 | width: 160px; |
| 117 | } |
| 118 | |
| 119 | .jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card img.support-characters { |
| 120 | margin-top: 1.5rem; |
| 121 | width: 50%; |
| 122 | } |
| 123 | |
| 124 | .jetpack-disconnected .jp-connect-full__container h4 { |
| 125 | line-height: 1.25; |
| 126 | font-size: 1.5rem; |
| 127 | font-weight: normal; |
| 128 | margin: 1em 0; |
| 129 | } |
| 130 | |
| 131 | .jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container { |
| 132 | position: relative; |
| 133 | bottom: 0; |
| 134 | box-shadow: 0 0 0 1px #c3c4c7, 0 1px 1px 1px rgba(0, 0, 0, 0.04); |
| 135 | display: none; |
| 136 | } |
| 137 | |
| 138 | .jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container .jp-connect-full__container-card { |
| 139 | margin: 0; |
| 140 | } |
| 141 | |
| 142 | @media (min-width: 782px) { |
| 143 | .jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container { |
| 144 | left: 0; |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | @media (max-width: 782px) { |
| 149 | .jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container { |
| 150 | top: 32px; |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | @media (max-width: 530px) { |
| 155 | .jetpack-disconnected.toplevel_page_jetpack .jp-connect-full__container { |
| 156 | top: 0px; |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | .jetpack-disconnected.toplevel_page_jetpack .jp-jetpack-connect__container .jp-connect-full__container { |
| 161 | display: block; |
| 162 | } |
| 163 | |
| 164 | @media (max-width: 530px) { |
| 165 | .jetpack-disconnected.toplevel_page_jetpack .jp-jetpack-connect__container .jp-connect-full__container .jp-connect-full__step-header h2 { |
| 166 | margin: 0; |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | .jp-connect-full__svg-dismiss { |
| 171 | position: absolute; |
| 172 | right: 0; |
| 173 | top: 0; |
| 174 | fill: #a2a2a2; |
| 175 | padding: 1rem; |
| 176 | height: 1.5rem; |
| 177 | width: 1.5rem; |
| 178 | } |
| 179 | |
| 180 | .jp-connect-full__step-header { |
| 181 | max-width: 700px; |
| 182 | margin: 0 auto 40px auto; |
| 183 | line-height: 1.5; |
| 184 | } |
| 185 | |
| 186 | @media (max-width: 530px) { |
| 187 | .jp-connect-full__step-header { |
| 188 | margin-bottom: 1.5rem; |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | .jp-connect-full__step-header h2 { |
| 193 | margin: 1.5rem 10% 0; |
| 194 | font-size: 2rem; |
| 195 | font-weight: bold; |
| 196 | line-height: 1.2; |
| 197 | color: black; |
| 198 | } |
| 199 | |
| 200 | @media (max-width: 530px) { |
| 201 | .jp-connect-full__step-header h2 { |
| 202 | margin-top: 1rem; |
| 203 | font-size: 1.5rem; |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | .jp-connect-full__step-header h3 { |
| 208 | color: #747474; |
| 209 | font-size: 1rem; |
| 210 | font-weight: normal; |
| 211 | margin: 0.625rem 0 1.5rem; |
| 212 | } |
| 213 | |
| 214 | .jp-connect-full__step-header.bottom { |
| 215 | margin-top: 5rem; |
| 216 | } |
| 217 | |
| 218 | #jp-connect-full__step2-header { |
| 219 | display: none; |
| 220 | } |
| 221 | |
| 222 | .jp-connect-full__tos-blurb { |
| 223 | font-size: 0.75rem; |
| 224 | margin: 0 auto 1rem; |
| 225 | } |
| 226 | |
| 227 | .jp-connect-full__dismiss { |
| 228 | cursor: pointer; |
| 229 | } |
| 230 | |
| 231 | .jp-connect-full__dismiss-paragraph { |
| 232 | font-size: 0.75rem; |
| 233 | } |
| 234 | |
| 235 | .jp-connect-full__tos-blurb a, |
| 236 | .jp-connect-full__dismiss-paragraph a { |
| 237 | cursor: pointer; |
| 238 | color: inherit; |
| 239 | text-decoration: underline; |
| 240 | } |
| 241 | |
| 242 | .jp-connect-full__row { |
| 243 | display: flex; |
| 244 | justify-content: space-around; |
| 245 | justify-content: space-evenly; |
| 246 | text-align: left; |
| 247 | align-items: baseline; |
| 248 | margin: 0 auto; |
| 249 | max-width: 1000px; |
| 250 | } |
| 251 | |
| 252 | .jp-connect-full__slide { |
| 253 | max-width: 38%; |
| 254 | margin: 3rem 0; |
| 255 | } |
| 256 | |
| 257 | @media (max-width: 782px) { |
| 258 | .jp-connect-full__slide { |
| 259 | margin: 1.875rem 0; |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | .jp-connect-full__slide h3 { |
| 264 | font-size: 1.25rem; |
| 265 | } |
| 266 | |
| 267 | .jp-connect-full__slide img { |
| 268 | max-width: 100%; |
| 269 | } |
| 270 | |
| 271 | .jp-connect-full__slide ul { |
| 272 | list-style: disc; |
| 273 | margin-left: 16px; |
| 274 | } |
| 275 | |
| 276 | @media (min-width: 600px) { |
| 277 | .jp-connect-full__slide .illustration { |
| 278 | margin-bottom: 2rem; |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | .jp-connect-full__step-support { |
| 283 | max-width: 700px; |
| 284 | margin: 0 auto; |
| 285 | line-height: 1.25; |
| 286 | } |
| 287 | |
| 288 | .jp-connect-full__step-support h2 { |
| 289 | margin: 1rem 0 0; |
| 290 | font-size: 1.5rem; |
| 291 | font-weight: normal; |
| 292 | color: black; |
| 293 | } |
| 294 | |
| 295 | .jp-connect-full__step-support h3 { |
| 296 | color: #747474; |
| 297 | font-size: 1rem; |
| 298 | font-weight: normal; |
| 299 | margin: 0.625rem 0 1.5rem; |
| 300 | } |
| 301 | |
| 302 | .jp-connect-full__button-container-loading { |
| 303 | font-size: 0.875rem; |
| 304 | animation: jetpack-loading-fade 1.6s ease-in-out infinite; |
| 305 | } |
| 306 | |
| 307 | .jp-connect-full__button-container .jp-spinner { |
| 308 | width: 100%; |
| 309 | } |
| 310 | |
| 311 | @media screen and (max-width: 480px) { |
| 312 | .jp-connect-full__row { |
| 313 | display: block; |
| 314 | } |
| 315 | .jp-connect-full__slide { |
| 316 | margin: 2em 0; |
| 317 | max-width: 100%; |
| 318 | } |
| 319 | } |
| 320 | |
| 321 | .updated.jp-wpcom-connect__container { |
| 322 | border-left: none; |
| 323 | padding: 0; |
| 324 | border: 1px solid #c3c4c7; |
| 325 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); |
| 326 | } |
| 327 | |
| 328 | @media screen and (max-width: 782px) { |
| 329 | .updated.jp-wpcom-connect__container { |
| 330 | padding: 0 !important; |
| 331 | } |
| 332 | } |
| 333 | |
| 334 | .updated.jp-wpcom-connect__container .dops-button { |
| 335 | padding: 7px 14px 9px; |
| 336 | } |
| 337 | |
| 338 | .updated .notice-dismiss { |
| 339 | z-index: 1; |
| 340 | text-decoration: none; |
| 341 | } |
| 342 | |
| 343 | .jp-wpcom-connect__container-top-text + .jp-wpcom-connect__inner-container .notice-dismiss::before { |
| 344 | color: white; |
| 345 | } |
| 346 | |
| 347 | .jp-wpcom-connect__container-top-text { |
| 348 | padding: 15px 35px 25px 15px; |
| 349 | background-color: #00be28; |
| 350 | color: white; |
| 351 | display: flex; |
| 352 | align-items: baseline; |
| 353 | } |
| 354 | |
| 355 | .jp-wpcom-connect__container-top-text svg { |
| 356 | width: 24px; |
| 357 | height: 24px; |
| 358 | margin-right: 10px; |
| 359 | position: relative; |
| 360 | top: 7px; |
| 361 | } |
| 362 | |
| 363 | @media (max-width: 530px) { |
| 364 | .jp-wpcom-connect__container-top-text svg { |
| 365 | flex: 1; |
| 366 | } |
| 367 | } |
| 368 | |
| 369 | .jp-wpcom-connect__container-top-text svg path { |
| 370 | fill: #fff; |
| 371 | } |
| 372 | |
| 373 | .jp-wpcom-connect__container-top-text span { |
| 374 | display: inline-block; |
| 375 | } |
| 376 | |
| 377 | @media (max-width: 530px) { |
| 378 | .jp-wpcom-connect__container-top-text span { |
| 379 | flex: 9; |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | .jp-wpcom-connect__container { |
| 384 | display: block; |
| 385 | position: relative; |
| 386 | box-sizing: border-box; |
| 387 | background-color: #00be28; |
| 388 | } |
| 389 | |
| 390 | .jp-wpcom-connect__inner-container > a:first-child { |
| 391 | z-index: 1; |
| 392 | } |
| 393 | |
| 394 | .jp-wpcom-connect__inner-container { |
| 395 | display: flex; |
| 396 | flex-direction: row; |
| 397 | flex-wrap: nowrap; |
| 398 | justify-content: left; |
| 399 | background: #fff; |
| 400 | } |
| 401 | |
| 402 | .jp-wpcom-connect__content-container { |
| 403 | width: 1250px; |
| 404 | position: relative; |
| 405 | padding: 2rem; |
| 406 | z-index: 0; |
| 407 | } |
| 408 | |
| 409 | .jp-wpcom-connect__content-container p { |
| 410 | color: #6f6f6f; |
| 411 | font-size: 0.875rem; |
| 412 | } |
| 413 | |
| 414 | .jp-wpcom-connect__content-container h2 { |
| 415 | margin-top: 0; |
| 416 | line-height: 1.6; |
| 417 | display: block; |
| 418 | margin-bottom: 1.5rem; |
| 419 | } |
| 420 | |
| 421 | @media (max-width: 530px) { |
| 422 | .jp-wpcom-connect__hide-phone-and-smaller { |
| 423 | display: none !important; |
| 424 | } |
| 425 | } |
| 426 | |
| 427 | .jp-wpcom-connect__content-icon { |
| 428 | margin: 0 1.5rem; |
| 429 | display: flex; |
| 430 | flex-direction: column; |
| 431 | } |
| 432 | |
| 433 | .jp-connect-illo img { |
| 434 | display: block; |
| 435 | margin: 0 auto; |
| 436 | } |
| 437 | |
| 438 | .jp-connect-illo .jetpack-logo { |
| 439 | margin-bottom: 2.25rem; |
| 440 | } |
| 441 | |
| 442 | @media (max-width: 530px) { |
| 443 | .jp-connect-illo .jetpack-logo { |
| 444 | margin-left: 0; |
| 445 | } |
| 446 | } |
| 447 | |
| 448 | @media (max-width: 782px) { |
| 449 | .jp-connect-illo { |
| 450 | width: 100%; |
| 451 | margin: 0.5rem 0; |
| 452 | display: block; |
| 453 | } |
| 454 | } |
| 455 | |
| 456 | @media (min-width: 900px) { |
| 457 | .jp-wpcom-connect__slide-text { |
| 458 | padding-left: 2.8125rem; |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | .jp-wpcom-connect__slide { |
| 463 | display: none; |
| 464 | } |
| 465 | |
| 466 | .jp-wpcom-connect__slide.jp__slide-is-active { |
| 467 | display: flex; |
| 468 | align-items: flex-start; |
| 469 | } |
| 470 | |
| 471 | @media (max-width: 782px) { |
| 472 | .jp-wpcom-connect__slide.jp__slide-is-active { |
| 473 | display: block; |
| 474 | } |
| 475 | } |
| 476 | |
| 477 | .jp-wpcom-connect__slide ul { |
| 478 | list-style: disc; |
| 479 | padding: 0 0 0 0.9375rem; |
| 480 | } |
| 481 | |
| 482 | .jp-wpcom-connect__slide ul li { |
| 483 | color: #6f6f6f; |
| 484 | font-size: 0.75rem; |
| 485 | } |
| 486 | |
| 487 | .jp-banner__button-container .dops-button { |
| 488 | margin: 0.3125rem 0; |
| 489 | } |
| 490 | |
| 491 | .jp-banner__button-container .dops-button.is-primary { |
| 492 | background: #00be28; |
| 493 | border-color: #00a523; |
| 494 | padding-left: 1.5rem; |
| 495 | padding-right: 1.5rem; |
| 496 | flex-shrink: 0; |
| 497 | } |
| 498 | |
| 499 | .jp-banner__button-container .dops-button.is-primary:hover, .jp-banner__button-container .dops-button.is-primary:focus { |
| 500 | background: #00a523; |
| 501 | border-color: #008b1d; |
| 502 | } |
| 503 | |
| 504 | .jp-banner__button-container .dops-button.is-primary:focus { |
| 505 | box-shadow: 0 0 0 1px white, 0 0 0 3px #008b1d; |
| 506 | } |
| 507 | |
| 508 | .jp-wpcom-connect__quest { |
| 509 | position: relative; |
| 510 | padding-left: 2.8125rem; |
| 511 | font-size: 1.25rem; |
| 512 | } |
| 513 | |
| 514 | .jp-wpcom-connect__quest-marker.gridicon { |
| 515 | position: absolute; |
| 516 | left: 0; |
| 517 | top: -0.1875rem; |
| 518 | fill: #eec74f; |
| 519 | } |
| 520 | |
| 521 | /*# sourceMappingURL=jetpack-banners.css.map */ |
| 522 |