_general.scss 32 KB

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