2022-06-02 13:28:31 +03:00

625 lines
11 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Breadcrumbs
.bx-breadcrumb {
display: flex;
flex-wrap: wrap;
width: 100%;
max-width: 1310px;
margin: 25px auto -40px auto;
position: relative;
z-index: 2;
.bx-breadcrumb-item {
color: rgba(0, 0, 0, 0.5);
a {
text-decoration: none;
color: rgba(0, 0, 0, 0.5);
&:hover {
color: #000;
}
}
span {
}
&:before {
content: ">";
display: inline-block;
margin: 0 4px;
}
}
@media all and (max-width: 1420px) {
width: calc(100% - 160px);
margin: 25px 80px -40px 80px;
}
@media all and (max-width: 960px) {
margin: 25px 80px -25px 80px;
}
@media all and (max-width: 767px) {
margin: 12px 16px -25px 16px;
width: calc(100% - 32px);
}
}
// 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;
@media all and (max-width: 1600px) {
font-size: 13px;
}
}
.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("/images/icons/btn_icon_white.svg") no-repeat center;
}
&.transparent {
color: var(--blue);
background: transparent;
&.icon:before {
background: url("/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("/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 {
position: relative;
padding-left: 28px;
cursor: pointer;
display: block;
&: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;
position: absolute;
left: 0;
top: 0;
}
}
&:checked + label {
&:before {
background: url("/images/icons/checkbox_white.svg") no-repeat center var(--primary);
border-color: var(--primary);
}
}
&: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;
& + 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("/images/icons/delete_gray.svg") no-repeat center;
}
}
// Text columns
.list-column {
column-gap: 20px;
list-style: disc;
margin: 15px 0 15px 20px;
li {
line-height: 25px;
};
&[data-column="2"] {
column-count: 2;
@media all and (max-width: 767px) {
column-count: 1;
}
}
&[data-column="3"] {
column-count: 3;
@media all and (max-width: 767px) {
column-count: 1;
}
}
}
// Form elements
.form_field {
position: relative;
.clear {
position: absolute;
top: 0;
right: 0;
width: 40px;
height: 40px;
background: url("/images/icons/delete_black.svg") no-repeat center;
z-index: 2;
}
&.error {
input, textarea, select {
border-color: #FFADAD;
margin-bottom: 30px !important;
}
&:after {
content: attr(data-error);
display: block;
font-size: 11px;
line-height: 15px;
color: #FFADAD;
position: absolute;
left: 0;
bottom: 12px;
@media all and (max-width: 1600px) {
font-size: 9px;
}
}
}
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;
color: #828282;
&.error {
border-color: #FFADAD;
}
&.filled {
border-color: rgba(0, 16, 61, 0.48);
}
&:disabled {
background: var(--gray-light);
}
&[type="search"] {
padding-left: 32px;
background-image: url("/images/icons/icon-search.svg");
background-repeat: no-repeat;
background-position: 8px 50%;
}
&[type="date"],
&.date_input {
padding-left: 32px;
background-image: url("/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;
}
}
option:not(:first-of-type) {
color: #000;
}
@media all and (max-width: 1600px) and (min-width: 1280px) {
font-size: 14px;
&::placeholder {
font-size: 14px;
}
}
}
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;
&::-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;
@media all and (max-width: 1280px) {
margin-right: 6px;
}
}
}
}
// 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;
}
@media all and (max-width: 767px) {
margin-right: 0;
padding: 0 16px;
}
}
}
// Pagination
.pagination {
margin-top: 40px;
@media all and (max-width: 1600px) and (min-width: 1280px) {
margin-top: 20px;
}
ul {
display: flex;
align-items: flex-end;
justify-content: flex-end;
li {
font-size: 26px;
line-height: 35px;
color: var(--blue);
@media all and (max-width: 1600px) and (min-width: 1280px) {
font-size: 20px;
line-height: 30px;
}
a {
display: block;
padding: 0 5px;
}
}
}
@media all and (max-width: 1279px) {
ul {
justify-content: center;
li {
font-size: 13px;
line-height: 28px;
min-width: 30px;
a {
text-align: center;
font-weight: 600;
}
}
}
}
}
// Превью изображения
.image-full {
width: 100%;
margin-bottom: 50px;
height: 350px;
background: var(--gray-light);
img {
width: 100%;
height: 100%;
object-fit: cover;
}
@media all and (max-width: 1600px) {
height: 260px;
margin-bottom: 20px;
}
@media all and (max-width: 960px) {
height: 125px;
}
}
// 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;
}
}
}
// Добавление файла
#order .order_form form .input_file,
.input_file {
margin-bottom: 45px;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
@media all and (max-width: 1279px) {
display: block;
}
input {
visibility: hidden;
display: none;
& + label {
display: inline-flex;
margin-left: 0;
min-width: 168px;
margin-top: 42px;
&:before {
content: "Приложите резюме";
display: block;
font-size: 15px;
line-height: 24px;
color: #fff;
position: absolute;
left: 0;
top: 0;
font-weight: 400;
}
}
}
.filename {
margin-top: 42px;
color: #fff;
margin-left: 30px;
padding-left: 20px;
font-size: 15px;
line-height: 24px;
background: url("/images/icons/attach.svg") no-repeat left center;
@media all and (max-width: 1279px) {
display: block;
margin-top: 15px;
margin-left: 0;
}
&:empty {
display: none;
}
}
}
// Table
table.table {
max-width: 65%;
tr {
th {
padding: 15px;
color: var(--text_not_active);
font-weight: 700;
border-bottom: 1px solid #EEEEF2;
@media all and (max-width: 1600px) and (min-width: 1280px) {
font-size: 13px;
line-height: 18px;
}
}
td {
padding: 12px 20px;
border-bottom: 1px solid #EEEEF2;
@media all and (max-width: 1600px) and (min-width: 1280px) {
font-size: 13px;
line-height: 18px;
}
}
}
.check {
width: 16px;
height: 12px;
display: block;
background: url("/images/icons/check.svg") no-repeat center;
background-size: contain;
}
@media all and (max-width: 768px) {
max-width: 100%;
zoom: 0.6;
}
}