@import "variables.less"; .thumbnail{ background-image: url(img/thumbbg.jpg); background-size: 100% auto; background-position: 0 -200px; background-repeat: no-repeat; h1{ margin-top: 50px; color: #343f6a; font-size: 42px; font-weight: 400; line-height: 50px; } p.h1s{ margin-top: 28px; color: #37618f; font-size: 18px; font-weight: 400; line-height: 24px; } } .thumbfiltr{ margin: 50px 0 0; background-color: #23303c; .box-s(0.5); min-height: 255px; } .naznach{ margin-left: -15px; background-color: @color_blue; margin-top: 2px; color: #a6b4c3; font-size: 18px; font-weight: 700; line-height: 22px; li{ cursor: pointer; position: relative; padding: 20px 0 20px 20px; margin-left: 0px; border-bottom: 1px solid @color_lblue; transition: padding 1s, margin 1s, color 0.5s; z-index: 55; &:hover{ background-color: #fff; padding-left: 25px; color: @color_invert; } &.active{ padding-left: 30px; margin-right: -30px; background-color: #fff; color: @color_invert; &::after { content: ''; position: absolute; float: left; right: -52px; top: -2px; border: 33px solid transparent; border-left: 20px solid #fff; z-index: 99; } } &:last-child{ border-bottom: none; } } } #df-1{ background-image: url('img/bghome.jpg'); } #df-0{ background-image: url('img/bgpr.jpg'); } #df-2{ background-image: url('img/bgofis.jpg'); } #df-3{ background-image: url('img/bgkafe.jpg'); } .thumbabout{ background-size: auto 100%; min-height: 253px; padding: 15px 15px 15px 40px; p.thead{ margin-top: 10px; margin-bottom: 10px; color: @color_lgreen; font-size: 18px; font-weight: 700; line-height: 22px; } p.thumbsovet{ color: whitesmoke; font-size: 14px; font-weight: 400; line-height: 22px; margin-bottom: 10px; } ul{ li{ a{ color: #fefeff; font-size: 14px; font-weight: 400; line-height: 26px; } } } } @media (max-width: 991px) { .naznach{ font-size: 16px; li{ display: inline-block; position: static; padding: 20px 20px 20px 20px; border-bottom: none; &:hover, &.active{ padding-left: 30px; margin-right: 0; &:after { z-index: -99; display: none; } } &:last-child{ border-bottom: none; } } } .thumbabout{ padding: 15px; p.thead{ margin-top: 10px; margin-bottom: 10px; color: @color_lgreen; font-size: 22px; font-weight: 700; line-height: 22px; } p.thumbsovet{ color: whitesmoke; font-size: 18px; line-height: 28px; margin-bottom: 10px; } ul{ li{ margin-bottom: 10px; a{ color: #fefeff; text-decoration: none; font-size: 16px; font-weight: 400; line-height: 24px; } } } } } @media (max-width: 768px) { .naznach{ font-size: 18px; margin-right: -15px; li{ display: block; position: static; padding: 20px 20px 20px 20px; border-bottom: 1px solid @color_lblue; &:hover, &.active{ padding-left: 30px; margin-right: 0; &:after { z-index: -999; display: none; } } &:last-child{ border-bottom: none; } } } .thumbabout{ padding: 15px; p.thead{ margin-top: 10px; margin-bottom: 10px; color: @color_lgreen; font-size: 22px; font-weight: 700; line-height: 22px; } p.thumbsovet{ color: whitesmoke; font-size: 18px; line-height: 28px; margin-bottom: 10px; } ul{ li{ margin: 10px 0; a{ color: #fefeff; text-decoration: none; font-size: 16px; font-weight: 400; line-height: 24px; } } } } }