/*------------------------------------------------------------------ [LESS Stylesheet] Project: [Company Name] Designed by: Hameed Rahamathullah (@hameedraha), Alpha Weblab (http://alphaweblab.com) Package: master Framework Version: 1.0 -------------------------------------------------------------------*/ /*---- Fonts ----*/ @import "http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400"; @import "http://fonts.googleapis.com/css?family=Open+Sans:400,700"; @font-face { font-family: 'Typicons'; src: url('../fonts/typicons-regular-webfont.eot'); src: local('#'), url('../fonts/typicons-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/typicons-regular-webfont.woff') format('woff'), url('../fonts/typicons-regular-webfont.ttf') format('truetype'), url('../fonts/typicons-regular-webfont.svg#TypiconsRegular') format('svg'); font-weight: normal; font-style: normal; } /*---- Includes ----*/ /* master/reset */ @import "reset.less"; /* master/grid */ @import "grid.less"; /* master/html5 */ @import "html5.less"; /*---- Variables ----*/ /*---- Mixins ----*/ .rounded-corners(@radius: 5px) { border-radius: @radius; -webkit-border-radius: @radius; -moz-border-radius: @radius; } .box-shadow(@x: 5px, @y: 5px, @blur: 2px, @color: #ccc) { -webkit-box-shadow: @x @y @blur @color; box-shadow: @x @y @blur @color; } /*---- CSS ----*/ *::selection {background-color: #e10000; color: #fff;} body {background: #fafafa url(../images/bg-body.png) repeat-x;} body.hp {background: #fafafa url(../images/bg-body-hp.png) repeat-x;} header { background: url(../images/bg-header.png) no-repeat; min-height: 470px; padding: 20px; position: fixed; .box-shadow(0, 0, 5px, #ccc); .logo { height: 54px; padding: 12px 0 32px 0; } nav { margin: 10px 0; li { overflow: hidden; a { display: block; height: 28px; color: #f7bfbf; font-size: 0.80em; font-weight: bold; text-transform: uppercase; border-top: 1px solid #e94040; border-bottom: 1px solid #b60000; span { float: right; font-weight: normal; } &.nav-active, &:hover, &:focus { color: #fff; } } &:first-child a { border-top: none; } } } .contact-block { h5 { font-size: 0.825em; color: #fff; text-transform: uppercase; } p { font-family: 'Open Sans', sans-serif!important; font-size: 0.80em; color: #fff; line-height: 1.4em; margin-bottom: 5px; } a { color: #fff; &:hover, &:focus { text-decoration: underline; } } } } #content { .banner-slides { position: relative; width: 700px; height: 305px; > div { position: absolute; left: 0; top: 0; z-index: 99; &.banner-slide-active { z-index: 100; } } a, img { display: block; } } .banner-thumbs { padding-top: 5px; height: 149px; > div { width: 175px; float: left; margin-top: 5px; position: relative; z-index: 101; a { display: block; text-align: center; &:hover, &:focus { h3 { color: #222; } } } h3 { font-family: 'Open Sans', sans-serif!important; text-align: center; font-size: 0.90em; font-weight: 200; color: #777; text-transform: uppercase; line-height: 1.25em; font-weight: bold; } .top-arrow { display: none; } &.banner-active { .top-arrow { display: block; position: absolute; left: 77px; top: -18px; width: 20px; height: 11px; background: url(../images/bg-top-arrow.png) no-repeat; } h3 { color: #222; } } } } .main-content { padding-top: 40px; h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote {font-family: 'Open Sans', sans-serif!important; margin-bottom: 10px;} h1 {font-size: 2em; color: #bf0000; text-transform: uppercase; margin-bottom: 20px!important;} h2 {font-size: 1.25em; color: #bf0000;} h3 {font-size: 1em; color: #222;} p, li, label {font-family: 'Open Sans', sans-serif; font-size: 0.90em; text-align: justify; color: #222;} b, i, strong, em {font-family: 'Open Sans', sans-serif; color: #222;} blockquote {font-size: 1em; color: #1177C7;} li {margin-left: 25px;} ul, ol {list-style: outside square;} ol {list-style-type: decimal;} a {font-family: 'Open Sans', sans-serif; color: #bf0000;} a:hover, a:focus {text-decoration: underline;} hgroup { position: relative; p {font-size: 1em; font-weight: bold;} .product-selector { position: absolute; right: 0; top: 0; .dd-select > a { color: #222; } .dd-options { li {margin-left: 0!important;} a:hover {text-decoration: none;} label {cursor: pointer;} } .dd-selected:hover {text-decoration: none;} .dd-selected label {cursor: pointer;} } } table { width: 100%; margin-bottom: 10px; border-collapse: collapse; td {padding: 5px; border: 1px solid #ccc; border-collapse: collapse;} } #full-clients-list {display: none;} .floated-list { overflow: hidden; li {float: left; width: 211px; height: 50px; padding: 5px; margin: 5px; list-style: none; border: 1px solid #ccc; text-align: left; background: #fff; .rounded-corners(); vertical-align: middle; text-align: center;} } .gallery-block { overflow: hidden; margin-bottom: 10px; a { display: block; float: left; margin: 10px; cursor: zoom; border: 2px solid #fff; .box-shadow(0, 0, 5px, #ccc); } img { display: block; width: 128px; height: 96px; } } .content-block { background: #fff; border: 1px solid #d1d1d1; padding: 10px 20px 0 10px; margin-bottom: 10px; .rounded-corners(); h2 { display: inline-block; background: #bf0000; color: #fff; padding: 5px; margin-left: -10px; } } .product-block { background: #fff; border: 1px solid #d1d1d1; padding: 10px 20px 0 10px; margin-bottom: 10px; .rounded-corners(); overflow: hidden; .act-btn { display: inline-block; padding: 1px 4px; background: #bf0000; color: #fff; font-size: 0.825em; .rounded-corners(); } img { float: left; margin: 10px; } } .productdetails-block { background: #fff; border: 1px solid #d1d1d1; padding: 10px 20px 0 10px; margin-bottom: 10px; .rounded-corners(); overflow: hidden; .act-btn { display: inline-block; padding: 1px 4px; background: #bf0000; color: #fff; font-size: 0.825em; .rounded-corners(); } img { margin: 10px; &.halfsize {width: 50%; height: 50%;} &.quartsize {width: 25%; height: 25%;} &.floated-left {float: left; margin: 0 10px 10px 0;} &.floated-right {float: right; margin: 0 0 10px 10px;} } p { &.floated-left {float: left; margin: 0 10px 10px 0;} &.floated-right {float: right; margin: 0 0 10px 10px;} } } .contact-address { width: 230px; float: left; } .contact-comm { width: 230px; float: left; } .contact-enquiry { width: 230px; float: left; .enq-field { margin-bottom: 10px; position: relative; label { position: absolute; left: 10px; top: 2px; color: #a1a1a1; cursor: text; } input { padding: 4px 6px; width: 218px; border: 1px solid #d1d1d1; font-family: 'Open Sans', sans-serif; font-size: 0.90em; color: #444; .rounded-corners(); } textarea { padding: 4px 6px; width: 218px; border: 1px solid #d1d1d1; font-family: 'Open Sans', sans-serif; font-size: 0.90em; color: #444; .rounded-corners(); } } .enq-submit { margin-bottom: 10px; } .submitbutton { margin-left: 90px; padding: 4px 10px!important; text-align: center!important; font-family: 'Open Sans', sans-serif!important; font-size: 0.80em; font-weight: bold; color: #fff; text-decoration: none; line-height: 16px!important; background: url(../images/btn-bg.png) 0px -10px repeat-x; border: 1px solid #26ADE4; outline: none; cursor: pointer; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; zoom: 1; } .submitbutton:hover, .submitbutton:focus { background-position: 0px -50px!important; } .submitbutton:active { position: relative; top: 1px; left: 1px; } * html .submitbutton { margin-left: 444px!important; display: inline-block; position: relative; zoom: 1; } *:first-child+html .submitbutton { margin-left: 444px!important; } .error_box { display: none; background: #FAD3C4; border: 1px solid #A75B4E; color: #A75B4E; .rounded-corners(); padding: 5px; font-size: 0.75em; } } } } footer { border-top: 1px solid #e0e0e0; p { font-family: 'Open Sans', sans-serif!important; font-size: 0.75em; font-weight: normal; color: #b1b1b1; padding: 5px 0; } a { font-family: 'Open Sans', sans-serif!important; color: #777; &:hover, &:focus { text-decoration: underline!important; } } } .icon {font-family: 'Typicons'; font-weight: normal;} .align-center {text-align: center!important;}