@main_green: #6aa034; /* светлый зеленый цвет, текст и кнопки */ @main_grey: #898b8e; /* средний серый цвет, текст и кнопки */ @light_grey: #C6C7C9; /* светлый серый цвет, рамки и линии */ @dark_grey: #333333; /* темный серый цвет, большие названия, цифры */ a { color: @main_green; &:hover { color: darken(@main_green, 10%); } } h1 { color: @dark_grey; font-size: 30px; font-weight: normal; } .flex-container { display: flex; flex-wrap: wrap; justify-content: space-between; } .bradcrumps_top { padding: 30px 0; line-height: 0; ul{ li{ display: inline-block; a{ font-size: 12px; color: @main_green; text-decoration: underline; } &:last-child { a{ text-decoration: none; color: @main_grey; } i { display: none; } } i { color: @main_grey; padding: 0 2px 0 6px; font-weight: bold; font-size: 11px; } } } } .my_custom_card { display: inline-block; border: 1px solid #cdd1d9; border-bottom: none; width: 218px; border-top-left-radius: 2px; border-top-right-radius: 2px; position: relative; text-align: center; min-height: 385px; margin-bottom: 1px; color: @dark_grey; &:before { content: ""; position: absolute; bottom: -1px; right: -1px; width: 0px; height: 0px; border-width: 13px 13px 0px 0px; border-style: solid; border-color: transparent #fff; z-index: 2; } .new { position: absolute; color: #ffffff; left: 0px; top: 14px; text-transform: uppercase; font-size: 10px; text-align: left; background-color: red; width: auto; padding: 1px 20px 0px 5px; z-index: 1; line-height: 17px; &:after { content: ""; height: 0px; top: 0; right: 0; border-width: 21px 14px 0px 0px; border-style: solid; border-color: transparent #fff; position: absolute; } } .top { background: #ffde00; position: absolute; padding: 1px 20px 0px 5px; color: #ffffff; left: 0px; top: 35px; text-transform: uppercase; font-size: 10px; color: @dark_grey; z-index: 1; &:after { content: ""; top: 0; right: 0px; border-width: 21px 14px 0px 0px; border-style: solid; border-color: transparent #fff; position: absolute; } } .item_link { text-decoration: none; border: 0; .pic { margin-top: 25px; } .title_item { padding: 13px; color: #6aa033; margin-bottom: 3px; font-size: 15px; line-height: 17px; } } .brand { font-size: 12px; line-height: 12px; span { color: #6aa033; } } .type { font-size: 12px; } .price { font-size: 20px; font-weight: bold; font-family: HelveticaBold; padding-bottom: 11px; padding-top: 6px; span { font-size: 13px !important; } } .test_a { display: block; .foo { padding: 5px 53px 5px 14px; border: none; background-color: @main_green; color: white; font-size: 12px; border-radius: 3px; box-shadow: 0 2px darken(@main_green, 10%); position: relative; display: inline-block; margin-bottom: 13px; &:hover { background-color: darken(@main_green, 5%); } &:active { box-shadow: none; top: 2px; } img { position: absolute; padding: 3px 3px 3px 8px; border-left: 1px solid #527B28; right: 12px; top: 3px; } } } .compare_add_but_d { color: @main_green; font-size: 12px; text-decoration: none; span { border-bottom: 1px dotted @main_green; padding-left: 10px; &:hover { color: darken(@main_green, 10%); } } } img { position: relative; top: 4px; right: 1px; } } ul { list-style: none; } h1.with_this { margin-bottom: 21px; } hr { margin-bottom: 30px; margin-top: 30px; color: @light_grey; border: none; background-color: @light_grey; height: 1px !important; margin-right: -10px; margin-left: -10px; } .tabs_item_name { font-weight: bold; padding-bottom: 15px; display: block; } .open_card_item_title { color: #333333; font-size: 30px; padding-bottom: 42px; font-weight: bold; margin: 0px; } .item_3_blocks_wrap { display: flex; flex-wrap: wrap; justify-content: space-between; .item_img_block{ width: 320px; position: relative; .main_img { text-align: center; border: 1px solid @light_grey; height: 317px; width: 318px; img { height: 100%; } .new { background: #00adf0; font-size: 10px; padding: 1px 5px 0px 5px; position: absolute; left: 0; top: 15px; color: white; line-height: 17px; &:after { content: ""; border-width: 0px 0px 18px 17px; border-style: solid; border-color: black green transparent #00ADF0; position: absolute; bottom: 0px; right: -17px; } } .top { background: #ffde00; font-size: 10px; padding: 1px 5px 0px 5px; position: absolute; line-height: 17px; left: 0; top: 38px; color: black; &:after { content: ""; border-width: 0px 0px 18px 17px; border-style: solid; border-color: black green transparent #ffde00; position: absolute; bottom: 0px; right: -17px; } } } .main_img_slide { position: relative; margin-top: 20px; display: flex; justify-content: space-around; align-items: center; .small_img_block { width: 80px; height: 77px; border: 1px solid @light_grey; display: inline-block; img { width: 96%; } &:first-child { margin-left: 10px; } &:nth-child(3) { margin-right: 10px; } } .active { border: 2px solid @light_grey; } .slider_arrow_right { position: absolute; right: 0; top: 39%; } .slider_arrow_left { position: absolute; left: 0; top: 39%; } } } .busket_block { position: relative; width: 295px; .grey_bg { background-color: #f4f4f4; padding: 27px 0 20px; margin-top: 20px; } .top_code { .code { background: #ffde00; color: black; font-size: 12px; color: @dark_grey; font-weight: bold; padding: 4px 12px; display: inline-block; } .have { font-size: 12px; color: @dark_grey; font-weight: bold; padding: 4px 19px 7px; position: absolute; top: 0; right: 0; img { position: absolute; right: 100px; left: -5px; } } } .counter { text-align: center; .price { color: @dark_grey; font-size: 28px; font-weight: bold; display: inline-block; padding-left: 20px; padding-top: 8px; padding-bottom: 11px; } .sign{ font-size: 15px; color: @dark_grey; font-weight: bold; display: inline-block; margin-right: 15px; } .count_block { display: inline-block; .count_number { display: inline-block; font-size: 22px; padding: 6px 13px 6px; border: 1px solid @light_grey; -webkit-border-radius: 3px; border-radius: 3px; position: relative; top: -2px; background-color: #fff; } .count_buttons { position: relative; top: 4px; right: 6px; display: inline-block; .button_plus { background-color: @main_grey; color: white; font-weight: bold; border-bottom: 1px solid darken(@main_grey, 10%); border-top-right-radius: 3px; font-size: 15px; line-height: 15px; padding: 0 7px; &:hover { background-color: darken(@main_grey, 5%); } cursor: pointer; } .button_minus { background-color: @main_grey; color: white; font-weight: bold; line-height: 16px; border-top: 1px solid #A2A2A2; border-bottom-right-radius: 3px; &:hover { background-color: darken(@main_grey, 5%); } cursor: pointer; } } } } .in_cart_btn { text-align: center; padding-top: 16px; a { color: white; text-decoration: none; .cart_btn { background: @main_green; border: none; padding: 10px 55px 10px 15px; font-size: 16px; box-shadow: 0 2px darken(@main_green, 10%); border-radius: 2px; position: relative; &:hover { background: darken(@main_green, 5%); } &:active { position: relative; top: 2px; box-shadow: none; } img { position: absolute; padding: 7px 7px 7px 9px; right: 7px; width: 18px; border-left: 1px solid darken(@main_green, 5%); bottom: 2px; } } } } .to_compare_link { text-align: center; margin-top: 18px; .add_to_compare { border-bottom: 1px solid @main_green; border-style: dotted; text-decoration: none; border-top: none; border-left: none; border-right: none; font-size: 12px; } img { position: relative; top: 3px; width: 19px; } } .quick_order { margin-top: 16px; form { .text { font-size: 12px; color: @dark_grey; font-weight: bold; padding-right: 3px; } .quick_order_phone { font-size: 12px; color: @dark_grey; padding: 9px; border: 1px solid @light_grey; border-radius: 2px; width: 100px; } placeholder { color: @light_grey; } button { border: none; font-size: 12px; color: white; padding: 7px 8px 6px 10px; background: @main_green; box-shadow: 0 2px darken(@main_green, 10%); border-top-right-radius: 2px; border-bottom-right-radius: 2px; position: absolute; right: 1px; &:hover { background: darken(@main_green, 5%); } } } } .delivery { font-size: 13px; color: @dark_grey; margin-top: 27px; a { text-decoration: underline; } } } } .character_block { width: 265px; color: @dark_grey; h3 { line-height: 16px; } .each { border-bottom: 1px solid @light_grey; border-style: dotted; border-top: none; border-left: none; border-right: none; font-size: 13px; margin-top: 2px; } .title { display: inline-block; background: white; position: relative; top: 4px; color: @main_grey; } .tech { display: inline-block; background: white; float: right; position: relative; top: 4px; } .tech_links { margin-top: 20px; a { text-decoration: none; border-bottom: 1px solid @main_green; border-style: dashed; border-left: none; border-right: none; border-top: none; font-size: 18px; margin-top: 6px; margin-right: 100px; display: inline-block; } } } .flex_container { display: flex; flex-wrap: wrap; justify-content: space-between; } .tabs_block { color: @dark_grey; } .watched_block { margin-bottom: 45px; h1 { font-size: 30px; color: @dark_grey; margin-bottom: 18px; } }