/
githubmirror
/
ydb-embedded-ui
Обзор
Документация
Войти
/
githubmirror
/
ydb-embedded-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/containers/Node/NodeStructure/NodeStructure.scss
155 строк
3 KB
Valerii Sidorenko
chore(styles): use new SCSS api (#1722)
28 ноя 2024, 12:56
Не верифицирован
28 ноя 2024, 12:56
14b96e7
Код
Авторство
О чём код?
@use '../../../styles/mixins.scss'; .kv-node-structure { position: relative; display: flex; overflow: auto; flex-direction: column; flex-shrink: 0; @include mixins.flex-container(); @include mixins.body-2-typography(); &__error { padding: 20px 20px 0; } &__pdisk { display: flex; flex-direction: column; width: 573px; margin-bottom: 8px; padding: 0 10px 0 20px; border: 1px solid var(--g-color-line-generic); border-radius: 5px; } &__pdisk-id { display: flex; align-items: flex-end; } &__pdisk-header { display: flex; justify-content: space-between; align-items: center; height: 48px; } &__pdisk-title-wrapper { display: flex; align-items: center; gap: 16px; font-weight: 600; .entity-status__status-icon { margin-right: 0; } } &__pdisk-title-item { display: flex; gap: 4px; &-label { font-weight: 400; color: var(--g-color-text-secondary); } } &__pdisk-title-id { min-width: 110px; } &__pdisk-title-type { justify-content: flex-end; min-width: 50px; } &__pdisk-title-size { min-width: 150px; } &__pdisk-details { margin-bottom: 20px; } &__link { text-decoration: none; color: var(--g-color-base-brand); } &__vdisks-header { font-weight: 600; } &__vdisks-container { margin-bottom: 42px; } &__vdisk-details { overflow: auto; min-width: 200px; max-width: unset; max-height: 90vh; .vdisk-pdisk-node__column { margin-bottom: 0; } .vdisk-pdisk-node__section { padding-bottom: 0; } } &__vdisk-id { display: flex; align-items: center; &_selected { color: var(--g-color-text-info); } } &__vdisk-details-button { &_selected { color: var(--g-color-text-info); } } &__external-button { display: inline-flex; align-items: center; margin-left: 4px; transform: translateY(-1px); &_hidden { visibility: hidden; } } .data-table__row:hover { .kv-node-structure__external-button_hidden { visibility: visible; } } &__selected-vdisk { animation: onSelectedVdiskAnimation 4s; } } @keyframes onSelectedVdiskAnimation { 0% { background-color: var(--g-color-base-info-light-hover); } }