No Description

woocommerce.scss 34KB

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