@import url('css/reset.css'); @import url('fancybox/fancy.css'); /* studiofabryka.pl mc, Kodak - Hochensee & Walachowski, 15 gru 2011 */ /* --- classes, constants */ .full { position:relative; width:100%; float:left; } .border(@radius) { border-radius: @radius; -moz-border-radius: @radius; -webkit-border-radius: @radius; } ::-moz-selection {color: #fff; background: #4a6f82;} ::selection {color: #fff; background: #4a6f82;} body { font-family: Tahoma, arial, sans-serif; color:@color1; } .font {font-family: Georgia, "Times New Roman", Times, times, serif; } @color1: #6d6d6d; @color2: #fc8a23; @color3: #fc8a23; /* --- Basic */ header, article, footer, .wrapper {.full;} .wrapper {overflow: hidden;} .content { position: relative; margin:0 auto; width: 868px; } body { background: #23282b url(images/totalbg.jpg) top no-repeat; } .sub { background: #23282b url(images/sub-totalbg.jpg) top no-repeat; } /* --- Header */ header { background: url(images/top-mask.png) top no-repeat; height:89px; z-index:40; } .logo { float:left; margin-top:5px; } header nav { float:right; margin-top:12px; .lvl2, .lvl3 {display: none;} li { position: relative; float:left; } .lvl1 > li > a { .font; float:left; font-style: italic; font-size:12px; color: white; text-transform: uppercase; text-shadow: 0 1px 1px #aa9d9d; transition: all .3s ease-in-out; -ms-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -webkit-transition: all .3s ease-in-out; padding:5px 5px; } .lvl1 > li { padding:12px 5px; } .lvl1 > li > a:hover { background: white; color: #3A4145; text-shadow: none; .border(4px); } .lvl1 > .current > a { color:#FFC300; text-shadow: 0 1px 1px #000; } .lvl1 > .sub-open > a { border-radius: 4px 4px 0 0; -moz-border-radius: 4px 4px 0 0; -webkit-border-radius: 4px 4px 0 0; background: #7c8a92; color:white; } .lvl1 > li:first-child {border-left:0;} .lvl1 > li:last-child {border-right:0;} .lvl2, .lvl3 { position: absolute; z-index:100; } .lvl2 { top:34px; left:4px; width:150px; background: #7c8a92; box-shadow: 0 3px 2px #333; border:1px solid #333; border-radius: 0 3px 3px 3px; -moz-border-radius: 0 3px 3px 3px; -webkit-border-radius: 0 3px 3px 3px; li { float:left; width:100%; } > li > a { color:white; font-size:12px; float:left; padding:5px; width:140px; border-top:1px solid #3A4145; text-shadow: 0 1px 2px #222831; } > li:first-child > a {border:0;} > li > a:hover { background: #485155; } > .sub-open > a { background: #7c8a92; } } .lvl3 { top:0; left:150px; width:150px; background: #485155; border-radius: 0 3px 3px 3px; -moz-border-radius: 0 3px 3px 3px; -webkit-border-radius: 0 3px 3px 3px; a { color:white; font-size:11px; float:left; padding:5px; width:140px; border-top:1px solid #3d4447; &:hover { background: #3d4447; } } li:first-child a {border:0;} } } /* --- middle [slideshow, etc] */ .slideshow { z-index:10; .full; height:433px; margin-top:-54px; text-align: center; .slides {position: absolute; display: inline; width:868px; height:433px; overflow:hidden;} .slides1 {left: -868px; opacity:.2; filter:alpha(opacity=20);} .slides2 {left: 0; border-left:2px solid #000; border-right:2px solid #000; z-index:15;} .slides3 {left: 868px; opacity:.2; filter:alpha(opacity=20);} } .static-slide { z-index:20; position: absolute; top:69px; right:0; width:308px; height: 386px; } .zamow-odbitki { z-index:30; position: absolute; top:47px; right:60px; width:191px; height: 53px; overflow:hidden; } /* --- Article @home */ h1, h2, h3, h4, h5 { .font; font-style: italic; font-weight: normal; color:white; text-shadow: -1px 3px 0 #000; } h1 { font-size: 24px; margin-bottom:.7em; } h2 {font-size:24px;} h3 {font-size: 20px;} h4 {font-size:18px;} h5 {font-size:15px;} article { background: url(images/bottom-mask.png) top no-repeat; z-index:30; margin-top:-33px; padding-top:40px; } .sub article { background: none; min-height:500px; z-index:20; } .home .main, .sub .kontakt { width:239px; float:left; text-align: justify; margin-right:22px; } .boxes { float:left; a { float:left; margin-left:15px; } a:first-child {margin-top:5px;} } p { color: #c8c8c8; font-size:12px; line-height:1.3em; } .sub { article h1, article section { margin:0 25px; width: 818px; float:left; } h1 {font-size:33px; padding-bottom:.5em;} h2, h3, h4, h5 {padding:1em 0 .6em;} .main p { color:white; padding-bottom:1em; font-size:14px; line-height:1.6em; text-shadow: 0 1px 1px #000; } .main { ul, ol { font-size:14px; color:white; line-height:2em; padding-bottom:1em; margin-left:35px; } ul li {list-style:square outside;} ol li {list-style:decimal outside;} img { border:2px solid white; .border(5px); box-shadow:0 0 7px #000; /* float:left; margin-right:15px; margin-top:5px; */ } } .main a { color: #fda52d; &:hover {color: #ff5942;} } .kontakt { h1 {margin-bottom:0; margin-top:12px;} p { float:left; margin-left:15px; margin-top:65px; } a {color: white; &:hover {color:@color2;}} p.first { margin:0 !important; } background: url(images/address-ico.jpg) 120px 60px no-repeat; } } /* --- footer */ footer { margin-top:15px; height:120px; z-index:50; } .sub footer { background: url(images/bottom-mask.png) top no-repeat; z-index:30; height: auto; padding-top:25px; } .sub footer .content {border:0;} .sub footer .bottom-foot { float:left; width:100%; border-top:1px solid #2d3436; margin-top:15px; padding-top:15px; padding-bottom:30px; } footer .content { border-top:1px solid #2d3436; padding-top:15px; } footer address { float: left; color: #686868; font-weight:bold; font-style: normal; font-size:11px; } .madeby { float:right; margin:-8px 0 0 0; color: white; img {float:left;} strong { color: white; font-weight:normal; font-size:10px; float:left; margin:7px 3px 0 0; } } /* --- Gallery */ .gallery { float:left; width:100%; ul { margin:0 0 0 -7px !important; padding:0 !important; width:102%; float:left; } li { list-style:none !important; float:left; margin:0 !important; position: relative; padding:0 !important; position: relative; overflow: hidden; width:208px; height:152px; background: url(images/gi-bg.png) 0 0 no-repeat; } a { float:left; display:block; margin:19px 0 0 17px; } img { border:0; padding:0; float:left; border:0; display:block; opacity:.8; filter:alpha(opacity=80); transition: all .3s ease-in-out; -ms-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -webkit-transition: all .3s ease-in-out; } a:hover img { opacity:1; filter:alpha(opacity=100); } li:first-child {margin-left:0 !important;} } .back { float:right !important; margin:1em 0 !important; color:white; font-size:12px; .font; transition: all .3s ease-in-out; -ms-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -webkit-transition: all .3s ease-in-out; } .back:hover { margin-right:10px !important; color:@color2; } .gi { strong { position: absolute; bottom:0; left:0; width:100%; font-size:12px; text-align:center; color: white; } li{height: 160px;} } /* --- other */ table { margin:15px auto; border-collapse:separate; border-spacing:2px; td { padding:5px !important; border:1px solid #ccc; font-size:12px; } td p {padding:0 !important;} } #main ul li { list-style:disc inside; margin-left:20px; } #main ol li { list-style:decimal inside; margin-left:20px; } /* --- Formularz */ .form { border-top:1px dashed #ccc; float:right; margin-top:15px; padding-top:15px; width:622px; } #contact-form { width:100%; 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: white; font-size:12px; padding:3px; } label input, textarea { float:left; width:90%; padding:3px 6px; border:1px solid #ccc; .border(5px); } textarea { width:97%; height:110px; } #contact-form button { float:right; background: @color2; color: white; font-size:13px; font-weight:bold; padding:5px 10px; .border(5px); } form #error, form #ok { display:none; float:left; padding:7px 10px; background: #ff0000; margin-left:5px; color: #fff; font-weight:bold; font-size:13px; .border(5px); } form #ok {background: #1fac06;} .error-input { border:1px solid #ff0000; background: #ffe1e1; } .mapa { float:right; margin-bottom:15px; small { font-size:10px; color:white; a { color: @color2 !important; &:hover {color:@color2 /2 !important;} } } } /* --- download */ #download { float:left; margin-top:10px; 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 { color: #fc8a23 !important; } } .typPliku {color:#999;} } /* --- 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;}