2021-10-21 17:23:33 +03:00

318 lines
6.8 KiB
CSS

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;
}
.button:disabled {
opacity: 0.48;
cursor: default;
}
.button.icon:before {
content: "";
display: block;
width: 16px;
height: 16px;
margin-right: 12px;
}
.button.button-blue {
background: var(--blue);
color: #fff;
}
.button.button-blue.icon:before {
background: url("/images/icons/btn_icon_white.svg") no-repeat center;
}
.button.button-blue.transparent {
color: var(--blue);
background: transparent;
}
.button.button-blue.transparent.icon:before {
background: url("/images/icons/btn_icon_blue.svg") no-repeat center;
}
.button.button-gray {
color: var(--gray);
background: var(--gray-light);
}
.button.button-gray.transparent {
color: var(--gray);
background: transparent;
}
.button.button-gray.icon:before {
background: url("/images/icons/btn_icon_gray.svg") no-repeat center;
}
.button.button-compact {
width: 40px;
height: 40px;
text-indent: -9999px;
overflow: hidden;
}
.button.button-compact.icon:before {
margin-right: 0;
}
input[type="checkbox"] {
display: none;
visibility: hidden;
}
input[type="checkbox"] + label {
display: flex;
align-items: center;
cursor: pointer;
}
input[type="checkbox"] + label: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;
}
input[type="checkbox"]:checked + label:before {
background: url("/images/icons/checkbox_white.svg") no-repeat center var(--primary);
border-color: var(--primary);
}
input[type="checkbox"]:disabled + label:before {
background: url("/images/icons/checkbox_gray.svg") no-repeat center var(--gray-light);
cursor: none;
}
input[type="radio"] {
display: none;
visibility: hidden;
}
input[type="radio"] + label {
display: block;
padding-left: 28px;
cursor: pointer;
}
input[type="radio"] + label:before {
content: "";
display: block;
border: 1px solid rgba(0, 16, 61, 0.12);
box-sizing: border-box;
border-radius: 100%;
}
input[type="radio"]:checked + label:before {
background: #fff;
}
input[type="radio"]:disabled + label:before {
background: var(--gray);
cursor: none;
}
.selected_item {
display: flex;
align-items: center;
justify-content: center;
background: var(--gray-light);
box-sizing: border-box;
padding: 0 2px;
}
.selected_item img {
width: 24px;
height: 24px;
object-fit: cover;
object-position: center;
margin-right: 8px;
}
.selected_item .delete {
margin-left: 8px;
width: 28px;
height: 28px;
background: url("/images/icons/delete_gray.svg") no-repeat center;
}
.list-column {
column-gap: 20px;
list-style: disc;
margin: 15px 0 15px 15px;
}
.list-column li {
line-height: 25px;
}
.list-column[data-column="2"] {
column-count: 2;
}
.list-column[data-column="3"] {
column-count: 3;
}
.form_field {
position: relative;
}
.form_field .clear {
position: absolute;
top: 0;
right: 0;
width: 40px;
height: 40px;
background: url("/images/icons/delete_black.svg") no-repeat center;
z-index: 2;
}
.form_field input,
.form_field textarea,
.form_field 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;
}
.form_field input.error,
.form_field textarea.error,
.form_field select.error {
border-color: var(--red);
}
.form_field input.filled,
.form_field textarea.filled,
.form_field select.filled {
border-color: rgba(0, 16, 61, 0.48);
}
.form_field input:disabled,
.form_field textarea:disabled,
.form_field select:disabled {
background: var(--gray-light);
}
.form_field input[type="search"],
.form_field textarea[type="search"],
.form_field select[type="search"] {
padding-left: 32px;
background-image: url("/images/icons/icon-search.svg");
background-repeat: no-repeat;
background-position: 8px 50%;
}
.form_field input[type="date"],
.form_field textarea[type="date"],
.form_field select[type="date"],
.form_field input.date_input,
.form_field textarea.date_input,
.form_field select.date_input {
padding-left: 32px;
background-image: url("/images/icons/icon-date.svg");
background-repeat: no-repeat;
background-position: 8px 50%;
}
.form_field input[type="date"]::-webkit-inner-spin-button,
.form_field textarea[type="date"]::-webkit-inner-spin-button,
.form_field select[type="date"]::-webkit-inner-spin-button,
.form_field input.date_input::-webkit-inner-spin-button,
.form_field textarea.date_input::-webkit-inner-spin-button,
.form_field select.date_input::-webkit-inner-spin-button,
.form_field input[type="date"]::-webkit-calendar-picker-indicator,
.form_field textarea[type="date"]::-webkit-calendar-picker-indicator,
.form_field select[type="date"]::-webkit-calendar-picker-indicator,
.form_field input.date_input::-webkit-calendar-picker-indicator,
.form_field textarea.date_input::-webkit-calendar-picker-indicator,
.form_field select.date_input::-webkit-calendar-picker-indicator {
display: none;
-webkit-appearance: none;
}
.form_field select {
background-image: url("/images/icons/icon-select.svg");
background-repeat: no-repeat;
background-position: calc(100% - 16px) 50%;
-webkit-appearance: none;
-moz-appearance: none;
}
.form_field select::-ms-expand {
display: none;
}
.form_field textarea {
padding-top: 10px;
height: 80px;
}
.fieldgroup {
display: flex;
justify-content: space-between;
}
.socials {
display: flex;
}
.socials a {
display: block;
width: 32px;
height: 32px;
text-decoration: none;
}
.socials a:not(:last-child) {
margin-right: 22px;
}
.tabs {
display: flex;
}
.tabs .tab {
line-height: 40px;
margin-right: 8px;
padding: 0 20px;
cursor: pointer;
}
.tabs .tab.active {
background: var(--blue);
color: #fff;
font-weight: 700;
cursor: default;
}
.pagination {
margin-top: 40px;
}
.pagination ul {
display: flex;
align-items: flex-end;
justify-content: flex-end;
}
.pagination ul li {
font-size: 26px;
line-height: 35px;
color: var(--blue);
}
.pagination ul li a {
display: block;
padding: 0 5px;
}
.image-full {
width: 100%;
margin-bottom: 50px;
height: 450px;
background: var(--gray-light);
}
.image-full img {
width: 100%;
height: 100%;
object-fit: cover;
}
ul.custom-dots {
list-style: none;
padding: 0;
}
ul.custom-dots li {
padding-left: 15px;
position: relative;
}
ul.custom-dots li:before {
content: "";
display: block;
position: absolute;
width: 2px;
height: 2px;
background: #000;
border-radius: 2px;
top: 9px;
left: 5px;
}