woocommerce.scss 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218
  1. /**
  2. * woocommerce.scss
  3. * Governs the general look and feel of WooCommerce sections of stores using themes that do not
  4. * integrate with WooCommerce specifically.
  5. */
  6. /**
  7. * Imports
  8. */
  9. @import 'mixins';
  10. @import 'variables';
  11. @import 'animation';
  12. @import 'fonts';
  13. /**
  14. * Global styles
  15. */
  16. p.demo_store,
  17. .woocommerce-store-notice {
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. right: 0;
  22. margin: 0;
  23. width: 100%;
  24. font-size: 1em;
  25. padding: 1em 0;
  26. text-align: center;
  27. background-color: $primary;
  28. color: $primarytext;
  29. z-index: 99998;
  30. box-shadow: 0 1px 1em rgba(0, 0, 0, 0.2);
  31. display: none;
  32. a {
  33. color: $primarytext;
  34. text-decoration: underline;
  35. }
  36. }
  37. .screen-reader-text {
  38. clip: rect(1px, 1px, 1px, 1px);
  39. height: 1px;
  40. overflow: hidden;
  41. position: absolute !important;
  42. width: 1px;
  43. word-wrap: normal !important;
  44. }
  45. .admin-bar p.demo_store {
  46. top: 32px;
  47. }
  48. /**
  49. * Utility classes
  50. */
  51. .clear {
  52. clear: both;
  53. }
  54. /**
  55. * Main WooCommerce styles
  56. */
  57. .woocommerce {
  58. .blockUI.blockOverlay {
  59. position: relative;
  60. @include loader();
  61. }
  62. .loader {
  63. @include loader();
  64. }
  65. a.remove {
  66. display: block;
  67. font-size: 1.5em;
  68. height: 1em;
  69. width: 1em;
  70. text-align: center;
  71. line-height: 1;
  72. border-radius: 100%;
  73. color: red !important; // Required for default theme compatibility
  74. text-decoration: none;
  75. font-weight: 700;
  76. border: 0;
  77. &:hover {
  78. color: #fff !important; // Required for default theme compatibility
  79. background: red;
  80. }
  81. }
  82. small.note {
  83. display: block;
  84. color: $subtext;
  85. font-size: 0.857em;
  86. margin-top: 10px;
  87. }
  88. .woocommerce-breadcrumb {
  89. @include clearfix();
  90. margin: 0 0 1em;
  91. padding: 0;
  92. font-size: 0.92em;
  93. color: $subtext;
  94. a {
  95. color: $subtext;
  96. }
  97. }
  98. .quantity .qty {
  99. width: 3.631em;
  100. text-align: center;
  101. }
  102. /**
  103. * Product Page
  104. */
  105. div.product {
  106. margin-bottom: 0;
  107. position: relative;
  108. .product_title {
  109. clear: none;
  110. margin-top: 0;
  111. padding: 0;
  112. }
  113. span.price,
  114. p.price {
  115. color: $highlight;
  116. font-size: 1.25em;
  117. ins {
  118. background: inherit;
  119. font-weight: 700;
  120. display: inline-block;
  121. }
  122. del {
  123. opacity: 0.5;
  124. display: inline-block;
  125. }
  126. }
  127. p.stock {
  128. font-size: 0.92em;
  129. }
  130. .stock {
  131. color: $highlight;
  132. }
  133. .out-of-stock {
  134. color: red;
  135. }
  136. .woocommerce-product-rating {
  137. margin-bottom: 1.618em;
  138. }
  139. div.images {
  140. margin-bottom: 2em;
  141. img {
  142. display: block;
  143. width: 100%;
  144. height: auto;
  145. box-shadow: none;
  146. }
  147. div.thumbnails {
  148. padding-top: 1em;
  149. }
  150. &.woocommerce-product-gallery {
  151. position: relative;
  152. }
  153. .woocommerce-product-gallery__wrapper {
  154. transition: all cubic-bezier(0.795, -0.035, 0.000, 1.000) .5s;
  155. margin: 0;
  156. padding: 0;
  157. }
  158. .woocommerce-product-gallery__wrapper .zoomImg {
  159. background-color: #fff;
  160. opacity: 0;
  161. }
  162. .woocommerce-product-gallery__image:nth-child(n+2) {
  163. width: 25%;
  164. display: inline-block;
  165. }
  166. .woocommerce-product-gallery__trigger {
  167. position: absolute;
  168. top: .5em;
  169. right: .5em;
  170. font-size: 2em;
  171. z-index: 9;
  172. width: 36px;
  173. height: 36px;
  174. background: #fff;
  175. text-indent: -9999px;
  176. border-radius: 100%;
  177. box-sizing: content-box;
  178. &:before {
  179. content: "";
  180. display: block;
  181. width: 10px;
  182. height: 10px;
  183. border: 2px solid #000;
  184. border-radius: 100%;
  185. position: absolute;
  186. top: 9px;
  187. left: 9px;
  188. box-sizing: content-box;
  189. }
  190. &:after {
  191. content: "";
  192. display: block;
  193. width: 2px;
  194. height: 8px;
  195. background: #000;
  196. border-radius: 6px;
  197. position: absolute;
  198. top: 19px;
  199. left: 22px;
  200. transform: rotate(-45deg);
  201. box-sizing: content-box;
  202. }
  203. }
  204. .flex-control-thumbs {
  205. overflow: hidden;
  206. zoom: 1;
  207. margin: 0;
  208. padding: 0;
  209. li {
  210. width: 25%;
  211. float: left;
  212. margin: 0;
  213. list-style: none;
  214. img {
  215. cursor: pointer;
  216. opacity: .5;
  217. margin: 0;
  218. &.flex-active,
  219. &:hover {
  220. opacity: 1;
  221. }
  222. }
  223. }
  224. }
  225. }
  226. .woocommerce-product-gallery--columns-3 {
  227. .flex-control-thumbs li:nth-child(3n+1) {
  228. clear: left;
  229. }
  230. }
  231. .woocommerce-product-gallery--columns-4 {
  232. .flex-control-thumbs li:nth-child(4n+1) {
  233. clear: left;
  234. }
  235. }
  236. .woocommerce-product-gallery--columns-5 {
  237. .flex-control-thumbs li:nth-child(5n+1) {
  238. clear: left;
  239. }
  240. }
  241. div.summary {
  242. margin-bottom: 2em;
  243. }
  244. div.social {
  245. text-align: right;
  246. margin: 0 0 1em;
  247. span {
  248. margin: 0 0 0 2px;
  249. span {
  250. margin: 0;
  251. }
  252. .stButton .chicklets {
  253. padding-left: 16px;
  254. width: 0;
  255. }
  256. }
  257. iframe {
  258. float: left;
  259. margin-top: 3px;
  260. }
  261. }
  262. .woocommerce-tabs {
  263. ul.tabs {
  264. list-style: none;
  265. padding: 0 0 0 1em;
  266. margin: 0 0 1.618em;
  267. overflow: hidden;
  268. position: relative;
  269. li {
  270. border: 1px solid darken( $secondary, 10% );
  271. background-color: $secondary;
  272. display: inline-block;
  273. position: relative;
  274. z-index: 0;
  275. border-radius: 4px 4px 0 0;
  276. margin: 0 -5px;
  277. padding: 0 1em;
  278. a {
  279. display: inline-block;
  280. padding: 0.5em 0;
  281. font-weight: 700;
  282. color: $secondarytext;
  283. text-decoration: none;
  284. &:hover {
  285. text-decoration: none;
  286. color: lighten( $secondarytext, 10% );
  287. }
  288. }
  289. &.active {
  290. background: $contentbg;
  291. z-index: 2;
  292. border-bottom-color: $contentbg;
  293. a {
  294. color: inherit;
  295. text-shadow: inherit;
  296. }
  297. &::before {
  298. box-shadow: 2px 2px 0 $contentbg;
  299. }
  300. &::after {
  301. box-shadow: -2px 2px 0 $contentbg;
  302. }
  303. }
  304. &::before,
  305. &::after {
  306. border: 1px solid darken( $secondary, 10% );
  307. position: absolute;
  308. bottom: -1px;
  309. width: 5px;
  310. height: 5px;
  311. content: ' ';
  312. box-sizing: border-box;
  313. }
  314. &::before {
  315. left: -5px;
  316. border-bottom-right-radius: 4px;
  317. border-width: 0 1px 1px 0;
  318. box-shadow: 2px 2px 0 $secondary;
  319. }
  320. &::after {
  321. right: -5px;
  322. border-bottom-left-radius: 4px;
  323. border-width: 0 0 1px 1px;
  324. box-shadow: -2px 2px 0 $secondary;
  325. }
  326. }
  327. &::before {
  328. position: absolute;
  329. content: ' ';
  330. width: 100%;
  331. bottom: 0;
  332. left: 0;
  333. border-bottom: 1px solid darken( $secondary, 10% );
  334. z-index: 1;
  335. }
  336. }
  337. .panel {
  338. margin: 0 0 2em;
  339. padding: 0;
  340. }
  341. }
  342. p.cart {
  343. margin-bottom: 2em;
  344. @include clearfix();
  345. }
  346. form.cart {
  347. margin-bottom: 2em;
  348. @include clearfix();
  349. div.quantity {
  350. float: left;
  351. margin: 0 4px 0 0;
  352. }
  353. table {
  354. border-width: 0 0 1px;
  355. td {
  356. padding-left: 0;
  357. }
  358. div.quantity {
  359. float: none;
  360. margin: 0;
  361. }
  362. small.stock {
  363. display: block;
  364. float: none;
  365. }
  366. }
  367. .variations {
  368. margin-bottom: 1em;
  369. border: 0;
  370. width: 100%;
  371. td,
  372. th {
  373. border: 0;
  374. vertical-align: top;
  375. line-height: 2em;
  376. }
  377. label {
  378. font-weight: 700;
  379. }
  380. select {
  381. max-width: 100%;
  382. min-width: 75%;
  383. display: inline-block;
  384. margin-right: 1em;
  385. }
  386. td.label {
  387. padding-right: 1em;
  388. }
  389. }
  390. .woocommerce-variation-description p {
  391. margin-bottom: 1em;
  392. }
  393. .reset_variations {
  394. visibility: hidden;
  395. font-size: 0.83em;
  396. }
  397. .wc-no-matching-variations {
  398. display: none;
  399. }
  400. .button {
  401. vertical-align: middle;
  402. float: left;
  403. }
  404. .group_table {
  405. td.woocommerce-grouped-product-list-item__label {
  406. padding-right: 1em;
  407. padding-left: 1em;
  408. }
  409. td {
  410. vertical-align: top;
  411. padding-bottom: 0.5em;
  412. border: 0;
  413. }
  414. td:first-child {
  415. width: 4em;
  416. text-align: center;
  417. }
  418. .wc-grouped-product-add-to-cart-checkbox {
  419. display: inline-block;
  420. width: auto;
  421. margin: 0 auto;
  422. transform:scale(1.5, 1.5);
  423. }
  424. }
  425. }
  426. }
  427. span.onsale {
  428. min-height: 3.236em;
  429. min-width: 3.236em;
  430. padding: 0.202em;
  431. font-size: 1em;
  432. font-weight: 700;
  433. position: absolute;
  434. text-align: center;
  435. line-height: 3.236;
  436. top: -0.5em;
  437. left: -0.5em;
  438. margin: 0;
  439. border-radius: 100%;
  440. background-color: $highlight;
  441. color: $highlightext;
  442. font-size: 0.857em;
  443. z-index: 9;
  444. }
  445. /**
  446. * Product loops
  447. */
  448. .products ul,
  449. ul.products {
  450. margin: 0 0 1em;
  451. padding: 0;
  452. list-style: none outside;
  453. clear: both;
  454. @include clearfix();
  455. li {
  456. list-style: none outside;
  457. }
  458. }
  459. ul.products li.product {
  460. .onsale {
  461. top: 0;
  462. right: 0;
  463. left: auto;
  464. margin: -0.5em -0.5em 0 0;
  465. }
  466. h3,
  467. .woocommerce-loop-product__title,
  468. .woocommerce-loop-category__title {
  469. padding: 0.5em 0;
  470. margin: 0;
  471. font-size: 1em;
  472. }
  473. a {
  474. text-decoration: none;
  475. }
  476. a img {
  477. width: 100%;
  478. height: auto;
  479. display: block;
  480. margin: 0 0 1em;
  481. box-shadow: none;
  482. }
  483. strong {
  484. display: block;
  485. }
  486. .star-rating {
  487. font-size: 0.857em;
  488. }
  489. .button {
  490. margin-top: 1em;
  491. }
  492. .price {
  493. color: $highlight;
  494. display: block;
  495. font-weight: normal;
  496. margin-bottom: 0.5em;
  497. font-size: 0.857em;
  498. del {
  499. color: inherit;
  500. opacity: 0.5;
  501. display: inline-block;
  502. }
  503. ins {
  504. background: none;
  505. font-weight: 700;
  506. display: inline-block;
  507. }
  508. .from {
  509. font-size: 0.67em;
  510. margin: -2px 0 0 0;
  511. text-transform: uppercase;
  512. color: rgba(desaturate($highlight, 75%), 0.5);
  513. }
  514. }
  515. }
  516. .woocommerce-result-count {
  517. margin: 0 0 1em;
  518. }
  519. .woocommerce-ordering {
  520. margin: 0 0 1em;
  521. select {
  522. vertical-align: top;
  523. }
  524. }
  525. nav.woocommerce-pagination {
  526. text-align: center;
  527. ul {
  528. display: inline-block;
  529. white-space: nowrap;
  530. padding: 0;
  531. clear: both;
  532. border: 1px solid darken( $secondary, 10% );
  533. border-right: 0;
  534. margin: 1px;
  535. li {
  536. border-right: 1px solid darken( $secondary, 10% );
  537. padding: 0;
  538. margin: 0;
  539. float: left;
  540. display: inline;
  541. overflow: hidden;
  542. a,
  543. span {
  544. margin: 0;
  545. text-decoration: none;
  546. padding: 0;
  547. line-height: 1;
  548. font-size: 1em;
  549. font-weight: normal;
  550. padding: 0.5em;
  551. min-width: 1em;
  552. display: block;
  553. }
  554. span.current,
  555. a:hover,
  556. a:focus {
  557. background: $secondary;
  558. color: darken( $secondary, 40% );
  559. }
  560. }
  561. }
  562. }
  563. /**
  564. * Buttons
  565. */
  566. a.button,
  567. button.button,
  568. input.button,
  569. #respond input#submit {
  570. font-size: 100%;
  571. margin: 0;
  572. line-height: 1;
  573. cursor: pointer;
  574. position: relative;
  575. text-decoration: none;
  576. overflow: visible;
  577. padding: 0.618em 1em;
  578. font-weight: 700;
  579. border-radius: 3px;
  580. left: auto;
  581. color: $secondarytext;
  582. background-color: $secondary;
  583. border: 0;
  584. display: inline-block;
  585. background-image: none;
  586. box-shadow: none;
  587. text-shadow: none;
  588. &.loading {
  589. opacity: 0.25;
  590. padding-right: 2.618em;
  591. &::after {
  592. font-family: 'WooCommerce';
  593. content: '\e01c';
  594. vertical-align: top;
  595. font-weight: 400;
  596. position: absolute;
  597. top: 0.618em;
  598. right: 1em;
  599. animation: spin 2s linear infinite;
  600. }
  601. }
  602. &.added::after {
  603. font-family: 'WooCommerce';
  604. content: '\e017';
  605. margin-left: 0.53em;
  606. vertical-align: bottom;
  607. }
  608. &:hover {
  609. background-color: $secondary - #111;
  610. text-decoration: none;
  611. background-image: none;
  612. color: $secondarytext;
  613. }
  614. &.alt {
  615. background-color: $primary;
  616. color: $primarytext;
  617. -webkit-font-smoothing: antialiased;
  618. &:hover {
  619. background-color: $primary - #111;
  620. color: $primarytext;
  621. }
  622. &.disabled,
  623. &:disabled,
  624. &:disabled[disabled],
  625. &.disabled:hover,
  626. &:disabled:hover,
  627. &:disabled[disabled]:hover {
  628. background-color: $primary;
  629. color: $primarytext;
  630. }
  631. }
  632. &:disabled,
  633. &.disabled,
  634. &:disabled[disabled] {
  635. color: inherit;
  636. cursor: not-allowed;
  637. opacity: 0.5;
  638. padding: 0.618em 1em;
  639. &:hover {
  640. color: inherit;
  641. background-color: $secondary;
  642. }
  643. }
  644. }
  645. .cart .button,
  646. .cart input.button {
  647. float: none;
  648. }
  649. a.added_to_cart {
  650. padding-top: 0.5em;
  651. display: inline-block;
  652. }
  653. /**
  654. * Reviews
  655. */
  656. #reviews {
  657. h2 small {
  658. float: right;
  659. color: $subtext;
  660. font-size: 15px;
  661. margin: 10px 0 0;
  662. a {
  663. text-decoration: none;
  664. color: $subtext;
  665. }
  666. }
  667. h3 {
  668. margin: 0;
  669. }
  670. #respond {
  671. margin: 0;
  672. border: 0;
  673. padding: 0;
  674. }
  675. #comment {
  676. height: 75px;
  677. }
  678. #comments {
  679. .add_review {
  680. @include clearfix();
  681. }
  682. h2 {
  683. clear: none;
  684. }
  685. ol.commentlist {
  686. @include clearfix();
  687. margin: 0;
  688. width: 100%;
  689. background: none;
  690. list-style: none;
  691. li {
  692. padding: 0;
  693. margin: 0 0 20px;
  694. border: 0;
  695. position: relative;
  696. background: 0;
  697. border: 0;
  698. .meta {
  699. color: $subtext;
  700. font-size: 0.75em;
  701. }
  702. img.avatar {
  703. float: left;
  704. position: absolute;
  705. top: 0;
  706. left: 0;
  707. padding: 3px;
  708. width: 32px;
  709. height: auto;
  710. background: $secondary;
  711. border: 1px solid darken( $secondary, 3% );
  712. margin: 0;
  713. box-shadow: none;
  714. }
  715. .comment-text {
  716. margin: 0 0 0 50px;
  717. border: 1px solid darken( $secondary, 3% );
  718. border-radius: 4px;
  719. padding: 1em 1em 0;
  720. @include clearfix();
  721. p {
  722. margin: 0 0 1em;
  723. }
  724. p.meta {
  725. font-size: 0.83em;
  726. }
  727. }
  728. }
  729. ul.children {
  730. list-style: none outside;
  731. margin: 20px 0 0 50px;
  732. .star-rating {
  733. display: none;
  734. }
  735. }
  736. #respond {
  737. border: 1px solid darken( $secondary, 3% );
  738. border-radius: 4px;
  739. padding: 1em 1em 0;
  740. margin: 20px 0 0 50px;
  741. }
  742. }
  743. .commentlist > li::before {
  744. content: '';
  745. }
  746. }
  747. }
  748. /**
  749. * Star ratings
  750. */
  751. .star-rating {
  752. float: right;
  753. overflow: hidden;
  754. position: relative;
  755. height: 1em;
  756. line-height: 1;
  757. font-size: 1em;
  758. width: 5.4em;
  759. font-family: 'star';
  760. &::before {
  761. content: '\73\73\73\73\73';
  762. color: darken( $secondary, 10% );
  763. float: left;
  764. top: 0;
  765. left: 0;
  766. position: absolute;
  767. }
  768. span {
  769. overflow: hidden;
  770. float: left;
  771. top: 0;
  772. left: 0;
  773. position: absolute;
  774. padding-top: 1.5em;
  775. }
  776. span::before {
  777. content: '\53\53\53\53\53';
  778. top: 0;
  779. position: absolute;
  780. left: 0;
  781. }
  782. }
  783. .woocommerce-product-rating {
  784. @include clearfix();
  785. line-height: 2;
  786. display: block;
  787. .star-rating {
  788. margin: 0.5em 4px 0 0;
  789. float: left;
  790. }
  791. }
  792. .products .star-rating {
  793. display: block;
  794. margin: 0 0 0.5em;
  795. float: none;
  796. }
  797. .hreview-aggregate .star-rating {
  798. margin: 10px 0 0;
  799. }
  800. #review_form #respond {
  801. @include clearfix();
  802. position: static;
  803. margin: 0;
  804. width: auto;
  805. padding: 0;
  806. background: transparent none;
  807. border: 0;
  808. p {
  809. margin: 0 0 10px;
  810. }
  811. .form-submit input {
  812. left: auto;
  813. }
  814. textarea {
  815. box-sizing: border-box;
  816. width: 100%;
  817. }
  818. }
  819. p.stars {
  820. a {
  821. position: relative;
  822. height: 1em;
  823. width: 1em;
  824. text-indent: -999em;
  825. display: inline-block;
  826. text-decoration: none;
  827. &::before {
  828. display: block;
  829. position: absolute;
  830. top: 0;
  831. left: 0;
  832. width: 1em;
  833. height: 1em;
  834. line-height: 1;
  835. font-family: 'WooCommerce';
  836. content: '\e021';
  837. text-indent: 0;
  838. }
  839. &:hover ~ a::before {
  840. content: '\e021';
  841. }
  842. }
  843. &:hover a::before {
  844. content: '\e020';
  845. }
  846. &.selected {
  847. a.active {
  848. &::before {
  849. content: '\e020';
  850. }
  851. ~ a::before {
  852. content: '\e021';
  853. }
  854. }
  855. a:not( .active )::before {
  856. content: '\e020';
  857. }
  858. }
  859. }
  860. /**
  861. * Tables
  862. */
  863. table.shop_attributes {
  864. border: 0;
  865. border-top: 1px dotted rgba(0, 0, 0, 0.1);
  866. margin-bottom: 1.618em;
  867. width: 100%;
  868. th {
  869. width: 150px;
  870. font-weight: 700;
  871. padding: 8px;
  872. border-top: 0;
  873. border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
  874. margin: 0;
  875. line-height: 1.5;
  876. }
  877. td {
  878. font-style: italic;
  879. padding: 0;
  880. border-top: 0;
  881. border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
  882. margin: 0;
  883. line-height: 1.5;
  884. p {
  885. margin: 0;
  886. padding: 8px 0;
  887. }
  888. }
  889. tr:nth-child(even) td,
  890. tr:nth-child(even) th {
  891. background: rgba(0, 0, 0, 0.025);
  892. }
  893. }
  894. table.shop_table {
  895. border: 1px solid rgba(0, 0, 0, 0.1);
  896. margin: 0 -1px 24px 0;
  897. text-align: left;
  898. width: 100%;
  899. border-collapse: separate;
  900. border-radius: 5px;
  901. th {
  902. font-weight: 700;
  903. padding: 9px 12px;
  904. }
  905. td {
  906. border-top: 1px solid rgba(0, 0, 0, 0.1);
  907. padding: 6px 12px;
  908. vertical-align: middle;
  909. small {
  910. font-weight: normal;
  911. }
  912. }
  913. tbody:first-child tr:first-child {
  914. th,
  915. td {
  916. border-top: 0;
  917. }
  918. }
  919. tfoot td,
  920. tfoot th,
  921. tbody th {
  922. font-weight: 700;
  923. border-top: 1px solid rgba(0, 0, 0, 0.1);
  924. }
  925. }
  926. table.my_account_orders {
  927. font-size: 0.85em;
  928. th,
  929. td {
  930. padding: 4px 8px;
  931. vertical-align: middle;
  932. }
  933. .button {
  934. white-space: nowrap;
  935. }
  936. .order-actions {
  937. text-align: right;
  938. .button {
  939. margin: 0.125em 0 0.125em 0.25em;
  940. }
  941. }
  942. }
  943. table.woocommerce-MyAccount-downloads {
  944. td,
  945. th {
  946. vertical-align: top;
  947. text-align: center;
  948. &:first-child {
  949. text-align: left;
  950. }
  951. &:last-child {
  952. text-align: left;
  953. }
  954. .woocommerce-MyAccount-downloads-file::before {
  955. content: '\2193';
  956. display: inline-block;
  957. }
  958. }
  959. }
  960. td.product-name {
  961. dl.variation, .wc-item-meta {
  962. list-style: none outside;
  963. dt, .wc-item-meta-label {
  964. float: left;
  965. clear: both;
  966. margin-right: .25em;
  967. display: inline-block;
  968. list-style: none outside;
  969. }
  970. dd {
  971. margin: 0;
  972. }
  973. p,
  974. &:last-child {
  975. margin-bottom: 0;
  976. }
  977. }
  978. p.backorder_notification {
  979. font-size: 0.83em;
  980. }
  981. }
  982. td.product-quantity {
  983. min-width: 80px;
  984. }
  985. /**
  986. * Cart sidebar
  987. */
  988. ul.cart_list,
  989. ul.product_list_widget {
  990. list-style: none outside;
  991. padding: 0;
  992. margin: 0;
  993. li {
  994. padding: 4px 0;
  995. margin: 0;
  996. @include clearfix();
  997. list-style: none;
  998. a {
  999. display: block;
  1000. font-weight: 700;
  1001. }
  1002. img {
  1003. float: right;
  1004. margin-left: 4px;
  1005. width: 32px;
  1006. height: auto;
  1007. box-shadow: none;
  1008. }
  1009. dl {
  1010. margin: 0;
  1011. padding-left: 1em;
  1012. border-left: 2px solid rgba(0, 0, 0, 0.1);
  1013. @include clearfix();
  1014. dt,
  1015. dd {
  1016. display: inline-block;
  1017. float: left;
  1018. margin-bottom: 1em;
  1019. }
  1020. dt {
  1021. font-weight: 700;
  1022. padding: 0 0 0.25em;
  1023. margin: 0 4px 0 0;
  1024. clear: left;
  1025. }
  1026. dd {
  1027. padding: 0 0 0.25em;
  1028. p:last-child {
  1029. margin-bottom: 0;
  1030. }
  1031. }
  1032. }
  1033. .star-rating {
  1034. float: none;
  1035. }
  1036. }
  1037. }
  1038. &.widget_shopping_cart,
  1039. .widget_shopping_cart {
  1040. .total {
  1041. border-top: 3px double $secondary;
  1042. padding: 4px 0 0;
  1043. strong {
  1044. min-width: 40px;
  1045. display: inline-block;
  1046. }
  1047. }
  1048. .cart_list li {
  1049. padding-left: 2em;
  1050. position: relative;
  1051. padding-top: 0;
  1052. a.remove {
  1053. position: absolute;
  1054. top: 0;
  1055. left: 0;
  1056. }
  1057. }
  1058. .buttons {
  1059. @include clearfix();
  1060. a {
  1061. margin-right: 5px;
  1062. margin-bottom: 5px;
  1063. }
  1064. }
  1065. }
  1066. /**
  1067. * Forms
  1068. */
  1069. form .form-row {
  1070. padding: 3px;
  1071. margin: 0 0 6px;
  1072. [placeholder]:focus::-webkit-input-placeholder {
  1073. transition: opacity 0.5s 0.5s ease;
  1074. opacity: 0;
  1075. }
  1076. label {
  1077. line-height: 2;
  1078. }
  1079. label.hidden {
  1080. visibility: hidden;
  1081. }
  1082. label.inline {
  1083. display: inline;
  1084. }
  1085. .woocommerce-input-wrapper {
  1086. .description {
  1087. background: #1e85be;
  1088. color: #fff;
  1089. border-radius: 3px;
  1090. padding: 1em;
  1091. margin: .5em 0 0;
  1092. clear: both;
  1093. display: none;
  1094. position: relative;
  1095. a {
  1096. color: #fff;
  1097. text-decoration: underline;
  1098. border: 0;
  1099. box-shadow: none;
  1100. }
  1101. &:before {
  1102. left: 50%;
  1103. top: 0%;
  1104. margin-top: -4px;
  1105. transform: translatex(-50%) rotate(180deg);
  1106. content: "";
  1107. position: absolute;
  1108. border-width: 4px 6px 0 6px;
  1109. border-style: solid;
  1110. border-color: #1e85be transparent transparent transparent;
  1111. z-index: 100;
  1112. display: block;
  1113. }
  1114. }
  1115. }
  1116. select {
  1117. cursor: pointer;
  1118. margin: 0;
  1119. }
  1120. .required {
  1121. color: red;
  1122. font-weight: 700;
  1123. border: 0 !important;
  1124. text-decoration: none;
  1125. visibility: hidden; // Only show optional by default.
  1126. }
  1127. .optional {
  1128. visibility: visible;
  1129. }
  1130. .input-checkbox {
  1131. display: inline;
  1132. margin: -2px 8px 0 0;
  1133. text-align: center;
  1134. vertical-align: middle;
  1135. }
  1136. input.input-text,
  1137. textarea {
  1138. box-sizing: border-box;
  1139. width: 100%;
  1140. margin: 0;
  1141. outline: 0;
  1142. line-height: normal;
  1143. }
  1144. textarea {
  1145. height: 4em;
  1146. line-height: 1.5;
  1147. display: block;
  1148. box-shadow: none;
  1149. }
  1150. .select2-container {
  1151. width: 100%;
  1152. line-height: 2em;
  1153. }
  1154. &.woocommerce-invalid {
  1155. label {
  1156. color: $red;
  1157. }
  1158. .select2-container,
  1159. input.input-text,
  1160. select {
  1161. border-color: $red;
  1162. }
  1163. }
  1164. &.woocommerce-validated {
  1165. .select2-container,
  1166. input.input-text,
  1167. select {
  1168. border-color: $green - #111;
  1169. }
  1170. }
  1171. ::-webkit-input-placeholder {
  1172. line-height: normal;
  1173. }
  1174. :-moz-placeholder {
  1175. line-height: normal;
  1176. }
  1177. :-ms-input-placeholder {
  1178. line-height: normal;
  1179. }
  1180. }
  1181. form.login,
  1182. form.checkout_coupon,
  1183. form.register {
  1184. border: 1px solid darken( $secondary, 10% );
  1185. padding: 20px;
  1186. margin: 2em 0;
  1187. text-align: left;
  1188. border-radius: 5px;
  1189. }
  1190. ul#shipping_method {
  1191. list-style: none outside;
  1192. margin: 0;
  1193. padding: 0;
  1194. li {
  1195. margin: 0;
  1196. padding: 0.25em 0 0.25em 22px;
  1197. text-indent: -22px;
  1198. list-style: none outside;
  1199. input {
  1200. margin: 3px 0.5ex;
  1201. }
  1202. label {
  1203. display: inline;
  1204. }
  1205. }
  1206. .amount {
  1207. font-weight: 700;
  1208. }
  1209. }
  1210. p.woocommerce-shipping-contents {
  1211. margin: 0;
  1212. }
  1213. /**
  1214. * Order page
  1215. */
  1216. ul.order_details {
  1217. @include clearfix();
  1218. margin: 0 0 3em;
  1219. list-style: none;
  1220. li {
  1221. float: left;
  1222. margin-right: 2em;
  1223. text-transform: uppercase;
  1224. font-size: 0.715em;
  1225. line-height: 1;
  1226. border-right: 1px dashed darken( $secondary, 10% );
  1227. padding-right: 2em;
  1228. margin-left: 0;
  1229. padding-left: 0;
  1230. list-style-type: none;
  1231. strong {
  1232. display: block;
  1233. font-size: 1.4em;
  1234. text-transform: none;
  1235. line-height: 1.5;
  1236. }
  1237. &:last-of-type {
  1238. border: none;
  1239. }
  1240. }
  1241. }
  1242. .wc-bacs-bank-details-account-name {
  1243. font-weight: bold;
  1244. }
  1245. .woocommerce-order-downloads,
  1246. .woocommerce-customer-details,
  1247. .woocommerce-order-details {
  1248. margin-bottom: 2em;
  1249. *:last-child {
  1250. margin-bottom: 0;
  1251. }
  1252. }
  1253. .woocommerce-customer-details {
  1254. address {
  1255. font-style: normal;
  1256. margin-bottom: 0;
  1257. border: 1px solid rgba(0, 0, 0, 0.1);
  1258. border-bottom-width: 2px;
  1259. border-right-width: 2px;
  1260. text-align: left;
  1261. width: 100%;
  1262. border-radius: 5px;
  1263. padding: 6px 12px;
  1264. }
  1265. .woocommerce-customer-details--phone,
  1266. .woocommerce-customer-details--email {
  1267. margin-bottom: 0;
  1268. padding-left: 1.5em;
  1269. }
  1270. .woocommerce-customer-details--phone::before {
  1271. @include iconbefore( '\e037' );
  1272. margin-left: -1.5em;
  1273. line-height: 1.75;
  1274. position: absolute;
  1275. }
  1276. .woocommerce-customer-details--email::before {
  1277. @include iconbefore( '\e02d' );
  1278. margin-left: -1.5em;
  1279. line-height: 1.75;
  1280. position: absolute;
  1281. }
  1282. }
  1283. /**
  1284. * Layered nav widget
  1285. */
  1286. .woocommerce-widget-layered-nav-list {
  1287. margin: 0;
  1288. padding: 0;
  1289. border: 0;
  1290. list-style: none outside;
  1291. .woocommerce-widget-layered-nav-list__item {
  1292. @include clearfix();
  1293. padding: 0 0 1px;
  1294. list-style: none;
  1295. a,
  1296. span {
  1297. padding: 1px 0;
  1298. }
  1299. }
  1300. .woocommerce-widget-layered-nav-list__item--chosen a::before {
  1301. @include iconbefore( '\e013' );
  1302. color: $red;
  1303. }
  1304. }
  1305. .woocommerce-widget-layered-nav-dropdown__submit {
  1306. margin-top: 1em;
  1307. }
  1308. .widget_layered_nav_filters ul {
  1309. margin: 0;
  1310. padding: 0;
  1311. border: 0;
  1312. list-style: none outside;
  1313. overflow: hidden;
  1314. zoom: 1;
  1315. li {
  1316. float: left;
  1317. padding: 0 1em 1px 1px;
  1318. list-style: none;
  1319. a {
  1320. text-decoration: none;
  1321. &::before {
  1322. @include iconbefore( '\e013' );
  1323. color: $red;
  1324. vertical-align: inherit;
  1325. margin-right: .5em;
  1326. }
  1327. }
  1328. }
  1329. }
  1330. /**
  1331. * Price filter widget
  1332. */
  1333. .widget_price_filter {
  1334. .price_slider {
  1335. margin-bottom: 1em;
  1336. }
  1337. .price_slider_amount {
  1338. text-align: right;
  1339. line-height: 2.4;
  1340. font-size: 0.8751em;
  1341. .button {
  1342. font-size: 1.15em;
  1343. float: left;
  1344. }
  1345. }
  1346. .ui-slider {
  1347. position: relative;
  1348. text-align: left;
  1349. margin-left: 0.5em;
  1350. margin-right: 0.5em;
  1351. }
  1352. .ui-slider .ui-slider-handle {
  1353. position: absolute;
  1354. z-index: 2;
  1355. width: 1em;
  1356. height: 1em;
  1357. background-color: $primary;
  1358. border-radius: 1em;
  1359. cursor: ew-resize;
  1360. outline: none;
  1361. top: -0.3em;
  1362. /* rtl:ignore */
  1363. margin-left: -0.5em;
  1364. }
  1365. .ui-slider .ui-slider-range {
  1366. position: absolute;
  1367. z-index: 1;
  1368. font-size: 0.7em;
  1369. display: block;
  1370. border: 0;
  1371. border-radius: 1em;
  1372. background-color: $primary;
  1373. }
  1374. .price_slider_wrapper .ui-widget-content {
  1375. border-radius: 1em;
  1376. background-color: $primary - #444;
  1377. border: 0;
  1378. }
  1379. .ui-slider-horizontal {
  1380. height: 0.5em;
  1381. }
  1382. .ui-slider-horizontal .ui-slider-range {
  1383. top: 0;
  1384. height: 100%;
  1385. }
  1386. .ui-slider-horizontal .ui-slider-range-min {
  1387. left: -1px;
  1388. }
  1389. .ui-slider-horizontal .ui-slider-range-max {
  1390. right: -1px;
  1391. }
  1392. }
  1393. /**
  1394. * Rating Filter Widget
  1395. */
  1396. .widget_rating_filter ul {
  1397. margin: 0;
  1398. padding: 0;
  1399. border: 0;
  1400. list-style: none outside;
  1401. li {
  1402. @include clearfix();
  1403. padding: 0 0 1px;
  1404. list-style: none;
  1405. a {
  1406. padding: 1px 0;
  1407. text-decoration: none;
  1408. }
  1409. .star-rating {
  1410. float: none;
  1411. display: inline-block;
  1412. }
  1413. }
  1414. li.chosen a::before {
  1415. @include iconbefore( '\e013' );
  1416. color: $red;
  1417. }
  1418. }
  1419. }
  1420. .woocommerce-no-js {
  1421. form.woocommerce-form-login,
  1422. form.woocommerce-form-coupon {
  1423. display: block !important;
  1424. }
  1425. .woocommerce-form-login-toggle,
  1426. .woocommerce-form-coupon-toggle,
  1427. .showcoupon {
  1428. display: none !important;
  1429. }
  1430. }
  1431. .woocommerce-message,
  1432. .woocommerce-error,
  1433. .woocommerce-info {
  1434. padding: 1em 2em 1em 3.5em;
  1435. margin: 0 0 2em;
  1436. position: relative;
  1437. background-color: lighten($secondary, 5%);
  1438. color: $secondarytext;
  1439. border-top: 3px solid $primary;
  1440. list-style: none outside;
  1441. @include clearfix();
  1442. width: auto;
  1443. word-wrap: break-word;
  1444. &::before {
  1445. font-family: 'WooCommerce';
  1446. content: '\e028';
  1447. display: inline-block;
  1448. position: absolute;
  1449. top: 1em;
  1450. left: 1.5em;
  1451. }
  1452. .button {
  1453. float: right;
  1454. }
  1455. li {
  1456. list-style: none outside !important; // Required for default theme compatibility
  1457. padding-left: 0 !important; // Required for default theme compatibility
  1458. margin-left: 0 !important; // Required for default theme compatibility
  1459. }
  1460. }
  1461. /**
  1462. * Right to left styles
  1463. */
  1464. .rtl.woocommerce .price_label,
  1465. .rtl.woocommerce .price_label span {
  1466. /* rtl:ignore */
  1467. direction: ltr;
  1468. unicode-bidi: embed;
  1469. }
  1470. .woocommerce-message {
  1471. border-top-color: #8fae1b;
  1472. &::before {
  1473. content: '\e015';
  1474. color: #8fae1b;
  1475. }
  1476. }
  1477. .woocommerce-info {
  1478. border-top-color: #1e85be;
  1479. &::before {
  1480. color: #1e85be;
  1481. }
  1482. }
  1483. .woocommerce-error {
  1484. border-top-color: #b81c23;
  1485. &::before {
  1486. content: '\e016';
  1487. color: #b81c23;
  1488. }
  1489. }
  1490. /**
  1491. * Account page
  1492. */
  1493. .woocommerce-account {
  1494. .woocommerce {
  1495. @include clearfix();
  1496. }
  1497. .addresses .title {
  1498. @include clearfix();
  1499. h3 {
  1500. float: left;
  1501. }
  1502. .edit {
  1503. float: right;
  1504. }
  1505. }
  1506. ol.commentlist.notes li.note {
  1507. p.meta {
  1508. font-weight: 700;
  1509. margin-bottom: 0;
  1510. }
  1511. .description p:last-child {
  1512. margin-bottom: 0;
  1513. }
  1514. }
  1515. ul.digital-downloads {
  1516. margin-left: 0;
  1517. padding-left: 0;
  1518. li {
  1519. list-style: none;
  1520. margin-left: 0;
  1521. padding-left: 0;
  1522. &::before {
  1523. @include iconbefore( '\e00a' );
  1524. }
  1525. .count {
  1526. float: right;
  1527. }
  1528. }
  1529. }
  1530. }
  1531. /**
  1532. * Cart/checkout page
  1533. */
  1534. .woocommerce-cart,
  1535. .woocommerce-checkout,
  1536. #add_payment_method {
  1537. table.cart {
  1538. .product-thumbnail {
  1539. min-width: 32px;
  1540. }
  1541. img {
  1542. width: 32px;
  1543. box-shadow: none;
  1544. }
  1545. th,
  1546. td {
  1547. vertical-align: middle;
  1548. }
  1549. td.actions .coupon .input-text {
  1550. float: left;
  1551. box-sizing: border-box;
  1552. border: 1px solid darken( $secondary, 10% );
  1553. padding: 6px 6px 5px;
  1554. margin: 0 4px 0 0;
  1555. outline: 0;
  1556. }
  1557. input {
  1558. margin: 0;
  1559. vertical-align: middle;
  1560. }
  1561. }
  1562. .wc-proceed-to-checkout {
  1563. @include clearfix;
  1564. padding: 1em 0;
  1565. a.checkout-button {
  1566. display: block;
  1567. text-align: center;
  1568. margin-bottom: 1em;
  1569. font-size: 1.25em;
  1570. padding: 1em;
  1571. }
  1572. }
  1573. .cart-collaterals {
  1574. .shipping_calculator {
  1575. .button {
  1576. width: 100%;
  1577. float: none;
  1578. display: block;
  1579. }
  1580. .shipping-calculator-button::after {
  1581. @include iconafter( '\e019' );
  1582. }
  1583. }
  1584. .cart_totals {
  1585. p small {
  1586. color: $subtext;
  1587. font-size: 0.83em;
  1588. }
  1589. table {
  1590. border-collapse: separate;
  1591. margin: 0 0 6px;
  1592. padding: 0;
  1593. tr:first-child {
  1594. th,
  1595. td {
  1596. border-top: 0;
  1597. }
  1598. }
  1599. th {
  1600. width: 40%;
  1601. }
  1602. td,
  1603. th {
  1604. vertical-align: top;
  1605. border-left: 0;
  1606. border-right: 0;
  1607. line-height: 1.5em;
  1608. }
  1609. small {
  1610. color: $subtext;
  1611. }
  1612. select {
  1613. width: 100%;
  1614. }
  1615. }
  1616. .discount td {
  1617. color: $highlight;
  1618. }
  1619. tr td,
  1620. tr th {
  1621. border-top: 1px solid $secondary;
  1622. }
  1623. }
  1624. .cross-sells ul.products li.product {
  1625. margin-top: 0;
  1626. }
  1627. }
  1628. .checkout {
  1629. .col-2 {
  1630. h3#ship-to-different-address {
  1631. float: left;
  1632. clear: none;
  1633. }
  1634. .notes {
  1635. clear: left;
  1636. }
  1637. .form-row-first {
  1638. clear: left;
  1639. }
  1640. }
  1641. .create-account small {
  1642. font-size: 11px;
  1643. color: $subtext;
  1644. font-weight: normal;
  1645. }
  1646. div.shipping-address {
  1647. padding: 0;
  1648. clear: left;
  1649. width: 100%;
  1650. }
  1651. .shipping_address {
  1652. clear: both;
  1653. }
  1654. }
  1655. #payment {
  1656. background: $secondary;
  1657. border-radius: 5px;
  1658. ul.payment_methods {
  1659. @include clearfix();
  1660. text-align: left;
  1661. padding: 1em;
  1662. border-bottom: 1px solid darken( $secondary, 10% );
  1663. margin: 0;
  1664. list-style: none outside;
  1665. li {
  1666. line-height: 2;
  1667. text-align: left;
  1668. margin: 0;
  1669. font-weight: normal;
  1670. input {
  1671. margin: 0 1em 0 0;
  1672. }
  1673. img {
  1674. vertical-align: middle;
  1675. margin: -2px 0 0 0.5em;
  1676. padding: 0;
  1677. position: relative;
  1678. box-shadow: none;
  1679. }
  1680. img + img {
  1681. margin-left: 2px;
  1682. }
  1683. }
  1684. li:not(.woocommerce-notice) {
  1685. @include clearfix;
  1686. }
  1687. }
  1688. div.form-row {
  1689. padding: 1em;
  1690. }
  1691. div.payment_box {
  1692. position: relative;
  1693. box-sizing: border-box;
  1694. width: 100%;
  1695. padding: 1em;
  1696. margin: 1em 0;
  1697. font-size: 0.92em;
  1698. border-radius: 2px;
  1699. line-height: 1.5;
  1700. background-color: darken( $secondary, 5% );
  1701. color: $secondarytext;
  1702. input.input-text, textarea {
  1703. border-color: darken( $secondary, 15% );
  1704. border-top-color: darken( $secondary, 20% );
  1705. }
  1706. ::-webkit-input-placeholder {
  1707. color: darken( $secondary, 20% );
  1708. }
  1709. :-moz-placeholder {
  1710. color: darken( $secondary, 20% );
  1711. }
  1712. :-ms-input-placeholder {
  1713. color: darken( $secondary, 20% );
  1714. }
  1715. .woocommerce-SavedPaymentMethods {
  1716. list-style: none outside;
  1717. margin: 0;
  1718. .woocommerce-SavedPaymentMethods-token,
  1719. .woocommerce-SavedPaymentMethods-new {
  1720. margin: 0 0 0.5em;
  1721. label {
  1722. cursor: pointer;
  1723. }
  1724. }
  1725. .woocommerce-SavedPaymentMethods-tokenInput {
  1726. vertical-align: middle;
  1727. margin: -3px 1em 0 0;
  1728. position: relative;
  1729. }
  1730. }
  1731. .wc-credit-card-form {
  1732. border: 0;
  1733. padding: 0;
  1734. margin: 1em 0 0;
  1735. }
  1736. .wc-credit-card-form-card-number,
  1737. .wc-credit-card-form-card-expiry,
  1738. .wc-credit-card-form-card-cvc {
  1739. font-size: 1.5em;
  1740. padding: 8px;
  1741. background-repeat: no-repeat;
  1742. background-position: right 0.618em center;
  1743. background-size: 32px 20px;
  1744. &.visa {
  1745. background-image: url('../images/icons/credit-cards/visa.svg');
  1746. }
  1747. &.mastercard {
  1748. background-image: url('../images/icons/credit-cards/mastercard.svg');
  1749. }
  1750. &.laser {
  1751. background-image: url('../images/icons/credit-cards/laser.svg');
  1752. }
  1753. &.dinersclub {
  1754. background-image: url('../images/icons/credit-cards/diners.svg');
  1755. }
  1756. &.maestro {
  1757. background-image: url('../images/icons/credit-cards/maestro.svg');
  1758. }
  1759. &.jcb {
  1760. background-image: url('../images/icons/credit-cards/jcb.svg');
  1761. }
  1762. &.amex {
  1763. background-image: url('../images/icons/credit-cards/amex.svg');
  1764. }
  1765. &.discover {
  1766. background-image: url('../images/icons/credit-cards/discover.svg');
  1767. }
  1768. }
  1769. span.help {
  1770. font-size: 0.857em;
  1771. color: $subtext;
  1772. font-weight: normal;
  1773. }
  1774. .form-row {
  1775. margin: 0 0 1em;
  1776. }
  1777. p:last-child {
  1778. margin-bottom: 0;
  1779. }
  1780. &::before {
  1781. content: '';
  1782. display: block;
  1783. border: 1em solid darken( $secondary, 5% ); /* arrow size / color */
  1784. border-right-color: transparent;
  1785. border-left-color: transparent;
  1786. border-top-color: transparent;
  1787. position: absolute;
  1788. top: -0.75em;
  1789. left: 0;
  1790. margin: -1em 0 0 2em;
  1791. }
  1792. }
  1793. .payment_method_paypal {
  1794. .about_paypal {
  1795. float: right;
  1796. line-height: 52px;
  1797. font-size: 0.83em;
  1798. }
  1799. img {
  1800. max-height: 52px;
  1801. vertical-align: middle;
  1802. }
  1803. }
  1804. }
  1805. }
  1806. .woocommerce-terms-and-conditions {
  1807. border: 1px solid rgba(0,0,0,.2);
  1808. box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
  1809. background: rgba(0,0,0,.05);
  1810. }
  1811. .woocommerce-invalid {
  1812. #terms {
  1813. outline: 2px solid red;
  1814. outline-offset: 2px;
  1815. }
  1816. }
  1817. /**
  1818. * Password strength meter
  1819. */
  1820. .woocommerce-password-strength {
  1821. text-align: center;
  1822. font-weight: 600;
  1823. padding: 3px 0.5em;
  1824. font-size: 1em;
  1825. &.strong {
  1826. background-color: #c1e1b9;
  1827. border-color: #83c373;
  1828. }
  1829. &.short {
  1830. background-color: #f1adad;
  1831. border-color: #e35b5b;
  1832. }
  1833. &.bad {
  1834. background-color: #fbc5a9;
  1835. border-color: #f78b53;
  1836. }
  1837. &.good {
  1838. background-color: #ffe399;
  1839. border-color: #ffc733;
  1840. }
  1841. }
  1842. .woocommerce-password-hint {
  1843. margin: 0.5em 0 0;
  1844. display: block;
  1845. }
  1846. /**
  1847. * Twenty Eleven specific styles
  1848. */
  1849. #content.twentyeleven .woocommerce-pagination a {
  1850. font-size: 1em;
  1851. line-height: 1;
  1852. }
  1853. /**
  1854. * Twenty Thirteen specific styles
  1855. */
  1856. .single-product .twentythirteen {
  1857. .entry-summary,
  1858. #reply-title,
  1859. #respond #commentform {
  1860. padding: 0;
  1861. }
  1862. p.stars {
  1863. clear: both;
  1864. }
  1865. }
  1866. .twentythirteen .woocommerce-breadcrumb {
  1867. padding-top: 40px;
  1868. }
  1869. /**
  1870. * Twenty Fourteen specific styles
  1871. */
  1872. .twentyfourteen ul.products li.product {
  1873. margin-top: 0 !important;
  1874. }
  1875. /**
  1876. * Twenty Sixteen specific styles
  1877. */
  1878. body:not( .search-results ) .twentysixteen .entry-summary {
  1879. color: inherit;
  1880. font-size: inherit;
  1881. line-height: inherit;
  1882. }
  1883. .twentysixteen .price ins {
  1884. background: inherit;
  1885. color: inherit;
  1886. }