jetpack-admin-jitm.css 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  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. Copyright © 2011–2015 thoughtbot, inc.
  8. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
  9. documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
  10. rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
  11. persons to whom the Software is furnished to do so, subject to the following conditions:
  12. The above copyright notice and this permission notice shall be included in all copies or substantial
  13. portions of the Software.
  14. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  15. WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
  16. COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  17. OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  18. https://github.com/thoughtbot/bourbon
  19. */
  20. .jitm-button {
  21. background: white;
  22. border-color: #c8d7e1;
  23. border-style: solid;
  24. border-width: 1px 1px 2px;
  25. color: #2e4453;
  26. cursor: pointer;
  27. display: inline-block;
  28. margin: 0;
  29. outline: 0;
  30. overflow: hidden;
  31. font-weight: 500;
  32. text-overflow: ellipsis;
  33. text-decoration: none;
  34. vertical-align: top;
  35. box-sizing: border-box;
  36. font-size: 0.875rem;
  37. line-height: 1.3125rem;
  38. border-radius: 0.25rem;
  39. padding: 0.4375rem 0.875rem 0.5625rem;
  40. -webkit-appearance: none;
  41. -moz-appearance: none;
  42. appearance: none;
  43. }
  44. .jitm-button:hover {
  45. border-color: #a8bece;
  46. color: #2e4453;
  47. }
  48. .jitm-button:active {
  49. border-width: 2px 1px 1px;
  50. }
  51. .jitm-button:visited {
  52. color: #2e4453;
  53. }
  54. .jitm-button[disabled], .jitm-button:disabled {
  55. color: #e9eff3;
  56. background: white;
  57. border-color: #e9eff3;
  58. cursor: default;
  59. }
  60. .jitm-button[disabled]:active, .jitm-button:disabled:active {
  61. border-width: 1px 1px 2px;
  62. }
  63. .jitm-button:focus {
  64. outline: 0;
  65. border-color: #00aadc;
  66. box-shadow: 0 0 0 2px #78dcfa;
  67. }
  68. .jitm-button.is-compact {
  69. padding: 0.4375rem;
  70. color: #668eaa;
  71. font-size: 0.75rem;
  72. line-height: 1;
  73. }
  74. .jitm-button.is-compact:disabled {
  75. color: #e9eff3;
  76. }
  77. .jitm-button.hidden {
  78. display: none;
  79. }
  80. .jitm-button.is-primary {
  81. background: #00aadc;
  82. border-color: #0087be;
  83. color: white;
  84. }
  85. .jitm-button.is-primary:hover, .jitm-button.is-primary:focus {
  86. border-color: #005082;
  87. color: white;
  88. }
  89. .jitm-button.is-primary[disabled], .jitm-button.is-primary:disabled {
  90. background: #bceefd;
  91. border-color: #8cc9e2;
  92. color: white;
  93. }
  94. .jitm-button.is-primary.is-compact {
  95. color: white;
  96. }
  97. #screen-meta-links + .jitm-card {
  98. margin: 2.5rem 1.5385em 0 auto;
  99. }
  100. .jitm-card {
  101. display: block;
  102. position: relative;
  103. margin: 1rem 0 0 auto;
  104. padding: 1rem;
  105. box-sizing: border-box;
  106. background: white;
  107. box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
  108. }
  109. .jitm-card:after {
  110. content: ".";
  111. display: block;
  112. height: 0;
  113. clear: both;
  114. visibility: hidden;
  115. }
  116. @media (min-width: 481px) {
  117. .jitm-card {
  118. margin-bottom: 1rem;
  119. padding: 1.5rem;
  120. }
  121. }
  122. .jitm-card.is-compact {
  123. margin-bottom: 0.0625rem;
  124. }
  125. @media (min-width: 481px) {
  126. .jitm-card.is-compact {
  127. margin-bottom: 1px;
  128. padding: 1rem 1.5rem;
  129. }
  130. }
  131. .jitm-card.is-card-link {
  132. padding-right: 3rem;
  133. }
  134. .post-php .jitm-card {
  135. margin-right: 0;
  136. }
  137. .jitm-banner.jitm-card {
  138. border-left: 4px solid;
  139. display: -ms-flexbox;
  140. display: flex;
  141. padding: 0.75rem 0.375rem 0.75rem 0.75rem;
  142. position: relative;
  143. z-index: 2;
  144. border-left-color: #4ab866;
  145. }
  146. @media (max-width: 480px) {
  147. .jitm-banner.jitm-card {
  148. display: block;
  149. }
  150. }
  151. .jitm-banner.jitm-card.is-card-link {
  152. padding: 0.75rem 3rem 0.75rem 1rem;
  153. }
  154. .jitm-banner.jitm-card.is-dismissible {
  155. padding-right: 3rem;
  156. }
  157. .jitm-banner.jitm-card .jitm-banner__icon {
  158. color: #4ab866;
  159. }
  160. .jitm-banner.jitm-card .jitm-banner__icon-circle {
  161. background-color: #4ab866;
  162. }
  163. .jitm-banner.jitm-card.is-upgrade-personal {
  164. border-left-color: #f0b849;
  165. }
  166. .jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon {
  167. color: #f0b849;
  168. }
  169. .jitm-banner.jitm-card.is-upgrade-personal .jitm-banner__icon-circle {
  170. background-color: #f0b849;
  171. }
  172. .jitm-banner.jitm-card.is-upgrade-premium {
  173. border-left-color: #4ab866;
  174. }
  175. .jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon {
  176. color: #4ab866;
  177. }
  178. .jitm-banner.jitm-card.is-upgrade-premium .jitm-banner__icon-circle {
  179. background-color: #4ab866;
  180. }
  181. .jitm-banner.jitm-card.is-upgrade-business, .jitm-banner.jitm-card.woo-jitm {
  182. border-left-color: #855DA6;
  183. }
  184. .jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon, .jitm-banner.jitm-card.woo-jitm .jitm-banner__icon {
  185. color: #855DA6;
  186. }
  187. .jitm-banner.jitm-card.is-upgrade-business .jitm-banner__icon-circle, .jitm-banner.jitm-card.woo-jitm .jitm-banner__icon-circle {
  188. background-color: #855DA6;
  189. }
  190. .jitm-banner.jitm-card .jitm-card__link-indicator {
  191. -ms-flex-align: center;
  192. align-items: center;
  193. color: #0087be;
  194. display: -ms-flexbox;
  195. display: flex;
  196. }
  197. .jitm-banner.jitm-card:hover {
  198. transition: all 100ms ease-in-out;
  199. }
  200. .jitm-banner.jitm-card:hover.is-card-link {
  201. box-shadow: 0 0 0 1px #87a6bc, 0 2px 4px #c8d7e1;
  202. }
  203. .jitm-banner.jitm-card:hover .jitm-card__link-indicator {
  204. color: #005082;
  205. }
  206. @media (min-width: 481px) {
  207. .jitm-banner.jitm-card {
  208. padding: 0.75rem 1rem;
  209. }
  210. .jitm-banner.jitm-card.is-dismissible {
  211. padding-right: 1rem;
  212. }
  213. }
  214. .jitm-banner__icons {
  215. display: -ms-flexbox;
  216. display: flex;
  217. }
  218. .jitm-banner__icons .jitm-banner__icon,
  219. .jitm-banner__icons .jitm-banner__icon-circle {
  220. border-radius: 50%;
  221. -ms-flex-negative: 0;
  222. flex-shrink: 0;
  223. height: 1.5rem;
  224. width: 1.5rem;
  225. margin-right: 1rem;
  226. margin-top: -0.125rem;
  227. text-align: center;
  228. top: 0.25rem;
  229. }
  230. .jitm-banner__icons .jitm-banner__icon {
  231. -ms-flex-item-align: center;
  232. -ms-grid-row-align: center;
  233. align-self: center;
  234. color: white;
  235. display: block;
  236. }
  237. .jitm-banner__icons .jitm-banner__icon-circle {
  238. color: white;
  239. display: none;
  240. padding: 0.1875rem 0.25rem 0.25rem 0.1875rem;
  241. }
  242. @media (min-width: 481px) {
  243. .jitm-banner__icons {
  244. -ms-flex-align: center;
  245. align-items: center;
  246. }
  247. .jitm-banner__icons .jitm-banner__icon {
  248. display: none;
  249. }
  250. .jitm-banner__icons .jitm-banner__icon-circle {
  251. display: block;
  252. }
  253. }
  254. .jitm-banner__icon-plan {
  255. display: -ms-flexbox;
  256. display: flex;
  257. margin-right: 1rem;
  258. }
  259. .jitm-banner__icon-plan .dops-plan-icon {
  260. height: 2rem;
  261. width: 2rem;
  262. }
  263. .jitm-banner__icon-plan .jp-emblem {
  264. position: relative;
  265. top: 0.125rem;
  266. }
  267. @media (max-width: 480px) {
  268. .jitm-banner__icon-plan .jp-emblem {
  269. margin-bottom: 0.75rem;
  270. }
  271. }
  272. .jitm-banner__icon-plan .jp-emblem svg {
  273. height: 2rem;
  274. width: 2rem;
  275. fill: #00BE28;
  276. }
  277. @media (min-width: 481px) {
  278. .jitm-banner__icon-plan {
  279. -ms-flex-align: center;
  280. align-items: center;
  281. }
  282. }
  283. .jitm-banner__content {
  284. -ms-flex-align: center;
  285. align-items: center;
  286. display: -ms-flexbox;
  287. display: flex;
  288. -ms-flex-positive: 1;
  289. flex-grow: 1;
  290. -ms-flex-wrap: wrap;
  291. flex-wrap: wrap;
  292. }
  293. @media (min-width: 481px) {
  294. .jitm-banner__content {
  295. -ms-flex-wrap: nowrap;
  296. flex-wrap: nowrap;
  297. }
  298. }
  299. .jitm-banner__info {
  300. -ms-flex-positive: 1;
  301. flex-grow: 1;
  302. line-height: 1.4;
  303. }
  304. @media (min-width: 481px) {
  305. .jitm-banner__info {
  306. -ms-flex-preferred-size: 50%;
  307. flex-basis: 50%;
  308. }
  309. }
  310. @media (min-width: 961px) {
  311. .jitm-banner__info {
  312. -ms-flex-preferred-size: 70%;
  313. flex-basis: 70%;
  314. }
  315. }
  316. .jitm-banner__info .jitm-banner__title,
  317. .jitm-banner__info .jitm-banner__description {
  318. color: #2e4453;
  319. }
  320. .jitm-banner__info .jitm-banner__title {
  321. font-size: 14px;
  322. font-weight: 500;
  323. }
  324. .jitm-banner__info .jitm-banner__description {
  325. font-size: 0.75rem;
  326. line-height: 1.5;
  327. margin-top: 0.375rem;
  328. }
  329. .jitm-banner__info .banner__list {
  330. font-size: 12px;
  331. list-style: none;
  332. margin: 10px 0;
  333. }
  334. .jitm-banner__info .banner__list li {
  335. margin: 6px 0;
  336. }
  337. .jitm-banner__info .banner__list li .gridicon {
  338. fill: #87a6bc;
  339. display: inline;
  340. margin-right: 12px;
  341. vertical-align: bottom;
  342. }
  343. .jitm-banner__action {
  344. -ms-flex-item-align: center;
  345. -ms-grid-row-align: center;
  346. align-self: center;
  347. font-size: 0.75rem;
  348. margin: 0.5rem 0 0;
  349. text-align: left;
  350. width: 100%;
  351. }
  352. .jitm-banner__action .jitm-banner__prices {
  353. display: -ms-flexbox;
  354. display: flex;
  355. -ms-flex-pack: start;
  356. justify-content: flex-start;
  357. }
  358. .jitm-banner__action .jitm-banner__prices .dops-plan-price {
  359. margin-bottom: 0;
  360. }
  361. .jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted,
  362. .jitm-banner__action .jitm-banner__prices .dops-plan-price.is-discounted .dops-plan-price__currency-symbol {
  363. color: #2e4453;
  364. }
  365. .has-call-to-action .jitm-banner__action .jitm-banner__prices .dops-plan-price {
  366. margin-bottom: 0.5rem;
  367. }
  368. @media (min-width: 481px) {
  369. .jitm-banner__action {
  370. margin: 0 0.25rem 0 0.5rem;
  371. text-align: center;
  372. width: auto;
  373. }
  374. .jitm-banner__action .is-dismissible {
  375. margin-top: 2.5rem;
  376. }
  377. .jitm-banner__action .jitm-banner__prices {
  378. -ms-flex-pack: end;
  379. justify-content: flex-end;
  380. text-align: right;
  381. }
  382. }
  383. .jitm-banner__dismiss {
  384. display: block;
  385. text-decoration: none;
  386. line-height: .5;
  387. }
  388. .jitm-banner__dismiss:before {
  389. color: #4f748e;
  390. font: 400 16px/1 dashicons;
  391. content: '\f158';
  392. }
  393. @media (min-width: 661px) {
  394. .jitm-banner__dismiss {
  395. margin-right: -0.5rem;
  396. }
  397. }
  398. @media (max-width: 480px) {
  399. .jitm-banner__dismiss {
  400. position: absolute;
  401. top: 0.875rem;
  402. right: 0.875rem;
  403. }
  404. }
  405. .jitm-banner__action + .jitm-banner__dismiss {
  406. margin-left: 0.625rem;
  407. }
  408. /*# sourceMappingURL=jetpack-admin-jitm.css.map */