/* studiofabryka.pl mc, hilo, 31 sierpień 2012 */ @import url('font/stylesheet.css'); @import url('../fancybox/fancy.css'); /* RESET */ html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, address, img, strong, ul, ol, li, fieldset, form, label, legend, table, tbody, thead tr, th, td, button { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; text-decoration: none; } header, article, footer, aside, section, nav {display:block;} body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } sup { vertical-align: super; font-size: smaller; } small { font-size:smaller; } // Classes, main stuff: .full { position:relative; width:100%; float:left; } .radius(@radius) { border-radius: @radius; -o-border-radius: @radius; -ms-border-radius: @radius; -moz-border-radius: @radius; -webkit-border-radius: @radius; } .transition { transition: all .3s; -o-transition: all .3s; -ms-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; } ::-moz-selection {color: #ffffff; background: #ffa333;} ::selection {color: #ffffff; background: #ffa333;} body { font-family: 'Source Sans Pro', sans-serif; background: #f5f5f5 url(../images/bg.jpg) top no-repeat; color: #3c261c; } .noborder td {border:0;} .font { font-family: 'Source Sans Pro', sans-serif; font-weight:400; } .fontb { font-family: 'Source Sans Pro', sans-serif; font-weight:700; } // Basic: header, article, footer, .top, .bottom {.full; z-index:200;} .content { position: relative; margin:0 auto; width:990px; z-index: 20; } .top { min-height: 765px; } .bottom { // height: 202px; min-height: 65px; } // Header header { height: 515px; } .logo { position: absolute; top:22px; left: 25px; z-index: 40; } header nav { float: right; clear: right; margin-right: 10px; margin-top: 2px; li, a {float: left;} .lvl1 { background: url(../images/navbg.jpg) left bottom no-repeat; padding-left:2px; float: right; } li { background: url(../images/navbg.jpg) right bottom no-repeat; height: 63px; padding:0 2px; } a { .fontb; font-size: 16px; color: white; display: block; height: 63px; line-height: 70px; padding: 0 30px; transition: all .2s; box-shadow: inset 0 80px 60px #B9261E; } .hit a, a:hover { background-color: #9c1710; box-shadow: inset 0 30px 30px #B9261E; } } .wyszukiwarka { float: right; clear: right; width: 301px; margin:0 10px 0 0; padding: 10px; background: #871b16; } .szukaj { float: left; width: 301px; height: 23px; background: white; input { float: left; border:0; width: 291px; height: 17px; font-size: 11px; padding:3px 5px; background: white url(../images/szukaj.png) 97% center no-repeat; } } .slideshow { float: left; width: 982px; height: 354px; overflow: hidden; margin-top:18px; margin-left:-1px; /*background: url(../images/slideshowbg.png) 0 0 no-repeat;*/ a { position: relative; display: block; width: 972px; height: 343px; img { top:13px; left:10px; position: absolute; z-index: 20; } .mask { position: absolute; top:11px; left:10px; z-index: 30; } } } .koszyk { float: left; margin-bottom: 1.5em; width: 198px; height: 126px; background: #b9261e; h6 { text-align: center; float: left; width: 100%; .fontb; color: white; font-size:14px; letter-spacing: 1px; text-transform: uppercase; margin: 20px 0 10px; } h5 { .fontb; color: white; font-size:24px; text-align: center; text-transform: uppercase; float: left; width: 100%; letter-spacing: 1px; } button { float: left; color: #fcf7d5; font-size: 14px; .fontb; text-align: left !important; text-indent: 20px; margin: 13px 0 0 9px; background: #871b16 url(../images/zapytanie.png) 85% center no-repeat; width: 180px; height: 37px; padding:0; cursor: pointer; .radius(0 0 0 0); transition: all .2s; &:hover { background: #791814 url(../images/zapytanie.png) 90% center no-repeat; } } } // Article aside { float: left; width:198px; margin-right:20px; margin-left:10px; h2 { .fontb; float: left; color: #b9261e; font-size: 16px; text-transform: uppercase; padding-bottom: 8px; margin-bottom: 0; border-bottom: 1px dashed #a7a7a7; padding-left: 10%; background: url(../images/oferta.png) 2px 1px no-repeat; width: 90%; } nav { float: left; width:100%; margin-bottom: 40px; li { float:left; clear: left; } .lvl1 > li { border-bottom: 1px dashed #a7a7a7; } .lvl1 > li > a { .font; width:171px; float: left; font-size: 14px; color: #595959; margin:2px 0; padding:5px 5px 5px 22px; background: url(../images/bullet.png) 10px 9px no-repeat; transition: all .3s; } .lvl1 > li:hover > a, .lvl1 > .current > a { background: #e8e8e8 url(../images/bullet.png) 10px 9px no-repeat; color: #595959; } .lvl2 { float: left; margin:0 0 5px 25px; a { float: left; font-size: 14px; color: #595959; padding-left: 10px; margin:2px 0; background: url(../images/square.png) 0 5px no-repeat; } > .current a, > li a:hover { color: #111; } } } } .dystrybucja { float: left; width: 190px; margin-top:-20px; margin-bottom: 15px; text-align: center; h4 { .fontb; color: white; font-size: 11px; margin-bottom: 8px; text-transform: uppercase; } ul { float: left; width: 100%; height: 57px; background: white; .radius(5px); li { padding:5px 0; width:100% !important; text-align: center; } } a {cursor: default;} } .sections { float: right; width:732px; padding:0; margin-right: 10px; } .kategorie { float: left; width:101%; margin-bottom:15px; ul { float: left; width: 100%; } li:first-child {margin-left:0;} li { background: #b9261e; width: 358px; height: 62px; margin: 0 0 18px 18px; float: left; position: relative; transition: all .2s; &:hover { background: #a11912; } img { float: right; margin:0 25px 0 0; } span { .fontb; color: #fff; font-size:16px; letter-spacing: 1px; line-height: 1.3em; text-transform: uppercase; float: left; display: block; width:215px; margin:20px 0 0 25px; } } } .produkty { h2 { .fontb; color: #ffa333; font-size: 20px; text-transform: uppercase; float: left; margin:0 0 25px 0; } p { float: left; clear: left; font-size:12px; line-height: 1.3em; padding: 0 0 15px 0; } ul { float: left; width:103%; margin-left:-20px; } li { float: left; padding:5px; text-align: center; position: relative; margin: 0 0 20px 20px; width: 158px; height: 201px; padding:5px; background: white; transition: all .15s; &:hover { transform: scale(1.03); box-shadow: 0 10px 10px -8px rgba(0,0,0,.2); } img { //float: left; margin-bottom:8px; max-height: 140px; } strong { line-height: 1.2em; .fontb; font-size: 14px; color: #3c261c; width:94%; text-align: center; position: absolute; left:0; bottom:44px; padding: 0 5px; } a.dodaj { position: absolute; bottom:6px; left: 5px; display: block; width:157px; height: 30px; text-align: center; line-height: 30px; .fontb; font-size: 14px; color: #eeeddf; background: #b9261e; &:hover { cursor: pointer; background: #9f1d16; } } .product_id {display: none;} } } .sections { .main { p, ul, ol { font-size: 14px; line-height: 1.4em; padding-bottom: 1em; } ul li { display: block; padding-left:10px; margin-left:20px; list-style: none outside; background: url(../images/square.png) 0 8px no-repeat; } a { color: #B9261E; &:hover {text-decoration: underline;} } h2, h3, h4, h5, h6 { .font; margin:.5em 0 .3em; color: #B9261E; } h2 {font-size: 25px;} h3 {font-size: 22px;} h4 {font-size: 19px;} h5 {font-size: 16px;} h6 {font-size: 13px;} } h1 { .fontb; color: #B9261E; font-size: 30px; text-transform: uppercase; float: left; width: 100%; margin:0 0 15px 0; } } // Footer .bordered { .full; margin:10px 0; min-height: 50px; padding: 10px 0; border-top:1px solid #ddd; border-bottom:1px solid #ddd; h4 { text-transform: uppercase; padding-bottom: 8px; font-size: 14px; color: #202020; .fontb; } } .newsletter { float: left; text-align: center; padding-bottom:5px; padding-right:20px; margin-right: 23px; border-right: 1px solid #ddd; p { font-size: 10px; color: #202020; padding-bottom:5px; line-height: 1.2em !important; } form { float: left; clear: left; } input { float: left; width:188px; height: 18px; padding: 2px 3px; border:1px solid #ccc; .radius(5px); } button { float: left; clear: left; width:196px; padding: 5px 0; color: #202020; font-size: 10px; font-weight: normal; background: #ffa333; line-height: 1em; .radius(5px); margin-top:5px; &:hover { background: darken(#ffa333, 15%); } } } .zaufali { float: left; text-align: center; .logosy { float: left; height: 78px !important; width: 718px !important; border:1px solid #ddd; .radius(5px); ul { //float: left; margin:7px 10px 0 10px; //width:100% !important; } li { float: left; width: 143px; } li:first-child {margin-left:0;} } } footer { border-top: 1px dashed #a7a7a7; padding-top: 1em; } address { float: left; margin-top:2px; font-style: normal; font-size: 13px; color: #9f9f9f; .font; strong { text-transform: uppercase; .fontb; } span {margin: 0 10px} a { color: #595959; &:hover { text-decoration: underline; } } } .madeby { float:right; clear:right; margin: 0; strong { font-size:10px; color: #595959; font-weight: normal; float:left; margin:4px 3px 0 0; } } // produkt .bigphoto { float: right; margin-left: 15px; padding-left: 15px; border-left:1px dashed #a7a7a7; img { min-width:300px; } } .produkt .main ul li {margin-left:0 !important;} .produkt .dodaj { float: right; /*position: absolute; top:0; right: 30px;*/ font-size:14px; color: #fff; padding:10px 15px; text-transform: uppercase; background: #B9261E; .fontb; transition: all .2s; &:hover { background: darken(#B9261E, 10%); } } .produkt .gallery li {margin: 10px 0 0 12px !important;} // Gallery: .gallery { float:left; width:101%; padding:0; margin:.5em 0; ul { margin:0 !important; padding:0 !important; width:100%; float:left; } li:first-child {margin-left:0 !important;} li { list-style:none !important; float:left; margin: 0 0 10px 10px !important; position: relative; padding:0 !important; } a { float:left; display:block; width:125px; height:125px; padding: 5px; border:1px solid #ddd; text-align: center; line-height: 130px; background: white; } img { max-width: 100%; max-height: 135px; vertical-align: middle; transition: all .3s ease-in-out; -o-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); } } .gi { @giw: 138px; ul.odd li {background: #f8f8f8;} li { width: @giw; padding:10px !important; margin:0 !important; border-top:1px solid #ccc; } img {max-width:@giw; min-width: @giw; border:1px solid #ccc; background: white;} strong { .font; float: left; width:100%; font-size:14px; color: #333; margin:8px 0; text-align: center; } a:hover img {border:1px solid #cc0000;} a:hover strong {color: #cc0000;} } // minigal .minigal { float:left; img {max-width:173px;} } // Tabels: @tborder: #ccc; table.centered { margin:0 auto 1em; th, td { text-align: center; } } table { float: left; border-collapse: separate; border-spacing: 2px; margin-bottom:1em; td, th { padding:8px; border:solid 1px @tborder; font-size:12px; line-height: 1.5em; p {padding-bottom: 0 !important;} } th { border:solid 1px darken(@tborder, 20%); } } .only-rows { border-collapse: collapse; border-spacing: 0; td, th { border:0; border-top:solid 1px @tborder; } th {border:0;} } .zebra { border-collapse: collapse; border-spacing: 0; td, th { border:0; border-top:solid 1px lighten(@tborder, 5%); } th {background: lighten(@tborder, 7%);} .even td { background: lighten(@tborder, 15%); } th {border:0;} } .hovered { tr:hover td { background: #FFDD00; } } table.oferta { td { position: relative; text-align: center; vertical-align:top; } td span { .font; font-size:22px; color: #424242; float:left; width:100%; margin-top:30px; position: relative; z-index:20; display:block; height:30px; em { font-style: normal; font-size:16px; } } td img {margin-top:-60px;} td[colspan="3"] { span { margin:70px 0 0 480px; font-size:34px; width:auto; } img {margin-top: -100px;} } a:hover { img {opacity:.9;} span {color: #729824;} } } // Kontakt: .form { width:100% !important; float:left !important; margin: 30px 0; p { font-size: 14px; padding-bottom:.5em; } } #contact-form { width:100%; padding-bottom:15px; } fieldset { float:left; width:60%; } fieldset:first-child { width:40%; } .subject {display:none;} .star { color: #cc0000; float: none; clear: none; width: auto; } label { float:left; width:100%; margin:3px 0; } label span { float:left; width:100%; font-size:14px; color: #595959; padding:5px 0; } label input, textarea { float:left; width:90%; padding:5px 8px; border:0; border-bottom:1px dashed #a7a7a7; background: #fff; } textarea { width:96.7%; height:132px; } form .error, form .ok { display:none; float:right; padding:6px 10px; background: #ff0000; margin-right:5px; color: #fff; font-weight:bold; font-size:12px; .radius(5px); } form .ok {background: #1fac06;} .error-input { border:1px solid #ff0000; background: #ffe1e1; } button { float:right; background: #B9261E; color: #fff; padding:10px 30px; cursor:pointer; font-size:14px; &:hover { background: #961a14; } } .mapa { float:right !important; border-left: 1px dashed #a7a7a7; margin:0 0 22px 10px; padding:0 0 0 15px; width:400px !important; iframe {width: 100%; height: 250px} small { font-size:10px; color:#595959; a { color: #B9261E !important; &:hover {color:#96201a !important;} } } } // Download lists .download { .plik{ display:none; color: #999; } a:hover {text-decoration: none;} } .type_text {.plik{display: inline;}} .type_icons { li {list-style: none !important; margin:4px 20px !important;} a { color: #333 !important; text-decoration: none !important; padding:1px 0 2px 23px; background: url(../images/download/page_white.png) 0 0 no-repeat; &:hover {color: #006600 !important;} } // icons .pdf {background: url(../images/download/acrobat.png) 0 0 no-repeat;} .swf {background: url(../images/download/flash.png) 0 0 no-repeat;} .txt, .rtf {background: url(../images/download/text.png) 0 0 no-repeat;} .doc, .docx, .odf, .ott, .sxw, .stw {background: url(../images/download/word.png) 0 0 no-repeat;} .jpg, .jpe, .jfif, .png, .jpeg, .gif, .tif, .tiff, .ico, .bmp, .raw, .dcs {background: url(../images/download/picture.png) 0 0 no-repeat;} .flv, .mov, .mpeg, .avi, .divx {background: url(../images/download/movie.png) 0 0 no-repeat;} .ods, .sxc, .xls, .xlt {background: url(../images/download/excel.png) 0 0 no-repeat;} .odg, .sxd, .psd {background: url(../images/download/paint.png) 0 0 no-repeat;} .cdr, .ai {background: url(../images/download/vector.png) 0 0 no-repeat;} .php, .html, .css, .js, .less, .asp, .c {background: url(../images/download/code.png) 0 0 no-repeat;} .sql, .db, .dbf, .dbk {background: url(../images/download/database.png) 0 0 no-repeat;} .zip, .tar, .gz, .gzip, .rar {background: url(../images/download/zip.png) 0 0 no-repeat;} .rb {background: url(../images/download/ruby.png) 0 0 no-repeat;} .as {background: url(../images/download/actionscript.png) 0 0 no-repeat;} .cf {background: url(../images/download/coldfusion.png) 0 0 no-repeat;} .odp, .sxi, .ppt {background: url(../images/download/powerpoint.png) 0 0 no-repeat;} .iso, .nrg {background: url(../images/download/dvd.png) 0 0 no-repeat;} } // Paginator: #pages-container { float:left; width:100%; padding: .5em 0 1.5em; #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: .sort thead th { background: url(../images/table-unsort.png) right no-repeat; padding-right:20px; text-align: left; cursor:pointer; } .sort thead th.notsorted { background: none; cursor: text; } th.headerSortUp { background-image: url(../images/table-asc.png) !important; background-color: #f8f8f8 !important; } th.headerSortDown { background-image: url(../images/table-desc.png) !important; background-color: #f8f8f8 !important; } // Zoomed product layer: body.zoom {background: white;} div.zoom { width: 608px; height: 499px; padding: 17px; margin:0 auto; position: relative; } .zoom { .big {float:left;} .titles, .opis, .controls {float:right; width: 185px;} .titles { .font; color: #424242; padding: 1em 0; text-align: center; border-top: 1px solid #a0a0a0; border-bottom: 1px solid #a0a0a0; strong { font-weight: normal; font-size: 22px; } em { font-size: 15px; font-style: normal; } } .opis { margin:1em 0; font-size: 11px; color: #868686; line-height: 1.5em; } .controls { padding:.5em 0; position: absolute; bottom:17px; right:17px; border-top: 1px solid #a0a0a0; border-bottom: 1px solid #a0a0a0; li, a { float:left; } a { padding:5px 18px; .transition; &:hover {opacity:.8;} } .zoom-print { border-left: 1px solid #a0a0a0; border-right: 1px solid #a0a0a0; } } } .kontaktowa table {float: left;} #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; } .bx-window, .bx-wrapper { width: 718px !important; } .footnav { float: left; li, a {float: left;} a { color: #666; font-size: 12px; padding:0 10px; line-height: 1em; border-left:1px solid #666; } li:first-child a {border:0; padding-left:0;} a:hover, .hit a { color: #FF6701; } } .schowek-form { textarea {height: 97px;} .longspan {line-height: 1.4em;} } .jPag-snext, .jPag-sprevious { cursor:pointer; &:hover { opacity:.8; } } .prev-prod, .next-prod { margin:1em 0; .font; color: #B9261E; font-size:15px; padding-top:10px; border-top: 1px solid #ddd; transition: all .3s; -o-transition: all .3s; -ms-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; span { color: darken(#B9261E, 20%); } &:hover { color: darken(#FF6701, 10%); } } .prev-prod { float: left; width: 50%; &:hover {text-indent: -3px;} } .next-prod { float: right; width: 50%; text-align: right; &:hover {margin-right: -3px;} } .produkt .main ul { float: left; }