@import url('css/reset.css'); @import url('css/font/stylesheet.css'); @import url('fancybox/fancy.css'); /* studiofabryka.pl mc, tdc tegoder cosmetucs, 31/01/2012 */ /* --- classes, constants */ .full { position:relative; width:100%; float:left; } .radius(@radius) { border-radius: @radius; -moz-border-radius: @radius; -webkit-border-radius: @radius; } ::-moz-selection {color: #fff; background: #a78f15;} ::selection {color: #fff; background: #a78f15;} body { font-family: Georgia, times, serif; color:@color1; } .font {font-family: 'ArabicTypesettingRegular'; font-weight: normal;} @color1: #40403f; @color2: #a78f15; @color3: #60551b; /* --- Basic */ header, article, footer, .top, .bottom {.full;} body {background: white;} .top { background: url(images/top-bg.jpg) top no-repeat; min-height:405px; } .sub .top { background: url(images/sub-top-bg.jpg) top no-repeat; min-height:239px; } .bottom { background: url(images/bottom-bg.jpg) top repeat-x; } .content { position: relative; margin:0 auto; width:970px; } /* --- Header */ nav.main { float:left; width:246px; ul { float:left; width:150px; margin-left:50px; padding:15px 0; border-top:1px solid #d3c78a; border-bottom:1px solid #d3c78a; } li { float:left; clear:left; padding:5px 0; a { width:188px; height:22px; text-transform: uppercase; float:left; display: block; margin-left:-18px; .font; color:@color2; font-size:20px; text-align: center; line-height: 1.3em; .radius(10px); transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -webkit-transition: all .2s ease-in-out; } } .current a, li a:hover { background: @color2; color: white; } } .logo { float:left; margin:20px 0 15px 1px; } .dystrybutor { position: absolute; top:18px; right:0; } .sub .dystrybutor {top:-13px;} .products { position: absolute; top:175px; right:20px; overflow: hidden; width:353px; height:271px; img {background-color: transparent !important;} } .sub .products { top:85px; overflow: hidden; width:254px; height:203px; } /* --- Article */ aside { width:246px; float:left; } #news { float: left; width:150px; margin-left:50px; padding:15px 0; h3 { font-size:22px; text-transform: uppercase; padding-bottom:15px; color:@color1; .font; float:left; width:100%; text-align: center; } .news { float:left; width:188px; margin-left:-18px; font-size:12px; color:@color1; padding-bottom:15px; margin-bottom:15px; background: url(images/aside-bg.jpg) bottom no-repeat; cursor: pointer; &:hover {color:@color1 *2;} p { font-size:12px; line-height: 1.4em; text-align: justify; } img { padding-bottom:10px; } } .news-arch { background: url(images/arch-ico.png) 0 3px no-repeat; padding:5px 0 5px 22px; font-size: 11px; font-weight:bold; color:@color1; float:left; &:hover { color:@color2; } } } .sub #news { float: left; width:100%; margin-left:0; padding:0; h3 { font-size:22px; text-transform: uppercase; padding-bottom:0; color:@color1; .font; float:left; width:100%; text-align: left; margin:.2em 0 .3em 0 !important; } .news:first-child { margin-top:0; padding-top:0; border:0; } .news { float:left; width:100%; margin-left:0; font-size:12px; color:@color1; padding-top:15px; margin-top:15px; background: none; border-top:1px solid @color2 *1.3; cursor: pointer; &:hover {color:@color1 *2;} p { font-size:12px; line-height: 1.4em; text-align: justify; } img { padding-bottom:0; float:left; margin-right:10px; } small { font:10px/1.2 Tahoma, arial, sans-serif; } .more { color: @color2; float:right; &:hover {color: @color3;} } } } .sections { float: left; margin:45px 0 0 0; padding-bottom:15px; width:700px; .section {.full;} } .boxes { .box { float:left; display: block; position: relative; width:340px; height:140px; transition: all .5s ease-in-out; -moz-transition: all .5s ease-in-out; -webkit-transition: all .5s ease-in-out; .more { position: absolute; bottom:25px; left:20px; font:11px/1.5 Tahoma, arial, sans-serif; color:white; .radius(13px); padding:4px 23px 4px 15px; background: @color2 url(images/more-arrow.jpg) 85px 10px no-repeat; transition: all .5s ease-in-out; -moz-transition: all .5s ease-in-out; -webkit-transition: all .5s ease-in-out; } &:hover { opacity:.8; filter:alpha(opacity=80); .more {left:30px;} } } .item1 {background: url(images/homebox-1.jpg) 0 0 no-repeat;} .item2 {background: url(images/homebox-2.jpg) 0 0 no-repeat;} .item3 {background: url(images/homebox-3.jpg) 0 0 no-repeat;} .item4 {background: url(images/homebox-4.jpg) 0 0 no-repeat;} .item1, .item2 {margin-bottom:10px;} .item2, .item4 {margin-left:20px;} } nav.second { float:left; margin:15px 30px 15px 45px; width:188px; .lvl1 > li, .lvl2 > li {list-style:disc;} .lvl1 > li > a { .font; text-transform: uppercase; font-size: 22px; color:@color1; } .lvl2 { margin-left:15px; padding-bottom:5px; } .lvl2 > li {font-size: 12px; line-height: 1.3em;} .lvl2 > li > a { line-height: 1.3em; font: 12px/1.5 Tahoma, arial, sans-serif; color:@color1; } a:hover, .current > a, li:hover, .current {color:@color2 !important;} .current li, li:hover li {color: @color1 !important;} .lvl3 a {color:@color1 /1.5; font: 11px/1.5 Tahoma, arial, sans-serif;} } .home .sections {margin-top:0;} .sub .sections {margin-top:40px;} .sections { h1, h2, h3, h4, h5 { .font; text-transform: uppercase; } h1 { font-size:30px; margin-bottom:.5em; } h2, h3, h4, h5 { color:@color2; margin:.6em 0 .3em; } h2 {font-size:27px;} h3 {font-size:24px;} h4 {font-size:21px;} h5 {font-size:18px;} p, ul, ol { padding-bottom:1em; font:12px/1.5 Tahoma, arial, sans-serif; } ul li {list-style: disc outside; margin-left:35px;} ol li { list-style: decimal outside; margin-left: 35px; ol li { list-style: lower-latin; margin-left:20px; } } p a { color: #9B995D; &:hover { color:#706E48; } } } /* --- produkty */ .active_title { background: fadeout(@color2, 40%) !important; color: white !important; img {border:1px solid fadeout(@color2, 40%) !important;} } .row_title { float:left; width:692px; height:40px; margin:0 0 3px 0 !important; background: fadeout(@color2, 80%); line-height: 1.65em; transition: all .2s; -o-transition: all .2s; -ms-transition: all .2s; -moz-transition: all .2s; -webkit-transition: all .2s; &:hover { background: fadeout(@color2, 70%); cursor: pointer; img {border:1px solid fadeout(@color2, 70%) !important;} } img { height:36px; float:left; margin-right:20px; border:1px solid fadeout(@color2, 80%); padding:1px 3px 1px 1px; background: white; } } .category_boxes {float:left; width:100%;} .produkty { .row {float: left; clear: both; width:100%;} .box { float:left; margin:4px 5px; padding-bottom:10px; border: 1px solid #ccc; width:680px; background: #f0f0f0 url(images/pboxbg.jpg) top repeat-x; transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -webkit-transition: all .3s ease-in-out; &:hover { opacity:.8; filter:alpha(opacity=80); } h3 { font-size:25px; color:@color1; margin:10px 0 10px 10px; text-transform: none; } h5 { font-size:22px; color: #969696; margin:.2em 0; text-transform: none; } img { float:left; margin:0 10px; max-width:130px; max-height:130px; } ul { float:left; margin-left:0; li {margin-left:15px;} a { color: @color1; &:hover {color: darken(@color2, 5%); text-decoration: underline;} } } .txts { float:left; width:530px; } .txt { float:left; margin:0 50px 0 10px; } } } body.produkt { .main .fancy {float:left; margin-right:15px;} .prodfoto { float:left; max-width:320px; max-height:280px; margin-right:15px; background: white; padding:3px; border:1px solid #ccc; } .lid ul{float:left; width:357px;} .lid li {margin-left:15px;} p {text-align: justify;} .kup_w_sklepie { float:right; margin-right:5px; &:hover { opacity:.8; filter:alpha(opacity=80); } } .back_to_kat { float:left; &:hover { opacity:.8; filter:alpha(opacity=80); } } } .kategorie_produktow { li { list-style: none !important; line-height: 1.8em !important; float:left; width:670px; margin:8px 15px; img { float:left; max-width:70px; padding:2px; margin-right:.5em; border: 1px solid @color2 *1.2; } a { .font; color: @color3; font-size: 26px !important; &:hover { color: @color2; img { opacity:.9; filter:alpha(opacity=90); } } } span {display: block;} .two_lines {padding-top:9px;} .one_line {padding-top:18px;} } } /* --- Footer */ .bottom { height:130px; } .madeby { float:right; margin:20px 30px 0 0; img {float:left;} strong { color: @color1; font-weight:normal; font-size:10px; float:left; margin:3px 4px 0 0; } } /* --- Gallery */ .gallery { float:left; padding:15px 0 0 0; ul { margin:0 !important; padding:0 !important; width:102%; float:left; } li { list-style:none !important; float:left; margin:0 0 8px 8px !important; position: relative; padding:0 !important; position: relative; overflow: hidden; } a { float:left; display:block; } img { border:0; padding:2px; float:left; border:0; background: #eee; display:block; border:1px solid #ccc; max-width:162px; transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -webkit-transition: all .3s ease-in-out; } a:hover img { opacity:.8; filter:alpha(opacity=80); } li:first-child {margin-left:0 !important;} } .gi { ul {padding-bottom:10px !important;} li { width:326px; margin-left:15px !important; } img { border:1px solid #ccc; width:320px; height:130px; display:block; padding:2px; max-width:320px !important; } strong { float:left; width:98%; font-size:15px; text-align:center; color:@color1; padding:5px 0; .font; text-transform: uppercase; font-weight:normal; } } /* --- other */ table { margin:15px auto; border-collapse:separate; border-spacing:2px; td { vertical-align: top; padding:5px !important; border:1px solid #ccc; font:12px/1.5 Tahoma, Arial, sans-serif; } td p {padding:0 !important;} } table.noborder td {border:0;} table.clearall td {border:0; padding:0;} /* --- Formularz */ .form { border-top:1px dashed #ccc; float:left; margin-top:15px; padding-top:15px; } #contact-form { width:99%; padding-bottom:15px; } fieldset:first-child {width:40%;} fieldset { float:left; width:60%; } .subject {display:none;} label { float:left; width:100%; margin:3px 0; } label span { float:left; width:100%; color: @color1 *1.5; font-size:12px; padding:3px; } label input, textarea { float:left; width:90%; padding:3px 6px; border:1px solid #ccc; .radius(1px); background: #f9f9f9; box-shadow: 0 0 6px #ccc inset; } textarea { width:97%; height:110px; } form #error, form #ok { display:none; float:right; padding:6px 10px; background: #ff0000; margin-right:5px; color: #fff; font-weight:bold; font-size:13px; .radius(1px); } form #ok {background: #1fac06;} .error-input { border:1px solid #ff0000; background: #ffe1e1; } button { float:right; background: @color1; color:white; font-size:14px; padding:3px 10px 4px; .radius(1px); cursor:pointer; &:hover {background:@color1 *1.2;} } .mapa { float:right; margin-bottom:15px; small { font-size:10px; color:@color1; a { color: @color2 !important; &:hover {color:@color2 /2 !important;} } } } /* --- download */ #download { float:left; width:99% !important; margin-top:15px; padding-top:5px; border-top:1px dashed #ccc; li { float:left; clear:left; padding:3px 0; margin-left:20px; padding-left:20px; list-style:none !important; background: url(images/download.png) 0 4px no-repeat; } a { font-size:12px; color: @color1 !important; &:hover { text-decoration:none; color: @color3 !important; } } .typPliku {color:@color3;} } /* --- paginator */ #pages-container { float:left; width:100%; #pages { float:left; width:100%; text-align: center; padding:0 !important; * { font-size:12px; display:inline; float: none !important; } a, span { padding:0 5px; } a {cursor:pointer;} } } .jPag-current {color: #999;} /* --- sortowalna tabela z menu */ .menu table { border-collapse: collapse; } .menu td { padding:5px; border:0; border-top: 1px dashed #d9c4ae; } .menu .even td { background: #f2ebdf; } .menu tr td:first-child, .menu .prices {text-align:center;} .menu tr:first-child td {border:0;} .sort tr:hover td { color: white; background: @color3; } thead th { color:@color2; font-weight:bold; font-size:13px; text-align:left; border: 1px solid #d9c4ae; padding:3px 20px 3px 5px; background: url(images/table-unsort.gif) right no-repeat; cursor:pointer; } thead th.notsorted { background: none; cursor: text; } th.headerSortUp { background-image: url(images/table-asc.gif); background-color: #fef7ed; } th.headerSortDown { background-image: url(images/table-desc.gif); background-color: #fef7ed; } table.sort { width:85%; margin:10px auto; } .sort .item0 {width:22px;} .sort .item1 {width:160px;} .sort .item2 {width:300px;} /* facebook plugin */ #facebookslider { position:fixed; right:-217px; top:25%; background: url('../images/facebook.png') 0 0 no-repeat; width:244px; height:380px; z-index:10000; } #facebookslider iframe { float:right; margin:8px 8px 0 0; background: #fff; } .clicktofb { display:block; width:32px; height:110px; margin-top:0; float:left; }