12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318 |
- /**
- * Global styles
- */
- p.demo_store,
- .woocommerce-store-notice {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- margin: 0;
- width: 100%;
- font-size: 1em;
- padding: 1em 0;
- text-align: center;
- background-color: $primary;
- color: $primarytext;
- z-index: 99998;
- box-shadow: 0 1px 1em rgba(0, 0, 0, 0.2);
- display: none;
- a {
- color: $primarytext;
- text-decoration: underline;
- }
- }
- .admin-bar p.demo_store {
- top: 32px;
- }
- /**
- * Utility classes
- */
- .clear {
- clear: both;
- }
- /**
- * Main WooCommerce styles
- */
- a.remove {
- display: block;
- font-size: 1.5em;
- height: 1em;
- width: 1em;
- text-align: center;
- line-height: 1;
- border-radius: 100%;
- color: red;
- text-decoration: none;
- font-weight: 700;
- border: 0;
- &:hover {
- color: #fff;
- background: red;
- }
- }
- small.note {
- display: block;
- color: $subtext;
- font-size: 0.857em;
- margin-top: 10px;
- }
- .woocommerce-breadcrumb {
- @include clearfix();
- margin: 0 0 1em;
- padding: 0;
- font-size: 0.92em;
- }
- .quantity .qty {
- width: 3.631em;
- text-align: center;
- }
- /**
- * Archive
- */
- .woocommerce-products-header__title.page-title {
- padding-left: 0;
- color: #444340;
- font-size: 32px;
- font-family: "Yrsa", sans-serif;
- font-weight: 300;
- text-transform: none;
- letter-spacing: 0;
- }
- /**
- * Product Page
- */
- div.product {
- padding-top: 1.6em;
- position: relative;
- .product_title {
- clear: none;
- margin-top: 0;
- padding: 0;
- }
- span.price,
- p.price {
- color: $highlight;
- font-size: 1.25em;
- ins {
- background: inherit;
- font-weight: 700;
- }
- del {
- opacity: 0.5;
- }
- }
- p.stock {
- font-size: 0.92em;
- }
- .stock {
- color: $highlight;
- }
- .out-of-stock {
- color: red;
- }
- .tagged_as {
- display: block;
- }
- .woocommerce-product-rating {
- margin-bottom: 1.618em;
- }
- .woocommerce-product-details__short-description {
- margin-top: -1em;
- margin-bottom: 1.5em;
- }
- .quantity .qty {
- padding: .25em 1em .4em;
- line-height: 2;
- }
- .product_meta {
- > span {
- display: block;
- }
- }
- div.images {
- margin-bottom: 2em;
- img {
- display: block;
- width: 100%;
- height: auto;
- box-shadow: none;
- }
- div.thumbnails {
- padding-top: 1em;
- }
- &.woocommerce-product-gallery {
- position: relative;
- }
- .woocommerce-product-gallery__wrapper {
- transition: all cubic-bezier(0.795, -0.035, 0.000, 1.000) .5s;
- }
- .woocommerce-product-gallery__wrapper .zoomImg {
- background-color: #fff;
- }
- .woocommerce-product-gallery__image:nth-child(n+2) {
- width: 25%;
- display: inline-block;
- }
- .woocommerce-product-gallery__trigger {
- position: absolute;
- top: .5em;
- right: .5em;
- font-size: 2em;
- z-index: 9;
- width: 36px;
- height: 36px;
- background: #fff;
- text-indent: -9999px;
- border-radius: 100%;
- box-sizing: content-box;
- &:before {
- content: "";
- display: block;
- width: 10px;
- height: 10px;
- border: 2px solid #000;
- border-radius: 100%;
- position: absolute;
- top: 9px;
- left: 9px;
- box-sizing: content-box;
- }
- &:after {
- content: "";
- display: block;
- width: 2px;
- height: 8px;
- background: #000;
- border-radius: 6px;
- position: absolute;
- top: 19px;
- left: 22px;
- transform: rotate(-45deg);
- box-sizing: content-box;
- }
- }
- .flex-control-thumbs {
- overflow: hidden;
- zoom: 1;
- margin: 0;
- padding: 0;
- li {
- width: 25%;
- float: left;
- margin: 0;
- list-style: none;
- img {
- cursor: pointer;
- opacity: .5;
- margin: 0;
- &.flex-active,
- &:hover {
- opacity: 1;
- }
- }
- }
- }
- }
- .woocommerce-product-gallery--columns-3 {
- .flex-control-thumbs li:nth-child(3n+1) {
- clear: left;
- }
- }
- .woocommerce-product-gallery--columns-4 {
- .flex-control-thumbs li:nth-child(4n+1) {
- clear: left;
- }
- }
- .woocommerce-product-gallery--columns-5 {
- .flex-control-thumbs li:nth-child(5n+1) {
- clear: left;
- }
- }
- div.summary {
- margin-bottom: 2em;
- }
- div.social {
- text-align: right;
- margin: 0 0 1em;
- span {
- margin: 0 0 0 2px;
- span {
- margin: 0;
- }
- .stButton .chicklets {
- padding-left: 16px;
- width: 0;
- }
- }
- iframe {
- float: left;
- margin-top: 3px;
- }
- }
- .woocommerce-tabs {
- ul.tabs {
- list-style: none;
- padding: 0 0 0 1em;
- margin: 0 0 1.618em;
- overflow: hidden;
- position: relative;
- li {
- border: 1px solid darken( $secondary, 10% );
- background-color: $secondary;
- display: inline-block;
- position: relative;
- z-index: 0;
- border-radius: 4px 4px 0 0;
- margin: 0 -5px;
- padding: 0 1em;
- a {
- display: inline-block;
- padding: 0.5em 0;
- font-weight: 700;
- color: $secondarytext;
- text-decoration: none;
- &:hover {
- text-decoration: none;
- color: lighten( $secondarytext, 10% );
- }
- }
- &.active {
- background: $contentbg;
- z-index: 2;
- border-bottom-color: $contentbg;
- a {
- color: inherit;
- text-shadow: inherit;
- }
- &::before {
- box-shadow: 2px 2px 0 $contentbg;
- }
- &::after {
- box-shadow: -2px 2px 0 $contentbg;
- }
- }
- &::before,
- &::after {
- border: 1px solid darken( $secondary, 10% );
- position: absolute;
- bottom: -1px;
- width: 5px;
- height: 5px;
- content: ' ';
- }
- &::before {
- left: -6px;
- border-bottom-right-radius: 4px;
- border-width: 0 1px 1px 0;
- box-shadow: 2px 2px 0 $secondary;
- }
- &::after {
- right: -6px;
- border-bottom-left-radius: 4px;
- border-width: 0 0 1px 1px;
- box-shadow: -2px 2px 0 $secondary;
- }
- }
- &::before {
- position: absolute;
- content: ' ';
- width: 100%;
- bottom: 0;
- left: 0;
- border-bottom: 1px solid darken( $secondary, 10% );
- z-index: 1;
- }
- }
- .panel {
- margin: 0 0 2em;
- padding: 0;
- }
- }
- p.cart {
- margin-bottom: 2em;
- @include clearfix();
- }
- form.cart {
- margin-bottom: 2em;
- @include clearfix();
- div.quantity {
- float: left;
- margin: 0 4px 0 0;
- }
- table {
- border-width: 0 0 1px;
- td {
- padding-left: 0;
- }
- div.quantity {
- float: none;
- margin: 0;
- }
- small.stock {
- display: block;
- float: none;
- }
- }
- .variations {
- margin-bottom: 1em;
- border: 0;
- width: 100%;
- td,
- th {
- border: 0;
- vertical-align: top;
- line-height: 2em;
- }
- label {
- font-weight: 700;
- }
- select {
- max-width: 100%;
- min-width: 75%;
- display: inline-block;
- margin-right: 1em;
- }
- td.label {
- padding-right: 1em;
- }
- }
- .woocommerce-variation-description p {
- margin-bottom: 1em;
- }
- .reset_variations {
- visibility: hidden;
- font-size: 0.83em;
- }
- .wc-no-matching-variations {
- display: none;
- }
- .woocommerce-variation {
- > p {
- margin-bottom: 1.25em;
- }
- }
- .button {
- vertical-align: middle;
- float: left;
- }
- .group_table {
- td.label {
- padding-right: 1em;
- padding-left: 1em;
- }
- td {
- vertical-align: top;
- padding-bottom: 0.5em;
- border: 0;
- }
- td:first-child {
- width: 4em;
- text-align: center;
- }
- .wc-grouped-product-add-to-cart-checkbox {
- display: inline-block;
- width: auto;
- margin: 0 auto;
- transform:scale(1.5, 1.5);
- }
- }
- }
- }
- span.onsale {
- min-height: 3.236em;
- min-width: 3.6em;
- padding: 0.202em;
- font-size: 1em;
- font-weight: 700;
- position: absolute;
- text-align: center;
- line-height: 3.236;
- top: -0.5em;
- left: -0.5em;
- margin: 0;
- border-radius: 100%;
- background-color: $highlight;
- color: $highlightext;
- font-size: 0.857em;
- -webkit-font-smoothing: antialiased;
- z-index: 9;
- }
- /**
- * Product loops
- */
- .products ul,
- ul.products {
- margin: 0 0 1em;
- padding: 0;
- list-style: none outside;
- clear: both;
- @include clearfix();
- li {
- list-style: none outside;
- }
- }
- ul.products li.product {
- .onsale {
- top: 0;
- right: auto;
- left: 0;
- margin: -0.5em 0 0 -0.5em;
- }
- h3,
- .woocommerce-loop-product__title,
- .woocommerce-loop-category__title {
- padding: 0.5em 0;
- margin: 0;
- font-size: 1em;
- }
- a {
- text-decoration: none;
- }
- a img {
- width: 100%;
- height: auto;
- display: block;
- margin: 0 0 1em;
- box-shadow: none;
- }
- strong {
- display: block;
- }
- .star-rating {
- font-size: 0.857em;
- }
- .button {
- margin-top: 1em;
- max-width: 100%;
- white-space: normal;
- word-wrap: break-word;
- }
- .price {
- color: $highlight;
- display: block;
- font-weight: normal;
- margin-bottom: 0.5em;
- font-size: 0.857em;
- del {
- color: inherit;
- opacity: 0.5;
- display: block;
- }
- ins {
- background: none;
- font-weight: 700;
- }
- .from {
- font-size: 0.67em;
- margin: -2px 0 0 0;
- text-transform: uppercase;
- color: rgba(desaturate($highlight, 75%), 0.5);
- }
- }
- }
- .woocommerce-result-count {
- margin: 0 0 1em;
- }
- .woocommerce-ordering {
- margin: 0 0 1em;
- select {
- vertical-align: top;
- }
- }
- nav.woocommerce-pagination {
- text-align: center;
- ul {
- display: inline-block;
- white-space: nowrap;
- padding: 0;
- clear: both;
- border: 1px solid darken( $secondary, 10% );
- border-right: 0;
- margin: 1px;
- li {
- border-right: 1px solid darken( $secondary, 10% );
- padding: 0;
- margin: 0;
- float: left;
- display: inline;
- overflow: hidden;
- a,
- span {
- margin: 0;
- text-decoration: none;
- padding: 0;
- line-height: 1;
- font-size: 1em;
- font-weight: normal;
- padding: 0.5em;
- min-width: 1em;
- display: block;
- }
- span.current,
- a:hover,
- a:focus {
- background: $secondary;
- color: darken( $secondary, 40% );
- }
- }
- }
- }
- /**
- * Buttons
- */
- a.button,
- button.button,
- input.button,
- #respond input#submit {
- font-size: 15px;
- margin: 0;
- line-height: 1;
- cursor: pointer;
- position: relative;
- text-decoration: none;
- overflow: visible;
- padding: 0.618em 1em;
- font-weight: 700;
- border-radius: 3px;
- left: auto;
- color: $secondarytext;
- background-color: $secondary;
- border: 0;
- white-space: nowrap;
- display: inline-block;
- background-image: none;
- box-shadow: none;
- text-shadow: none;
- &.loading {
- opacity: 0.25;
- padding-right: 2.618em;
- &::after {
- font-family: 'WooCommerce';
- content: '\e01c';
- vertical-align: top;
- -webkit-font-smoothing: antialiased;
- font-weight: 400;
- position: absolute;
- top: 0.618em;
- right: 1em;
- animation: spin 2s linear infinite;
- }
- }
- &.added::after {
- font-family: 'WooCommerce';
- content: '\e017';
- margin-left: 0.53em;
- vertical-align: bottom;
- }
- &:hover {
- background-color: $secondary - #111;
- text-decoration: none;
- background-image: none;
- color: $secondarytext;
- }
- &.alt {
- background-color: #15b6b8;
- color: #fff;
- -webkit-font-smoothing: antialiased;
- border-style: none;
- color: #fff;
- cursor: pointer;
- display: inline-block;
- letter-spacing: 1px;
- line-height: 2;
- padding: .25em 1em .4em;
- text-align: center;
- vertical-align: middle;
- text-transform: uppercase;
- border-radius: 3px;
- box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
- -webkit-appearance: none;
- &:hover {
- background-color: #15b6b8;
- opacity: 0.85;
- }
- &:focus {
- background-color: #e6e6e6;
- color: #666;
- }
- &.disabled,
- &:disabled,
- &:disabled[disabled],
- &.disabled:hover,
- &:disabled:hover,
- &:disabled[disabled]:hover {
- background-color: #15b6b8;
- color: #fff;
- opacity: 0.85;
- }
- }
- &:disabled,
- &.disabled,
- &:disabled[disabled] {
- color: inherit;
- cursor: not-allowed;
- opacity: 0.5;
- &:hover {
- color: inherit;
- background-color: $secondary;
- }
- }
- }
- .cart .button,
- .cart input.button {
- float: none;
- }
- a.added_to_cart {
- padding-top: 0.5em;
- white-space: nowrap;
- display: inline-block;
- }
- /**
- * Reviews
- */
- #reviews {
- h2 small {
- float: right;
- color: $subtext;
- font-size: 15px;
- margin: 10px 0 0;
- a {
- text-decoration: none;
- color: $subtext;
- }
- }
- h3 {
- margin: 0;
- }
- .woocommerce-noreviews {
- margin-bottom: 1em;
- }
- .comment-reply-title {
- display: block;
- font-size: 29px;
- font-family: "Yrsa", sans-serif;
- margin-bottom: 10px;
- }
- #respond {
- margin: 0;
- border: 0;
- padding: 0;
- .comment-form-comment {
- label {
- width: auto;
- }
- }
- }
- #comment {
- height: 75px;
- }
- #comments {
- .add_review {
- @include clearfix();
- }
- h2 {
- clear: none;
- }
- ol.commentlist {
- @include clearfix();
- margin: 0;
- width: 100%;
- background: none;
- list-style: none;
- li {
- padding: 0;
- margin: 0 0 20px;
- border: 0;
- position: relative;
- background: 0;
- border: 0;
- .meta {
- color: $subtext;
- font-size: 0.75em;
- }
- img.avatar {
- float: left;
- position: absolute;
- top: 0;
- left: 0;
- padding: 3px;
- width: 32px;
- height: auto;
- background: $secondary;
- border: 1px solid darken( $secondary, 3% );
- margin: 0;
- box-shadow: none;
- }
- .comment-text {
- margin: 0 0 0 50px;
- border: 1px solid darken( $secondary, 3% );
- border-radius: 4px;
- padding: 1em 1em 0;
- @include clearfix();
- p {
- margin: 0 0 1em;
- }
- p.meta {
- font-size: 0.83em;
- }
- }
- }
- ul.children {
- list-style: none outside;
- margin: 20px 0 0 50px;
- .star-rating {
- display: none;
- }
- }
- #respond {
- border: 1px solid darken( $secondary, 3% );
- border-radius: 4px;
- padding: 1em 1em 0;
- margin: 20px 0 0 50px;
- }
- }
- .commentlist > li::before {
- content: '';
- }
- }
- }
- /**
- * Star ratings
- */
- .star-rating {
- float: right;
- overflow: hidden;
- position: relative;
- height: 1em;
- line-height: 1;
- font-size: 1em;
- width: 5.4em;
- font-family: 'star';
- &::before {
- content: '\73\73\73\73\73';
- color: darken( $secondary, 10% );
- float: left;
- top: 0;
- left: 0;
- position: absolute;
- }
- span {
- overflow: hidden;
- float: left;
- top: 0;
- left: 0;
- position: absolute;
- padding-top: 1.5em;
- }
- span::before {
- content: '\53\53\53\53\53';
- top: 0;
- position: absolute;
- left: 0;
- }
- }
- .woocommerce-product-rating {
- @include clearfix();
- line-height: 2;
- display: block;
- .star-rating {
- margin: 0.5em 4px 0 0;
- float: left;
- }
- }
- .products .star-rating {
- display: block;
- margin: 0 0 0.5em;
- float: none;
- }
- .hreview-aggregate .star-rating {
- margin: 10px 0 0;
- }
- #review_form #respond {
- @include clearfix();
- position: static;
- margin: 0;
- width: auto;
- padding: 0;
- background: transparent none;
- border: 0;
- p {
- margin: 0 0 10px;
- }
- .form-submit input {
- left: auto;
- }
- textarea {
- box-sizing: border-box;
- width: 100%;
- }
- }
- p.stars {
- a {
- position: relative;
- height: 1em;
- width: 1em;
- text-indent: -999em;
- display: inline-block;
- text-decoration: none;
- &::before {
- display: block;
- position: absolute;
- top: 0;
- left: 0;
- width: 1em;
- height: 1em;
- line-height: 1;
- font-family: 'WooCommerce';
- content: '\e021';
- text-indent: 0;
- }
- &:hover ~ a::before {
- content: '\e021';
- }
- }
- &:hover a::before {
- content: '\e020';
- }
- &.selected {
- a.active {
- &::before {
- content: '\e020';
- }
- ~ a::before {
- content: '\e021';
- }
- }
- a:not( .active )::before {
- content: '\e020';
- }
- }
- }
- /**
- * Tables
- */
- table.shop_attributes {
- border: 0;
- border-top: 1px dotted rgba(0, 0, 0, 0.1);
- margin-bottom: 1.618em;
- width: 100%;
- th {
- width: 150px;
- font-weight: 700;
- padding: 8px;
- border-top: 0;
- border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
- margin: 0;
- line-height: 1.5;
- }
- td {
- font-style: italic;
- padding: 0;
- border-top: 0;
- border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
- margin: 0;
- line-height: 1.5;
- p {
- margin: 0;
- padding: 8px 0;
- }
- }
- tr:nth-child(even) td,
- tr:nth-child(even) th {
- background: rgba(0, 0, 0, 0.025);
- }
- }
- table.shop_table {
- border: 1px solid rgba(0, 0, 0, 0.1);
- margin: 0 -1px 24px 0;
- text-align: left;
- width: 100%;
- border-collapse: separate;
- border-radius: 5px;
- table-layout: fixed
- th {
- font-weight: 700;
- padding: 9px 12px;
- }
- td {
- border-top: 1px solid rgba(0, 0, 0, 0.1);
- padding: 6px 12px;
- vertical-align: middle;
- small {
- font-weight: normal;
- }
- }
- tbody:first-child tr:first-child {
- th,
- td {
- border-top: 0;
- }
- }
- tfoot td,
- tfoot th,
- tbody th {
- font-weight: 700;
- border-top: 1px solid rgba(0, 0, 0, 0.1);
- }
- }
- table.my_account_orders {
- font-size: 0.85em;
- th,
- td {
- padding: 4px 8px;
- vertical-align: middle;
- }
- .button {
- white-space: nowrap;
- }
- .order-actions {
- text-align: right;
- .button {
- margin: 0.125em 0 0.125em 0.25em;
- }
- }
- }
- table.woocommerce-MyAccount-downloads {
- td,
- th {
- vertical-align: top;
- text-align: center;
- &:first-child {
- text-align: left;
- }
- &:last-child {
- text-align: left;
- }
- .woocommerce-MyAccount-downloads-file::before {
- content: '\2193';
- display: inline-block;
- }
- }
- }
- td.product-name {
- dl.variation, .wc-item-meta {
- list-style: none outside;
- dt, .wc-item-meta-label {
- float: left;
- clear: both;
- margin-right: .25em;
- display: inline-block;
- list-style: none outside;
- }
- dd {
- margin: 0;
- }
- p,
- &:last-child {
- margin-bottom: 0;
- }
- }
- p.backorder_notification {
- font-size: 0.83em;
- }
- }
- td.product-quantity {
- min-width: 80px;
- }
- /**
- * Cart sidebar
- */
- ul.cart_list,
- ul.product_list_widget {
- list-style: none outside;
- padding: 0;
- margin: 0;
- li {
- padding: 4px 0;
- margin: 0;
- @include clearfix();
- list-style: none;
- a {
- display: block;
- font-weight: 700;
- }
- img {
- float: right;
- margin-left: 4px;
- width: 32px;
- height: auto;
- box-shadow: none;
- }
- dl {
- margin: 0;
- padding-left: 1em;
- border-left: 2px solid rgba(0, 0, 0, 0.1);
- @include clearfix();
- dt,
- dd {
- display: inline-block;
- float: left;
- margin-bottom: 1em;
- }
- dt {
- font-weight: 700;
- padding: 0 0 0.25em;
- margin: 0 4px 0 0;
- clear: left;
- }
- dd {
- padding: 0 0 0.25em;
- p:last-child {
- margin-bottom: 0;
- }
- }
- }
- .star-rating {
- float: none;
- }
- }
- }
- .widget_shopping_cart {
- .total {
- border-top: 3px double $secondary;
- padding: 4px 0 0;
- strong {
- min-width: 40px;
- display: inline-block;
- }
- }
- .cart_list li {
- padding-left: 2em;
- position: relative;
- padding-top: 0;
- a.remove {
- position: absolute;
- top: 0;
- left: 0;
- }
- }
- .buttons {
- @include clearfix();
- a {
- margin-right: 5px;
- margin-bottom: 5px;
- }
- }
- }
- #secondary.widget-area {
- .widget_shopping_cart {
- .cart_list li {
- padding-left: 2em;
- a.remove {
- top: 13px;
- padding: 0;
- &:hover {
- background: transparent;
- color: red;
- opacity: .6;
- }
- }
- }
- }
- }
- /**
- * Forms
- */
- form .form-row {
- padding: 3px;
- margin: 0 0 6px;
- [placeholder]:focus::-webkit-input-placeholder {
- transition: opacity 0.5s 0.5s ease;
- opacity: 0;
- }
- label {
- line-height: 2;
- }
- label.hidden {
- visibility: hidden;
- }
- label.inline {
- display: inline;
- }
- select {
- cursor: pointer;
- margin: 0;
- }
- .required {
- color: red;
- font-weight: 700;
- border: 0;
- }
- .input-checkbox {
- display: inline;
- margin: -2px 8px 0 0;
- text-align: center;
- vertical-align: middle;
- }
- input.input-text,
- textarea {
- box-sizing: border-box;
- width: 100%;
- margin: 0;
- outline: 0;
- line-height: 1;
- }
- textarea {
- height: 4em;
- line-height: 1.5;
- display: block;
- box-shadow: none;
- }
- .select2-container {
- width: 100%;
- line-height: 2em;
- }
- &.woocommerce-invalid {
- label {
- color: $red;
- }
- .select2-container,
- input.input-text,
- select {
- border-color: $red;
- }
- }
- &.woocommerce-validated {
- .select2-container,
- input.input-text,
- select {
- border-color: $green - #111;
- }
- }
- ::-webkit-input-placeholder {
- line-height: normal;
- }
- :-moz-placeholder {
- line-height: normal;
- }
- :-ms-input-placeholder {
- line-height: normal;
- }
- }
- form.login,
- form.checkout_coupon,
- form.register {
- border: 1px solid darken( $secondary, 10% );
- padding: 20px;
- margin: 2em 0;
- text-align: left;
- border-radius: 5px;
- }
- form.login {
- input[type="password"] {
- margin-bottom: 5px;
- }
- .woocommerce-form__label-for-checkbox {
- margin: 0 0 0 10px;
- input[type="checkbox"] {
- margin-right: 5px;
- }
- }
- .woocommerce-LostPassword {
- margin-top: 10px;
- }
- }
- ul#shipping_method {
- list-style: none outside;
- margin: 0;
- padding: 0;
- li {
- margin: 0;
- padding: 0.25em 0 0.25em 22px;
- text-indent: -22px;
- list-style: none outside;
- input {
- margin: 3px 0.5ex;
- }
- label {
- display: inline;
- }
- }
- .amount {
- font-weight: 700;
- }
- }
- p.woocommerce-shipping-contents {
- margin: 0;
- }
- /**
- * Order page
- */
- ul.order_details {
- @include clearfix();
- margin: 0 0 3em;
- list-style: none;
- li {
- float: left;
- margin-right: 2em;
- text-transform: uppercase;
- font-size: 0.715em;
- line-height: 1;
- border-right: 1px dashed darken( $secondary, 10% );
- padding-right: 2em;
- margin-left: 0;
- padding-left: 0;
- list-style-type: none;
- strong {
- display: block;
- font-size: 1.4em;
- text-transform: none;
- line-height: 1.5;
- }
- &:last-of-type {
- border: none;
- }
- }
- }
- .wc-bacs-bank-details-account-name {
- font-weight: bold;
- }
- /**
- * Layered nav widget
- */
- .widget_layered_nav ul {
- margin: 0;
- padding: 0;
- border: 0;
- list-style: none outside;
- li {
- @include clearfix();
- padding: 0 0 1px;
- list-style: none;
- a,
- span {
- padding: 1px 0;
- }
- }
- li.chosen a::before {
- @include iconbefore( '\e013' );
- color: $red;
- }
- }
- .widget_layered_nav_filters ul {
- margin: 0;
- padding: 0;
- border: 0;
- list-style: none outside;
- overflow: hidden;
- zoom: 1;
- li {
- float: left;
- padding: 0 1px 1px 0;
- list-style: none;
- a {
- text-decoration: none;
- &::before {
- @include iconbefore( '\e013' );
- color: $red;
- }
- }
- }
- }
- /**
- * Price filter widget
- */
- .widget_price_filter {
- .price_slider {
- margin-bottom: 1em;
- }
- .price_slider_amount {
- text-align: right;
- line-height: 2.4;
- font-size: 0.8751em;
- .button {
- font-size: 1.15em;
- float: left;
- }
- }
- .ui-slider {
- position: relative;
- text-align: left;
- margin-left: 0.5em;
- margin-right: 0.5em;
- }
- .ui-slider .ui-slider-handle {
- position: absolute;
- z-index: 2;
- width: 1em;
- height: 1em;
- background-color: $primary;
- border-radius: 1em;
- cursor: ew-resize;
- outline: none;
- top: -0.3em;
- /* rtl:ignore */
- margin-left: -0.5em;
- }
- .ui-slider .ui-slider-range {
- position: absolute;
- z-index: 1;
- font-size: 0.7em;
- display: block;
- border: 0;
- border-radius: 1em;
- background-color: $primary;
- }
- .price_slider_wrapper .ui-widget-content {
- border-radius: 1em;
- background-color: $primary - #444;
- border: 0;
- }
- .ui-slider-horizontal {
- height: 0.5em;
- }
- .ui-slider-horizontal .ui-slider-range {
- top: 0;
- height: 100%;
- }
- .ui-slider-horizontal .ui-slider-range-min {
- left: -1px;
- }
- .ui-slider-horizontal .ui-slider-range-max {
- right: -1px;
- }
- }
- /**
- * Rating Filter Widget
- */
- .widget_rating_filter ul {
- margin: 0;
- padding: 0;
- border: 0;
- list-style: none outside;
- li {
- @include clearfix();
- padding: 0 0 1px;
- list-style: none;
- a {
- padding: 1px 0;
- text-decoration: none;
- }
- .star-rating {
- float: none;
- display: inline-block;
- }
- }
- li.chosen a::before {
- @include iconbefore( '\e013' );
- color: $red;
- }
- }
- /**
- * Product search widget
- */
- .widget_product_search {
- form.woocommerce-product-search {
- @include clearfix();
- .search-field {
- width: 100%;
- margin-bottom: 1em;
- }
- input[type="submit"] {
- float: right;
- }
- }
- }
- .woocommerce-message,
- .woocommerce-error,
- .woocommerce-info {
- padding: 1em 2em 1em 3.5em;
- margin: 0 0 2em;
- position: relative;
- background-color: lighten($secondary, 5%);
- color: $secondarytext;
- border-top: 3px solid $primary;
- list-style: none outside;
- @include clearfix();
- width: auto;
- word-wrap: break-word;
- &::before {
- font-family: 'WooCommerce';
- content: '\e028';
- display: inline-block;
- position: absolute;
- top: 1em;
- left: 1.5em;
- }
- .button {
- float: right;
- }
- li {
- list-style: none;
- padding-left: 0;
- margin-left: 0;
- }
- }
- /**
- * Right to left styles
- */
- .rtl.woocommerce div.product div.images .flex-control-thumbs li {
- float: right;
- }
- .woocommerce-message {
- border-top-color: #8fae1b;
- &::before {
- content: '\e015';
- color: #8fae1b;
- }
- }
- .woocommerce-info {
- border-top-color: #1e85be;
- &::before {
- color: #1e85be;
- }
- }
- .woocommerce-error {
- border-top-color: #b81c23;
- &::before {
- content: '\e016';
- color: #b81c23;
- }
- }
- /**
- * Account page
- */
- .woocommerce-account {
- .woocommerce {
- @include clearfix();
- }
- .woocommerce-MyAccount-navigation {
- ul {
- li {
- &.is-active {
- a {
- color: #a8a6a1;
- }
- }
- }
- }
- }
- .addresses .title {
- @include clearfix();
- h3 {
- float: left;
- }
- .edit {
- float: right;
- }
- }
- ol.commentlist.notes li.note {
- p.meta {
- font-weight: 700;
- margin-bottom: 0;
- }
- .description p:last-child {
- margin-bottom: 0;
- }
- }
- ul.digital-downloads {
- margin-left: 0;
- padding-left: 0;
- li {
- list-style: none;
- margin-left: 0;
- padding-left: 0;
- &::before {
- @include iconbefore( '\e00a' );
- }
- .count {
- float: right;
- }
- }
- }
- form.woocommerce-EditAccountForm {
- .button {
- margin-top: 1.3em;
- }
- }
- }
- /**
- * Cart/checkout page
- */
- .woocommerce-cart,
- .woocommerce-checkout,
- #add_payment_method {
- table.cart {
- .product-thumbnail {
- min-width: 32px;
- }
- img {
- width: 32px;
- box-shadow: none;
- }
- th,
- td {
- vertical-align: middle;
- }
- td.actions .coupon .input-text {
- float: left;
- box-sizing: border-box;
- border: 1px solid darken( $secondary, 10% );
- padding: 6px 6px 5px;
- margin: 0 4px 0 0;
- outline: 0;
- line-height: 1;
- }
- input {
- margin: 0;
- vertical-align: middle;
- line-height: 1;
- }
- }
- .wc-proceed-to-checkout {
- @include clearfix;
- padding: 1em 0;
- a.checkout-button {
- display: block;
- text-align: center;
- margin-bottom: 1em;
- font-size: 1em;
- padding: .8em;
- }
- }
- .cart-collaterals {
- .shipping_calculator {
- .button {
- width: 100%;
- float: none;
- display: block;
- }
- .shipping-calculator-button::after {
- @include iconafter( '\e019' );
- }
- }
- .cart_totals {
- p small {
- color: $subtext;
- font-size: 0.83em;
- }
- table {
- border-collapse: separate;
- margin: 0 0 6px;
- padding: 0;
- tr:first-child {
- th,
- td {
- border-top: 0;
- }
- }
- th {
- width: 40%;
- }
- td,
- th {
- vertical-align: top;
- border-left: 0;
- border-right: 0;
- line-height: 1.5em;
- }
- small {
- color: $subtext;
- }
- select {
- width: 100%;
- }
- }
- .discount td {
- color: $highlight;
- }
- tr td,
- tr th {
- border-top: 1px solid $secondary;
- }
- }
- .cross-sells ul.products li.product {
- margin-top: 0;
- }
- }
- .checkout {
- .col-2 {
- h3#ship-to-different-address {
- float: left;
- clear: none;
- }
- .notes {
- clear: left;
- }
- .form-row-first {
- clear: left;
- }
- }
- #customer_details {
- margin-bottom: 1.5em;
- }
- .create-account small {
- font-size: 11px;
- color: $subtext;
- font-weight: normal;
- }
- div.shipping-address {
- padding: 0;
- clear: left;
- width: 100%;
- }
- .shipping_address {
- clear: both;
- }
- }
- #payment {
- background-color: lighten($secondary, 5%);
- border-radius: 5px;
- ul.payment_methods {
- @include clearfix();
- text-align: left;
- padding: 1em;
- border-bottom: 1px solid $secondary;
- margin: 0;
- list-style: none outside;
- li {
- line-height: 2;
- text-align: left;
- margin: 0;
- font-weight: normal;
- input {
- margin: 0 1em 0 0;
- }
- img {
- vertical-align: middle;
- margin: -2px 0 0 0.5em;
- padding: 0;
- position: relative;
- box-shadow: none;
- }
- img + img {
- margin-left: 2px;
- }
- }
- li:not(.woocommerce-notice) {
- @include clearfix;
- }
- }
- div.form-row {
- padding: 1em;
- }
- div.payment_box {
- position: relative;
- box-sizing: border-box;
- width: 100%;
- padding: 1em;
- margin: 1em 0;
- font-size: 0.92em;
- border-radius: 2px;
- line-height: 1.5;
- background-color: $secondary;
- color: $secondarytext;
- input.input-text, textarea {
- border-color: darken( $secondary, 15% );
- border-top-color: darken( $secondary, 20% );
- }
- ::-webkit-input-placeholder {
- color: darken( $secondary, 20% );
- }
- :-moz-placeholder {
- color: darken( $secondary, 20% );
- }
- :-ms-input-placeholder {
- color: darken( $secondary, 20% );
- }
- .woocommerce-SavedPaymentMethods {
- list-style: none outside;
- margin: 0;
- .woocommerce-SavedPaymentMethods-token,
- .woocommerce-SavedPaymentMethods-new {
- margin: 0 0 0.5em;
- label {
- cursor: pointer;
- }
- }
- .woocommerce-SavedPaymentMethods-tokenInput {
- vertical-align: middle;
- margin: -3px 1em 0 0;
- position: relative;
- }
- }
- .wc-credit-card-form {
- border: 0;
- padding: 0;
- margin: 1em 0 0;
- }
- .wc-credit-card-form-card-number,
- .wc-credit-card-form-card-expiry,
- .wc-credit-card-form-card-cvc {
- font-size: 1.5em;
- padding: 8px;
- background-repeat: no-repeat;
- background-position: right 0.618em center;
- background-size: 32px 20px;
- &.visa {
- background-image: url('../images/icons/credit-cards/visa.svg');
- }
- &.mastercard {
- background-image: url('../images/icons/credit-cards/mastercard.svg');
- }
- &.laser {
- background-image: url('../images/icons/credit-cards/laser.svg');
- }
- &.dinersclub {
- background-image: url('../images/icons/credit-cards/diners.svg');
- }
- &.maestro {
- background-image: url('../images/icons/credit-cards/maestro.svg');
- }
- &.jcb {
- background-image: url('../images/icons/credit-cards/jcb.svg');
- }
- &.amex {
- background-image: url('../images/icons/credit-cards/amex.svg');
- }
- &.discover {
- background-image: url('../images/icons/credit-cards/discover.svg');
- }
- }
- span.help {
- font-size: 0.857em;
- color: $subtext;
- font-weight: normal;
- }
- .form-row {
- margin: 0 0 1em;
- }
- p:last-child {
- margin-bottom: 0;
- }
- &::before {
- content: '';
- display: block;
- border: 1em solid $secondary;
- border-right-color: transparent;
- border-left-color: transparent;
- border-top-color: transparent;
- position: absolute;
- top: -0.75em;
- left: 0;
- margin: -1em 0 0 2em;
- }
- }
- .payment_method_paypal {
- .about_paypal {
- float: right;
- line-height: 52px;
- font-size: 0.83em;
- }
- img {
- max-height: 52px;
- vertical-align: middle;
- }
- }
- }
- }
- .woocommerce-terms-and-conditions {
- border: 1px solid rgba(0,0,0,.2);
- box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
- background: rgba(0,0,0,.05);
- }
- /**
- * Password strength meter
- */
- .woocommerce-password-strength {
- text-align: center;
- font-weight: 600;
- padding: 3px 0.5em;
- font-size: 1em;
- &.strong {
- background-color: #c1e1b9;
- border-color: #83c373;
- }
- &.short {
- background-color: #f1adad;
- border-color: #e35b5b;
- }
- &.bad {
- background-color: #fbc5a9;
- border-color: #f78b53;
- }
- &.good {
- background-color: #ffe399;
- border-color: #ffc733;
- }
- }
- .woocommerce-password-hint {
- margin: 0.5em 0 0;
- display: block;
- }
- /**
- * Header cart
- */
- .site-header-cart {
- position: relative;
- margin: 0;
- padding: 0;
- .cart-contents {
- text-decoration: none;
- opacity: 1 !important;
- .count {
- margin-left: .25rem;
- font-size: .8em;
- font-weight: normal;
- color: rgba(255, 255, 255, .6);
- }
- &:before {
- content: "\f447";
- display: inline-block;
- font-family: Genericons;
- margin-right: .35rem;
- vertical-align: bottom;
- }
- }
- .widget_shopping_cart {
- @include clearfix;
- display: none;
- background: #15b6b8;
- padding: 1.5em;
- ul {
- position: static;
- }
- }
- .product_list_widget {
- margin: 0;
- padding: 0;
- box-shadow: none;
- li {
- display: block;
- &:first-child:before {
- content: none;
- }
- a {
- width: auto;
- padding: 0;
- border: 0;
- &:not(.remove) {
- margin-left: 1.5em;
- }
- &.remove {
- background: rgba(0,0,0,.75);
- top: 1.15em;
- left: 0;
- padding: 0 .2em;
- }
- }
- .quantity {
- margin-left: 1.5em;
- }
- }
- }
- .button {
- padding: .75em;
- }
- }
- /**
- * Infinite Scroll
- */
- .infinite-scroll .woocommerce-pagination {
- display: none;
- }
- @media screen and (min-width: 768px) {
- .woocommerce-active {
- .main-navigation {
- text-align: center;
- .menu {
- display: inline-block;
- }
- }
- .menu-toggle + div,
- .site-header-cart {
- display: inline-block;
- }
- }
- /**
- * Header cart
- */
- .site-header-cart {
- li:first-child {
- &:before {
- color: rgba(0,0,0,0.15);
- content: " \2022";
- margin-right: 1em;
- display: inline-block;
- }
- }
- .widget_shopping_cart {
- width: 280px;
- z-index: 999999;
- box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
- }
- .cart-contents {
- .icon {
- display: inline;
- }
- }
- &:hover,
- &.focus {
- .widget_shopping_cart {
- position: absolute;
- top: 2.2em;
- right: 0;
- display: block;
- }
- }
- }
- }
|