Files
esun3d/app/code/Esun/MultiLocaleTranslation/view/adminhtml/web/css/translate-modal.css
T
2026-09-15 10:35:56 +08:00

332 lines
5.8 KiB
CSS

.esun-mlt-modal.modal-popup {
left: 2%;
right: 2%;
width: 96%;
}
.esun-mlt-modal .modal-inner-wrap {
width: 100%;
max-width: none;
}
.esun-mlt-intro {
display: flex;
gap: 18px;
align-items: center;
margin-bottom: 18px;
color: #514943;
}
.esun-mlt-intro span {
color: #777;
}
.esun-mlt-settings {
position: relative;
margin-bottom: 22px;
overflow: hidden;
background: #fff;
border: 1px solid #d6d6d6;
border-radius: 3px;
}
.esun-mlt-settings__summary {
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 12px;
min-height: 54px;
padding: 0 390px 0 18px;
color: #41362f;
background: #f8f8f8;
cursor: pointer;
list-style: none;
user-select: none;
}
.esun-mlt-settings__summary::-webkit-details-marker {
display: none;
}
.esun-mlt-settings__summary::after {
position: absolute;
top: 50%;
right: 20px;
width: 9px;
height: 9px;
border-right: 2px solid #514943;
border-bottom: 2px solid #514943;
content: '';
transform: translateY(-65%) rotate(45deg);
transition: transform .15s ease;
}
.esun-mlt-settings[open] .esun-mlt-settings__summary::after {
transform: translateY(-30%) rotate(225deg);
}
.esun-mlt-settings__summary:hover {
background: #f2f2f2;
}
.esun-mlt-settings__summary strong {
font-size: 15px;
}
.esun-mlt-settings__summary span {
overflow: hidden;
color: #777;
text-overflow: ellipsis;
white-space: nowrap;
}
.esun-mlt-selector {
display: flex;
align-items: flex-end;
gap: 16px;
padding: 18px;
border-top: 1px solid #d6d6d6;
}
.esun-mlt-selector__field {
width: min(720px, 75vw);
}
.esun-mlt-selector__field > label {
display: block;
margin-bottom: 7px;
font-weight: 600;
}
.esun-mlt-selector__provider {
position: absolute;
z-index: 2;
top: 9px;
right: 52px;
display: flex;
align-items: center;
gap: 10px;
}
.esun-mlt-selector__provider > label {
margin: 0;
font-weight: 600;
white-space: nowrap;
}
.esun-mlt-selector__provider select {
width: 180px;
}
.esun-mlt-selector__field select {
width: 100%;
}
.esun-mlt-selector__field .note {
margin-top: 5px;
}
.esun-mlt-workspace {
overflow-x: auto;
padding-bottom: 12px;
}
.esun-mlt-grid {
display: grid;
min-width: max-content;
border-top: 1px solid #d6d6d6;
border-left: 1px solid #d6d6d6;
}
.esun-mlt-column-heading {
position: sticky;
top: 0;
z-index: 2;
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
min-height: 62px;
padding: 14px 16px;
background: #fff;
border-right: 1px solid #d6d6d6;
border-bottom: 2px solid #adadad;
}
.esun-mlt-column-heading--source {
background: #f7f7f7;
}
.esun-mlt-column-heading strong {
font-size: 16px;
}
.esun-mlt-column-heading span {
color: #777;
font-size: 12px;
}
.esun-mlt-cell {
position: relative;
padding: 16px;
background: #fff;
border-right: 1px solid #d6d6d6;
border-bottom: 1px solid #d6d6d6;
}
.esun-mlt-cell:nth-child(n) textarea[readonly] {
background: #f3f3f3;
color: #555;
}
.esun-mlt-field-label {
display: flex;
justify-content: space-between;
gap: 10px;
margin-bottom: 8px;
font-weight: 600;
}
.esun-mlt-field-label small {
color: #999;
font-weight: 400;
}
.esun-mlt-cell textarea {
width: 100%;
resize: vertical;
}
.esun-mlt-use-default {
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 9px;
color: #555;
cursor: pointer;
font-size: 12px;
}
.esun-mlt-use-default input {
margin: 0;
}
.esun-mlt-cell textarea:disabled {
background: #f3f3f3;
color: #777;
}
.esun-mlt-html-badge {
position: absolute;
right: 20px;
bottom: 20px;
padding: 2px 5px;
color: #666;
background: #eee;
border-radius: 2px;
font-size: 10px;
}
.esun-mlt-actions {
position: sticky;
bottom: 0;
z-index: 3;
padding: 15px 0 4px;
text-align: right;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 28%);
}
.esun-mlt-actions button + button {
margin-left: 10px;
}
.esun-mlt-progress {
margin: 14px 0 4px;
padding: 14px 16px;
color: #514943;
background: #f8f8f8;
border: 1px solid #d6d6d6;
border-radius: 3px;
}
.esun-mlt-progress__status {
margin-bottom: 9px;
font-weight: 600;
}
.esun-mlt-progress__track {
height: 10px;
overflow: hidden;
background: #e3e3e3;
border-radius: 5px;
}
.esun-mlt-progress__bar {
display: block;
width: 0;
height: 100%;
background: #eb5202;
border-radius: 5px;
transition: width .2s ease;
}
.esun-mlt-progress__summary {
margin-top: 7px;
color: #777;
font-size: 12px;
}
.esun-mlt-progress--success {
background: #f2f8ed;
border-color: #95c37b;
}
.esun-mlt-progress--success .esun-mlt-progress__bar {
background: #79a22e;
}
.esun-mlt-progress--warning {
background: #fff8e5;
border-color: #f0c36d;
}
.esun-mlt-progress--warning .esun-mlt-progress__bar {
background: #d6a100;
}
@media (max-width: 767px) {
.esun-mlt-modal.modal-popup {
left: 0;
right: 0;
width: 100%;
}
.esun-mlt-selector {
align-items: stretch;
flex-direction: column;
}
.esun-mlt-settings__summary {
align-items: flex-start;
flex-direction: column;
gap: 2px;
justify-content: center;
padding-right: 52px;
}
.esun-mlt-selector__provider {
position: static;
padding: 12px 18px;
border-top: 1px solid #d6d6d6;
}
.esun-mlt-selector__provider select {
width: 100%;
}
.esun-mlt-selector__field {
width: 100%;
}
}