@import url('css/reset.css'); @import url('css/font/stylesheet.css'); @import url('fancybox/fancy.css'); /* studiofabryka.pl mc, cs construction, 26 sty 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: #e89528;} ::selection {color: #fff; background: #e89528;} body { font-family: Tahoma, Arial, Helvetica, sans-serif; color:@color1; } .font {font-family: 'MyriadProRegular';} @color1: #545454; @color2: #e89528; @color3: #ca6d09; @color4: #333; .noborder td {border:0;} /* --- Basic */ header, article, footer, .top, .bottom {.full;} body {background: url(images/bg.png) top repeat-x;} .top { background: url(images/topbg.jpg) top no-repeat; min-height:777px; } .content { position: relative; margin:0 auto; width:966px; } /* --- Header */ header { margin-top:2px; z-index: 20; .slideshow img:first, .ob {display:none;} } .slideshow { float:left; overflow: hidden; position: relative; z-index: 20; width:655px; height:331px; } .ob { float:right; z-index: 20; position: relative; overflow: hidden; width:311px; height: 331px; background: url(images/orange-box.png) 0 0 no-repeat; .slides { width:311px; height:74px; position: absolute; bottom:0; left:0; } } /* --- top nav */ .logo { float:left; margin:13px 0 0 0; padding-left:20px; border-left:1px solid #ddd; } nav { float:left; z-index: 50; position: relative; width:100%; height:90px; .lvl1 { float:right; margin-top:11px; z-index:40; } .lvl2, .lvl3 {display: none; z-index:50;} .lvl1 > li > a { float:left; font-size:14px; line-height:1em; text-transform: uppercase; color: @color1; padding: 5px 7px 4px !important; .font; border:1px solid transparent; 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; } .lvl1 > li { float:left; padding:21px 11px; position: relative; display: inline; background: url(images/menu-top-bg.png) right repeat-y; } .lvl1 > li:first-child { border-left: 1px solid #ececec; } .lvl1 > li > a:hover, .lvl1 > .current > a { color: @color2; } .lvl1 > .sub-open > a { background: white !important; color: @color1 !important; position: relative; z-index: 200; padding-bottom:9px !important; border-width:1px 1px 0 1px; border-style: solid; border-color:#ccc #ccc transparent #ccc; } .lvl2, .lvl3 { position: absolute; z-index:100; display:block; } .lvl2 { top:49px; left:5px; width:220px; opacity:.9; background: white; border:1px solid #ccc; li { float:left; width:100%; position: relative; } > li > a { color: #555; text-align:left; font-size:12px; float:left; padding:5px; width:210px; position: relative; border-top:1px solid #E0E0E0; } > li:first-child > a {border:0;} > li > a:hover { background: @color1 *1.5; color:white; } > .sub-open > a { background: @color1 /1.5; color:white; } } .lvl3 { position: absolute; top:0; left:190px; width:150px; background: @color1 /1.5; a { color:white; font-size:11px; text-align: left; float:left; padding:5px; width:140px; border-top:1px solid @color1 /1.2; &:hover { background: @color3; color:white; } } li:first-child a {border:0;} } } /* --- Article */ aside { float:right; width:230px; padding:20px 15px 15px 0; margin-top:19px; ul { float: left; clear:left; } .lvl1 { float:left; clear:left; } .lvl1 > li > a { .font; float:left; width:215px; color:@color1; font-size:16px; padding:7px 0 7px 20px; background: url(images/aside-menu-bg.png) 5px -52px no-repeat; transition: color .2s; -o-transition: color .2s; -moz-transition: color .2s; -webkit-transition: color .2s; } .lvl1 > li.current > a , .lvl1 > li > a:hover { color: @color2; background: url(images/aside-menu-bg.png) 5px 11px no-repeat; } .lvl2 { margin:0 0 10px 30px; > li { list-style: square outside; color: @color2; font-size:12px; line-height: 1.5em; float:left; clear:left; } } .lvl2 > li > a { color:@color1 /1.5; font-size:13px; line-height: 1.5em; &:hover { color: @color3; } } .lvl3 { a {color: #000; &:hover {color: @color2;}} } } .sections { float:left; width:685px; min-height:320px; border-right:1px solid #ccc; padding:15px 15px 15px 0; margin-top: 19px; } h1, h2, h3, h4, h5 { .font; font-weight:normal; color:#5c5e60; text-transform: uppercase; } h1 {font-size:20px; margin:0 0 10px 0;} h2, h3, h4, h5 {margin:1em 0 .5em 0;} h2 {font-size:17px;} h3 {font-size:15px;} h4 {font-size:14px;} h5 {font-size:13px;} p, section ul, section ol { font-size:12px; line-height: 1.5em; padding-bottom:1em; } section { a {color:@color3; &:hover {color: @color2;}} ul li { list-style: square outside; margin-left: 35px; } ol li { list-style: decimal outside; margin-left:35px; ol li { list-style: lower-latin; margin-left:20px; } } } /* --- Footer */ .bottom { height:90px; border-top:1px solid #ccc; } .madeby { float:right; margin:20px 10px 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; 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; 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); } 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; } } .sub .ba { width:666px; height:449px; margin:0 0 30px 0; } .ba-caption { position: absolute; bottom:0; left:0; z-index:100; padding:8px 5px; width:656px; background: url(images/white80.png); text-align:center; font-size:21px; text-transform: uppercase; } /* --- News */ .news { float:left; width:320px; min-height:110px; padding:10px; border-left:1px dashed #ccc; border-bottom:1px dashed #ccc; small { font-size:10px; color:@color3; } h3 { color:@color4; margin:.2em 0; } .more { float:right; color:white; margin-top:2em; background: @color3; padding:3px 6px; font-size: 13px; .font; .radius(1px); transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -webkit-transition: all .2s ease-in-out; &:hover { padding:3px 6px 3px 10px; background: @color3 /1.2; } } img { float:left; margin-right:10px; padding:2px; border:1px solid #ccc; max-width:130px; } } #news .even { border-left:0; } #news .last {border:0;} .back { float:left; color:white; background: @color3; padding:3px 6px; font-size: 13px; .font; .radius(1px); transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -webkit-transition: all .2s ease-in-out; &:hover { padding:3px 10px 3px 6px; background: @color3 /1.2; } } /* --- 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: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: @color2; color:white; font-size:14px; padding:3px 10px 4px; .radius(1px); cursor:pointer; &:hover {background:@color3;} } .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:685px; margin:.5em 0 0 0; #pages { float:left; width:100%; text-align: center; padding:0 !important; * { font-size:12px; display:inline; float: none !important; } a, span { padding:0 5px; border:0 !important; } a {cursor:pointer;} } } .jPag-current {color: @color2;} /* --- 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; }