@import 'vars.less'; .button { position: relative; display: inline-flex; justify-content: center; align-items: center; padding: 0; margin: 0; border: none; cursor: pointer; outline: none; z-index: 10; transition: @transition-main; -webkit-appearance: none; &_disabled { pointer-events: none; opacity: 0.5; } &_h-slider { .size(24px); background-color: transparent; position: absolute; top: 50%; transform: translateY(-50%); &-prev { left: -34px; } &-next { right: -34px; } &.slick-disabled { pointer-events: none; visibility: hidden; } } &_news-slider { .size(45px); position: absolute; background-color: @color-white; top: 50%; transform: translateY(-50%); border-radius: 50%; &-prev { left: -22px; } &-next { right: -22px; } .icon { fill: @color-blue-darken; } } &_icon { .size(24px); background-color: transparent; } &_grey { padding: 0 16px 0 20px; height: 32px; background-color: @color-page; border-radius: 36px; html.dark-mode & { background-color: @color-black; } &-tg { padding: 0 17px 0 11px; .button__text { color: @color-black !important; html.dark-mode & { color: @color-white !important; } } } .button__icon { margin-right: 12px; } .button__text { white-space: nowrap; font: 12px/14px @font-main; color: @color-orange; } } &_grid-slider { .size(45px); background-color: transparent; position: absolute; top: 50%; transform: translateY(-50%); background-color: @color-dark-orange; border-radius: 50%; .icon { fill: @color-white; } &-prev { left: -11px; } &-next { right: -11px; } } &_poll { padding: 11px 28px 13px; height: 47px; border-radius: 10px; background-color: rgba(@color-white, .13); .button__text { font: 16px/23px @font-main; color: @color-white; } } &_question { height: 47px; padding: 0 26px; background-color: @color-orange; &:disabled { pointer-events: none; background: rgba(59, 85, 115, 0.08); .button__text { color: @color-grey-dark; } } .button__text { font: 16px/1 @font-main; color: @color-white; } } &_grey-dark { padding: 0 30px; height: 41px; background-color: rgba(@color-blue-darken, .08); border-radius: 11px; html.dark-mode & { background-color: rgba(@color-dark-blue, .5); } &-short { padding: 0 25px; } &-long { padding: 0 47px; } .button__text { font: 14px/1 @font-main; color: @color-blue-darken; html.dark-mode & { color: @color-white; } } } &_grey-load { padding: 0 19px 0 14px; height: 41px; border-radius: 11px; background-color: rgba(@color-blue-darken, .08); &.loading { .button__icon { animation: rotation .6s linear infinite; } } .button__icon { display: inline-block; margin-right: 11px; } .button__text { font: 14px/1 @font-main; color: @color-blue-darken; } } &_transparent { background: fade(@color-white, 7%); border-radius: 58px; padding: 10px 40px; color: @color-white !important; &:hover { background: fade(@color-white, 20%); } } &_video-transparent { width: 45px; height: 45px; background: fade(@color-white, 20%); border-radius: 50%; justify-content: center; align-items: center; &:hover { background: fade(@color-white, 10%); } } &_podcast-transparent { width: 45px; height: 45px; background: fade(@color-black, 20%); border-radius: 50%; justify-content: center; align-items: center; &:hover { background: fade(@color-black, 10%); } } &_video-slider { width: 45px; height: 45px; background: fade(@color-white, 20%); position: absolute; top: calc(50%); transform: translateY(-50%); border-radius: 50%; z-index: 1; .icon { fill: @color-white; } &-prev { left: -24px; } &-next { right: -24px; } } &_podcast-slider { background: fade(@color-black, 20%); } }