/* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified */ .clearfix:before, .clearfix:after, .container_12:before, .container_12:after, .container_16:before, .container_16:after { content: '.'; display: block; overflow: hidden; visibility: hidden; font-size: 0; line-height: 0; width: 0; height: 0; } .clearfix:after, .container_12:after, .container_16:after { clear: both; } h1,h2,h3,h4 { color: #267f00; font-family: 'Tahoma'; font-style: normal; margin-top: 0; } h1 { font-size: 18px!important; line-height: 21px; margin-bottom: 8px; } .pull-right {float: right} .pull-left {float: left} .text-left {text-align: left} .text-center {text-align: center} .text-right {text-align: right} /* TODO: косячная верстка */ .f-send { .capcha { /* img,a,input,label{ float: none; display: inline-block; vertical-align: middle; margin: 0; padding: 0; }*/ img,a,input,label { display: block; float: left; margin: 0; margin-right: 10px; } a { float: right; padding: 5px 0 ; } label { margin: 0 !important; padding: 5px 0 ; height: auto; } .errorMessage { margin: 0; margin: 10px 0; } } } .content-columns{ position: relative; .column { float: left; padding: 0; position: relative; &.column-main { width: 740px; max-width: 740px; .column-main-child { padding: 15px 0 20px 0; } &:after { content: ""; position: absolute; background-color: #f3f3f3; width: 260px; height: 100%; top: 0; right: -260px; } } &.column-sidebar { float: right; width: 260px; background-color: #f3f3f3; } } .row-indent{ padding: 0 10px 0 15px; &.alpha { padding-left: 0; } &.omega { padding-right: 0; } } } .bg-odd {background-color: #fcfb9e;} .bg-even {background-color: #d7f3ba;} .company-module { .header-text { margin-bottom: 15px; } } .companies-list { margin: 0 0 20px 0; padding: 0; li.item{ list-style: none; margin: 0 0 0 0; padding: 5px 15px 10px 15px; border-bottom: 1px solid #d4d4d4; h3{ a { font: bold normal 15px/18px 'Arial' } } } li.item-priority { list-style: none; border: none; padding: 15px 15px; margin: 0 0 9px 0; } } .pagination { position: relative; overflow: hidden; .yiiPager { position: relative; left: 45%; float: left; li { position: relative; right: 0; display: block; float: left; padding: 8px 9px; a { background-color: transparent; border: none; text-decoration: underline; color: #333333; border-bottom: 3px solid transparent; padding: 0; font-size: 14px; } } li.selected { background-color: #cccccc; border-bottom:3px solid #bbbbbb; a { text-decoration: none; color: #535353; font-weight: normal; } } } } .add-link { color: #3f66b1; position: relative; font-size: 1.2em; margin-top:3px; &:hover { text-decoration: underline; } &:before { content: "+"; position: absolute; top: 0; left: -10px; font-weight: bold; } } .widget { padding: 15px; margin-bottom: 12px; ul { margin: 0 0 0 10px; padding: 0; li { margin: 0 0 0.5em 0; } } .title { color: #287F00; font-size: 18px; margin-bottom: 20px; } .add-link { font-size: 12px; text-decoration: underline; &:hover { color: #000; } } } .vip-list { margin: 0; padding: 0; li{ list-style: none; margin-bottom: 8px; a{ text-decoration: underline; color: #3f67b1; font: normal normal 12px/14px 'Arial'; &:hover { color: #000; } } } .img-wrap { width: 60px; height: 50px; overflow: hidden; img{ max-width: 100%; width: 100%; height: auto; } } .link-wrap { width: 180px; max-width: 180px; margin-left: 8px; padding-top: 5px; } .price { color: #545454; font-size: 16px; } } .special-list { } .page-text-footer { margin: 20px 0 20px 0; color: rgb(116, 116, 116); } .page-company { h1 { margin-bottom: 20px; } h2, h3 { color: #525252; font: normal bold 15px/18px 'Arial'; } .anons { border-top: 2px solid #eeeeee; padding: 13px 0; margin-bottom: 6px; .img-wrap { width: 90px; } .text-wrap { width: auto; &.many-columns { width: 580px; margin-left: 17px; } } } .rubrics { margin-top: 13px; a{ color: #3f66b1; text-decoration: underline; line-height: 16px; &:hover { color: black; } } } .personal-menu-wrap { background-color: #eaeaea; padding: 10px 0; margin-bottom: 20px; overflow: hidden; .personal-menu { padding: 0; margin: 0; float: left; position: relative; left: 50%; li{ list-style: none; float: left; margin-right: 30px; position: relative; right: 50%; a{ color: #525252; font:normal normal 13px/16px 'Arial'; text-decoration: underline; &:hover { color: black; } } } } } .phones { color: #111111; margin-bottom: 8px; line-height: 1.4em; } .contact-list { margin-bottom: 11px; .item{ list-style: none; margin-bottom: 6px; line-height: 20px; color: #000; a{ text-decoration: underline; color: #3f67b1; &:hover { color: #000; } } &.icon { padding-left: 30px; background: url(../img/pics.png) no-repeat; &.icon-call {background-position: 0 2px;} &.icon-message {background-position: 0 -30px;} &.icon-skype {background-position: 0 -61px;} &.icon-icq {background-position: 0 -95px;} } } } .social-list { float: left; margin-bottom: 13px; .item { width: 24px; height: 24px; float: left; list-style: none; margin-right: 5px; a{ display: block; height: 100%; } &.icon { background: url(../img/pics.png) no-repeat; &.icon-facebook {background-position: 0 -135px;} &.icon-vk {background-position: -58px -135px;} } } } .map-wrap { border: 2px dashed #dcd4b5; margin-top: 11px; margin-bottom: 3em; .map { height: 210px; overflow: hidden; } } .element { margin-bottom: 40px; } .link-more { color: #3f66b1; font: normal normal 12px/14px 'Arial'; } .bill-list { margin: 0; padding: 0; .item { list-style: none; border-bottom: 1px solid #d4d4d4; padding-bottom: 6px; margin-bottom: 12px; .goto { font: normal normal 14px/17px 'Arial'; text-decoration: underline; color: #000000; &:hover { color: red; } } .item-title { margin-bottom: 10px; } .item-image { float: left; width: auto; max-width: 100px; } .item-content { width: auto; padding-left: 115px; position: relative; min-height: 100px; .item-content-bottom { margin-top: 25px; font-size: 11px; line-height: 14px; color: #777777; position: absolute; bottom: 0; left: 115px; } .item-content-info { position: absolute; right: 0; bottom: 0; line-height: 1.7em; color: #545454; .item-price { font-size: 18px; line-height: 22px; } } } } } .news-list { margin: 0; padding: 0; .item{ list-style: none; margin-bottom: 10px; .item-link { line-height: 1.8em; } .item-date { color: #545454; font-size: 12px; } .item-content { color: #666666; } } } } .sidebar-title { border-bottom: 2px solid #d1d1d1; padding-bottom: 5px; margin-bottom: 7px; } .page-desc { padding: 0 10px 0 0; ul { margin-left: 20px; } ol { margin-left: 20px; } p { margin-bottom: 1em; } } .table-columns { .col{ float: none; padding: 0; margin: 0; &.col-main { width: auto; } &.col-sidebar { width: 269px; border-left: 2px solid #f6f6f6; &.mini { width: 209px; } .row { padding: 0 10px 0 10px; } } } } .page-error { width: 1000px; } /*TODO: переверстать меню */ ul#categories { li { padding-left: 10px; &.active { a{ padding-right: 10px; } } } } /* Летающие блоки */ .fly-box { position: absolute; top: 0; left: 0; .box { width: 22px; height: 22px; margin: 0 0 8px 0; &.alpha {background-color: #298000;} &.beta {background-color: #66cc00;} &.gamma {background-color: #3f67b1;} } } /* */ #user_logined { h4 { margin-left: 0; } }