/* studiofabryka.pl mc, php olejnik, 25 maja 2012 */ @import url('css/reset.css'); @import url('css/font/stylesheet.css'); @import url('fancybox/fancy.css'); // Classes, main stuff: .full { position:relative; width:100%; float:left; } .radius(@radius) { 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: #222; background: #a18270;} ::selection {color: #222; background: #a18270;} body { font-family: Tahoma, helvetica, arial, sans-serif; background: url(images/bg.jpg); color:white; } .noborder td {border:0;} .font { font-family: 'TrajanProRegular'; font-weight:normal; font-style: normal; } // Basic: header, article, footer, .top, .bottom {.full; z-index:60;} .top { background: url(images/topbg.jpg) top no-repeat; min-height: 700px; } .bottom { min-height: 100px; border-top: 1px solid #504741; } .content { position: relative; margin:0 auto; width:924px; } @color1: #9c7e6c; @color2: #c3a391; @color3: #504741; // Header: header {height: 420px;} .logo { display: block; width:145px; height: 145px; position: absolute; top: 20px; left:390px; z-index: 60; } .flags { position: absolute; top:0; right: 0; padding: 2px 0 0 7px; width: 68px; height: 30px; background: url(images/flags.png) 0 0 no-repeat; } .flags li {float: left; margin:3px;} .flags a {.transition;} .flags a:hover { opacity:.8; filter:alpha(opacity=80); } nav { float: left; width:100%; margin:40px 0 0 0; position: relative; z-index: 50; li { float: left; background: url(images/menuseparator.png) 0 0 no-repeat; } .item1, .item4 {background: none;} .item1 a {margin-left:0;} .item6 a {margin-right:-19px !important;} a { .font; float: left; color: white; font-size: 14px; text-transform: uppercase; padding:5px; margin: 5px 19px; .transition; line-height: 1.5em; border-bottom: 3px solid transparent; } .current a, a:hover { border-bottom: 3px solid @color1; } .item3 { margin-right: 212px; } } .lang2 .item3 {margin-right:195px;} .slideshow { position: absolute; top:80px; right:-110px; z-index: 30; width: 687px; height: 318px; overflow: hidden; } // Article: .sections > h2, aside > h2, h1 { .font; color:white; font-size: 20px; text-transform: uppercase; margin-bottom: .8em; } .subtitle { text-transform: none !important; font-size:15px !important; } .home .sections { float: left; width: 605px; } .sub .sections {width: 100%;} aside { float: right; width: 283px; } .realizacje { float: left; display: block; width: 281px; height: 193px; overflow: hidden; .radius(10px); border:1px solid @color3; } .lid img { float: left; .radius(10px); margin-right: 1em; border:1px solid @color3; } section { p, ul, ol { font-size:12px; line-height: 21px; padding-bottom: .7em; } p {text-align: justify;} a { color: lighten(@color2, 10%); &:hover {color:@color1;} } .more { font-size: 11px; padding:5px 20px 5px; background: url(images/more.png) right 4px no-repeat; } h2, h3, h4, h5 { .font; margin: .5em 0 .2em; } h2 {font-size: 18px;} h3 {font-size: 16px;} h4 {font-size: 14px;} h5 {font-size: 12px;} ul li { list-style: disc outside; margin-left:35px; } ol li { list-style: decimal outside; margin-left:40px; } img { border-radius: 10px; border:1px solid #000; } } .home .lid .more { padding:8px 20px 5px; background: url(images/more.png) right 7px no-repeat; border-top:1px solid @color3; text-align: right; width:370px; float: left; } // News: #news { margin-left:-5px; .more {display: none;} .news { float: left; margin:0 5px 10px 5px; cursor: pointer; .transition; min-height: 250px; width:280px; &:hover { opacity:.7; } img { float: left; .radius(10px); margin-bottom: .4em; border:1px solid @color3; } h4 { font-size: 15px; text-align: center; } } .middle {margin: 0 1em 1em;} } // Footer: address { font-style: normal; font-size: 11px; margin-top:20px; float: left; } .madeby { float:right; margin:20px 0 0 0; strong { font-size:10px; color: white; font-weight: normal; float:left; margin:3px; } } // Gallery: .gallery { float:left; width:100%; 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 20px 20px !important; position: relative; padding:0 !important; } a { float:left; display:block; } img { float:left; display:block; width:214px; border:1px solid @color3; .radius(10px); 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: 325px; li { width: @giw; margin:0 0 15px 15px; } img {max-width:@giw;} strong { .font; float: left; width:100%; font-size:16px; color: white; margin:8px 0; text-align: center; } } // Tabels: @tborder: #D8C68F; table.centered { margin:0 auto; } table { border-collapse: separate; border-spacing: 2px; td, th { padding:8px; border:solid 1px @tborder; font-size:12px; 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: #01AACB; color:white; } } 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:right !important; padding-bottom:20px; } #contact-form { width:100%; padding-bottom:15px; } fieldset { float:left; width:60%; } fieldset:first-child { width:40%; } .subject {display:none;} label { float:left; width:100%; margin:3px 0; } label span { float:left; width:100%; font-size:12px; color: #F8F8F8; padding:5px 0; } label input, textarea { float:left; width:90%; padding:3px 6px; border:1px solid #ccc; .radius(5px); background: #f8f8f8; box-shadow:inset 0 0 15px #d7d7d7; } textarea { width:96.7%; height:118px; } 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; margin-right:4px; background: @color2; color: @color3; font-weight:bold; padding:3px 10px 4px; .radius(5px); cursor:pointer; font-size:13px; &:hover { opacity:.9; filter:alpha(opacity=90); } } .map { float:right !important; border-left: 1px dashed #ccc; border-right: 1px dashed #ccc; margin:22px 10px; padding:0 15px; width:300px !important; small { font-size:10px; color:white; a { color: white !important; &:hover {color:white !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: 0 0 30px 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; } a {cursor:pointer; border: 0 !important;} } } .jPag-current {color: #999;} // sortowalna tabela: .sort tr:hover td { color: white; background: transparent; } .sort thead th { color:white; 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; } .sort 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;} // 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; } } } .back { .font; float: right; color:#222; font-size:13px; padding:5px 10px; margin-bottom: 20px; background: @color2; .radius(5px); &:hover { opacity:.8; filter:alpha(opacity=80); } }