@import url('css/reset.css'); @import url('css/font/stylesheet.css'); @import url('fancybox/fancy.css'); /* studiofabryka.pl mc, styl Art, 4 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: #3f2b16; background: #e6ceaa;} ::selection {color: #3f2b16; background: #e6ceaa;} body { background: url(images/repeater-y.jpg) top repeat-y; font-family: Tahoma, Arial, sans-serif; color:@color1; } .font { font-family: 'MyriadProSemibold'; font-weight: normal; } @color1: #fef3dd; @color2: #e7d1a6; @color3: #e28241; /* --- Basic */ header, article, footer, .top, .middle, .bottom, .bg {.full;} .bg { background: url(images/bg.jpg) top no-repeat; min-height: 846px; } .content { position: relative; margin:0 auto; width: 969px; } .top { background: url(images/top-bg.jpg) top no-repeat; height: 161px; } .middle { background: url(images/middle-repeater.jpg) top repeat-y; } .bottom { background: url(images/bottom-bg.jpg) top no-repeat; height:200px; } /* --- Header */ .logo { margin:12px auto; display: block; width:335px; } header nav { position: absolute; top:113px; left:176px; .lvl2, .lvl3 {display: none;} li { position: relative; float:left; } .lvl1 > li > a { .font; float:left; font-size:14px; line-height:1.5em; text-transform: uppercase; color: @color2; padding-top:1px !important; 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:0 10px; } .lvl1 > li { border-right:1px solid #403324; border-left:1px solid #140D07; padding:0 14px; } .lvl1 > li > a:hover, .lvl1 > .current > a { background: @color2 /1.1; color: @color2 /6; text-shadow: none; box-shadow: 0 0 4px #1d1610 inset; } .lvl1 > .sub-open > a { background: @color2 /1.1; color: @color2 /6; } .lvl1 > li:first-child {border-left:0;} .lvl1 > li:last-child {border-right:0;} .lvl2, .lvl3 { position: absolute; z-index:100; } .lvl2 { top:22px; left:14px; width:190px; background: @color2 /1.1; li { float:left; width:100%; } > li > a { color: @color2 /6; text-align:left; font-size:12px; float:left; padding:5px; width:180px; border-top:1px solid @color2 /1.4; } > li:first-child > a {border:0;} > li > a:hover { background: @color2 /1.2; } > .sub-open > a { background: @color2 /2; color:@color1; } } .lvl3 { top:1px; left:190px; width:150px; background: @color2 /2; a { color:@color1; font-size:11px; text-align: left; float:left; padding:5px; width:140px; border-top:1px solid @color2 /4; &:hover { background: @color2 /1.1; color:@color2 /6; } } li:first-child a {border:0;} } } /* --- middle [slideshow, etc] */ article { background: url(images/middle-bg.jpg) top no-repeat; min-height: 455px; } .homeflash { float:left; width: 946px; height: 271px; margin:-6px 0 0 11px; } .subflash { float:left; width: 948px; height: 158px; margin:-6px 0 0 11px; } h1, h2, h3, h4, h5 { .font; color: @color2; text-transform: uppercase; } .home { .main { width: 334px; margin-right:0; } #news { width:337px; img { float:left; margin-right:10px; } small { font-size:9px; color:@color1; line-height:1.5em; } h4 { color:@color1; font-size: 15px; text-transform: none; margin:.1em 0 .5em 0; } .arch { float: right; clear: right; font-size: 11px; color: #F0D8A8; font-weight: bold; margin-top:1.5em; padding-right:12px; background: url(images/triangle.png) right 3px no-repeat; } } } .main, #news, .kontakt { float:left; margin:15px 20px; h3 { font-size:18px; margin-bottom:.8em; } p, ul, ol { font-size:12px; line-height:1.4em; color:@color1; padding-bottom:.8em; text-align: justify; } img { border:2px solid @color2; .border(5px); } } .kontakt { width: 200px; margin-left:15px; overflow: hidden; .font; font-size:14px; color: @color2; line-height:1.4em; .tel { padding: 0 0 20px 75px; background: url(images/phone.png) 0 0 no-repeat; } address { font-style: normal; padding:20px 0 50px 0; background: url(images/address.png) 123px 14px no-repeat; } a {color: @color2;} } .more { float:right; color: @color1; font-size:11px; padding-right:12px; background: url(images/triangle.png) right 3px no-repeat; &:hover { color: @color2; } } .sub { aside.kontakt { position: absolute; top:152px; right:0; } h1 { margin:15px 0 0 20px; float:left; width:690px; font-size:18px; } section { float:left; width:690px; a { color:@color2; text-decoration: underline; &:hover { color: @color3;} } } .main { h2, h3, h4, h5 { float:left; width:100%; margin:1em 0 .5em; text-transform: none; } h2 {font-size:17px;} h3 {font-size:15px;} h4 {font-size:14px;} h5 {font-size:13px;} ul, ol {margin-left:35px;} ul li {list-style: square outside;} ol li {list-style: decimal outside;} } } /* --- footer */ .madeby { float:right; margin:-5px 15px 0 0; color: white; img {float:left;} strong { font-weight:normal; font-size:10px; float:left; margin:4px 4px 0 0; } } /* --- Gallery */ .gallery { float:left; margin:10px 0 10px 20px; ul { margin: 5px 0 !important; padding:0 !important; width:101%; float:left; } li { list-style:none !important; float:left; margin:0 0 5px 13px !important; position: relative; padding:0 !important; position: relative; overflow: hidden; } a { float:left; display:block; .border(5px); box-shadow: 0 0 8px #000 inset; } img { border:0; padding:0; float:left; border:2px solid @color2; .border(5px); display:block; 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:.8; filter:alpha(opacity=80); } li:first-child {margin-left:0 !important;} } .gi { a {box-shadow: none;} strong { clear:left; float:left; width:100%; font-size:12px; padding:5px 0; text-align:center; } } /* --- other */ table { margin:.8em 0; border-collapse:separate; border-spacing:2px; td { padding:5px !important; border:1px solid @color3 /3.8; font-size:12px; background: @color3 /8; } 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:15px 0 15px 20px; padding-top:15px; width:690px; } #contact-form { float:right; 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: @color1; 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: @color2 /5; 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:@color1; a { color: @color2 !important; &:hover {color:@color2 /2 !important;} } } } /* --- download */ #download { margin:10px 0; float:right; padding-top:10px; 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: @color3 !important; text-decoration: underline !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;} /* --- pikachoose */ .sg section { margin:10px 20px; width: 929px !important; } .specgal { float:left; position: relative; height: 535px; margin-bottom:5px !important; } .pika-image { position: absolute; top: 0px; right: 0; height: 535px; width: 695px; overflow: hidden; } /*position image holders */ .pika-image .animation, .pika-image .main-image { position: absolute; top: 0px; left: 0px; } .pika-image .animation { display: none; z-index: 2; } .pika-image img { border: 0; } pika-image .caption { position: absolute; background: url(images/75-black.png); border: 0px solid #141414; font-size: 11px; color: #fafafa; text-align: right; bottom: 50px; right: 10px; } .pika-image .caption p { padding: 0; margin: 0; line-height: 14px; } .pika-imgnav a { position: absolute; text-indent: -5000px; display: block; z-index: 3; } .pika-imgnav a.previous { background: url(images/prev.png) no-repeat left 50%; height: 50px; width: 50px; top: 243px; left: 10px; cursor: pointer; } .pika-imgnav a.next { background: url(images/next.png) no-repeat right 50%; height: 50px; width: 50px; top: 243px; right: 10px; cursor: pointer; } .pika-imgnav a.play { background: url(images/play.png) no-repeat 50% 50%; height: 50px; width: 50px; top: 10px; right: 10px; display: none; cursor: pointer; } .pika-imgnav a.pause { background: url(images/pause.png) no-repeat 50% 50%; height: 50px; width: 50px; top: 10px; right: 10px; display: none; cursor: pointer; } .pika-textnav { overflow: hidden; margin: 0px 0 0 0; visibility: hidden; } .pika-textnav a { font-size: 12px; text-decoration: none; font-family: helvetica, arial, sans-serif; color: #333; padding: 0px; } .pika-textnav a:hover { background: #e5e5e5; color: #0065B2; } .pika-textnav a.previous { float: left; width: auto; display: block; } .pika-textnav a.next { float: right; width: auto; display: block; } .pika-thumbs { margin: 10px 0 0 0; padding: 0; overflow: hidden; } .pika-thumbs li { float: left; list-style-type: none; width: 214px; margin: 0 2px; background: #999999; cursor: pointer; } .pika-thumbs li:last { margin: 0; } .pika-thumbs li .clip { position: relative; width: 214px; height: 163px; text-align: center; vertical-align: center; overflow: hidden; } ul.no-carousel { width: 200px; } /* jCarousel Styles */ /*if you're not using the carousel you can delete everything below this */ .jcarousel-skin-pika .jcarousel-container-horizontal { padding: 0px 0px; } .jcarousel-skin-pika .jcarousel-container-vertical { width: 214px; height: 535px; padding: 0px 20px 20px 0px; } .jcarousel-skin-pika .jcarousel-clip-horizontal { height: 90px; width: 460px; } .jcarousel-skin-pika .jcarousel-clip-vertical { width: 214px; height: 535px; } .jcarousel-skin-pika .jcarousel-item-horizontal { margin-right: 10px; } .jcarousel-skin-pika .jcarousel-item-vertical { margin-bottom: 23px; } .jcarousel-skin-pika .jcarousel-item-placeholder { background: #fff; color: #000; } .jcarousel-item img {max-width:300px;} .back { color:@color2/1.2; float:left; clear:both; display: block !important; padding:5px 0; margin:0; .font; text-decoration: none !important; text-shadow: 0 1px 3px #160e0c; box-shadow: none !important; strong {color: @color2/1.4 !important;} &:hover {color:@color2/1.4 !important;} } .sg .back {margin-left:22px !important;} .main .news { float: left; width:100%; margin-bottom: 1em; img { float:left; margin-right:1em; } small { font-size:9px; color:@color1; line-height:1.5em; } h4 { color:@color1; font-size: 15px; text-transform: none; margin:.1em 0 .5em 0; } h4, small, p { float: left; width:554px; } }