Ei kuvausta

wc-setup.scss 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629
  1. /* stylelint-disable no-descending-specificity */
  2. /* @deprecated 4.6.0 */
  3. body {
  4. margin: 65px auto 24px;
  5. box-shadow: none;
  6. background: #f1f1f1;
  7. padding: 0;
  8. }
  9. .wc-logo {
  10. border: 0;
  11. margin: 0 0 24px;
  12. padding: 0;
  13. text-align: center;
  14. img {
  15. max-width: 30%;
  16. }
  17. }
  18. .wc-setup {
  19. text-align: center;
  20. #wc_tracker_checkbox {
  21. display: none;
  22. }
  23. .select2-container {
  24. text-align: left;
  25. width: auto;
  26. }
  27. .hidden {
  28. display: none;
  29. }
  30. #tiptip_content {
  31. background: #5f6973;
  32. }
  33. #tiptip_holder.tip_top #tiptip_arrow_inner {
  34. border-top-color: #5f6973;
  35. }
  36. }
  37. .wc-setup-content {
  38. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
  39. padding: 2em;
  40. margin: 0 0 20px;
  41. background: #fff;
  42. overflow: hidden;
  43. zoom: 1;
  44. text-align: left;
  45. h1,
  46. h2,
  47. h3,
  48. table {
  49. margin: 0 0 20px;
  50. border: 0;
  51. padding: 0;
  52. color: #666;
  53. clear: none;
  54. font-weight: 500;
  55. }
  56. p {
  57. margin: 20px 0;
  58. font-size: 1em;
  59. line-height: 1.75;
  60. color: #666;
  61. }
  62. table {
  63. font-size: 1em;
  64. line-height: 1.75;
  65. color: #666;
  66. }
  67. a {
  68. color: #a16696;
  69. &:hover,
  70. &:focus {
  71. color: #111;
  72. }
  73. }
  74. .form-table {
  75. th {
  76. width: 35%;
  77. vertical-align: top;
  78. font-weight: 400;
  79. }
  80. td {
  81. vertical-align: top;
  82. select,
  83. input {
  84. width: 100%;
  85. box-sizing: border-box;
  86. }
  87. input[size] {
  88. width: auto;
  89. }
  90. .description {
  91. line-height: 1.5;
  92. display: block;
  93. margin-top: 0.25em;
  94. color: #999;
  95. font-style: italic;
  96. }
  97. .input-checkbox,
  98. .input-radio {
  99. width: auto;
  100. box-sizing: inherit;
  101. padding: inherit;
  102. margin: 0 0.5em 0 0;
  103. box-shadow: none;
  104. }
  105. }
  106. .section_title {
  107. td {
  108. padding: 0;
  109. h2,
  110. p {
  111. margin: 12px 0 0;
  112. }
  113. }
  114. }
  115. th,
  116. td {
  117. padding: 12px 0;
  118. margin: 0;
  119. border: 0;
  120. &:first-child {
  121. padding-right: 1em;
  122. }
  123. }
  124. }
  125. table.tax-rates {
  126. width: 100%;
  127. font-size: 0.92em;
  128. th {
  129. padding: 0;
  130. text-align: center;
  131. width: auto;
  132. vertical-align: middle;
  133. }
  134. td {
  135. border: 1px solid #f5f5f5;
  136. padding: 6px;
  137. text-align: center;
  138. vertical-align: middle;
  139. input {
  140. outline: 0;
  141. border: 0;
  142. padding: 0;
  143. box-shadow: none;
  144. text-align: center;
  145. width: 100%;
  146. }
  147. &.sort {
  148. cursor: move;
  149. color: #ccc;
  150. &::before {
  151. content: "\f333";
  152. font-family: dashicons; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  153. }
  154. }
  155. &.readonly {
  156. background: #f5f5f5;
  157. }
  158. }
  159. .add {
  160. padding: 1em 0 0 1em;
  161. line-height: 1;
  162. font-size: 1em;
  163. width: 0;
  164. margin: 6px 0 0;
  165. height: 0;
  166. overflow: hidden;
  167. position: relative;
  168. display: inline-block;
  169. &::before {
  170. content: "\f502";
  171. font-family: dashicons; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  172. position: absolute;
  173. left: 0;
  174. top: 0;
  175. }
  176. }
  177. .remove {
  178. padding: 1em 0 0 1em;
  179. line-height: 1;
  180. font-size: 1em;
  181. width: 0;
  182. margin: 0;
  183. height: 0;
  184. overflow: hidden;
  185. position: relative;
  186. display: inline-block;
  187. &::before {
  188. content: "\f182";
  189. font-family: dashicons; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  190. position: absolute;
  191. left: 0;
  192. top: 0;
  193. }
  194. }
  195. }
  196. .wc-setup-pages {
  197. width: 100%;
  198. border-top: 1px solid #eee;
  199. thead th {
  200. display: none;
  201. }
  202. .page-name {
  203. width: 30%;
  204. font-weight: 700;
  205. }
  206. th,
  207. td {
  208. padding: 14px 0;
  209. border-bottom: 1px solid #eee;
  210. &:first-child {
  211. padding-right: 9px;
  212. }
  213. }
  214. th {
  215. padding-top: 0;
  216. }
  217. .page-options {
  218. p {
  219. color: #777;
  220. margin: 6px 0 0 24px;
  221. line-height: 1.75;
  222. input {
  223. vertical-align: middle;
  224. margin: 1px 0 0;
  225. height: 1.75em;
  226. width: 1.75em;
  227. line-height: 1.75;
  228. }
  229. label {
  230. line-height: 1;
  231. }
  232. }
  233. }
  234. }
  235. @media screen and (max-width: 782px) {
  236. .form-table {
  237. tbody {
  238. th {
  239. width: auto;
  240. }
  241. }
  242. }
  243. }
  244. .twitter-share-button {
  245. float: right;
  246. }
  247. .wc-setup-next-steps {
  248. overflow: hidden;
  249. margin: 0 0 24px;
  250. padding-bottom: 2px;
  251. h2 {
  252. margin-bottom: 12px;
  253. }
  254. .wc-setup-next-steps-first {
  255. float: left;
  256. width: 50%;
  257. box-sizing: border-box;
  258. }
  259. .wc-setup-next-steps-last {
  260. float: right;
  261. width: 50%;
  262. box-sizing: border-box;
  263. }
  264. ul {
  265. padding: 0 2em 0 0;
  266. list-style: none outside;
  267. margin: 0;
  268. li a {
  269. display: block;
  270. padding: 0 0 0.75em;
  271. }
  272. .setup-product {
  273. a.button {
  274. background-color: #f7f7f7;
  275. border-color: #ccc;
  276. color: #23282d;
  277. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #ccc;
  278. text-shadow: 1px 0 1px #eee, 0 1px 1px #eee;
  279. font-size: 1em;
  280. height: auto;
  281. line-height: 1.75;
  282. margin: 0 0 0.75em;
  283. opacity: 1;
  284. padding: 1em;
  285. text-align: center;
  286. &:hover,
  287. &:focus,
  288. &:active {
  289. background: #f5f5f5;
  290. border-color: #aaa;
  291. }
  292. }
  293. a.button-primary {
  294. color: #fff;
  295. background-color: #bb77ae;
  296. border-color: #a36597;
  297. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
  298. text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
  299. &:hover,
  300. &:focus,
  301. &:active {
  302. color: #fff;
  303. background: #a36597;
  304. border-color: #a36597;
  305. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
  306. }
  307. }
  308. }
  309. li a::before {
  310. color: #82878c;
  311. font: 400 20px/1 dashicons; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  312. speak: never;
  313. display: inline-block;
  314. padding: 0 10px 0 0;
  315. top: 1px;
  316. position: relative;
  317. text-decoration: none !important;
  318. vertical-align: top;
  319. }
  320. .learn-more a::before {
  321. content: "\f105";
  322. }
  323. .video-walkthrough a::before {
  324. content: "\f126";
  325. }
  326. .newsletter a::before {
  327. content: "\f465";
  328. }
  329. }
  330. }
  331. .woocommerce-newsletter,
  332. .updated {
  333. padding: 24px 24px 0;
  334. margin: 0 0 24px;
  335. overflow: hidden;
  336. background: #f5f5f5;
  337. p {
  338. padding: 0;
  339. margin: 0 0 12px;
  340. }
  341. form,
  342. p:last-child {
  343. margin: 0 0 24px;
  344. }
  345. }
  346. .checkbox {
  347. input[type="checkbox"] {
  348. opacity: 0;
  349. position: absolute;
  350. left: -9999px;
  351. }
  352. label {
  353. position: relative;
  354. display: inline-block;
  355. padding-left: 28px;
  356. &::before,
  357. &::after {
  358. position: absolute;
  359. content: "";
  360. display: inline-block;
  361. }
  362. &::before {
  363. height: 16px;
  364. width: 16px;
  365. left: 0;
  366. top: 3px;
  367. border: 1px solid #aaa;
  368. background-color: #fff;
  369. border-radius: 3px;
  370. }
  371. &::after {
  372. height: 5px;
  373. width: 9px;
  374. border-left: 2px solid;
  375. border-bottom: 2px solid;
  376. transform: rotate(-45deg);
  377. left: 4px;
  378. top: 7px;
  379. color: #fff;
  380. }
  381. }
  382. input[type="checkbox"] + label::after {
  383. content: none;
  384. }
  385. input[type="checkbox"]:checked + label::after {
  386. content: "";
  387. }
  388. input[type="checkbox"]:focus + label::before {
  389. outline: rgb(59, 153, 252) auto 5px;
  390. }
  391. input[type="checkbox"]:checked + label::before {
  392. background: #935687;
  393. border-color: #935687;
  394. }
  395. }
  396. }
  397. .woocommerce-tracker {
  398. margin: 24px 0;
  399. border: 1px solid #eee;
  400. padding: 20px;
  401. border-radius: 4px;
  402. overflow: hidden;
  403. text-align: left;
  404. h1 {
  405. border-bottom: 0;
  406. padding-bottom: 0;
  407. }
  408. .wc-backbone-modal-header {
  409. border-bottom: 0;
  410. }
  411. .wc-backbone-modal-main article {
  412. padding-top: 0;
  413. }
  414. .wc-backbone-modal-main footer {
  415. border-top: 0;
  416. box-shadow: none;
  417. }
  418. p {
  419. font-size: 14px;
  420. line-height: 1.5;
  421. }
  422. .woocommerce-tracker-checkbox label {
  423. margin-top: -4px;
  424. display: inline-block;
  425. }
  426. }
  427. .wc-setup-steps {
  428. padding: 0 0 24px;
  429. margin: 0;
  430. list-style: none outside;
  431. overflow: hidden;
  432. color: #ccc;
  433. width: 100%;
  434. display: inline-flex;
  435. li {
  436. width: 100%;
  437. float: left;
  438. padding: 0 0 0.8em;
  439. margin: 0;
  440. text-align: center;
  441. position: relative;
  442. border-bottom: 4px solid #ccc;
  443. line-height: 1.4;
  444. a {
  445. color: #a16696;
  446. text-decoration: none;
  447. padding: 1.5em;
  448. margin: -1.5em;
  449. position: relative;
  450. z-index: 1;
  451. &:hover,
  452. &:focus {
  453. color: #111;
  454. text-decoration: underline;
  455. }
  456. }
  457. }
  458. li::before {
  459. content: "";
  460. border: 4px solid #ccc;
  461. border-radius: 100%;
  462. width: 4px;
  463. height: 4px;
  464. position: absolute;
  465. bottom: 0;
  466. left: 50%;
  467. margin-left: -6px;
  468. margin-bottom: -8px;
  469. background: #fff;
  470. }
  471. li.active {
  472. border-color: #a16696;
  473. color: #a16696;
  474. font-weight: 700;
  475. &::before {
  476. border-color: #a16696;
  477. }
  478. }
  479. li.done {
  480. border-color: #a16696;
  481. color: #a16696;
  482. &::before {
  483. border-color: #a16696;
  484. background: #a16696;
  485. }
  486. }
  487. }
  488. .wc-setup .wc-setup-actions {
  489. overflow: hidden;
  490. margin: 20px 0 0;
  491. position: relative;
  492. }
  493. .wc-setup .wc-setup-actions .button-primary,
  494. .woocommerce-tracker .button-primary {
  495. background-color: #bb77ae;
  496. border-color: #a36597;
  497. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
  498. text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
  499. margin: 0;
  500. opacity: 1;
  501. &:hover,
  502. &:focus,
  503. &:active {
  504. background: #a36597;
  505. border-color: #a36597;
  506. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
  507. }
  508. }
  509. .wc-setup-content p:last-child {
  510. margin-bottom: 0;
  511. }
  512. .wc-setup-content p.store-setup {
  513. margin-top: 0;
  514. }
  515. .wc-setup-footer-links {
  516. font-size: 0.85em;
  517. color: #7b7b7b;
  518. margin: 1.18em auto;
  519. display: inline-block;
  520. text-align: center;
  521. }
  522. .wc-wizard-storefront {
  523. .wc-wizard-storefront-intro {
  524. padding: 40px 40px 0;
  525. background: #f5f5f5;
  526. text-align: center;
  527. img {
  528. margin: 40px 0 0 0;
  529. width: 100%;
  530. display: block;
  531. }
  532. }
  533. .wc-wizard-storefront-features {
  534. list-style: none outside;
  535. margin: 0 0 20px;
  536. padding: 0 0 0 30px;
  537. overflow: hidden;
  538. }
  539. .wc-wizard-storefront-feature {
  540. margin: 0;
  541. padding: 20px 30px 20px 2em;
  542. width: 50%;
  543. box-sizing: border-box;
  544. &::before {
  545. margin-left: -2em;
  546. position: absolute;
  547. }
  548. &.first {
  549. clear: both;
  550. float: left;
  551. }
  552. &.last {
  553. float: right;
  554. }
  555. }
  556. .wc-wizard-storefront-feature__bulletproof::before {
  557. content: "🔒";
  558. }
  559. .wc-wizard-storefront-feature__mobile::before {
  560. content: "📱";
  561. }
  562. .wc-wizard-storefront-feature__accessibility::before {
  563. content: "👓";
  564. }
  565. .wc-wizard-storefront-feature__search::before {
  566. content: "🔍";
  567. }
  568. .wc-wizard-storefront-feature__compatibility::before {
  569. content: "🔧";
  570. }
  571. .wc-wizard-storefront-feature__extendable::before {
  572. content: "🎨";
  573. }
  574. }
  575. // List of services
  576. .wc-wizard-services {
  577. border: 1px solid #eee;
  578. padding: 0;
  579. margin: 0 0 1em;
  580. list-style: none outside;
  581. border-radius: 4px;
  582. overflow: hidden; // Make sure dark background doesn't cover curved border
  583. p {
  584. margin: 0 0 1em 0;
  585. padding: 0;
  586. font-size: 1em;
  587. line-height: 1.5;
  588. }
  589. }
  590. .wc-wizard-service-item,
  591. .wc-wizard-services-list-toggle {
  592. display: flex;
  593. flex-wrap: nowrap;
  594. justify-content: space-between;
  595. padding: 0;
  596. border-bottom: 1px solid #eee;
  597. color: #666;
  598. align-items: center;
  599. &:last-child {
  600. border-bottom: 0;
  601. }
  602. .payment-gateway-fee {
  603. color: #a6a6a6;
  604. }
  605. .wc-wizard-service-name {
  606. flex-basis: 0;
  607. min-width: 160px;
  608. text-align: center;
  609. font-weight: 700;
  610. padding: 2em 0;
  611. align-self: stretch;
  612. display: flex;
  613. align-items: baseline;
  614. .wc-wizard-payment-gateway-form & {
  615. justify-content: center;
  616. }
  617. img {
  618. max-width: 75px;
  619. }
  620. }
  621. &.stripe-logo .wc-wizard-service-name img {
  622. padding: 8px 0;
  623. }
  624. &.paypal-logo .wc-wizard-service-name img {
  625. max-width: 87px;
  626. padding: 2px 0;
  627. }
  628. &.klarna-logo .wc-wizard-service-name img {
  629. max-width: 87px;
  630. padding: 12px 0;
  631. }
  632. &.square-logo .wc-wizard-service-name img {
  633. max-width: 95px;
  634. padding: 12px 0;
  635. }
  636. &.eway-logo .wc-wizard-service-name img {
  637. max-width: 87px;
  638. }
  639. &.payfast-logo .wc-wizard-service-name img {
  640. max-width: 140px;
  641. }
  642. .wc-wizard-service-description {
  643. flex-grow: 1;
  644. padding: 20px;
  645. p {
  646. margin-bottom: 1em;
  647. }
  648. p:last-child {
  649. margin-bottom: 0;
  650. }
  651. .wc-wizard-service-settings-description {
  652. display: block;
  653. font-style: italic;
  654. color: #999;
  655. }
  656. }
  657. .wc-wizard-service-enable {
  658. flex-basis: 0;
  659. min-width: 75px;
  660. text-align: center;
  661. cursor: pointer;
  662. padding: 2em 0;
  663. position: relative;
  664. max-height: 1.5em;
  665. align-self: flex-start;
  666. order: 3;
  667. }
  668. .wc-wizard-service-toggle {
  669. height: 16px;
  670. width: 32px;
  671. border: 2px solid #935687;
  672. background-color: #935687;
  673. display: inline-block;
  674. text-indent: -9999px;
  675. border-radius: 10em;
  676. position: relative;
  677. input[type="checkbox"] {
  678. display: none;
  679. }
  680. &::before {
  681. content: "";
  682. display: block;
  683. width: 16px;
  684. height: 16px;
  685. background: #fff;
  686. position: absolute;
  687. top: 0;
  688. right: 0;
  689. border-radius: 100%;
  690. }
  691. &.disabled {
  692. border-color: #999;
  693. background-color: #999;
  694. &::before {
  695. right: auto;
  696. left: 0;
  697. }
  698. }
  699. }
  700. .wc-wizard-service-settings {
  701. display: none;
  702. margin-top: 0.75em;
  703. margin-bottom: 0;
  704. cursor: default;
  705. &.hide {
  706. display: none;
  707. }
  708. }
  709. &.checked {
  710. .wc-wizard-service-settings {
  711. display: inline-block;
  712. &.hide {
  713. display: none;
  714. }
  715. }
  716. }
  717. &.closed {
  718. border-bottom: 0;
  719. }
  720. }
  721. // Toggle display a list of services.
  722. .wc-wizard-services-list-toggle {
  723. cursor: pointer;
  724. .wc-wizard-service-enable::before {
  725. content: "\f343"; // up chevron
  726. font-family: dashicons; /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  727. color: #666;
  728. font-size: 25px;
  729. margin-top: -7px;
  730. margin-left: -5px;
  731. position: absolute;
  732. visibility: visible;
  733. }
  734. &.closed {
  735. .wc-wizard-service-enable::before {
  736. content: "\f347"; // down chevron
  737. }
  738. }
  739. .wc-wizard-service-enable input {
  740. visibility: hidden;
  741. position: relative;
  742. }
  743. }
  744. .wc-wizard-services.manual .wc-wizard-service-item {
  745. display: none;
  746. }
  747. // Shipping list of services
  748. .wc-wizard-services.shipping {
  749. margin: 0;
  750. .wc-wizard-service-name {
  751. font-weight: 400;
  752. text-align: left;
  753. align-items: center;
  754. max-height: 5em;
  755. padding: 0;
  756. }
  757. // List header
  758. .wc-wizard-service-item {
  759. padding-left: 2em;
  760. padding-top: 0.67em;
  761. &:first-child {
  762. border-bottom: 0;
  763. padding-bottom: 0;
  764. font-weight: 700;
  765. .wc-wizard-service-name {
  766. font-weight: 700;
  767. }
  768. }
  769. }
  770. .wc-wizard-shipping-method-select,
  771. .shipping-method-setting {
  772. display: flex;
  773. &.hide {
  774. display: none;
  775. }
  776. }
  777. .wc-wizard-shipping-method-dropdown,
  778. .shipping-method-setting input {
  779. margin-right: 2em;
  780. margin-bottom: 1em;
  781. .select2 {
  782. min-width: 130px;
  783. }
  784. }
  785. .wc-wizard-service-description {
  786. display: flex;
  787. flex-direction: column;
  788. color: #a6a6a6;
  789. }
  790. .wc-wizard-service-item:not(:first-child) .wc-wizard-service-description {
  791. font-size: 0.92em;
  792. padding-bottom: 10px;
  793. }
  794. .shipping-method-setting {
  795. input {
  796. width: 95px; // match dropdown height
  797. border: 1px solid #aaa;
  798. border-color: #ddd;
  799. border-radius: 4px;
  800. height: 28px;
  801. padding-left: 8px;
  802. padding-right: 24px;
  803. font-size: 14px;
  804. color: #444;
  805. background-color: #fff;
  806. display: inline-block;
  807. }
  808. }
  809. .shipping-method-description,
  810. .shipping-method-setting .description {
  811. color: #7e7e7e;
  812. font-size: 0.9em;
  813. }
  814. .shipping-method-setting input::placeholder {
  815. color: #e1e1e1;
  816. }
  817. }
  818. .wc-setup-shipping-units {
  819. p {
  820. line-height: 1.5;
  821. font-size: 13px;
  822. margin-bottom: 0.25em;
  823. text-align: center;
  824. }
  825. .wc-setup-shipping-unit {
  826. margin-bottom: 1.75em;
  827. .select2 {
  828. min-width: 125px; // widen dropdowns
  829. top: -5px; // vertically align dropdown value with surrounding text
  830. }
  831. }
  832. }
  833. .hide {
  834. display: none;
  835. }
  836. .wc-wizard-features {
  837. display: flex;
  838. flex-wrap: wrap;
  839. list-style: none;
  840. padding: 0;
  841. .wc-wizard-feature-item {
  842. flex-basis: calc(50% - 4em - 3px); // two columns, account for padding and borders
  843. border: 1px solid #eee;
  844. padding: 2em;
  845. }
  846. .wc-wizard-feature-item:nth-child(1) {
  847. border-radius: 4px 0 0 0;
  848. }
  849. .wc-wizard-feature-item:nth-child(2) {
  850. border-left: 0;
  851. border-radius: 0 4px 0 0;
  852. }
  853. .wc-wizard-feature-item:nth-child(3) {
  854. border-top: 0;
  855. border-radius: 0 0 0 4px;
  856. }
  857. .wc-wizard-feature-item:nth-child(4) {
  858. border-top: 0;
  859. border-left: 0;
  860. border-radius: 0 0 4px 0;
  861. }
  862. p.wc-wizard-feature-name,
  863. p.wc-wizard-feature-description {
  864. margin: 0;
  865. line-height: 1.5;
  866. }
  867. }
  868. h3.jetpack-reasons {
  869. text-align: center;
  870. margin: 3em 0 1em 0;
  871. font-size: 14px;
  872. }
  873. .jetpack-logo,
  874. .wcs-notice {
  875. display: block;
  876. margin: 1.75em auto 2em auto;
  877. max-height: 175px;
  878. }
  879. .activate-splash {
  880. .jetpack-logo {
  881. width: 170px;
  882. margin-bottom: 0;
  883. }
  884. .wcs-notice {
  885. margin-top: 1em;
  886. padding-left: 57px;
  887. }
  888. }
  889. .wc-setup-step__new_onboarding {
  890. .wc-logo,
  891. .wc-setup-steps {
  892. display: none;
  893. }
  894. .wc-setup-step__new_onboarding-wrapper {
  895. .wc-logo {
  896. display: block;
  897. }
  898. p {
  899. text-align: center;
  900. }
  901. .wc-setup-step__new_onboarding-welcome,
  902. .wc-setup-step__new_onboarding-plugin-info {
  903. color: #7c7c7c;
  904. font-size: 12px;
  905. }
  906. }
  907. }
  908. .step {
  909. text-align: center;
  910. }
  911. .wc-setup .wc-setup-actions .button {
  912. font-weight: 300;
  913. font-size: 16px;
  914. padding: 1em 2em;
  915. box-shadow: none;
  916. min-width: 12em;
  917. margin-top: 10px;
  918. line-height: 1;
  919. margin-right: 0.5em;
  920. margin-bottom: 2px;
  921. height: auto;
  922. border-radius: 4px;
  923. &:focus,
  924. &:hover,
  925. &:active {
  926. box-shadow: none;
  927. }
  928. }
  929. .wc-setup .wc-setup-actions .plugin-install-info {
  930. display: block;
  931. font-style: italic;
  932. color: #999;
  933. font-size: 14px;
  934. line-height: 1.5;
  935. margin: 5px 0;
  936. & > * {
  937. display: block;
  938. }
  939. .plugin-install-info-list-item::after {
  940. content: ", ";
  941. }
  942. .plugin-install-info-list-item:last-of-type::after {
  943. content: ". ";
  944. }
  945. a {
  946. white-space: nowrap;
  947. &:not(:hover):not(:focus) {
  948. color: inherit;
  949. }
  950. }
  951. }
  952. .plugin-install-source {
  953. $background: rgba(#bb77ae, 0.15);
  954. background: $background;
  955. &:not(.wc-wizard-service-item) {
  956. box-shadow: 0 0 0 10px $background;
  957. }
  958. }
  959. .location-prompt {
  960. color: #666;
  961. font-size: 13px;
  962. font-weight: 500;
  963. margin-bottom: 0.5em;
  964. margin-top: 0.85em;
  965. display: inline-block;
  966. }
  967. .location-input {
  968. border: 1px solid #aaa;
  969. border-color: #ddd;
  970. border-radius: 4px;
  971. height: 30px;
  972. width: calc(100% - 8px - 8px - 2px);
  973. padding-left: 8px;
  974. padding-right: 8px;
  975. font-size: 16px;
  976. color: #444;
  977. background-color: #fff;
  978. display: block;
  979. &.dropdown {
  980. width: 100%;
  981. }
  982. }
  983. .branch-5-2,
  984. .wc-wp-version-gte-53 {
  985. .location-input {
  986. margin: 0;
  987. width: 100%;
  988. }
  989. }
  990. .address-step {
  991. .select2 {
  992. min-width: 100%; // widen currency, product type dropdowns
  993. }
  994. }
  995. .store-address-container {
  996. .city-and-postcode {
  997. display: flex;
  998. div {
  999. flex-basis: 50%;
  1000. margin-right: 1em;
  1001. &:last-of-type {
  1002. margin-right: 0;
  1003. }
  1004. }
  1005. }
  1006. input[type="text"],
  1007. select,
  1008. .select2-container {
  1009. margin-bottom: 10px;
  1010. }
  1011. }
  1012. .product-type-container,
  1013. .sell-in-person-container {
  1014. margin-top: 14px;
  1015. margin-bottom: 1px;
  1016. }
  1017. #woocommerce_sell_in_person {
  1018. margin-left: 0;
  1019. margin-top: calc(0.85em / 2);
  1020. }
  1021. .wc-wizard-service-settings {
  1022. .payment-email-input {
  1023. border: 1px solid #aaa;
  1024. border-color: #ddd;
  1025. border-radius: 4px;
  1026. height: 30px;
  1027. padding: 0 8px;
  1028. font-size: 14px;
  1029. color: #444;
  1030. background-color: #fff;
  1031. display: inline-block;
  1032. &[disabled] {
  1033. color: #aaa;
  1034. }
  1035. }
  1036. }
  1037. .newsletter-form-container {
  1038. display: flex;
  1039. .newsletter-form-email {
  1040. border: 1px solid #aaa;
  1041. border-color: #ddd;
  1042. border-radius: 4px;
  1043. height: 42px;
  1044. padding: 0 8px;
  1045. font-size: 16px;
  1046. color: #666;
  1047. background-color: #fff;
  1048. display: inline-block;
  1049. margin-right: 6px;
  1050. flex-grow: 1;
  1051. }
  1052. .newsletter-form-button-container {
  1053. flex-grow: 0;
  1054. }
  1055. }
  1056. .wc-setup .wc-setup-actions .button.newsletter-form-button {
  1057. height: 42px;
  1058. padding: 0 1em;
  1059. margin: 0;
  1060. }
  1061. .wc-wizard-next-steps {
  1062. border: 1px solid #eee;
  1063. border-radius: 4px;
  1064. list-style: none;
  1065. padding: 0;
  1066. li {
  1067. padding: 0;
  1068. }
  1069. .wc-wizard-next-step-item {
  1070. display: flex;
  1071. border-top: 1px solid #eee;
  1072. &:first-child {
  1073. border-top: 0;
  1074. }
  1075. }
  1076. .wc-wizard-next-step-description {
  1077. flex-grow: 1;
  1078. margin: 1.5em;
  1079. }
  1080. .wc-wizard-next-step-action {
  1081. flex-grow: 0;
  1082. display: flex;
  1083. align-items: center;
  1084. .button {
  1085. margin: 1em 1.5em;
  1086. }
  1087. }
  1088. p {
  1089. &.next-step-heading {
  1090. margin: 0;
  1091. font-size: 0.95em;
  1092. font-weight: 400;
  1093. font-variant: all-petite-caps;
  1094. }
  1095. &.next-step-extra-info {
  1096. margin: 0;
  1097. }
  1098. }
  1099. h3 {
  1100. &.next-step-description {
  1101. margin: 0;
  1102. font-size: 16px;
  1103. font-weight: 600;
  1104. }
  1105. }
  1106. .wc-wizard-additional-steps {
  1107. border-top: 1px solid #eee;
  1108. .wc-wizard-next-step-description {
  1109. margin-bottom: 0;
  1110. }
  1111. .wc-setup-actions {
  1112. margin: 0 0 1.5em 0;
  1113. .button {
  1114. font-size: 15px;
  1115. margin: 1em 0 1em 1.5em;
  1116. }
  1117. }
  1118. }
  1119. }
  1120. p.next-steps-help-text {
  1121. color: #9f9f9f;
  1122. padding: 0 2em;
  1123. text-align: center;
  1124. font-size: 0.9em;
  1125. }
  1126. p.jetpack-terms {
  1127. font-size: 0.8em;
  1128. text-align: center;
  1129. max-width: 480px;
  1130. margin: 0 auto;
  1131. line-height: 1.5;
  1132. }
  1133. .woocommerce-error {
  1134. background: #ffe6e5;
  1135. border-color: #ffc5c2;
  1136. padding: 1em;
  1137. margin-bottom: 1em;
  1138. p {
  1139. margin-top: 0;
  1140. margin-bottom: 0.5em;
  1141. color: #444;
  1142. }
  1143. a {
  1144. color: #ff645c;
  1145. }
  1146. .reconnect-reminder {
  1147. font-size: 0.85em;
  1148. }
  1149. .wc-setup-actions .button {
  1150. font-size: 14px;
  1151. }
  1152. }
  1153. .wc-wizard-service-setting-stripe_create_account,
  1154. .wc-wizard-service-setting-ppec_paypal_reroute_requests {
  1155. display: flex;
  1156. align-items: flex-start;
  1157. .payment-checkbox-input {
  1158. order: 1;
  1159. margin-top: 5px;
  1160. margin-left: 0;
  1161. margin-right: 0;
  1162. }
  1163. .stripe_create_account,
  1164. .ppec_paypal_reroute_requests {
  1165. order: 2;
  1166. margin-left: 0.3em;
  1167. }
  1168. }
  1169. .branch-5-2,
  1170. .wc-wp-version-gte-53 {
  1171. .wc-wizard-service-setting-stripe_create_account,
  1172. .wc-wizard-service-setting-ppec_paypal_reroute_requests {
  1173. .payment-checkbox-input {
  1174. margin-top: 3px;
  1175. }
  1176. }
  1177. }
  1178. .wc-wizard-service-setting-stripe_email,
  1179. .wc-wizard-service-setting-ppec_paypal_email {
  1180. margin-top: 0.75em;
  1181. margin-left: 1.5em;
  1182. label.stripe_email,
  1183. label.ppec_paypal_email {
  1184. position: absolute;
  1185. margin: -1px;
  1186. padding: 0;
  1187. height: 1px;
  1188. width: 1px;
  1189. overflow: hidden;
  1190. clip: rect(0 0 0 0);
  1191. border: 0;
  1192. }
  1193. input.payment-email-input {
  1194. box-sizing: border-box;
  1195. margin-bottom: 0.5em;
  1196. width: 100%;
  1197. height: 32px;
  1198. }
  1199. }
  1200. .wc-setup-content .recommended-step {
  1201. border: 1px solid #ebebeb;
  1202. border-radius: 4px;
  1203. padding: 2.5em;
  1204. }
  1205. .wc-setup-content .recommended-item {
  1206. list-style: none;
  1207. margin-bottom: 1.5em;
  1208. &:last-child {
  1209. margin-bottom: 0; // Avoid extra space at the end of the list.
  1210. }
  1211. label {
  1212. display: flex;
  1213. align-items: center;
  1214. &::before,
  1215. &::after {
  1216. top: auto;
  1217. }
  1218. &::after {
  1219. margin-top: -1.5px;
  1220. }
  1221. }
  1222. .recommended-item-icon {
  1223. border: 1px solid #fff;
  1224. border-radius: 7px;
  1225. height: 3.5em;
  1226. margin-right: 1em;
  1227. margin-left: 4px;
  1228. &.recommended-item-icon-wc_admin {
  1229. background-color: #96588a;
  1230. padding: 0.5em;
  1231. height: 2em;
  1232. }
  1233. &.recommended-item-icon-storefront_theme {
  1234. background-color: #f4a224;
  1235. max-height: 3em;
  1236. max-width: 3em;
  1237. padding: ( 3.5em - 3em ) / 2;
  1238. }
  1239. &.recommended-item-icon-automated_taxes {
  1240. background-color: #d0011b;
  1241. max-height: 1.75em;
  1242. padding: ( 3.5em - 1.75em ) / 2;
  1243. }
  1244. &.recommended-item-icon-mailchimp {
  1245. background-color: #ffe01b;
  1246. height: 2em;
  1247. padding: ( 3.5em - 2em ) / 2;
  1248. }
  1249. &.recommended-item-icon-woocommerce_services {
  1250. background-color: #f0f0f0;
  1251. max-height: 1.5em;
  1252. padding: 1.3em 0.7em;
  1253. }
  1254. &.recommended-item-icon-shipstation {
  1255. background-color: #f0f0f0;
  1256. padding: 0.3em;
  1257. }
  1258. }
  1259. .recommended-item-description-container {
  1260. h3 {
  1261. font-size: 15px;
  1262. font-weight: 700;
  1263. letter-spacing: 0.5px;
  1264. margin-bottom: 0;
  1265. }
  1266. p {
  1267. margin-top: 0;
  1268. line-height: 1.5;
  1269. }
  1270. }
  1271. }
  1272. .wc-wizard-service-info {
  1273. padding: 1em 2em;
  1274. background-color: #fafafa;
  1275. }
  1276. .help_tip {
  1277. text-decoration: underline dotted;
  1278. }
  1279. @media only screen and (max-width: 400px) {
  1280. .wc-logo img {
  1281. max-width: 80%;
  1282. }
  1283. .wc-setup-steps {
  1284. display: none;
  1285. }
  1286. .store-address-container {
  1287. .city-and-postcode {
  1288. display: block;
  1289. div {
  1290. margin-right: 0;
  1291. }
  1292. }
  1293. }
  1294. .wc-wizard-service-item,
  1295. .wc-wizard-services-list-toggle {
  1296. flex-wrap: wrap;
  1297. .wc-wizard-service-enable {
  1298. order: 2;
  1299. padding: 20px 0 0;
  1300. }
  1301. .wc-wizard-service-description {
  1302. order: 3;
  1303. }
  1304. .wc-wizard-service-name {
  1305. padding: 20px 20px 0;
  1306. text-align: left;
  1307. justify-content: space-between !important;
  1308. img {
  1309. margin: 0;
  1310. }
  1311. }
  1312. }
  1313. .newsletter-form-container {
  1314. display: block;
  1315. .newsletter-form-email {
  1316. display: block;
  1317. box-sizing: border-box;
  1318. width: 100%;
  1319. margin-bottom: 10px;
  1320. }
  1321. .button.newsletter-form-button {
  1322. float: left;
  1323. }
  1324. }
  1325. .wc-wizard-next-steps .wc-wizard-next-step-item {
  1326. flex-wrap: wrap;
  1327. .wc-wizard-next-step-description {
  1328. margin-bottom: 0;
  1329. }
  1330. .wc-wizard-next-step-action {
  1331. p {
  1332. margin: 0;
  1333. }
  1334. }
  1335. }
  1336. }
  1337. /* stylelint-enable */