1038 lines
21 KiB
CSS
1038 lines
21 KiB
CSS
/* old styles start */
|
||
.tarifs .tarif {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.mail-settings-promo h2 {
|
||
font-weight: 400;
|
||
}
|
||
|
||
.instructions ul {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 20px;
|
||
}
|
||
|
||
.instructions ul li {
|
||
margin: 0;
|
||
}
|
||
|
||
.instructions .li-number b {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
ul.docs.docsdirs,
|
||
.lw-settings-block__list {
|
||
max-height: 300px;
|
||
overflow: hidden;
|
||
overflow-y: auto;
|
||
width: fit-content;
|
||
padding-right: 20px;
|
||
}
|
||
|
||
.lw-settings-block__list li,
|
||
.flat__modal ul.docs .dir-link {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.lw-settings-block__submit-row .fr-btn.edit-btn {
|
||
height: initial;
|
||
line-height: initial;
|
||
}
|
||
|
||
.lw-settings-block__list li a {
|
||
padding: 10px 0;
|
||
}
|
||
|
||
.lw-settings-block__list li a,
|
||
.flat__modal ul.docs li a {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
/* old styles end */
|
||
|
||
.lw-table-wrapper {
|
||
overflow: hidden;
|
||
width: 100%;
|
||
overflow-x: auto;
|
||
padding-bottom: 20px;
|
||
}
|
||
|
||
.lw-table-wrapper table {
|
||
margin-bottom: 20px;
|
||
width: 100%;
|
||
}
|
||
|
||
.lw-table-wrapper table td,
|
||
.lw-table-wrapper table th {
|
||
padding: 10px;
|
||
border-bottom: 1px solid #dedede;
|
||
font-size: 15px;
|
||
}
|
||
|
||
.lw-table-wrapper table th {
|
||
color: #757575;
|
||
}
|
||
|
||
.lw-video-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
|
||
gap: 20px;
|
||
}
|
||
|
||
.lw-block-video {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
padding: 24px;
|
||
border: 2px solid #37913a;
|
||
border-radius: 3px;
|
||
width: fit-content;
|
||
}
|
||
|
||
.lw-block-video .video_href_frame img {
|
||
width: 100%;
|
||
height: auto;
|
||
}
|
||
|
||
.lw-block-video .video-title {
|
||
color: #757575;
|
||
}
|
||
|
||
.lw-block-video:not(:has(.video-frame)) {
|
||
width: 100%;
|
||
}
|
||
|
||
.lw-video-grid:not(:has(.lw-block-video + .lw-block-video)) .lw-block-video {
|
||
max-width: 430px;
|
||
}
|
||
|
||
.lw-block-video:not(:has(.video-frame)) iframe {
|
||
width: 100%;
|
||
height: auto;
|
||
min-height: 220px;
|
||
object-fit: contain;
|
||
}
|
||
|
||
.lw-blockquote {
|
||
padding: 18px;
|
||
padding-left: 34px;
|
||
background-color: #d4e3fd;
|
||
border-radius: 3px;
|
||
background-image: url(/img/lw-settings-images/icon-blockquote.svg);
|
||
background-repeat: no-repeat;
|
||
background-size: 18px;
|
||
background-position: 10px center;
|
||
width: fit-content;
|
||
}
|
||
|
||
.lw-settings-block * {
|
||
overscroll-behavior: contain;
|
||
}
|
||
|
||
.lw-settings-block {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 35px;
|
||
padding: 0 15px;
|
||
position: sticky;
|
||
top: 35px;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.lw-settings-block * {
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.lw-settings-block__header {
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 999;
|
||
padding-top: 25px;
|
||
background-color: #f5f5f5;
|
||
}
|
||
|
||
.lw-settings-block__content {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 20px;
|
||
}
|
||
|
||
.lw-settings-block__content-section {
|
||
display: none;
|
||
grid-template-columns: 290px auto;
|
||
gap: 35px;
|
||
height: fit-content;
|
||
}
|
||
.lw-settings-block__content-section.lw-active {
|
||
display: grid;
|
||
}
|
||
|
||
.lw-settings-block__content-section-side {
|
||
position: sticky;
|
||
top: 260px;
|
||
height: fit-content;
|
||
}
|
||
|
||
.lw-settings-block__content-section-side ul {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
}
|
||
|
||
.lw-settings-block__content-section-side ul li {
|
||
border-radius: 3px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.lw-settings-block__content-section-side ul li a {
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
padding: 16px;
|
||
display: flex;
|
||
align-items: center;
|
||
color: #757575;
|
||
background-color: #ffffff;
|
||
text-decoration: none;
|
||
border: none;
|
||
cursor: pointer;
|
||
transition: background-color 0.05s 0.25s linear, color 0.05s 0.25s linear;
|
||
}
|
||
|
||
.lw-settings-block__content-section-side ul li.lw-active {
|
||
background-color: #419e43;
|
||
color: #ffffff;
|
||
}
|
||
|
||
.lw-settings-block__content-section-side ul li.lw-active a {
|
||
background-color: #419e43;
|
||
color: #ffffff;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.lw-settings-block__content-section-main {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 20px;
|
||
container: lw-settings-container / inline-size;
|
||
padding-bottom: 210px;
|
||
}
|
||
|
||
.lw-settings-block__tabs {
|
||
display: grid;
|
||
grid-template-columns: repeat(6, 1fr);
|
||
}
|
||
|
||
.lw-section-block__tabs-item {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: clamp(8px, 1vw, 16px);
|
||
padding: clamp(12px, 2vw, 20px);
|
||
background-color: #f6f6f6;
|
||
border: 1px solid #dedede;
|
||
cursor: pointer;
|
||
transition: background-color 0.25s linear;
|
||
}
|
||
|
||
.lw-section-block__tabs-item > span {
|
||
font-weight: 600;
|
||
font-size: 16px;
|
||
color: #757575;
|
||
transition: color 0.25s linear;
|
||
}
|
||
|
||
.lw-section-block__tabs-item > small {
|
||
font-weight: 400;
|
||
font-size: 14px;
|
||
color: #757575;
|
||
-webkit-line-clamp: 3; /* Число отображаемых строк */
|
||
display: -webkit-box; /* Включаем флексбоксы */
|
||
-webkit-box-orient: vertical; /* Вертикальная ориентация */
|
||
overflow: hidden; /* Обрезаем всё за пределами блока */
|
||
}
|
||
|
||
.lw-section-block__tabs-item-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
min-height: 36px;
|
||
margin-bottom: 4px;
|
||
}
|
||
|
||
.lw-section-block__tabs-item-header svg {
|
||
stroke: #419e43;
|
||
}
|
||
|
||
.lw-section-block__tabs-item-header span {
|
||
font-size: 24px;
|
||
}
|
||
|
||
.lw-section-block__tabs-item.lw-active {
|
||
color: #ffffff;
|
||
background-color: #37913a;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.lw-section-block__tabs-item.lw-active > small,
|
||
.lw-section-block__tabs-item.lw-active > span {
|
||
color: #ffffff;
|
||
}
|
||
|
||
.lw-section-block__tabs-item.lw-active svg {
|
||
stroke: #ffffff;
|
||
}
|
||
|
||
.lw-section-block__tabs-item:not(:first-child) {
|
||
border-left: none;
|
||
}
|
||
|
||
@media (hover: hover) {
|
||
.lw-section-block__tabs-item:not(.lw-active):hover {
|
||
background-color: #ffffff;
|
||
}
|
||
.lw-section-block__tabs-item:not(.lw-active):hover > span {
|
||
color: #000000;
|
||
}
|
||
}
|
||
|
||
.lw-settings-block .control-line.first-level {
|
||
margin-top: 0;
|
||
}
|
||
|
||
.lw-settings-block .mail-settings-promo {
|
||
margin-bottom: 0;
|
||
margin-right: 0;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.lw-settings-block .control-groups {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 20px;
|
||
border-bottom: none;
|
||
margin-right: 0;
|
||
padding-bottom: 0;
|
||
}
|
||
|
||
.control-group {
|
||
background-color: #ffffff;
|
||
}
|
||
|
||
.lw-settings-block .mail-settings-form {
|
||
box-shadow: none;
|
||
margin: 0;
|
||
}
|
||
|
||
/* .lw-settings-block__section */
|
||
.lw-settings-block__section {
|
||
padding: 20px;
|
||
background-color: #ffffff;
|
||
}
|
||
|
||
.lw-settings-block__section a {
|
||
width: fit-content;
|
||
}
|
||
|
||
.lw-settings-block__section h2 {
|
||
font-size: 23px;
|
||
color: #757575;
|
||
font-weight: normal;
|
||
}
|
||
|
||
.lw-settings-block__section.settings-block.vk {
|
||
margin: 0;
|
||
}
|
||
|
||
.lw-settings-block__section.settings-block.vk h2 {
|
||
padding: 17px 35px;
|
||
background: #507299;
|
||
color: #ffffff;
|
||
margin: -20px -20px 0;
|
||
}
|
||
|
||
.lw-settings-block__section .fieldset {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 20px;
|
||
border: none;
|
||
margin: 0;
|
||
}
|
||
|
||
.lw-settings-block__section .fieldset label {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.lw-settings-block__section .fieldset label span {
|
||
width: 100%;
|
||
max-width: 180px;
|
||
font-size: 16px;
|
||
font-family: "Lato";
|
||
}
|
||
|
||
.lw-settings-block__section form .fieldset textarea {
|
||
height: 120px;
|
||
resize: none;
|
||
padding: 8px 12px;
|
||
}
|
||
|
||
.fr__settings .lw-settings-block__section input.text,
|
||
.lw-settings-block__section form .fieldset select,
|
||
.lw-settings-block__section form .fieldset textarea,
|
||
.lw-settings-block__section form .fieldset input {
|
||
width: 100%;
|
||
max-width: 400px;
|
||
min-height: 40px;
|
||
}
|
||
|
||
.lw-settings-block__section .checkbox {
|
||
display: flex;
|
||
align-items: center;
|
||
margin: 0;
|
||
}
|
||
|
||
.lw-settings-block__section .checkbox input + label {
|
||
position: static;
|
||
padding: 0;
|
||
padding-left: 65px;
|
||
}
|
||
|
||
.lw-settings-block__submit-row {
|
||
display: flex;
|
||
flex-direction: row !important;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
gap: 20px;
|
||
}
|
||
|
||
[data-section-content],
|
||
.lw-empty-block,
|
||
[data-section-content] form {
|
||
display: grid;
|
||
grid-template-columns: 1fr;
|
||
gap: 20px 32px;
|
||
}
|
||
|
||
/* [data-section-content="1"] start */
|
||
[data-section-content="1"] form {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, 1fr);
|
||
gap: 32px;
|
||
}
|
||
|
||
@container lw-settings-container (max-width: 1080px) {
|
||
[data-section-content="1"] form {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
[data-section-content="1"] form .lw-settings-block__submit-row {
|
||
grid-column: -1 / 1;
|
||
}
|
||
/* [data-section-content="1"] end */
|
||
|
||
/* [data-section-content="2"] start */
|
||
[data-section-content="2"] {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, 1fr);
|
||
flex-wrap: wrap;
|
||
gap: 32px;
|
||
}
|
||
|
||
[data-section-content="2"] .control-group.control-line {
|
||
padding: 0;
|
||
margin: 0;
|
||
}
|
||
|
||
[data-section-content="2"] .lw-note {
|
||
grid-column: -1 / 1;
|
||
}
|
||
|
||
.lw-note {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
font-size: 15px;
|
||
}
|
||
.settings-block .lw-note *,
|
||
.lw-note > * {
|
||
margin: 0;
|
||
}
|
||
|
||
[data-section-content="23"],
|
||
[data-section-content="24"],
|
||
[data-section-content="25"],
|
||
[data-section-content="26"] {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, 1fr);
|
||
flex-wrap: wrap;
|
||
gap: 32px;
|
||
}
|
||
|
||
[data-section-content="25"] .jw__NB,
|
||
[data-section-content="23"] .jw__NB,
|
||
[data-section-content="26"] .jw__NB,
|
||
[data-section-content="30"] .jw__NB,
|
||
[data-section-content="31"] .jw__NB,
|
||
[data-section-content="32"] .jw__NB {
|
||
width: 100%;
|
||
padding: 0;
|
||
overflow: hidden;
|
||
}
|
||
|
||
@container lw-settings-container (max-width: 880px) {
|
||
[data-section-content="2"] {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
@container lw-settings-container (max-width: 768px) {
|
||
[data-section-content="23"],
|
||
[data-section-content="24"],
|
||
[data-section-content="25"],
|
||
[data-section-content="26"] {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
[data-section-content="2"]
|
||
.fileuploader-theme-thumbnails
|
||
.fileuploader-thumbnails-input,
|
||
.fileuploader-theme-thumbnails .fileuploader-items-list .fileuploader-item {
|
||
width: 100% !important;
|
||
}
|
||
|
||
[data-section-content="2"] .fileuploader-thumbnails-input {
|
||
margin-bottom: 0 !important;
|
||
}
|
||
/* [data-section-content="2"] end */
|
||
|
||
@container lw-settings-container (max-width: 1200px) {
|
||
#war_api .row {
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
#war_api .row .col {
|
||
width: 100% !important;
|
||
}
|
||
}
|
||
|
||
#war_api .top-line__button.button-fl-right.medium-button {
|
||
float: left;
|
||
}
|
||
|
||
#war_api .col {
|
||
padding: 0 !important;
|
||
}
|
||
|
||
|
||
.as_main-button {
|
||
background: #4caf50;
|
||
color: white;
|
||
border: none;
|
||
padding: 12px 24px;
|
||
font-size: 16px;
|
||
border-radius: 6px;
|
||
cursor: pointer;
|
||
transition: background 0.3s;
|
||
width:max-content;
|
||
}
|
||
|
||
.as_main-button:hover {
|
||
background: #45a049;
|
||
}
|
||
|
||
/* Модальное окно */
|
||
.as_modal-overlay {
|
||
display: none;
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: rgba(0, 0, 0, 0.5);
|
||
z-index: 1000;
|
||
justify-content: center;
|
||
align-items: center;
|
||
}
|
||
|
||
.as_modal-overlay.active {
|
||
display: flex;
|
||
}
|
||
|
||
.as_modal {
|
||
background: white;
|
||
width: 80%;
|
||
height: 70%;
|
||
border-radius: 12px;
|
||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
||
display: flex;
|
||
flex-direction: column;
|
||
max-width: 1400px;
|
||
}
|
||
|
||
.as_modal-header {
|
||
padding: 20px 30px;
|
||
border-bottom: 1px solid #e0e0e0;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
}
|
||
|
||
.as_tabs {
|
||
display: flex;
|
||
gap: 30px;
|
||
}
|
||
|
||
.as_tab {
|
||
padding: 10px 0;
|
||
cursor: pointer;
|
||
border-bottom: 3px solid transparent;
|
||
font-size: 16px;
|
||
transition: all 0.3s;
|
||
color: #666;
|
||
}
|
||
|
||
.as_tab.active {
|
||
color: #4caf50;
|
||
border-bottom-color: #4caf50;
|
||
}
|
||
|
||
.as_close-btn {
|
||
background: none;
|
||
border: none;
|
||
font-size: 28px;
|
||
cursor: pointer;
|
||
color: #999;
|
||
line-height: 1;
|
||
}
|
||
|
||
.as_close-btn:hover {
|
||
color: #333;
|
||
}
|
||
|
||
.as_modal-body {
|
||
flex: 1;
|
||
overflow-y: auto;
|
||
padding: 30px;
|
||
}
|
||
|
||
.as_modal-body form{
|
||
display: block;
|
||
}
|
||
|
||
.as_modal-body .vue_select .vs__selected{
|
||
font-size: 14px;
|
||
}
|
||
.as_modal-body form span.invalid{
|
||
margin-left: 10px;
|
||
color: rgb(221, 93, 91);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.as_filters__date-icon{
|
||
|
||
position: absolute;
|
||
flex-direction: column-reverse;
|
||
flex-wrap: wrap;
|
||
top: 7px;
|
||
right: 7px;
|
||
}
|
||
|
||
.as_tab-content {
|
||
display: none;
|
||
}
|
||
|
||
.as_tab-content.active {
|
||
display: block;
|
||
}
|
||
|
||
/* Фильтры */
|
||
.as_filters {
|
||
background: #fafafa;
|
||
padding: 20px;
|
||
border-radius: 8px;
|
||
margin-bottom: 20px;
|
||
display: flex;
|
||
gap: 15px;
|
||
flex-wrap: wrap;
|
||
align-items: flex-end;
|
||
}
|
||
|
||
.as_filter-group {
|
||
flex: 1;
|
||
min-width: 200px;
|
||
}
|
||
|
||
.as_filter-group label {
|
||
display: block;
|
||
margin-bottom: 6px;
|
||
font-size: 14px;
|
||
color: #666;
|
||
}
|
||
|
||
.as_filter-group input,
|
||
.as_filter-group select {
|
||
width: 100%;
|
||
padding: 8px 12px;
|
||
border: 1px solid #ddd;
|
||
border-radius: 4px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.as_btn-filter {
|
||
background: #4caf50;
|
||
color: white;
|
||
border: none;
|
||
padding: 8px 20px;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
height: 38px;
|
||
}
|
||
|
||
/* Таблица */
|
||
.as_table-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
margin-bottom: 15px;
|
||
}
|
||
|
||
.as_btn-add {
|
||
background: #4caf50;
|
||
color: white;
|
||
border: none;
|
||
padding: 8px 16px;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.as_modal-overlay table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
background: white;
|
||
border-radius: 8px;
|
||
/*overflow: hidden;*/
|
||
}
|
||
|
||
.as_modal-overlay thead {
|
||
background: #f5f5f5;
|
||
}
|
||
|
||
.as_modal-overlay th, .as_modal-overlay td {
|
||
padding: 12px;
|
||
text-align: left;
|
||
border-bottom: 1px solid #e0e0e0;
|
||
}
|
||
|
||
.as_modal-overlay th {
|
||
font-weight: 600;
|
||
color: #333;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.as_modal-overlay td {
|
||
font-size: 13px;
|
||
color: #555;
|
||
}
|
||
|
||
.as_tag-list {
|
||
display: flex;
|
||
gap: 5px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.as_tag {
|
||
background: #e8f5e9;
|
||
color: #2e7d32;
|
||
padding: 3px 8px;
|
||
border-radius: 12px;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.as_btn-edit, .as_btn-delete {
|
||
padding: 8px 10px;
|
||
border: none;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
font-size: 16px;
|
||
margin-right: 5px;
|
||
background: none;
|
||
transition: background 0.2s;
|
||
}
|
||
|
||
.as_btn-edit {
|
||
color: #1976d2;
|
||
}
|
||
|
||
.as_btn-edit:hover {
|
||
background: #e3f2fd;
|
||
}
|
||
|
||
.as_btn-delete {
|
||
color: #c62828;
|
||
}
|
||
|
||
.as_btn-delete:hover {
|
||
background: #ffebee;
|
||
}
|
||
|
||
/* Пагинация */
|
||
.as_pagination {
|
||
display: flex;
|
||
justify-content: center;
|
||
gap: 5px;
|
||
margin-top: 20px;
|
||
}
|
||
|
||
.as_page-btn {
|
||
padding: 5px 12px;
|
||
border: 1px solid #ddd;
|
||
background: white;
|
||
cursor: pointer;
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.as_page-btn.active {
|
||
background: #4caf50;
|
||
color: white;
|
||
border-color: #4caf50;
|
||
}
|
||
|
||
/* Форма */
|
||
.as_form-group {
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.as_form-group label {
|
||
display: block;
|
||
margin-bottom: 8px;
|
||
font-weight: 500;
|
||
color: #333;
|
||
}
|
||
|
||
.as_form-group input,
|
||
.form-group select {
|
||
width: 100%;
|
||
padding: 10px 12px;
|
||
border: 1px solid #ddd;
|
||
border-radius: 4px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.as_radio-group {
|
||
display: flex;
|
||
gap: 20px;
|
||
margin-top: 8px;
|
||
}
|
||
|
||
.as_radio-group label {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
font-weight: normal;
|
||
}
|
||
|
||
.as_conditional-field {
|
||
display: block;
|
||
margin-top: 15px;
|
||
}
|
||
|
||
.as_conditional-field.active {
|
||
display: block;
|
||
}
|
||
|
||
/* Кастомный select с поиском */
|
||
.as_custom-select-wrapper {
|
||
position: relative;
|
||
}
|
||
|
||
.as_custom-select-input {
|
||
width: 100%;
|
||
padding: 10px 12px;
|
||
border: 1px solid #ddd;
|
||
border-radius: 4px;
|
||
font-size: 14px;
|
||
cursor: pointer;
|
||
background: white;
|
||
}
|
||
|
||
.as_custom-select-dropdown {
|
||
display: none;
|
||
position: absolute;
|
||
top: 100%;
|
||
left: 0;
|
||
right: 0;
|
||
background: white;
|
||
border: 1px solid #ddd;
|
||
border-top: none;
|
||
border-radius: 0 0 4px 4px;
|
||
max-height: 200px;
|
||
overflow-y: auto;
|
||
z-index: 100;
|
||
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
||
}
|
||
|
||
.as_custom-select-dropdown.active {
|
||
display: block;
|
||
}
|
||
|
||
.as_custom-select-search {
|
||
padding: 10px;
|
||
border-bottom: 1px solid #e0e0e0;
|
||
position: sticky;
|
||
top: 0;
|
||
background: white;
|
||
}
|
||
|
||
.as_custom-select-search input {
|
||
width: 100%;
|
||
padding: 8px 10px;
|
||
border: 1px solid #ddd;
|
||
border-radius: 4px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.as_custom-select-option {
|
||
padding: 10px 12px;
|
||
cursor: pointer;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.as_custom-select-option:hover {
|
||
background: #f5f5f5;
|
||
}
|
||
|
||
.as_custom-select-option.selected {
|
||
background: #e8f5e9;
|
||
}
|
||
|
||
.as_selected-tags {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
margin-top: 8px;
|
||
min-height: 24px;
|
||
}
|
||
|
||
.as_selected-tag {
|
||
background: #e8f5e9;
|
||
color: #2e7d32;
|
||
padding: 4px 10px;
|
||
border-radius: 12px;
|
||
font-size: 13px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
}
|
||
|
||
.as_selected-tag .remove {
|
||
cursor: pointer;
|
||
font-weight: bold;
|
||
color: #2e7d32;
|
||
}
|
||
|
||
.as_selected-tag .remove:hover {
|
||
color: #1b5e20;
|
||
}
|
||
|
||
.as_form-actions {
|
||
display: flex;
|
||
gap: 10px;
|
||
margin-top: 30px;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.as_btn-save {
|
||
background: #4caf50;
|
||
color: white;
|
||
border: none;
|
||
padding: 10px 24px;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.as_btn-cancel {
|
||
background: #e0e0e0;
|
||
color: #333;
|
||
border: none;
|
||
padding: 10px 24px;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
/* Диалог подтверждения */
|
||
.as_confirm-dialog {
|
||
background: white;
|
||
padding: 30px;
|
||
border-radius: 8px;
|
||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
||
max-width: 400px;
|
||
text-align: center;
|
||
}
|
||
|
||
.as_confirm-dialog h3 {
|
||
margin-bottom: 15px;
|
||
color: #333;
|
||
}
|
||
|
||
.as_confirm-dialog p {
|
||
margin-bottom: 25px;
|
||
color: #666;
|
||
}
|
||
|
||
.as_confirm-actions {
|
||
display: flex;
|
||
gap: 10px;
|
||
justify-content: center;
|
||
}
|
||
|
||
.as_btn-view {
|
||
background: #e3f2fd;
|
||
color: #1976d2;
|
||
border: none;
|
||
padding: 6px 12px;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.as_details-tooltip {
|
||
position: absolute;
|
||
background: white;
|
||
border: 1px solid #ddd;
|
||
padding: 15px;
|
||
border-radius: 6px;
|
||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||
z-index: 2000;
|
||
max-width: 400px;
|
||
|
||
}
|
||
|
||
.as_details-tooltip.active {
|
||
display: block;
|
||
}
|
||
|
||
.as_details-tooltip .detail-row {
|
||
margin-bottom: 8px;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.as_details-tooltip .label {
|
||
font-weight: 600;
|
||
color: #666;
|
||
} |