@import "normalize.less"; /* ===== Primary Styles ======================================================== Author: ========================================================================== */ @font-family: Helvetica, Arial, sans-serif; @light: #ffffff; @dull: #999; @dark: #231f20; @nav: #116333; @gold: #cbb677; @black: #000; @high: #8f261e; @template-width: 980px; .radius (@radius: 5px) { border-radius: @radius; -webkit-border-radius: @radius; -moz-border-radius: @radius; } .box-shadow (@size: 5px, @color: #888888) { -moz-box-shadow: 0px 0px @size @color; -webkit-box-shadow: 0px 0px @size @color; box-shadow: 0px 0px @size @color; } .gradient (@start: #959BA2, @finish: #6A737F) { background-image: linear-gradient(bottom, @start 0%, @finish 60%); background-image: -o-linear-gradient(bottom, @start 0%, @finish 60%); background-image: -moz-linear-gradient(bottom, @start 0%, @finish 60%); background-image: -webkit-linear-gradient(bottom, @start 0%, @finish 60%); background-image: -ms-linear-gradient(bottom, @start 0%, @finish 60%); background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, @start), color-stop(0.6, @finish) ); } body { background: @dark; font-size: 16px; font-family: @font-family; color: @light; min-width: 1020px; margin: 0px; padding: 0px; } ::-moz-selection { background: @nav; color: @light; text-shadow: none; } ::selection { background: @nav; color: @light; text-shadow: none; } td, th { vertical-align: top; } a { margin: 0; padding: 0; vertical-align: baseline; background: transparent; color: @dark; text-decoration: none; outline: 0; } a:hover { text-decoration: underline; } h1, h2, h3, h4, h5 { color: #105F30; font-weight: normal; background: url(../img/bg/rule.png) repeat-x bottom; margin: 0.1em 0 0.5em; padding-bottom: 0.3em; } h1 { font-size: 30px; } h2 { font-size: 26px; } h3 { font-size: 22px; } h4 { font-size: 18px; background: none; } dl { line-height: 2em; width: 100%; margin: 0; .altrow { background: #efefef; } } dt { padding-left: 4px; vertical-align: top; } dd { margin-left: 10em; margin-top: -2em; vertical-align: top; } .left { float: left; } .right { float: right; } .clear { clear: both; } .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } .spacer { padding-top: 12px; } .loading { background: url(../img/ajaxLoader.gif) no-repeat center; display: block; min-height: 300px; margin: 0 auto; } .loading2 { background: url(../img/ajaxLoader2.gif) no-repeat center; display: inline-block; width: 16px; height: 12px; } .w1by2, .w2by3, .w1by3, .w1by4 { clear: none; padding: 1%; } .w1by2 { width: 47%; } .w2by3 { width: 64.66%; } .w1by3 { width: 31.33%; } .w1by4 { width: 22%; } /** Links */ .button { display: inline-block; border: 0; padding: 4px 12px; margin: 3px; text-align: center; background: @nav; text-decoration: none; font-weight: 200; font-size: 16px; color: @light; } .big-button { border-style: solid; border-width: 1px 3px 3px 1px; text-decoration: none; padding: 6px 10px; font-size: 140%; border-top: none; border-right: 3px solid #D4C3AE; border-bottom: 3px solid #D4C3AE; border-left: none; background: @gold; color: white; display: inline-block; } .dark, .dark:hover { background-color: #105f30; color: #fff; .radius(); } .light, .light:hover { background-color: #CBB677; color: #000; .radius(); } .high, .high:hover { background-color: #8F261E; color: #fff; .radius(); } .forward { background-image: url(../img/buttons/forward.png); background-repeat: no-repeat; background-position: right center; padding: 5px 45px 5px 30px; margin: 3px 0px 3px 5px; } .backward { background-image: url(../img/buttons/backward.png); background-repeat: no-repeat; background-position: left center; padding: 5px 30px 5px 45px; margin: 3px 0px 3px 5px; } /** Layout CSS */ body { background: #FEEEDA; } #container { width: @template-width; margin: 0 auto; } header { margin: 36px 0 0; background: url(../img/bg/header.png) no-repeat; height: 269px; .menu { margin: 20px 40px 0; } } #contents { color: #555; .content { background-color: #F2E1CC; margin: 10px; padding: 20px; } .content-heading { margin: 10px; padding: 0px; } .index { width: 675px; float: left; } aside { width: 225px; float: right; } } footer { background: @nav; .contents { width: @template-width - 20; padding: 10px; margin: 0 auto; a, a:hover { color: @light; } } } /** Menus */ .menu { clear: both; height: 30px; bottom: 0px; padding: 0; ul { padding: 0; margin: 0; list-style: none; li:hover a, li a:hover, li a:visited { color: #ffffff; text-shadow: 0 0 10px #fff; } li:hover ul, li a:hover ul { visibility: visible; width: 210px; height: auto; position: absolute; top: 34px; left: 0px; background: #666666; border: none; overflow: visible; z-index: 100; padding: 10px 0; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -moz-border-radius-bottomleft: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; } li:hover ul li a, li a:hover ul li a { display: block; background: transparent; text-decoration: none; height: auto; line-height: 1.5em; width: 180px; padding: 8px 15px; margin: 0; color: #ffffff; } li:hover ul li a.drop, li a:hover ul li a.drop { display: block; color: #000000; height: auto; line-height: 1.5em; padding: 5px 10px 5px 35px; width: 210px; } li:hover ul li ul, li a:hover ul li a ul { visibility: hidden; position: absolute; top: 0; left: 0; height: 0; overflow: hidden; z-index: 100; } li:hover ul li a:hover, li a:hover ul li a:hover { text-decoration: none; } li:hover ul li:hover ul, li a:hover ul li a:hover ul { visibility: visible; position: absolute; top: 0px; color: #000000; left: 210px; height: auto; border: 1px solid #999999; border-top: none; z-index: 100; } li:hover ul li:hover ul.left, li a:hover ul li a:hover ul.left { left: -166px; } li:hover ul li:hover ul li a, li a:hover ul li a:hover ul li a { display: block; color: #ffffff f; height: auto; line-height: 1.5em; padding: 8px 15px; width: 180px; } li:hover ul li:hover ul li:hover a, li a:hover ul li a:hover ul li a:hover { color: #ffffff; text-decoration: none; } li { float: left; position: relative; list-style: none; ul li a:hover, a ul li a:hover { background: #000000; color: #ffffff; } a, span { padding: 10px 15px; margin: 0; color: #ffffff; display: inline-block; } ul { visibility: hidden; position: absolute; top: 0; left: 0; height: 0; overflow: hidden; z-index: 100; li { margin: 0px; } } } } } /** Flash messages */ #authMessage, #flashMessage, .flashMessage { padding:3px 10px 3px 22px; text-shadow:1px 1px 1px #fff; overflow:auto; margin:10px 0px 10px 0px; clear:both; } .message { border:1px dashed #990000; background:#F5D0CD url(../img/icons/icon_error.png) no-repeat 2px 3px; } .success { border:1px dashed #8EA534; background:#CBDA8F url(../img/icons/icon_success.png) no-repeat 2px 3px; } .info { border:1px dashed #2FADD7; background:#92D6ED url(../img/icons/icon_info.png) no-repeat 2px 3px; color: #000; } .notice { border:1px dashed #999; color: #000; text-align: center; } .error-message { background: url(../img/icons/icon_error.png) no-repeat 2px 3px; padding: 3px 15px 3px 20px; color: #d80001; text-align: left; clear: both; } /** Pagination */ ul.pagination { clear: both; list-style: none; padding:1em 0; li { padding-right:5px; display: inline; a { text-decoration: none; font-family: sans-serif; display: inline-block; } span { border:1px solid #ccc; text-decoration: none; .radius(); background:#fff; padding:5px 8px; } span.loading { border: none; padding-left: 20px; background: url('../img/auto-loader.gif') no-repeat left center; } } } /** */ table { clear: both; border: 0; margin: 0px; padding: 0px; width: 100%; border-spacing: 0px; th { text-align: left; border-bottom: 2px solid #555; padding: 5px 0px; color: #333; a.asc:after { content: ' ⇣'; } a.desc:after { content: ' ⇡'; } } td { padding: 5px 0px; } } table.grid { width: 100%; text-align: left; td, th { padding: 5px 10px; } } /** Forms */ form { clear: both; margin: 0px; padding: 0px; div { clear: both; margin-bottom: 1em; vertical-align: top; } label { display: block; margin-bottom: 3px; width: 20%; float: left; padding: 1%; } input { clear: both; width: auto; padding: 1%; } textarea { clear: both; width: auto; width: 60%; padding: 1%; height: 180px; } select { clear: both; vertical-align: text-bottom; padding: 1%; } select[multiple=multiple] { width: 98%; } option { padding: 0 3px; } input[type=checkbox] { clear: left; float: left; width: auto; margin: 0 6px 7px 2px; } input[type=radio] { float: left; width: auto; margin: 0 3px 7px 0; } div.radio label { margin: 0 0 6px 20px; } input[type=submit] { display: inline; width: auto; } .input { color: #444444; .form-error { background: #fcf0ef; border: 1px solid #cc0000; color: #cc0000; margin-right: 5px; } } .text, .password { input:disabled, textarea:disabled, select:disabled { background-color: #ebebe4; } input { border: 1px solid #999999; border-bottom-left-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px; color: #666666; margin-bottom: 5px; margin-right: 10px; width: 50%; padding: 10px; float: left; clear: none; } } .file input { width: 50%; padding: 10px; float: left; clear: none; } .select select { float: left; clear: none; } .checkbox { margin-left: 10px; input { margin: 4px 0 0 0; } } .required { label:after { content: ' *'; color: red; } } div.submit { border: 0; clear: both; margin-top: 10px; padding-left: 22%; } button, input[type=button], input[type=submit] { font-weight: normal; color: @light; border: 0px solid #BCCBD2; font-size: 1em; background-color: @nav; } button:hover, input[type=button]:hover, input[type=submit]:hover { background-color: @nav; } } /** Appointment Form */ #AppointmentForm { div { float: left; width: 31%; clear: none; } .radio { label { font-size: 100%; margin: 3px 0 0 0; padding: 5px 15px; width: 160px; border: 1px solid #D4C3AE; } label.selected { background-color: #7F7567; border: 1px solid #7F7567; color: @light; } label.disabled { border: 1px solid #D4C3AE; color: @dull; background: url(../img/buttons/booked.png) no-repeat right center; } input { position: absolute; top: -10000px; } } fieldset legend { color: @nav; margin-bottom: 5px; padding-bottom: 3px; } } #UserForm { margin: 0px; div { clear: none; width: 49%; float: left; margin-bottom: 0.4em; label { padding: 15px 5px 0px; font-size: 1em; text-align: right; } input { font-size: 1em; } } } #SearchStyles { margin-bottom: 0px; div { width: 32%; float: left; clear: none; margin: 0 0 5px; label { width: auto; } } } #ZoomWindow { background: url("../img/ajaxLoader.gif") no-repeat center; position: relative; width: 675px; height: 450px; padding-bottom: 30px; margin: 0 auto; } /***** Custom CSS */ .box { float: left; clear: none; position: relative; background: @light; border: 1px solid @light; width: 270px; padding: 5px; margin: 0 0px 35px 35px; a, a:hover { text-decoration: none; } h3 { padding: 5px; margin: 0px; color: #333; background: #D4C3AE; font-size: 110%; } h4 { padding: 5px; margin: 0px; color: #333; background: #FEEEDA; font-size: 110%; } .select, .remove { color: #fff; background: @nav; padding: 6px; position: absolute; right: 6px; bottom: 5px; } .remove { background: @gold; color: @dark; } .sold { position: absolute; z-index: 1; top: 36px; left: 14px; background: url(../img/icons/sold.png) no-repeat; width: 55px; height: 132px; } } .box2 { background: @light; width: 420px; margin: 0 10px 0 10px; min-height: 300px; a { text-decoration: none; } } .first { clear: left; margin-left: 0px; } .builders { background-color: #f2e1cc; margin-bottom: 24px; li { float: left; padding: 10px; border-right: 3px solid #fff; height: 80px; overflow: hidden; span { color: #105f30; display: block; height: 100%; padding-top: 30px; } a { display: inline-block; padding: 0 10px; opacity: 0.6; } } li:hover, li.current { background: #ebd1b0; a { opacity: 1; } } } .links { list-style: none; margin: 10px 0 10px 10px; padding: 0; color: @dark; li { padding: 5px 0 5px 20px; margin: 2px; background: #fff url(../img/icons/icon_arrow.png) no-repeat 9px 12px; a { font-size: 90%; color: @dark; } } } .pdfs li { padding: 5px 0 5px 35px; background: url(../img/icons/icon_pdf.png) no-repeat left center; } .steps { clear: both; list-style: none; padding: 0; margin: 0 0 2px 0; display: block; background: #0c4422; li.current { background: #0f7437; a { color: #fff; span.arrow { background: url(../img/buttons/arrow-on.jpg) no-repeat right top; } } } li { margin: 0; padding: 0 8px; border-right: 2px solid #f2e1cd; float: left; display: inline-block; a { display: block; padding: 0 16px; height: 42px; text-decoration: none; color: @light; background: url(../img/buttons/icon_circle.png) no-repeat 6px center; line-height: 43px; span.arrow { background: url(../img/buttons/arrow-off.jpg) no-repeat right top; height: 39px; line-height: 39px; width: 19px; padding: 0px; } span { display: inline-block; padding-right: 15px; } } } li.last { margin: 0; border-right: 2px solid #0c4422; } } @import "ie.less";