Нема описа

twenty-seventeen.scss 17KB

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