twenty-seventeen.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158
  1. /**
  2. * Twenty Seventeen integration styles
  3. */
  4. @import 'mixins';
  5. @import 'animation';
  6. /**
  7. * Fonts
  8. */
  9. @font-face {
  10. font-family: 'star';
  11. src: url('../fonts/star.eot');
  12. src: url('../fonts/star.eot?#iefix') format('embedded-opentype'),
  13. url('../fonts/star.woff') format('woff'),
  14. url('../fonts/star.ttf') format('truetype'),
  15. url('../fonts/star.svg#star') format('svg');
  16. font-weight: normal;
  17. font-style: normal;
  18. }
  19. @font-face {
  20. font-family: 'WooCommerce';
  21. src: url('../fonts/WooCommerce.eot');
  22. src: url('../fonts/WooCommerce.eot?#iefix') format('embedded-opentype'),
  23. url('../fonts/WooCommerce.woff') format('woff'),
  24. url('../fonts/WooCommerce.ttf') format('truetype'),
  25. url('../fonts/WooCommerce.svg#WooCommerce') format('svg');
  26. font-weight: normal;
  27. font-style: normal;
  28. }
  29. /**
  30. * Mixins
  31. */
  32. @mixin link() {
  33. box-shadow: 0 1px 0 rgba(15, 15, 15, 1);
  34. transition: box-shadow ease-in-out 130ms;
  35. &:hover {
  36. box-shadow: 0 3px 0 rgba(15, 15, 15, 1);
  37. }
  38. }
  39. @mixin link_white() {
  40. color: #fff;
  41. box-shadow: 0 1px 0 rgba(#fff, 1) !important;
  42. transition: box-shadow ease-in-out 130ms;
  43. &:hover {
  44. color: #fff !important;
  45. box-shadow: 0 3px 0 rgba(#fff, 1) !important;
  46. }
  47. }
  48. /**
  49. * Global elements
  50. */
  51. .woocommerce {
  52. .blockUI.blockOverlay {
  53. position: relative;
  54. @include loader();
  55. }
  56. .loader {
  57. @include loader();
  58. }
  59. form .form-row {
  60. .required {
  61. color: firebrick;
  62. text-decoration: none;
  63. visibility: hidden; // Only show optional by default.
  64. &[title] {
  65. border: 0 !important;
  66. }
  67. }
  68. .optional {
  69. visibility: visible;
  70. }
  71. }
  72. }
  73. .woocommerce-breadcrumb {
  74. padding-bottom: 2em;
  75. margin-bottom: 4em;
  76. border-bottom: 1px solid #eee;
  77. font-size: 13px;
  78. font-size: 0.8125rem;
  79. a {
  80. @include link();
  81. }
  82. }
  83. .woocommerce-pagination {
  84. padding-top: 2em;
  85. margin-top: 4em;
  86. border-top: 1px solid #eee;
  87. font-size: 13px;
  88. font-size: 0.8125rem;
  89. ul.page-numbers {
  90. padding: 0;
  91. display: block;
  92. }
  93. span.page-numbers,
  94. a.page-numbers,
  95. .next.page-numbers,
  96. .prev.page-numbers {
  97. padding: 0.5em 1em;
  98. background: #ddd;
  99. display: inline-block;
  100. font-size: 1em;
  101. float: none;
  102. line-height: 1.5;
  103. border-radius: 2px;
  104. transition: background-color ease-in-out .3s;
  105. }
  106. span.page-numbers {
  107. background-color: #fff;
  108. }
  109. a.page-numbers:hover {
  110. background-color: #767676;
  111. color: #fff;
  112. }
  113. }
  114. .onsale {
  115. background-color: #fff;
  116. position: absolute;
  117. top: 0;
  118. left: 0;
  119. display: inline-block;
  120. padding: .5em 1em;
  121. font-size: 13px;
  122. font-size: 0.8125rem;
  123. text-transform: uppercase;
  124. font-weight: 800;
  125. }
  126. .price {
  127. del {
  128. opacity: .5;
  129. display: inline-block;
  130. }
  131. ins {
  132. display: inline-block;
  133. }
  134. }
  135. .woocommerce-message,
  136. .woocommerce-error,
  137. .woocommerce-info {
  138. margin-bottom: 1.5em;
  139. padding: 2em;
  140. background: #eee;
  141. }
  142. .woocommerce-message {
  143. background: teal;
  144. color: #fff;
  145. }
  146. .woocommerce-error {
  147. background: firebrick;
  148. color: #fff;
  149. }
  150. .woocommerce-info {
  151. background: royalblue;
  152. color: #fff;
  153. }
  154. .woocommerce-message,
  155. .woocommerce-error,
  156. .woocommerce-info {
  157. a {
  158. @include link_white();
  159. }
  160. }
  161. .woocommerce-store-notice {
  162. background: royalblue;
  163. color: #fff;
  164. padding: 1em;
  165. position: absolute;
  166. top: 0;
  167. left: 0;
  168. width: 100%;
  169. z-index: 999;
  170. }
  171. .admin-bar .woocommerce-store-notice {
  172. top: 32px;
  173. }
  174. .woocommerce-store-notice__dismiss-link {
  175. float: right;
  176. color: #fff;
  177. &:hover {
  178. text-decoration: underline;
  179. color: #fff;
  180. }
  181. }
  182. /**
  183. * Shop page
  184. */
  185. .woocommerce-result-count {
  186. padding: .75em 0;
  187. }
  188. /**
  189. * Products
  190. */
  191. ul.products {
  192. li.product {
  193. list-style: none;
  194. .price,
  195. .star-rating {
  196. display: block;
  197. margin-bottom: .75em;
  198. }
  199. .button {
  200. @include link();
  201. &.loading {
  202. opacity: .5;
  203. }
  204. }
  205. .added_to_cart {
  206. @include link();
  207. margin-left: .5em;
  208. }
  209. }
  210. }
  211. .star-rating {
  212. overflow: hidden;
  213. position: relative;
  214. height: 1em;
  215. line-height: 1;
  216. font-size: 1em;
  217. width: 5.4em;
  218. font-family: 'star';
  219. &::before {
  220. content: '\73\73\73\73\73';
  221. float: left;
  222. top: 0;
  223. left: 0;
  224. position: absolute;
  225. }
  226. span {
  227. overflow: hidden;
  228. float: left;
  229. top: 0;
  230. left: 0;
  231. position: absolute;
  232. padding-top: 1.5em;
  233. }
  234. span::before {
  235. content: '\53\53\53\53\53';
  236. top: 0;
  237. position: absolute;
  238. left: 0;
  239. }
  240. }
  241. .woocommerce-loop-product__title {
  242. font-size: 13px;
  243. font-size: 0.8125rem;
  244. text-transform: uppercase;
  245. font-weight: 800;
  246. letter-spacing: 0.15em;
  247. }
  248. a.remove {
  249. display: inline-block;
  250. width: 16px;
  251. height: 16px;
  252. line-height: 16px;
  253. font-size: 16px;
  254. text-align: center;
  255. border-radius: 100%;
  256. box-shadow: none !important;
  257. border: 1px solid #000;
  258. &:hover {
  259. background: #000;
  260. color: #fff !important;
  261. }
  262. }
  263. dl.variation, .wc-item-meta {
  264. list-style: none outside;
  265. dt, .wc-item-meta-label {
  266. float: left;
  267. clear: both;
  268. margin-right: .25em;
  269. display: inline-block;
  270. list-style: none outside;
  271. }
  272. dd {
  273. margin: 0;
  274. }
  275. p,
  276. &:last-child {
  277. margin-bottom: 0;
  278. }
  279. }
  280. /**
  281. * Single product
  282. */
  283. .single-product {
  284. div.product {
  285. position: relative;
  286. }
  287. .single-featured-image-header {
  288. display: none;
  289. }
  290. .summary {
  291. margin-bottom: 3em;
  292. p.price {
  293. margin-bottom: 2em;
  294. }
  295. }
  296. .woocommerce-product-rating {
  297. margin-bottom: 2em;
  298. line-height: 1;
  299. .star-rating {
  300. float: left;
  301. margin-right: .25em;
  302. }
  303. }
  304. form.cart {
  305. .quantity {
  306. float: left;
  307. margin-right: .5em;
  308. }
  309. input {
  310. width: 5em;
  311. }
  312. }
  313. .woocommerce-variation-add-to-cart {
  314. .button {
  315. padding-top: .72em;
  316. padding-bottom: .72em;
  317. }
  318. .button.disabled {
  319. opacity: 0.2;
  320. }
  321. }
  322. }
  323. table.variations {
  324. label {
  325. margin: 0;
  326. }
  327. select {
  328. margin-right: .5em;
  329. }
  330. }
  331. .woocommerce-product-gallery {
  332. position: relative;
  333. margin-bottom: 3em;
  334. figure {
  335. margin: 0;
  336. padding: 0;
  337. }
  338. .woocommerce-product-gallery__wrapper {
  339. margin: 0;
  340. padding: 0;
  341. }
  342. .zoomImg {
  343. background-color: #fff;
  344. opacity: 0;
  345. }
  346. .woocommerce-product-gallery__image:nth-child(n+2) {
  347. width: 25%;
  348. display: inline-block;
  349. }
  350. .flex-control-thumbs {
  351. li {
  352. list-style: none;
  353. cursor: pointer;
  354. float: left;
  355. }
  356. img {
  357. opacity: .5;
  358. &:hover,
  359. &.flex-active {
  360. opacity: 1;
  361. }
  362. }
  363. }
  364. img {
  365. display: block;
  366. height: auto;
  367. }
  368. }
  369. .woocommerce-product-gallery--columns-3 {
  370. .flex-control-thumbs li {
  371. width: 33.3333%;
  372. }
  373. .flex-control-thumbs li:nth-child(3n+1) {
  374. clear: left;
  375. }
  376. }
  377. .woocommerce-product-gallery--columns-4 {
  378. .flex-control-thumbs li {
  379. width: 25%;
  380. }
  381. .flex-control-thumbs li:nth-child(4n+1) {
  382. clear: left;
  383. }
  384. }
  385. .woocommerce-product-gallery--columns-5 {
  386. .flex-control-thumbs li {
  387. width: 20%;
  388. }
  389. .flex-control-thumbs li:nth-child(5n+1) {
  390. clear: left;
  391. }
  392. }
  393. .woocommerce-product-gallery__trigger {
  394. position: absolute;
  395. top: 1em;
  396. right: 1em;
  397. z-index: 99;
  398. }
  399. .woocommerce-tabs {
  400. margin-bottom: 2em;
  401. li {
  402. margin-right: 1em;
  403. &.active {
  404. a {
  405. box-shadow: 0 3px 0 rgba(15, 15, 15, 1);
  406. }
  407. }
  408. }
  409. a {
  410. @include link();
  411. }
  412. #comments {
  413. padding-top: 0;
  414. }
  415. .comment-reply-title {
  416. font-size: 22px;
  417. font-size: 1.375rem;
  418. font-weight: 300;
  419. line-height: 1.4;
  420. margin: 0 0 0.75em;
  421. display: block;
  422. }
  423. #reviews {
  424. li.review,
  425. li.comment {
  426. list-style: none;
  427. margin-right: 0;
  428. margin-bottom: 2.5em;
  429. .avatar {
  430. max-height: 36px;
  431. width: auto;
  432. float: right;
  433. }
  434. p.meta {
  435. margin-bottom: .5em;
  436. }
  437. }
  438. p.stars {
  439. a {
  440. position: relative;
  441. height: 1em;
  442. width: 1em;
  443. text-indent: -999em;
  444. display: inline-block;
  445. text-decoration: none;
  446. box-shadow: none;
  447. &::before {
  448. display: block;
  449. position: absolute;
  450. top: 0;
  451. left: 0;
  452. width: 1em;
  453. height: 1em;
  454. line-height: 1;
  455. font-family: 'WooCommerce';
  456. content: '\e021';
  457. text-indent: 0;
  458. }
  459. &:hover {
  460. ~ a::before {
  461. content: '\e021';
  462. }
  463. }
  464. }
  465. &:hover {
  466. a {
  467. &::before {
  468. content: '\e020';
  469. }
  470. }
  471. }
  472. &.selected {
  473. a.active {
  474. &::before {
  475. content: '\e020';
  476. }
  477. ~ a::before {
  478. content: '\e021';
  479. }
  480. }
  481. a:not( .active ) {
  482. &::before {
  483. content: '\e020';
  484. }
  485. }
  486. }
  487. }
  488. }
  489. }
  490. /**
  491. * Widgets
  492. */
  493. .widget .product_list_widget,
  494. .site-footer .widget .product_list_widget {
  495. margin-bottom: 1.5em;
  496. a {
  497. display: block;
  498. box-shadow: none;
  499. &:hover {
  500. box-shadow: none;
  501. }
  502. }
  503. li {
  504. padding: 1.5em 0;
  505. a.remove {
  506. float: right;
  507. margin-top: 2px;
  508. }
  509. }
  510. img {
  511. display: none;
  512. }
  513. }
  514. .widget_shopping_cart {
  515. .buttons {
  516. a {
  517. display: inline-block;
  518. margin: 0 .5em 0 0;
  519. }
  520. }
  521. }
  522. .widget_layered_nav {
  523. .chosen {
  524. &:before {
  525. content: "×";
  526. display: inline-block;
  527. width: 16px;
  528. height: 16px;
  529. line-height: 16px;
  530. font-size: 16px;
  531. text-align: center;
  532. border-radius: 100%;
  533. border: 1px solid black;
  534. margin-right: .25em;
  535. }
  536. }
  537. }
  538. .widget_price_filter {
  539. .price_slider {
  540. margin-bottom: 1em;
  541. }
  542. .price_slider_amount {
  543. text-align: right;
  544. line-height: 2.4;
  545. font-size: 0.8751em;
  546. .button {
  547. float: left;
  548. padding: .4em 1em;
  549. }
  550. }
  551. .ui-slider {
  552. position: relative;
  553. text-align: left;
  554. margin-left: 0.5em;
  555. margin-right: 0.5em;
  556. }
  557. .ui-slider .ui-slider-handle {
  558. position: absolute;
  559. z-index: 2;
  560. width: 1em;
  561. height: 1em;
  562. background-color: #000;
  563. border-radius: 1em;
  564. cursor: ew-resize;
  565. outline: none;
  566. top: -0.3em;
  567. margin-left: -0.5em;
  568. }
  569. .ui-slider .ui-slider-range {
  570. position: absolute;
  571. z-index: 1;
  572. font-size: 0.7em;
  573. display: block;
  574. border: 0;
  575. border-radius: 1em;
  576. background-color: #000;
  577. }
  578. .price_slider_wrapper .ui-widget-content {
  579. border-radius: 1em;
  580. background-color: #666;
  581. border: 0;
  582. }
  583. .ui-slider-horizontal {
  584. height: 0.5em;
  585. }
  586. .ui-slider-horizontal .ui-slider-range {
  587. top: 0;
  588. height: 100%;
  589. }
  590. .ui-slider-horizontal .ui-slider-range-min {
  591. left: -1px;
  592. }
  593. .ui-slider-horizontal .ui-slider-range-max {
  594. right: -1px;
  595. }
  596. }
  597. .widget_rating_filter {
  598. li {
  599. text-align: right;
  600. .star-rating {
  601. float: left;
  602. margin-top: .3em;
  603. }
  604. }
  605. }
  606. .widget_product_search {
  607. form {
  608. position: relative;
  609. }
  610. .search-field {
  611. padding-right: 100px;
  612. }
  613. input[type=submit] {
  614. position: absolute;
  615. top: .5em;
  616. right: .5em;
  617. padding-left: 1em;
  618. padding-right: 1em;
  619. }
  620. }
  621. /**
  622. * Account section
  623. */
  624. .woocommerce-account {
  625. .woocommerce-MyAccount-navigation {
  626. float: right;
  627. width: 25%;
  628. border-top: 1px solid #ddd;
  629. li {
  630. list-style: none;
  631. padding: .5em 0;
  632. border-bottom: 1px solid #ddd;
  633. a {
  634. box-shadow: none;
  635. &:hover {
  636. box-shadow: 0 3px 0 rgba(15, 15, 15, 1);
  637. }
  638. }
  639. &:before {
  640. content: "→";
  641. display: inline-block;
  642. margin-right: .25em;
  643. color: #ddd;
  644. }
  645. &.is-active {
  646. a {
  647. box-shadow: 0 3px 0 rgba(15, 15, 15, 1);
  648. }
  649. }
  650. }
  651. }
  652. .woocommerce-MyAccount-content {
  653. float: left;
  654. }
  655. }
  656. /**
  657. * Cart
  658. */
  659. .woocommerce-cart-form {
  660. td {
  661. padding: 1em .5em;
  662. }
  663. img {
  664. max-width: 42px;
  665. height: auto;
  666. display: block;
  667. }
  668. dl.variation {
  669. margin-top: 0;
  670. p,
  671. &:last-child {
  672. margin-bottom: 0;
  673. }
  674. }
  675. .button {
  676. padding: 1.2em 2em;
  677. }
  678. .actions {
  679. .input-text {
  680. width: 130px !important;
  681. float: left;
  682. margin-right: .25em;
  683. }
  684. }
  685. .quantity {
  686. input {
  687. width: 4em;
  688. }
  689. }
  690. }
  691. #shipping_method {
  692. list-style: none;
  693. margin-top: 1em;
  694. li {
  695. margin-bottom: .5em;
  696. input {
  697. float: left;
  698. }
  699. label {
  700. line-height: 1.15;
  701. }
  702. }
  703. }
  704. .checkout-button {
  705. display: block;
  706. padding: 1em 2em;
  707. border: 2px solid #000;
  708. text-align: center;
  709. font-weight: 800;
  710. box-shadow: none !important;
  711. &:hover {
  712. box-shadow: none !important;
  713. border-color: #999;
  714. }
  715. &:after {
  716. content: "→";
  717. }
  718. }
  719. /**
  720. * Checkout
  721. */
  722. #ship-to-different-address {
  723. label {
  724. font-weight: 300;
  725. cursor: pointer;
  726. span {
  727. position: relative;
  728. display: block;
  729. &:before {
  730. content: "";
  731. display: block;
  732. height: 16px;
  733. width: 30px;
  734. border: 2px solid #bbb;
  735. background: #bbb;
  736. border-radius: 13em;
  737. box-sizing: content-box;
  738. transition: all ease-in-out .3s;
  739. position: absolute;
  740. top: 4px;
  741. right: 0;
  742. }
  743. &:after {
  744. content: "";
  745. display: block;
  746. width: 14px;
  747. height: 14px;
  748. background: white;
  749. position: absolute;
  750. top: 7px;
  751. right: 17px;
  752. border-radius: 13em;
  753. transition: all ease-in-out .3s;
  754. }
  755. }
  756. input[type=checkbox] {
  757. display: none;
  758. }
  759. input[type=checkbox]:checked + span:after {
  760. right: 3px;
  761. }
  762. input[type=checkbox]:checked + span:before {
  763. border-color: #000;
  764. background: #000;
  765. }
  766. }
  767. }
  768. .woocommerce-no-js {
  769. form.woocommerce-form-login,
  770. form.woocommerce-form-coupon {
  771. display: block !important;
  772. }
  773. .woocommerce-form-login-toggle,
  774. .woocommerce-form-coupon-toggle,
  775. .showcoupon {
  776. display: none !important;
  777. }
  778. }
  779. .woocommerce-terms-and-conditions {
  780. border: 1px solid rgba(0,0,0,.2);
  781. box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
  782. background: rgba(0,0,0,.05);
  783. }
  784. .woocommerce-terms-and-conditions-link {
  785. display: inline-block;
  786. &:after {
  787. content: "";
  788. display: inline-block;
  789. border-style: solid;
  790. margin-bottom: 2px;
  791. margin-left: .25em;
  792. border-width: 6px 6px 0 6px;
  793. border-color: #111 transparent transparent transparent;
  794. }
  795. &.woocommerce-terms-and-conditions-link--open:after {
  796. border-width: 0 6px 6px 6px;
  797. border-color: transparent transparent #111 transparent;
  798. }
  799. }
  800. .woocommerce-checkout {
  801. .woocommerce-input-wrapper {
  802. .description {
  803. background: royalblue;
  804. color: #fff;
  805. border-radius: 3px;
  806. padding: 1em;
  807. margin: .5em 0 0;
  808. clear: both;
  809. display: none;
  810. position: relative;
  811. a {
  812. color: #fff;
  813. text-decoration: underline;
  814. border: 0;
  815. box-shadow: none;
  816. }
  817. &:before {
  818. left: 50%;
  819. top: 0%;
  820. margin-top: -4px;
  821. transform: translatex(-50%) rotate(180deg);
  822. content: "";
  823. position: absolute;
  824. border-width: 4px 6px 0 6px;
  825. border-style: solid;
  826. border-color: royalblue transparent transparent transparent;
  827. z-index: 100;
  828. display: block;
  829. }
  830. }
  831. }
  832. .select2-choice,
  833. .select2-choice:hover {
  834. box-shadow: none !important;
  835. }
  836. .select2-choice {
  837. padding: .7em 0 .7em .7em;
  838. }
  839. .select2-container .select2-selection--single {
  840. height: 48px;
  841. }
  842. .select2-container .select2-selection--single .select2-selection__rendered {
  843. line-height: 48px;
  844. }
  845. .select2-container--default .select2-selection--single .select2-selection__arrow {
  846. height: 46px;
  847. }
  848. .select2-container--focus .select2-selection {
  849. border-color: black;
  850. }
  851. }
  852. .woocommerce-checkout-review-order-table {
  853. td {
  854. padding: 1em .5em;
  855. }
  856. dl.variation {
  857. margin: 0;
  858. p {
  859. margin: 0;
  860. }
  861. }
  862. }
  863. .wc_payment_method {
  864. list-style: none;
  865. border-bottom: 1px solid #ddd;
  866. .payment_box {
  867. padding: 2em;
  868. background: #eee;
  869. ul,
  870. ol {
  871. &:last-of-type {
  872. margin-bottom: 0;
  873. }
  874. }
  875. fieldset {
  876. padding: 1.5em;
  877. padding-bottom: 0;
  878. border: 0;
  879. background: #f6f6f6;
  880. }
  881. li {
  882. list-style: none;
  883. }
  884. p:last-child {
  885. margin-bottom: 0;
  886. }
  887. }
  888. > label:first-of-type {
  889. margin: 1em 0;
  890. img {
  891. max-height: 24px;
  892. max-width: 200px;
  893. float: right;
  894. }
  895. }
  896. label {
  897. cursor: pointer;
  898. }
  899. input.input-radio[name=payment_method] {
  900. display: none;
  901. & + label {
  902. &:before {
  903. content: "";
  904. display: inline-block;
  905. width: 16px;
  906. height: 16px;
  907. border: 2px solid white;
  908. box-shadow: 0 0 0 2px black;
  909. background: white;
  910. margin-left: 4px;
  911. margin-right: .5em;
  912. border-radius: 100%;
  913. transform: translateY(2px);
  914. }
  915. }
  916. &:checked + label {
  917. &:before {
  918. background: black;
  919. }
  920. }
  921. }
  922. }
  923. .colors-dark {
  924. .page-numbers {
  925. color: #444;
  926. &.next, &.prev {
  927. color: #ddd;
  928. }
  929. }
  930. .checkout-button {
  931. border: 2px solid #555;
  932. &:hover {
  933. border-color: #fff;
  934. }
  935. }
  936. .wc_payment_method {
  937. .payment_box {
  938. background: #333;
  939. }
  940. }
  941. .select2-container--default {
  942. .select2-results {
  943. .select2-results__options {
  944. background:#333;
  945. }
  946. .select2-results__option[data-selected="true"]{
  947. color: #333;
  948. }
  949. }
  950. .select2-selection--single {
  951. background-color: #333;
  952. border: 1px solid #555;
  953. .select2-selection__rendered {
  954. color: #ccc;
  955. }
  956. }
  957. }
  958. .select2-container--focus .select2-selection {
  959. border-color: white;
  960. }
  961. }
  962. /**
  963. * Layout stuff
  964. */
  965. @media screen and (min-width: 48em) {
  966. .has-sidebar.woocommerce-page:not(.error404) {
  967. #primary {
  968. width: 74%;
  969. }
  970. #secondary {
  971. width: 20%;
  972. }
  973. }
  974. body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-header,
  975. body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-header,
  976. body.page-two-column.woocommerce-account:not(.archive) #primary .entry-header {
  977. width: 16%;
  978. }
  979. body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-content,
  980. body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-content,
  981. body.page-two-column.woocommerce-account:not(.archive) #primary .entry-content {
  982. width: 78%;
  983. }
  984. }