// Line hr { display: block; width: 100%; height: 1px; background: #EDEFF5; border: 0; margin: 20px 0; } // Buttons button, .button { border: 0; background: transparent; appearance: none; box-shadow: none; cursor: pointer; box-sizing: border-box; padding: 0px 15px; display: inline-flex; align-items: center; justify-content: center; height: 40px; font-weight: 600; font-size: 15px; line-height: 20px; } .button { color: var(--blue); background: #fff; &:disabled { opacity: 0.48; cursor: default; } &.icon { &:before { content: ""; display: block; width: 16px; height: 16px; margin-right: 12px; } } &.button-blue { background: var(--blue); color: #fff; &.icon:before { background: url("/assets/images/icons/btn_icon_white.svg") no-repeat center; } &.transparent { color: var(--blue); background: transparent; &.icon:before { background: url("/assets/images/icons/btn_icon_blue.svg") no-repeat center; } } } &.button-gray { color: var(--gray); background: var(--gray-light); &.transparent { color: var(--gray); background: transparent; } &.icon:before { background: url("/assets/images/icons/btn_icon_gray.svg") no-repeat center; } } &.button-compact { width: 40px; height: 40px; text-indent: -9999px; overflow: hidden; &.icon:before { margin-right: 0; } } } // Labels input[type="checkbox"] { display: none; visibility: hidden; & + label { display: flex; align-items: center; cursor: pointer; &:before { content: ""; display: block; width: 16px; min-width: 16px; height: 16px; border: 1px solid rgba(0, 16, 61, 0.12); box-sizing: border-box; border-radius: 4px; margin-right: 12px; } } &:checked + label { &:before { background: url("/assets/images/icons/checkbox_white.svg") no-repeat center var(--primary); border-color: var(--primary); } } &:disabled + label { &:before { background: url("/assets/images/icons/checkbox_gray.svg") no-repeat center var(--gray-light); cursor: none; } } } input[type="radio"] { display: none; visibility: hidden; & + label { display: block; padding-left: 28px; cursor: pointer; &:before { content: ""; display: block; border: 1px solid rgba(0, 16, 61, 0.12); box-sizing: border-box; border-radius: 100%; } } &:checked + label { &:before { background: #fff; } } &:disabled + label { &:before { background: var(--gray); cursor: none; } } } // Seleted Blocks .selected_item { display: flex; align-items: center; justify-content: center; background: var(--gray-light); box-sizing: border-box; padding: 0 2px; img { width: 24px; height: 24px; object-fit: cover; object-position: center; margin-right: 8px; } .delete { margin-left: 8px; width: 28px; height: 28px; background: url("/assets/images/icons/delete_gray.svg") no-repeat center; } } // Text columns .list-column { column-gap: 20px; list-style: disc; margin: 15px 0 15px 15px; li { line-height: 25px; }; &[data-column="2"] { column-count: 2; } &[data-column="3"] { column-count: 3; } } // Form elements .form_field { position: relative; .clear { position: absolute; top: 0; right: 0; width: 40px; height: 40px; background: url("/assets/images/icons/delete_black.svg") no-repeat center; z-index: 2; } input, textarea, select { border: 1px solid rgba(0, 16, 61, 0.12); box-sizing: border-box; height: 40px; background: #fff; padding: 0 12px; width: 100%; outline: none; font-size: 15px; &.error { border-color: var(--red); } &.filled { border-color: rgba(0, 16, 61, 0.48); } &:disabled { background: var(--gray-light); } &[type="search"] { padding-left: 32px; background-image: url("/assets/images/icons/icon-search.svg"); background-repeat: no-repeat; background-position: 8px 50%; } &[type="date"], &.date_input { padding-left: 32px; background-image: url("/assets/images/icons/icon-date.svg"); background-repeat: no-repeat; background-position: 8px 50%; &::-webkit-inner-spin-button, &::-webkit-calendar-picker-indicator { display: none; -webkit-appearance: none; } } } select { background-image: url("/assets/images/icons/icon-select.svg"); background-repeat: no-repeat; background-position: calc(100% - 16px) 50%; -webkit-appearance: none; -moz-appearance: none; &::-ms-expand { display: none; } } textarea { padding-top: 10px; height: 80px; } } .fieldgroup { display: flex; justify-content: space-between; } // social .socials { display: flex; a { display: block; width: 32px; height: 32px; text-decoration: none; &:not(:last-child) { margin-right: 22px; } } } // Tabs .tabs { display: flex; .tab { line-height: 40px; margin-right: 8px; padding: 0 20px; cursor: pointer; &.active { background: var(--blue); color: #fff; font-weight: 700; cursor: default; } } } // Pagination .pagination { margin-top: 40px; ul { display: flex; align-items: flex-end; justify-content: flex-end; li { font-size: 26px; line-height: 35px; color: var(--blue); a { display: block; padding: 0 5px; } } } } // Превью изображения .image-full { width: 100%; margin-bottom: 50px; height: 450px; background: var(--gray-light); img { width: 100%; height: 100%; object-fit: cover; } } // UL с кастомными точками ul.custom-dots { list-style: none; padding: 0; li { padding-left: 15px; position: relative; &:before { content: ""; display: block; position: absolute; width: 2px; height: 2px; background: #000; border-radius: 2px; top: 9px; left: 5px; } } }