/* ============================== */ /* ! Layout for desktop version */ /* ============================== */ @color: #222; @font-size: 12px; @primary-color: #333; @secondary-color: @primary-color; @link-color: #426390; @link-color-hover: lighten(@link-color, 10%); @link-color-active: @color; @background-image: block; @page-background-color: white; @page-background-image: none; @page-background-position: left top; @page-background-repeat: repeat; @page-background-size: auto; @wrapper-width: auto; @wrapper-background-color: transparent; @wrapper-background-image: none; @wrapper-background-position: left top; @wrapper-background-repeat: repeat; @wrapper-background-size: auto; @head-height: 150px; @head-background-color: transparent; @head-background-image: none; @page-background-position: left top; @page-background-repeat: repeat; @page-background-size: auto; @menu-background-color: hsl(hue(@secondary-color), saturation(@secondary-color), 92%); @menu-background-image: none; @menu-background-position: left top; @menu-background-repeat: repeat; @menu-background-size: auto; @menu-border-color: transparent; @menu-border-style: none; @menu-background-color-active: lighten(@menu-background-color, 2%); @menu-link-color: @primary-color; @menu-link-color-hover: @link-color-hover; @menu-link-color-active: @link-color-active; @body-background-image: none; @body-background-color: inherit; @body-background-position: left top; @body-background-repeat: repeat; @body-background-size: auto; @foot-background-color: @body-background-color; @foot-background-image: none; @foot-background-position: left top; @foot-background-repeat: repeat; @foot-background-size: auto; @block-background-color: hsl(hue(@secondary-color), saturation(@secondary-color), 90%); @block-header-color: @color; @block-color: @secondary-color; @button-color: white; @button-background-color: @primary-color; @logo-image: none; @logo-height: 2em; @primary-font-family: Helvetica, Arial, sans-serif; @primary-font-weight: 400; @secondary-font-family: Helvetica, Arial, sans-serif; @secondary-font-weight: 400; @hr: block; .wrapper-style {} .head-style {} .menu-style {} .body-style {} .foot-style {} /* -- NEW Theme Values -- */ @primary-color: #fff; @secondary-color: #cc9900; @color: #000000; @link-color: #000; @link-color-hover: #000; @page-background-color: #afddd2; @page-background-repeat: no-repeat; @page-background-position: left top; @page-background-size: 100%; @wrapper-width: 980px; @wrapper-background-color: #afddd2; @wrapper-background-repeat: no-repeat; @wrapper-background-position: left top; @wrapper-background-size: auto; @head-background-color: #afddd2; @head-background-repeat: no-repeat; @head-background-position: left bottom; @head-background-size: 100%; @menu-background-color: #996633; @menu-background-repeat: repeat-y; @menu-background-position: left top; @menu-background-size: 100%; @menu-border-style: none; @menu-background-color-active: #444423; @menu-link-color: #afddd2; @menu-link-color-active: #afddd2; @body-background-color: #afddd2; @body-background-repeat: repeat; @body-background-position: left top; @body-background-size: auto; @foot-background-color: #c59a42; @foot-background-repeat: no-repeat; @foot-background-position: left top; @foot-background-size: auto; @block-header-color: #c59a42; @block-background-color: #0B3B39; @primary-font-family: georgia, serif; @primary-font-weight: normal; @secondary-font-family: georgia, serif; @button-color: #afddd2; @button-background-color: #344541; @head-height: 185px; @logo-height: 175px; @logo-image: url(/sites/freshbrewedlife.sonacart.com/files/FBL_logo2.png); @psi-base-favicon: url(/sites/freshbrewedlife.sonacart.com/files/favicon.jpg); @page-background-image: url(/sites/freshbrewedlife.sonacart.com/files/Bicycle_2_0.jpg); @head-background-image: url(/sites/freshbrewedlife.sonacart.com/files/FBL_banner2_0.png); @menu-background-image: url(/sites/freshbrewedlife.sonacart.com/files/MenuBar2.jpg); .wrapper-style { #edit-product-id { width: 350px; } #foot { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } #menu ul li.active { border-top-left-radius: 10px; border-top-right-radius: 10px; } #menu ul { border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } .price { color: #000; } .component-total { color: #000; } } .box { position: relative; background-color: @block-background-color; } .block-highlight-lighter .box { -webkit-box-shadow: inset 0px 1px 2px lighten(@block-background-color, 5%); } .block-highlight-darker .box { -webkit-box-shadow: inset 0px 1px 2px darken(@block-background-color, 5%); } #background { position: fixed; left: 0px; top: 0px; width: 100%; min-height: 100%; display: @background-image; opacity: 0.25; } body { background-color: @page-background-color; background-image: @page-background-image; background-repeat: @page-background-repeat; background-position: @page-background-position; background-size: @page-background-size; color: @color; font-size: @font-size; font-family: @secondary-font-family; } h1, h2, h3, h4, h5, h6 { font-family: @primary-font-family; font-weight: @primary-font-weight; margin: 0.5em 0; } header { h1, h2, h3, h4, h5, h6 { color: @primary-color; } clear: both; } p { color: lighten(@color, 10%); margin: 1em 0; } .reverse-text p { color: darken(@color, 10%); } .small { color: lighten(@color, 20%); font-size: 0.9em; } .reverse-text .small { color: darken(@color, 20%); } a { color: @link-color; text-decoration: none; } a:hover { color: @link-color-hover; text-decoration: underline; } img { display: block; } hr { border: none; background: #ccc; height: 1px; margin: 1em 0; display: @hr; } .price { font-size: 14px; color: darken(@secondary-color, 10%); } dt, label { /* color: #444; */ /* text-shadow: -1px -1px 2px rgba(255,255,255,0.5); */ font-weight: bold; font-size: 12px; display: block; } .reverse-text label { /* color: #fff; */ /* text-shadow: -1px -1px 2px rgba(0,0,0,0.5); */ } table { width: 100%; margin: 0.5em 0; tr { th, td { padding: 4px; vertical-align: middle; } td.active { background-color: inherit; } .views-field-commerce-unit-price, .views-field-quantity, .views-field-commerce-price, .views-field-commerce-total { text-align: right; } } thead { tr { background-color: @block-background-color; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,lighten(@block-background-color, 10%)), color-stop(100%,lighten(@block-background-color, 2%))); /* Chrome,Safari4+ */ border-bottom: solid 2px @block-background-color; th { color: @block-header-color; padding: 4px; } } } tbody { tr, tr.odd, tr.even { border-bottom: solid 1px @block-background-color; } } thead tr, tbody tr, tbody tr.odd { /* background-color: lighten(@body-background-color, 4%); */ } tbody tr.even { } } table.views-view-grid { td { padding: 0 0 10px; border-spacing: 0; vertical-align: top; } tr { background-color: transparent; border: none; } } .view-taxonomy-term table.views-view-grid td { width: 170px; } .line-item-summary { line-height: 24px; padding: 4px; margin-bottom: 0; .line-item-quantity { } .line-item-total { .line-item-total-label { margin-right: 0.5em; } .line-item-total-raw { vertical-align: baseline; .price; } } ul.links { display: block; margin: 1em 0 0; li.line-item-summary-view-cart { list-style: none; display: inline-block; zoom: 1; *display: inline; a { } } li.line-item-summary-checkout { a { .button; } } } } .component-total { font-weight: normal; .price; } legend { color: lighten(@color, 10%); font-size: 14px; font-weight: bold; padding: 0 0 1em; } .reverse-text legend { color: darken(@color, 10%); } .field-type-addressfield { margin-bottom: 0.5em; div.form-item { line-height: 28px; label { line-height: 1.5em; display: block; } input[type=text], select { margin: 0; display: inline; vertical-align: middle; } } } input[type=text], textarea { font-size: 12px; line-height: 15px; padding: 3px; margin: 4px 0; border: solid 1px #ccc; border-color: #999 #ccc #ccc #999; -webkit-box-shadow: inset 1px 1px 2px #ccc; vertical-align: baseline; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; -ms-box-sizing: content-box; box-sizing: content-box; } input[type=text] { height: 15px; display: block; } button, input[type=submit], .button { font-weight: bold; font-size: 13px; font-family: @primary-font-family; text-shadow: -1px -1px 1px rgba(0,0,0,0.25); text-decoration: none; line-height: 15px; height: 15px; color: @button-color; background-color: @button-background-color; padding: 4px 8px; margin: 0; border: solid 1px darken(@button-background-color, 10%); vertical-align: baseline; cursor: pointer; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; -ms-box-sizing: content-box; box-sizing: content-box; border-radius: 2px; } button:hover, input[type=submit]:hover, .button:hover { background-color: saturate(darken(@button-background-color, 10%), 10%); color: @button-color; text-decoration: none; border-color: darken(@button-background-color, 20%); } .button:active, input[type=submit]:active, .button:active { margin-top: 1px; /* margin-left: 1px; margin-right: -1px; */ margin-bottom: -1px; } button.large { font-size: 16px; line-height: 20px; height: 20px; } #wrapper { background-color: @wrapper-background-color; background-image: @wrapper-background-image; background-position: @wrapper-background-position; background-repeat: @wrapper-background-repeat; background-size: @wrapper-background-size; width: @wrapper-width; margin-left: auto; margin-right: auto; .wrapper-style; } #head { position: relative; z-index: 2; background-color: @head-background-color; background-image: @head-background-image; background-repeat: no-repeat; background-position: center top; /* height: @head-height; */ .head-style; .row { /* background-color: @head-foreground-color; background-image: @head-foreground-image; */ background-position: center; /* -webkit-box-shadow: @head-foreground-box-shadow; */ } #logo { margin: 0; a { /* background-image: @logo-image; background-repeat: no-repeat; background-position: left center; */ /* height: @logo-height; */ /* text-indent: -9999px; */ /* display: block; */ /* margin: 0 0; */ line-height: 0; img { display: inline; } } } #account { position: relative; float: right; /* position: absolute; right: 0px; top: 0px; */ padding: 0.5em 15px; padding-right: 0; z-index: 2; ul { line-height: 24px; li { margin: 0 0.5em; list-style: none; display: inline-block; zoom: 1; *display: inline; a { font-weight: bold; font-size: 12px; } } li.icon a { padding-left: 24px; background-position: 2px 50%; background-repeat: no-repeat; } /* li.icon.shopping-cart a { background-image: url("@{base-path}/images/80-shopping-cart.png"); } li.icon.register a { background-image: url("@{base-path}/images/187-pencil.png"); } li.icon.login a { background-image: url("@{base-path}/images/54-lock.png"); } */ } } } body.reverse-text #head #account { background-color: @menu-background-color; margin: 0; border: @menu-border-style 1px @menu-border-color; border-top: none; } #menu { position: relative; line-height: 36px; z-index: 2; .row { overflow: visible; } ul { /* font-size: 16px; */ float: left; li { position: relative; list-style: none; display: block; float: left; a { color: @menu-link-color; font-weight: @primary-font-weight; font-family: @primary-font-family; text-decoration: none; padding: 0; } .links { background-color: @menu-background-color; position: absolute; left: 0px; top: 100%; z-index: 1000; display: none; li { float: none; a { white-space: nowrap; } } } &:hover .links { display: block; } } li.first { } li:hover a { color: @menu-link-color-hover; } li.active a { color: @menu-link-color-active; } } form { line-height: inherit; float: right; input[type=text], button { margin: 0; height: 14px; line-height: 14px; display: inline-block; zoom: 1; *display: inline; vertical-align: middle; } button { padding: 3px 3px; border-radius: 0; background-color: darken(@menu-background-color, 10%); border-color: darken(@menu-background-color, 20%); width: 16px; text-indent: -9999px; } } .menu-style; } // Full width menu body.menu-full-width #menu { background-color: @menu-background-color; background-image: @menu-background-image; background-position: @menu-background-position; background-repeat: @menu-background-repeat; background-size: @menu-background-size; border-top: @menu-border-style 1px @menu-border-color; border-bottom: @menu-border-style 1px @menu-border-color; /* -webkit-box-shadow: inset 0 0 4px @menu-highlight-color; */ ul { li { a { padding: 0 16px; } } li.active { background-color: @menu-background-color-active; /* -webkit-box-shadow: inset 0 0 4px darken(@menu-background-color, 20%); */ } } } // Fixed width menu body.menu-fixed-width #menu { .content { background-color: @menu-background-color; background-image: @menu-background-image; background-position: @menu-background-position; background-repeat: @menu-background-repeat; background-size: @menu-background-size; border: @menu-border-style 1px @menu-border-color; /* -webkit-box-shadow: inset 0 0 4px white; */ } ul { li { padding-left: 20px; margin-left: 16px; a { } a:hover { border-bottom: solid 2px @menu-link-color-hover; } } li.first { background: none; padding-left: 0; margin-left: 8px; } li.active { a { border-bottom: solid 2px @menu-link-color-active; } } } form { padding: 0 8px; } } body.body-box-shadow #body .row { -webkit-box-shadow: 0 0 4px #888; } #body { position: relative; z-index: 1; background-color: @body-background-color; background-image: @body-background-image; background-repeat: @body-background-repeat; background-position: @body-background-position; .body-style; > .row { padding-top: 15px; padding-bottom: 15px; } #sidebar { .block { margin: 0 0 12px; border: solid 1px @block-background-color; border-radius: 2px; > header { color: @block-header-color; padding: 8px; border-bottom: solid 1px @block-background-color; :first-child { margin-top: 0; } :last-child { margin-bottom: 0; } } .content { padding: 8px; } &.block-taxonomy-block { ul { padding: 0; margin: 0; li { padding: 0.4em 0; margin: 0; list-style: none; display: block; a { color: @link-color; font-size: 14px; font-family: @primary-font-family; text-decoration: none; padding: 0 4px; padding-left: 16px; display: block; } a:hover { color: @link-color-hover; } } li { border-bottom: solid 1px hsl(hue(@secondary-color), 0, 80%); } li:last-child { border-bottom: none; } li.active > a, li > a.active { color: @link-color-active; } li ul { margin: 0.4em 0; } li ul li { padding: 0; border-bottom: none; } li ul li a { background-image: none; font-size: 12px; } } } } } #content { header { h2 { color: @primary-color; } } } } /* body.reverse-text #body #sidebar .block { border-color: hsl(hue(@secondary-color), saturation(@secondary-color), 7%); header { border-color: hsl(hue(@secondary-color), saturation(@secondary-color), 7%); } } */ .grid { margin-top: 5px; margin-bottom: 5px; } .media-wrapper { position: relative; text-align: center; padding: 4px; margin-bottom: 10px; border: solid 1px @block-background-color; img { display: inline; vertical-align: middle; border: none; } } /* .thumb { position: relative; margin-bottom: 10px; list-style: none; .content { padding: 4px; margin-left: -4px; margin-right: -4px; display: block; .description { } p { margin: 0.5em 0; } .price { font-size: 14px; margin: 0.5em 0; } .button { position: absolute; right: 0px; bottom: 0; font-size: 12px; padding-left: 0.25em; padding-right: 0.25em; margin: 4px; visibility: hidden; } } .image-wrapper { line-height: 150px; img { max-height: 150px; } } } */ .col2 > .media-wrapper { min-height: 100px; line-height: 110px; img { max-height: 110px; } } .col3 > .media-wrapper { height: 160px; line-height: 160px; img { max-height: 160px; } } .col4 > .media-wrapper { height: 220px; line-height: 220px; img { max-height: 220px; } } .col6 > .media-wrapper { line-height: 350px; img { max-height: 350px; } } .image-wrapper { position: relative; text-align: center; padding: 4px; border: solid 1px @block-background-color; img { display: inline; vertical-align: middle; border: none; } } .image-wrapper-large { height: 350px; line-height: 350px; img { max-height: 350px; } } .thumb:hover { .content { background-color: hsla(hue(@link-color), saturation(@link-color), lightness(@link-color), 0.2); /* background-color: hsl(hue(@link-color), saturation(@link-color), 95%); */ /* border-color: hsl(hue(@link-color), saturation(@link-color), 80%); */ .button { visibility: visible; } } } .thumb:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } #foot { background-color: @foot-background-color; background-image: @foot-background-image; background-position: @foot-background-position; background-repeat: @foot-background-repeat; background-size: @foot-background-size; color: lighten(@color, 20%); font-size: 11px; padding-top: 10px; padding-bottom: 10px; #help { li { list-style: none; display: inline-block; margin-right: 1em; zoom: 1; *display: inline; } } #copy { text-align: right; } } .reverse-text #foot { color: darken(@color, 20%); } .field-name-commerce-price { font-size: 1.2em; } .field-name-commerce-order-total .commerce-price-formatted-components tr.component-type-commerce-price-formatted-amount { background-color: inherit; } fieldset.checkout-buttons .checkout-cancel, fieldset.checkout-buttons .checkout-back { margin-left: 0; } .form-item, .form-actions { margin: 0.5em 0; } .form-actions { .form-submit { margin-left: 1em; } .form-submit:first-child { margin-left: 0; } } /* Tabs */ #content ul.primary { padding: 0; margin: 10px 0; border-bottom: none; li { display: inline-block; zoom: 1; *display: inline; } li a { background-color: @menu-background-color; color: @menu-link-color; padding: 0.5em 1em; border: none; } li a:hover { background-color: lighten(@menu-background-color, 10%); } li.active a { background-color: @menu-background-color-active; color: @menu-link-color-active; border: none; -webkit-box-shadow: inset 0px 1px 4px rgba(0,0,0,0.5); } } #taxonomy-term-filter-form label, #taxonomy-term-filter-form .form-item { display: inline-block; zoom: 1; *display: inline; } .views-exposed-form { line-height: 32px; } .views-exposed-form label { display: inline-block; zoom: 1; *display: inline; } .views-exposed-form .views-widget { display: inline-block; zoom: 1; *display: inline; } .views-exposed-form .views-exposed-widget .form-submit { margin-top: 0; } tr.even, tr.odd { background-color: transparent; } #content ul, #content ol { padding-left: 1.5em; } /* Product Discount Display */ .strikethrough { text-decoration: line-through; } .discount-amount { font-size: .9em; font-weight: bold; color: @primary-color; } .discounted-price { font-weight: bold; } fieldset.customer_profile_billing, fieldset.customer_profile_shipping, fieldset.commerce_coupon { border: solid 1px @block-background-color; padding: 0.5em; margin: 1em 0; legend { padding: 0 5px; } .fieldset-wrapper { padding: 0 5px; } } .view-media-library-page .views-field-field-url { max-width: 640px; } div[class*="commerce-donate-amount"] { .form-item { margin-top: .6em; } .field-prefix { float: left; line-height: 33px; } input { float: left; margin: 4px 2px; } .field-suffix { line-height: 33px; } label { line-height: 22px; } } /* ============================= */ /* ! Layout for mobile version */ /* ============================= */ @media handheld, only screen and (max-width: 767px) { body { } } /* ========================================== */ /* ! Provide higher res assets for iPhone 4 */ /* ========================================== */ @media only screen and (-webkit-min-device-pixel-ratio: 2) { /* .logo { background: url(logo2x.jpg) no-repeat; background-size: 212px 303px; }*/ }