jetpack-admin-jitm.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 | .jitm-button { |
| 26 | background: white; |
| 27 | border-color: #c8d7e1; |
| 28 | border-style: solid; |
| 29 | border-width: 1px 1px 2px; |
| 30 | color: #2e4453; |
| 31 | cursor: pointer; |
| 32 | display: inline-block; |
| 33 | margin: 0; |
| 34 | outline: 0; |
| 35 | overflow: hidden; |
| 36 | font-weight: 500; |
| 37 | text-overflow: ellipsis; |
| 38 | text-decoration: none; |
| 39 | vertical-align: top; |
| 40 | box-sizing: border-box; |
| 41 | font-size: 0.875rem; |
| 42 | line-height: 1.3125rem; |
| 43 | border-radius: 0.25rem; |
| 44 | padding: 0.4375rem 0.875rem 0.5625rem; |
| 45 | -webkit-appearance: none; |
| 46 | -moz-appearance: none; |
| 47 | appearance: none; |
| 48 | } |
| 49 | |
| 50 | .jitm-button:hover { |
| 51 | border-color: #a8bece; |
| 52 | color: #2e4453; |
| 53 | } |
| 54 | |
| 55 | .jitm-button:active { |
| 56 | border-width: 2px 1px 1px; |
| 57 | } |
| 58 | |
| 59 | .jitm-button:visited { |
| 60 | color: #2e4453; |
| 61 | } |
| 62 | |
| 63 | .jitm-button[disabled], .jitm-button:disabled { |
| 64 | color: #e9eff3; |
| 65 | background: white; |
| 66 | border-color: #e9eff3; |
| 67 | cursor: default; |
| 68 | } |
| 69 | |
| 70 | .jitm-button[disabled]:active, .jitm-button:disabled:active { |
| 71 | border-width: 1px 1px 2px; |
| 72 | } |
| 73 | |
| 74 | .jitm-button:focus { |
| 75 | outline: 0; |
| 76 | border-color: #00aadc; |
| 77 | box-shadow: 0 0 0 2px #78dcfa; |
| 78 | } |
| 79 | |
| 80 | .jitm-button.is-compact { |
| 81 | padding: 0.4375rem; |
| 82 | color: #668eaa; |
| 83 | font-size: 0.75rem; |
| 84 | line-height: 1; |
| 85 | } |
| 86 | |
| 87 | .jitm-button.is-compact:disabled { |
| 88 | color: #e9eff3; |
| 89 | } |
| 90 | |
| 91 | .jitm-button.hidden { |
| 92 | display: none; |
| 93 | } |
| 94 | |
| 95 | .jitm-button.is-primary { |
| 96 | background: #00aadc; |
| 97 | border-color: #0087be; |
| 98 | color: white; |
| 99 | } |
| 100 | |
| 101 | .jitm-button.is-primary:hover, .jitm-button.is-primary:focus { |
| 102 | border-color: #005082; |
| 103 | color: white; |
| 104 | } |
| 105 | |
| 106 | .jitm-button.is-primary[disabled], .jitm-button.is-primary:disabled { |
| 107 | background: #bceefd; |
| 108 | border-color: #8cc9e2; |
| 109 | color: white; |
| 110 | } |
| 111 | |
| 112 | .jitm-button.is-primary.is-compact { |
| 113 | color: white; |
| 114 | } |
| 115 | |
| 116 | #screen-meta-links + .jitm-card { |
| 117 | margin: 2.5rem 1.5385em 0 auto; |
| 118 | } |
| 119 | |
| 120 | .jitm-card { |
| 121 | display: block; |
| 122 | position: relative; |
| 123 | margin: 1rem 0 0 auto; |
| 124 | padding: 1rem; |
| 125 | box-sizing: border-box; |
| 126 | background: white; |
| 127 | box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3; |
| 128 | } |
| 129 | |
| 130 | .jitm-card:after { |
| 131 | content: "."; |
| 132 | display: block; |
| 133 | height: 0; |
| 134 | clear: both; |
| 135 | visibility: hidden; |
| 136 | } |
| 137 | |
| 138 | @media (min-width: 481px) { |
| 139 | .jitm-card { |
| 140 | margin-bottom: 1rem; |
| 141 | padding: 1.5rem; |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | .jitm-card.is-compact { |
| 146 | margin-bottom: 0.0625rem; |
| 147 | } |
| 148 | |
| 149 | @media (min-width: 481px) { |
| 150 | .jitm-card.is-compact { |
| 151 | margin-bottom: 1px; |
| 152 | padding: 1rem 1.5rem; |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | .jitm-card.is-card-link { |
| 157 | padding-right: 3rem; |
| 158 | } |
| 159 | |
| 160 | .post-php .jitm-card { |
| 161 | margin-right: 0; |
| 162 | } |
| 163 | |
| 164 | .jitm-banner.jitm-card { |
| 165 | border-left: 4px solid; |
| 166 | display: -ms-flexbox; |
| 167 | display: flex; |
| 168 | padding: 0.75rem 0.375rem 0.75rem 0.75rem; |
| 169 | position: relative; |
| 170 | z-index: 2; |
| 171 | border-left-color: #4ab866; |
| 172 | } |
| 173 | |
| 174 | @media (max-width: 480px) { |
| 175 | .jitm-banner.jitm-card { |
| 176 | display: block; |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | .jitm-banner.jitm-card.is-card-link { |
| 181 | padding: 0.75rem 3rem 0.75rem 1rem; |
| 182 | } |
| 183 | |
| 184 | .jitm-banner.jitm-card.is-dismissible { |
| 185 | padding-right: 3rem; |
| 186 | } |
| 187 | |
| 188 | .jitm-banner.jitm-card .jitm-banner__icon { |
| 189 | color: #4ab866; |
| 190 | } |
| 191 | |
| 192 | .jitm-banner.jitm-card .jitm-banner__icon-circle { |
| 193 | background-color: #4ab866; |
| 194 | } |
| 195 | |
| 196 | .jitm-banner.jitm-card.is-upgrade-personal { |
| 197 | border-left-color: #f0b849; |
| 198 | } |
| 199 | |
| 200 | .jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon { |
| 201 | color: #f0b849; |
| 202 | } |
| 203 | |
| 204 | .jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon-circle { |
| 205 | background-color: #f0b849; |
| 206 | } |
| 207 | |
| 208 | .jitm-banner.jitm-card.is-upgrade-premium { |
| 209 | border-left-color: #4ab866; |
| 210 | } |
| 211 | |
| 212 | .jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon { |
| 213 | color: #4ab866; |
| 214 | } |
| 215 | |
| 216 | .jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon-circle { |
| 217 | background-color: #4ab866; |
| 218 | } |
| 219 | |
| 220 | .jitm-banner.jitm-card.is-upgrade-business, .jitm-banner.jitm-card.woo-jitm { |
| 221 | border-left-color: #855DA6; |
| 222 | } |
| 223 | |
| 224 | .jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon, .jitm-banner.jitm-card.woo-jitm .jitm-banner__icon { |
| 225 | color: #855DA6; |
| 226 | } |
| 227 | |
| 228 | .jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon-circle, .jitm-banner.jitm-card.woo-jitm .jitm-banner__icon-circle { |
| 229 | background-color: #855DA6; |
| 230 | } |
| 231 | |
| 232 | .jitm-banner.jitm-card .jitm-card__link-indicator { |
| 233 | -ms-flex-align: center; |
| 234 | align-items: center; |
| 235 | color: #0087be; |
| 236 | display: -ms-flexbox; |
| 237 | display: flex; |
| 238 | } |
| 239 | |
| 240 | .jitm-banner.jitm-card:hover { |
| 241 | transition: all 100ms ease-in-out; |
| 242 | } |
| 243 | |
| 244 | .jitm-banner.jitm-card:hover.is-card-link { |
| 245 | box-shadow: 0 0 0 1px #87a6bc, 0 2px 4px #c8d7e1; |
| 246 | } |
| 247 | |
| 248 | .jitm-banner.jitm-card:hover .jitm-card__link-indicator { |
| 249 | color: #005082; |
| 250 | } |
| 251 | |
| 252 | @media (min-width: 481px) { |
| 253 | .jitm-banner.jitm-card { |
| 254 | padding: 0.75rem 1rem; |
| 255 | } |
| 256 | .jitm-banner.jitm-card.is-dismissible { |
| 257 | padding-right: 1rem; |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | .jitm-banner__icons { |
| 262 | display: -ms-flexbox; |
| 263 | display: flex; |
| 264 | } |
| 265 | |
| 266 | .jitm-banner__icons .jitm-banner__icon, |
| 267 | .jitm-banner__icons .jitm-banner__icon-circle { |
| 268 | border-radius: 50%; |
| 269 | -ms-flex-negative: 0; |
| 270 | flex-shrink: 0; |
| 271 | height: 1.5rem; |
| 272 | width: 1.5rem; |
| 273 | margin-right: 1rem; |
| 274 | margin-top: -0.125rem; |
| 275 | text-align: center; |
| 276 | top: 0.25rem; |
| 277 | } |
| 278 | |
| 279 | .jitm-banner__icons .jitm-banner__icon { |
| 280 | -ms-flex-item-align: center; |
| 281 | -ms-grid-row-align: center; |
| 282 | align-self: center; |
| 283 | color: white; |
| 284 | display: block; |
| 285 | } |
| 286 | |
| 287 | .jitm-banner__icons .jitm-banner__icon-circle { |
| 288 | color: white; |
| 289 | display: none; |
| 290 | padding: 0.1875rem 0.25rem 0.25rem 0.1875rem; |
| 291 | } |
| 292 | |
| 293 | @media (min-width: 481px) { |
| 294 | .jitm-banner__icons { |
| 295 | -ms-flex-align: center; |
| 296 | align-items: center; |
| 297 | } |
| 298 | .jitm-banner__icons .jitm-banner__icon { |
| 299 | display: none; |
| 300 | } |
| 301 | .jitm-banner__icons .jitm-banner__icon-circle { |
| 302 | display: block; |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | .jitm-banner__icon-plan { |
| 307 | display: -ms-flexbox; |
| 308 | display: flex; |
| 309 | margin-right: 1rem; |
| 310 | } |
| 311 | |
| 312 | .jitm-banner__icon-plan .dops-plan-icon { |
| 313 | height: 2rem; |
| 314 | width: 2rem; |
| 315 | } |
| 316 | |
| 317 | .jitm-banner__icon-plan .jp-emblem { |
| 318 | position: relative; |
| 319 | top: 0.125rem; |
| 320 | } |
| 321 | |
| 322 | @media (max-width: 480px) { |
| 323 | .jitm-banner__icon-plan .jp-emblem { |
| 324 | margin-bottom: 0.75rem; |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | .jitm-banner__icon-plan .jp-emblem svg { |
| 329 | height: 2rem; |
| 330 | width: 2rem; |
| 331 | fill: #00BE28; |
| 332 | } |
| 333 | |
| 334 | @media (min-width: 481px) { |
| 335 | .jitm-banner__icon-plan { |
| 336 | -ms-flex-align: center; |
| 337 | align-items: center; |
| 338 | } |
| 339 | } |
| 340 | |
| 341 | .jitm-banner__content { |
| 342 | -ms-flex-align: center; |
| 343 | align-items: center; |
| 344 | display: -ms-flexbox; |
| 345 | display: flex; |
| 346 | -ms-flex-positive: 1; |
| 347 | flex-grow: 1; |
| 348 | -ms-flex-wrap: wrap; |
| 349 | flex-wrap: wrap; |
| 350 | } |
| 351 | |
| 352 | @media (min-width: 481px) { |
| 353 | .jitm-banner__content { |
| 354 | -ms-flex-wrap: nowrap; |
| 355 | flex-wrap: nowrap; |
| 356 | } |
| 357 | } |
| 358 | |
| 359 | .jitm-banner__info { |
| 360 | -ms-flex-positive: 1; |
| 361 | flex-grow: 1; |
| 362 | line-height: 1.4; |
| 363 | } |
| 364 | |
| 365 | @media (min-width: 481px) { |
| 366 | .jitm-banner__info { |
| 367 | -ms-flex-preferred-size: 50%; |
| 368 | flex-basis: 50%; |
| 369 | } |
| 370 | } |
| 371 | |
| 372 | @media (min-width: 961px) { |
| 373 | .jitm-banner__info { |
| 374 | -ms-flex-preferred-size: 70%; |
| 375 | flex-basis: 70%; |
| 376 | } |
| 377 | } |
| 378 | |
| 379 | .jitm-banner__info .jitm-banner__title, |
| 380 | .jitm-banner__info .jitm-banner__description { |
| 381 | color: #2e4453; |
| 382 | } |
| 383 | |
| 384 | .jitm-banner__info .jitm-banner__title { |
| 385 | font-size: 14px; |
| 386 | font-weight: 500; |
| 387 | } |
| 388 | |
| 389 | .jitm-banner__info .jitm-banner__description { |
| 390 | font-size: 0.75rem; |
| 391 | line-height: 1.5; |
| 392 | margin-top: 0.375rem; |
| 393 | } |
| 394 | |
| 395 | .jitm-banner__info .banner__list { |
| 396 | font-size: 12px; |
| 397 | list-style: none; |
| 398 | margin: 10px 0; |
| 399 | } |
| 400 | |
| 401 | .jitm-banner__info .banner__list li { |
| 402 | margin: 6px 0; |
| 403 | } |
| 404 | |
| 405 | .jitm-banner__info .banner__list li .gridicon { |
| 406 | fill: #87a6bc; |
| 407 | display: inline; |
| 408 | margin-right: 12px; |
| 409 | vertical-align: bottom; |
| 410 | } |
| 411 | |
| 412 | .jitm-banner__action { |
| 413 | -ms-flex-item-align: center; |
| 414 | -ms-grid-row-align: center; |
| 415 | align-self: center; |
| 416 | font-size: 0.75rem; |
| 417 | margin: 0.5rem 0 0; |
| 418 | text-align: left; |
| 419 | width: 100%; |
| 420 | } |
| 421 | |
| 422 | .jitm-banner__action .jitm-banner__prices { |
| 423 | display: -ms-flexbox; |
| 424 | display: flex; |
| 425 | -ms-flex-pack: start; |
| 426 | justify-content: flex-start; |
| 427 | } |
| 428 | |
| 429 | .jitm-banner__action .jitm-banner__prices .dops-plan-price { |
| 430 | margin-bottom: 0; |
| 431 | } |
| 432 | |
| 433 | .jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted, |
| 434 | .jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted .dops-plan-price__currency-symbol { |
| 435 | color: #2e4453; |
| 436 | } |
| 437 | |
| 438 | .has-call-to-action .jitm-banner__action .jitm-banner__prices .dops-plan-price { |
| 439 | margin-bottom: 0.5rem; |
| 440 | } |
| 441 | |
| 442 | @media (min-width: 481px) { |
| 443 | .jitm-banner__action { |
| 444 | margin: 0 0.25rem 0 0.5rem; |
| 445 | text-align: center; |
| 446 | width: auto; |
| 447 | } |
| 448 | .jitm-banner__action .is-dismissible { |
| 449 | margin-top: 2.5rem; |
| 450 | } |
| 451 | .jitm-banner__action .jitm-banner__prices { |
| 452 | -ms-flex-pack: end; |
| 453 | justify-content: flex-end; |
| 454 | text-align: right; |
| 455 | } |
| 456 | } |
| 457 | |
| 458 | .jitm-banner__dismiss { |
| 459 | display: block; |
| 460 | text-decoration: none; |
| 461 | line-height: .5; |
| 462 | } |
| 463 | |
| 464 | .jitm-banner__dismiss:before { |
| 465 | color: #4f748e; |
| 466 | font: 400 16px/1 dashicons; |
| 467 | content: '\f158'; |
| 468 | } |
| 469 | |
| 470 | @media (min-width: 661px) { |
| 471 | .jitm-banner__dismiss { |
| 472 | margin-right: -0.5rem; |
| 473 | } |
| 474 | } |
| 475 | |
| 476 | @media (max-width: 480px) { |
| 477 | .jitm-banner__dismiss { |
| 478 | position: absolute; |
| 479 | top: 0.875rem; |
| 480 | right: 0.875rem; |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | .jitm-banner__action + .jitm-banner__dismiss { |
| 485 | margin-left: 0.625rem; |
| 486 | } |
| 487 | |
| 488 | /*# sourceMappingURL=jetpack-admin-jitm.css.map */ |
| 489 |