feat(portal): basis for drawer and cards (#2370)

This commit is contained in:
Alex Inkin
2023-07-21 08:17:32 +08:00
committed by GitHub
parent 9c0c6c1bd6
commit 4204b4af90
31 changed files with 474 additions and 62 deletions

View File

@@ -59,3 +59,32 @@ tui-hint[data-appearance='onDark'] {
color: var(--tui-link-hover) !important;
}
}
[tuiWrapper][data-appearance='drawer'] {
// TODO: Theme
background: rgb(81 80 83 / 86%);
border-radius: 10rem;
&._focused::after {
color: var(--tui-primary);
}
}
tui-dropdown[data-appearance='start-os'][data-appearance='start-os'] {
border: 0;
box-shadow: 0 0.25rem 0.25rem rgb(0 0 0 / 25%);
// TODO: Replace --tui-elevation-02 when Taiga UI is updated
background: rgb(63 63 63 / 95%);
tui-opt-group {
&::before {
background: var(--tui-clear);
box-shadow: 1rem 0 var(--tui-clear), -1rem 0 var(--tui-clear);
padding-top: 0.375rem;
}
&::after {
display: none;
}
}
}