/* studiofabryka.pl mc, PZI, 18 lipca 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: #fff; background: #024185;} ::selection {color: #fff; background: #024185;} body { font-family: Tahoma, helvetica, arial, sans-serif; background: #F2F2F2; font-size: 12px; line-height: 21px; color:#535353; } .noborder td {border:0;} .font { font-family: 'Museo500Regular'; font-weight:normal; font-style: normal; } .fontb { font-family: 'Museo700Regular'; font-weight:normal; font-style: normal; } // Basic: header, article, footer, .top, .bottom {.full; z-index:60;} .top { background: url(images/bg.jpg) top no-repeat; min-height: 800px; } .bottom { height: 83px; background: url(images/footer.jpg) top repeat-x; } .bottom a { color: white;} .content { position: relative; margin:0 auto; width:960px; } @color1: #535353; @color2: #01209F; @color3: #0A243F; // Header: .logo { float: left; display: block; width:198px; height: 198px; margin:65px 0 0 20px; } header { h1, h2 {width:500px; margin-left:5px;} h1 { .fontb; font-size: 16px; line-height: 19px; text-transform: uppercase; color: @color2; float: left; margin: 70px 0 0 0; text-shadow: 1px 1px 6px white, 1px -1px 6px white, -1px 1px 6px white, -1px -1px 6px white; } h2 { .fontb; font-size: 16px; line-height: 19px; text-transform: uppercase; color: white; float: left; margin-top:11px; small { .font; font-size:11px; } } } // Article: article {padding-top: 80px;} nav { width: 232px; margin-left:10px; li, a { float: left; } li {clear: left; width:100%;} .lvl1 > li { border-top: 1px dotted #666; padding:3px 0; } .lvl1 > li:first-child { border-top: 0; padding:0 0 3px; } .lvl1 > li > a { background: url(images/bullet.png) 16px 8px no-repeat; text-transform: uppercase; line-height: 1.1em; padding: 5px 0 5px 32px; font-size: 14px; color: #535353; width: 200px; .fontb; .radius(3px); } .lvl1 > li > a:hover, .lvl1 > .current > a { color: #f2f2f2; text-decoration: none; background: @color2 url(images/hbullet.png) 16px 8px no-repeat; } .lvl2 { display: none; float: left; } .current .lvl2 {display: block;} .lvl2 a { color: #777; margin-left:33px; font-weight: bold; } .lvl2 .current a, .lvl2 a:hover { color: @color2; } } aside { float: left; width:252px; padding: 0 0 45px 0; background: url(images/colshadow.png) bottom no-repeat; } .sections { float: right; width: 700px; } .home .main { float: left; background: url(images/maintxtshadow.png) bottom no-repeat; padding-bottom:50px; > img { float: left; .radius(5px); margin-right:10px; border:1px solid #aeaeae; } } .more, .newsarch { height: 20px; color:white; font-size: 10px; .radius(5px); float: right; padding: 0 10px; line-height: 1em; background: url(images/more.jpg) top repeat-x; img {padding: 5px 0 0 3px; display: inline;} &:hover { background: #044994; } } h1, h2 { .font; font-size: 20px; color: @color2; text-transform: uppercase; margin-bottom: .3em; } .home #news { float: left; width: 100%; margin-top:-20px; h2 { border-bottom:1px dotted #666; padding-bottom:3px; } } .news { float: left; width: 690px; margin:5px 0; padding:5px; .radius(5px); cursor: pointer; .more {display: none;} small { font-size: 9px; color: @color2; float:left; line-height: 1em; } h3 { background: url(images/greybullet.png) 2px 6px no-repeat; float: left; clear: left; padding-left:15px; font-size:16px; line-height: 1.2em; .fontb; } } .news:hover { background: #999; color:white; small {color: white;} h3 {background: url(images/hbullet.png) 2px 6px no-repeat;} } .sub { section { p, ul, ol { padding-bottom: 1em; } ul li { list-style: none outside; padding: 0 0 0 12px; margin-left:30px; background: url(images/bullet.png) 0 7px no-repeat; } ol li {list-style: decimal outside; margin-left: 35px;} h2, h3, h4, h5 { .font; color: @color2; margin:.5em 0 .2em; } h2 {font-size: 20px;} h3 {font-size: 17px;} h4 {font-size: 15px;} h5 {font-size: 12px;} } a {color: @color2; &:hover {text-decoration: underline;}} .news { h3 {background: none; padding-left: 0; color: #333;} &:hover {background: none; h3 {color: @color2;} small {color:@color3;}} } } // Footer: .bottom {margin-top:10px;} address { font-style: normal; font-size: 11px; margin-top:10px; float: left; color: white } .madeby { float:right; margin:13px 0 0 0; strong, img {float: left;} strong { font-size:10px; color: white; font-weight: normal; line-height: 1.3em; 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 10px 10px !important; position: relative; padding:0 !important; } a { float:left; display:block; } img { float:left; display:block; max-width:160px; border:1px solid #999; .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: 218px; li { width: @giw; margin:0 0 15px 15px; } img {width:@giw; max-width:@giw;} strong { .font; float: left; width:100%; font-size:16px; color: @color2; margin:3px 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; } #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: #333; padding:5px 0; } label input, textarea { float:left; width:90%; padding:3px 6px; border:1px solid #ccc; .radius(1px); background: #f8f8f8; box-shadow:inset 0 0 15px #d7d7d7; } textarea { width:96.7%; height:138px; } form #error, form #ok { display:none; float:right; padding:1px 10px 2px; background: #ff0000; margin-right:5px; color: #fff; font-weight:bold; font-size:12px; .radius(2px); } form #ok {background: #1fac06;} .error-input { border:1px solid #ff0000; background: #ffe1e1; } button { float:right; background: @color2; color: white; font-weight:bold; padding:3px 10px 4px; .radius(2px); 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; a { color: @color2 !important; &:hover {color:@color3 !important;} } } } // Download lists .download { .plik{ display:none; color: #999; } a:hover {text-decoration: none;} li {background: none !important; padding-left: 0 !important;} } .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 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; } } }