/* studiofabryka.pl mc, ASN, 13 wrzeĊ›nia 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: #CF0001;} ::selection {color: #ffffff; background: #CF0001;} body { font-family: Tahoma, helvetica, arial, sans-serif; background: white; color:#585858; } @color1: #585858; @color2: #CF0001; @color3: #a10000; .noborder td {border:0;} .font { font-family: 'museo_sans_700regular'; font-weight: normal; font-style: normal; } // Basic: header, article, footer, .top, .bottom {.full; z-index:200;} .content { position: relative; margin:0 auto; width:925px; z-index: 20; } .top { background: url(../images/top.jpg) top no-repeat; min-height: 744px; } .bottom { background: url(../images/bottom.jpg) top no-repeat; min-height: 125px; } // Header header {height: 385px;} .logo { float: left; &:hover { opacity:.8; filter:alpha(opacity=80); } } nav { float: right; margin:15px 25px 0 0; li, a {float: left;} li { background: url(../images/sepa.jpg) 0 0 no-repeat; padding: 9px 0; } li:first-child {background: none;} a { .font; color: #2a2418; font-size: 15px; padding:4px 10px; margin:0 6px; line-height: 1em; text-transform: uppercase; text-shadow: 0 1px 0 #f0f0f0; } .hit a, a:hover { color: #fff !important; text-decoration: none !important; background: #d00000; text-shadow: 0 1px 0 #9c0000; box-shadow: inset 0 0 10px #9c0000; opacity:.8; filter:alpha(opacity=80); } } // Article .slideshow { border: 1px solid white; overflow: hidden; width: 462px; height: 248px; float: left; margin-top: -55px; } .home .main { float: right; width: 434px; margin:20px 5px 0 0; p, ul, ol { font-size: 12px; line-height: 1.5em; text-align: justify; padding-bottom: .8em; } a { color: @color2; &:hover {color: @color3; text-decoration: underline;} } } .baner { float: right; margin:-31px -3px 0 0; } .sub { article { margin:10px 0; } p, ul, ol { font-size: 12px; line-height: 1.5em; padding-bottom: .8em; } .main ul li { list-style: square outside; margin-left: 30px; } .main ol li { list-style: decimal outside; margin-left: 35px; } h1, h2, h3, h4, h5 { .font; margin:.5em 0 .3em; } h1 { color: @color2; font-size: 22px; padding-bottom:10px; margin-bottom: .5em; text-transform: uppercase; border-bottom:1px dashed #aaa; } h2, h3, h4, h5 { color: lighten(@color1, 10%); } h2 {font-size: 17px;} h3 {font-size: 15px;} h4 {font-size: 13px;} h5 {font-size: 11px;} a { color: @color2; &:hover { color: @color3; text-decoration: underline; } } } // Footer address { float: left; margin:28px 0 0 0; font-style: normal; color: white; font-size: 14px; } footer h5 { .font; float: right; line-height: 2em; margin:0 !important; font-size: 35px !important; color: white !important; text-shadow: 0 0 10px black, 0 0 10px black; } .madeby { float:right; clear: right; margin: 10px 0; img {float: left;} strong { font-size:10px; color: #333; font-weight: normal; float:left; margin:4px; } } // Gallery: .gallery { float:left; width:101%; padding:0; margin-top:1em; 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 14px 14px !important; position: relative; padding:0 !important; } a { float:left; display:block; } img { float:left; display:block; margin:0 !important; border:0 !important; 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 { float: left; clear: left; margin-top:30px; li, a, img {float: left;} li {margin-left:25px;} li:first-child {margin-left:0;} img {border:1px solid @color1;} } .realizacje { ul li {list-style: none !important;} ul:first-child li {margin-top:0;} li { width:468px; float: left; margin-top:20px; } li:first-child {margin-left:0;} p {padding-bottom:0 !important;} h3 { font-size: 18px !important; margin-top:0 !important; } .more {background: url(../images/more.png) right 5px no-repeat;} } .photo { float: right; margin-left: 1em; img { .radius(5px); border:1px solid white; min-width:350px; .transition; } &:hover { img { opacity: .8; filter: alpha(opacity=80); } } } // Tabels: @tborder: #ccc; table.centered { margin:0 auto 1em; th, td { text-align: center; } } table { 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:320px !important; float:right !important; } #contact-form { width:100%; padding-bottom:15px; } fieldset { float:left; width:100%; } .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:12px; color: #333; padding:5px 0; } label input, textarea { float:left; width:70%; 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; background: #FFA333; color: white; padding:3px 10px 4px; .radius(5px); cursor:pointer; font-size:13px; &:hover { opacity:.9; filter:alpha(opacity=90); } } .mapa { float: right; margin:5px 20px; small {font-size: 11px;} a { color: @color2 !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%; #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; } } } .rzetelna { float: left; clear: left; margin: 35px 0 15px; }