@rt-tools/ui-kit-v2 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -7
- package/fesm2022/rt-tools-ui-kit-v2.mjs +1929 -994
- package/fesm2022/rt-tools-ui-kit-v2.mjs.map +1 -1
- package/package.json +1 -1
- package/rt-tools-ui-kit-v2-0.7.0.tgz +0 -0
- package/src/lib/components/aside/_rt-aside-overlay.scss +73 -71
- package/src/lib/components/aside/footer/rt-aside-footer.component.scss +20 -16
- package/src/lib/components/aside/header/rt-aside-header.component.scss +72 -70
- package/src/lib/components/aside/rt-aside.component.scss +107 -105
- package/src/lib/components/aside/unsaved-dialog/rt-aside-unsaved-dialog.component.scss +33 -31
- package/src/lib/components/aside-section/rt-aside-section.component.scss +27 -23
- package/src/lib/components/autocomplete/rt-autocomplete.component.scss +124 -118
- package/src/lib/components/bar-list/rt-bar-list.component.scss +85 -81
- package/src/lib/components/bottom-sheet/rt-bottom-sheet.component.scss +64 -57
- package/src/lib/components/button/rt-button.directive.scss +319 -280
- package/src/lib/components/calendar/rt-calendar.component.scss +106 -102
- package/src/lib/components/card/rt-card.component.scss +53 -45
- package/src/lib/components/chat/rt-chat.component.scss +312 -306
- package/src/lib/components/checkbox/rt-checkbox.component.scss +61 -54
- package/src/lib/components/collapsible-text/rt-collapsible-text.component.scss +36 -34
- package/src/lib/components/confirm-popover/rt-confirm-popover.component.scss +36 -30
- package/src/lib/components/container/rt-container.component.scss +91 -87
- package/src/lib/components/counter/rt-counter.component.scss +14 -12
- package/src/lib/components/counter-row/rt-counter-row.component.scss +31 -27
- package/src/lib/components/date-picker/rt-date-picker.component.scss +73 -71
- package/src/lib/components/delta-view/rt-delta-view.component.scss +27 -25
- package/src/lib/components/detail-list/rt-detail-list.component.scss +8 -6
- package/src/lib/components/detail-list/rt-detail-row.component.scss +18 -16
- package/src/lib/components/dialog/footer/rt-dialog-footer.component.scss +19 -17
- package/src/lib/components/dialog/header/rt-dialog-header.component.scss +27 -25
- package/src/lib/components/dialog/rt-dialog.component.scss +59 -56
- package/src/lib/components/download-link/rt-download-link.component.scss +32 -27
- package/src/lib/components/empty-state/rt-empty-state.component.scss +50 -46
- package/src/lib/components/field/rt-field.component.scss +63 -61
- package/src/lib/components/file-card/rt-file-card.component.scss +84 -78
- package/src/lib/components/file-drop/rt-file-drop.component.scss +83 -77
- package/src/lib/components/file-input/rt-file-input.component.scss +20 -18
- package/src/lib/components/file-list/rt-file-list.component.scss +9 -7
- package/src/lib/components/filter-control/rt-filter-control.component.scss +16 -14
- package/src/lib/components/header/rt-header.component.scss +61 -55
- package/src/lib/components/icon/CONTEXT.md +16 -10
- package/src/lib/components/icon/rt-icon.component.scss +14 -12
- package/src/lib/components/icon-button/CONTEXT.md +4 -2
- package/src/lib/components/icon-button/rt-icon-button.component.scss +128 -112
- package/src/lib/components/info-item/rt-info-item.component.scss +38 -36
- package/src/lib/components/input/CONTEXT.md +9 -7
- package/src/lib/components/input/rt-input.component.scss +102 -98
- package/src/lib/components/input-number/rt-input-number.component.scss +84 -82
- package/src/lib/components/live-badge/rt-live-badge.component.scss +27 -23
- package/src/lib/components/logo/rt-logo.component.scss +54 -52
- package/src/lib/components/markdown-text/CONTEXT.md +40 -0
- package/src/lib/components/markdown-text/rt-markdown-text.component.scss +130 -0
- package/src/lib/components/menu/rt-menu-confirm-dialog.component.scss +30 -28
- package/src/lib/components/menu/rt-menu-item.component.scss +47 -42
- package/src/lib/components/menu/rt-menu.component.scss +23 -15
- package/src/lib/components/message/rt-message.component.scss +53 -49
- package/src/lib/components/message-composer/CONTEXT.md +1 -1
- package/src/lib/components/message-composer/rt-message-composer.component.scss +55 -49
- package/src/lib/components/money-list/rt-money-list.component.scss +13 -9
- package/src/lib/components/money-list/rt-money-row.component.scss +23 -19
- package/src/lib/components/multiselect/rt-multiselect.component.scss +169 -161
- package/src/lib/components/night-grid/rt-night-grid.component.scss +47 -42
- package/src/lib/components/note/rt-note.component.scss +15 -11
- package/src/lib/components/notifications-bell/rt-notifications-bell.component.scss +34 -27
- package/src/lib/components/page-header/rt-page-header-mobile.scss +142 -134
- package/src/lib/components/page-header/rt-page-header-submenu.scss +130 -123
- package/src/lib/components/page-header/rt-page-header.component.scss +221 -210
- package/src/lib/components/pagination/rt-pagination.component.scss +88 -81
- package/src/lib/components/photo-viewer/rt-photo-viewer.component.scss +109 -105
- package/src/lib/components/rich-editor/CONTEXT.md +1 -1
- package/src/lib/components/rich-editor/rt-rich-editor.component.scss +63 -59
- package/src/lib/components/section-nav/rt-section-nav.component.scss +53 -47
- package/src/lib/components/select/rt-select.component.scss +146 -138
- package/src/lib/components/skeleton/rt-skeleton.component.scss +50 -41
- package/src/lib/components/skeleton-wrapper/rt-skeleton-wrapper.component.scss +8 -6
- package/src/lib/components/spinner/rt-spinner.component.scss +35 -32
- package/src/lib/components/split-button/rt-split-button.component.scss +74 -62
- package/src/lib/components/stat-tile/rt-stat-tile.component.scss +95 -91
- package/src/lib/components/stepper/rt-stepper.component.scss +107 -101
- package/src/lib/components/table/copy-cell/rt-copy-cell.component.scss +39 -30
- package/src/lib/components/table/rt-table.component.scss +260 -252
- package/src/lib/components/table/settings-aside/rt-table-settings-aside.component.scss +7 -5
- package/src/lib/components/table/settings-panel/rt-table-settings-panel.component.scss +71 -61
- package/src/lib/components/table/sort-header/rt-table-sort-header.component.scss +31 -29
- package/src/lib/components/tabs/rt-tabs.component.scss +184 -175
- package/src/lib/components/tag/rt-tag.component.scss +97 -92
- package/src/lib/components/textarea/rt-textarea.component.scss +62 -60
- package/src/lib/components/theme-toggle/rt-theme-toggle.component.scss +7 -5
- package/src/lib/components/thread-list/rt-thread-list.component.scss +221 -212
- package/src/lib/components/timeline/rt-timeline.component.scss +82 -76
- package/src/lib/components/toast/rt-toast.component.scss +169 -160
- package/src/lib/components/toast/rt-toaster.component.scss +37 -35
- package/src/lib/components/toggle-button-group/rt-toggle-button-group.component.scss +129 -122
- package/src/lib/components/toggle-switch/rt-toggle-switch.component.scss +97 -91
- package/src/lib/components/toolbar/rt-toolbar.component.scss +63 -54
- package/src/lib/components/tooltip/rt-tooltip.component.scss +24 -15
- package/src/lib/components/welcome-dialog/rt-welcome-dialog.component.scss +46 -44
- package/src/lib/components/workspace/rt-workspace.component.scss +139 -131
- package/src/lib/components/workspace-details/rt-workspace-details.component.scss +105 -101
- package/src/styles/_index.scss +11 -0
- package/src/styles/_layers.scss +22 -0
- package/src/styles/_login.scss +87 -85
- package/src/styles/_mixins.scss +1 -1
- package/src/styles/_primitives.scss +138 -66
- package/src/styles/_scrollbar.scss +21 -19
- package/src/styles/_semantic.scss +155 -62
- package/src/styles/_theme-dark-rules.scss +23 -0
- package/src/styles/_theme-dark.scss +61 -42
- package/styles/tokens.css +754 -418
- package/types/rt-tools-ui-kit-v2.d.ts +292 -103
- package/rt-tools-ui-kit-v2-0.5.0.tgz +0 -0
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@layer rt-kit.components {
|
|
2
|
+
/* rt-tooltip — панель подсказки в CDK Overlay. ViewEncapsulation.None.
|
|
3
|
+
Тёмная инверсная подложка (theme-aware пара bg-inverse / text-inverse). */
|
|
3
4
|
|
|
4
|
-
.rt-tooltip {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
padding: var(--rt-space-xs) var(--rt-space-sm);
|
|
8
|
-
border-radius: var(--rt-radius-sm);
|
|
9
|
-
background: var(--rt-color-bg-inverse);
|
|
10
|
-
box-shadow: var(--rt-shadow-md);
|
|
11
|
-
color: var(--rt-color-text-inverse);
|
|
12
|
-
font-size: var(--rt-text-xs);
|
|
13
|
-
line-height: var(--rt-leading-snug);
|
|
5
|
+
.rt-tooltip {
|
|
6
|
+
--rt-tooltip-radius: var(--rt-radius-sm);
|
|
7
|
+
--rt-tooltip-shadow: var(--rt-shadow-md);
|
|
14
8
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
display: block;
|
|
10
|
+
max-width: 240px;
|
|
11
|
+
padding: var(--rt-space-xs) var(--rt-space-sm);
|
|
12
|
+
border-radius: var(--rt-tooltip-radius);
|
|
13
|
+
background: var(--rt-color-bg-inverse);
|
|
14
|
+
box-shadow: var(--rt-tooltip-shadow);
|
|
15
|
+
color: var(--rt-color-text-inverse);
|
|
16
|
+
font-size: var(--rt-text-xs);
|
|
17
|
+
line-height: var(--rt-leading-snug);
|
|
18
|
+
|
|
19
|
+
/* Длинное значение без пробелов — код, признак, ключ — переносится внутри подсказки:
|
|
20
|
+
иначе оно вылезает за её край, и подсказка обрезает ровно то, ради чего показана. */
|
|
21
|
+
overflow-wrap: anywhere;
|
|
22
|
+
|
|
23
|
+
/* Tooltip — чисто визуальная подсказка: не перехватывает указатель, чтобы
|
|
24
|
+
не мешать hover/leave логике host'а. */
|
|
25
|
+
pointer-events: none;
|
|
26
|
+
}
|
|
18
27
|
}
|
|
@@ -1,52 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@layer rt-kit.components {
|
|
2
|
+
/* Welcome-модалка первого входа — открывается через RtDialogService.open().
|
|
3
|
+
rt-dialog даёт styled-frame, контент внутри получает свой padding.
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
ViewEncapsulation.None. Хост адресуется по имени элемента, а не по классу
|
|
6
|
+
блока: класс `.rt-welcome-dialog` висит и на `<rt-welcome-dialog>`, и на
|
|
7
|
+
обёртке содержимого внутри него, поэтому правила обёртки вложены в хост. */
|
|
7
8
|
|
|
8
|
-
rt-welcome-dialog {
|
|
9
|
-
|
|
9
|
+
rt-welcome-dialog {
|
|
10
|
+
display: contents;
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
padding: var(--rt-space-16) var(--rt-space-5);
|
|
15
|
-
gap: var(--rt-space-5);
|
|
16
|
-
|
|
17
|
-
&__text {
|
|
12
|
+
.rt-welcome-dialog {
|
|
18
13
|
display: flex;
|
|
19
14
|
flex-direction: column;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
15
|
+
padding: var(--rt-space-16) var(--rt-space-5);
|
|
16
|
+
gap: var(--rt-space-5);
|
|
17
|
+
|
|
18
|
+
&__text {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: var(--rt-space-2);
|
|
22
|
+
text-align: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__title {
|
|
26
|
+
margin: 0;
|
|
27
|
+
color: var(--rt-color-text-primary);
|
|
28
|
+
font-family: var(--rt-font-family-sans);
|
|
29
|
+
font-size: var(--rt-text-md);
|
|
30
|
+
font-weight: var(--rt-font-weight-bold);
|
|
31
|
+
line-height: var(--rt-leading-snug);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__description {
|
|
35
|
+
margin: 0;
|
|
36
|
+
color: var(--rt-color-text-primary);
|
|
37
|
+
font-family: var(--rt-font-family-sans);
|
|
38
|
+
font-size: var(--rt-text-xs);
|
|
39
|
+
font-weight: var(--rt-font-weight-regular);
|
|
40
|
+
line-height: var(--rt-leading-snug);
|
|
41
|
+
|
|
42
|
+
/* Одиночные переводы строк внутри абзаца сохраняются как <br>. */
|
|
43
|
+
white-space: pre-line;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__cta {
|
|
47
|
+
--rt-btn-font-size: 14px;
|
|
48
|
+
|
|
49
|
+
width: 100%;
|
|
50
|
+
letter-spacing: 0;
|
|
51
|
+
}
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
54
|
}
|
|
@@ -1,173 +1,181 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
&__list {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex: 0 0 var(--rt-workspace-list-size, 320px);
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
border-inline-end: var(--rt-border-width-thin) solid var(--rt-color-border-strong);
|
|
13
|
-
min-inline-size: 0;
|
|
14
|
-
}
|
|
1
|
+
@layer rt-kit.components {
|
|
2
|
+
.rt-workspace {
|
|
3
|
+
--rt-workspace-border-width: var(--rt-border-width-thin);
|
|
4
|
+
--rt-workspace-handle-line-width: var(--rt-border-width-medium);
|
|
5
|
+
--rt-workspace-handle-transition-duration: var(--rt-duration-fast);
|
|
6
|
+
--rt-workspace-panel-transition-duration: var(--rt-duration-base);
|
|
7
|
+
--rt-workspace-aside-shadow: var(--rt-shadow-md);
|
|
15
8
|
|
|
16
|
-
|
|
9
|
+
position: relative;
|
|
17
10
|
display: flex;
|
|
18
|
-
flex:
|
|
19
|
-
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
block-size: calc(100dvh - var(--rt-header-height, 0px));
|
|
20
13
|
min-block-size: 0;
|
|
21
|
-
min-inline-size: 0;
|
|
22
|
-
padding-inline: var(--rt-space-4);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&__mobile-toolbar {
|
|
26
|
-
display: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&__aside {
|
|
30
|
-
display: flex;
|
|
31
|
-
flex: 0 0 var(--rt-workspace-aside-size, 360px);
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
border-inline-start: var(--rt-border-width-thin) solid var(--rt-color-border-strong);
|
|
34
|
-
min-inline-size: 0;
|
|
35
|
-
}
|
|
36
14
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
inline-size: var(--rt-space-2);
|
|
44
|
-
margin-inline: calc(-1 * var(--rt-space-1));
|
|
45
|
-
touch-action: none;
|
|
46
|
-
|
|
47
|
-
&:before {
|
|
48
|
-
position: absolute;
|
|
49
|
-
background: transparent;
|
|
50
|
-
content: '';
|
|
51
|
-
inline-size: var(--rt-border-width-medium);
|
|
52
|
-
inset-block: 0;
|
|
53
|
-
inset-inline-start: 50%;
|
|
54
|
-
transform: translateX(-50%);
|
|
55
|
-
transition: background var(--rt-duration-fast) ease;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&:hover:before,
|
|
59
|
-
&:focus-visible:before {
|
|
60
|
-
background: var(--rt-color-border-strong);
|
|
15
|
+
&__list {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex: 0 0 var(--rt-workspace-list-size, 320px);
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
border-inline-end: var(--rt-workspace-border-width) solid var(--rt-color-border-strong);
|
|
20
|
+
min-inline-size: 0;
|
|
61
21
|
}
|
|
62
22
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
23
|
+
&__center {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex: 1 1 auto;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
min-block-size: 0;
|
|
28
|
+
min-inline-size: 0;
|
|
29
|
+
padding-inline: var(--rt-space-4);
|
|
69
30
|
}
|
|
70
|
-
}
|
|
71
31
|
|
|
72
|
-
|
|
73
|
-
@media (width <= 1080px) {
|
|
32
|
+
&__mobile-toolbar {
|
|
74
33
|
display: none;
|
|
75
34
|
}
|
|
76
|
-
}
|
|
77
35
|
|
|
78
|
-
|
|
79
|
-
&__mobile-toolbar {
|
|
36
|
+
&__aside {
|
|
80
37
|
display: flex;
|
|
81
|
-
|
|
82
|
-
|
|
38
|
+
flex: 0 0 var(--rt-workspace-aside-size, 360px);
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
border-inline-start: var(--rt-workspace-border-width) solid var(--rt-color-border-strong);
|
|
41
|
+
min-inline-size: 0;
|
|
83
42
|
}
|
|
84
43
|
|
|
85
44
|
&__handle {
|
|
86
|
-
|
|
87
|
-
|
|
45
|
+
position: relative;
|
|
46
|
+
z-index: 1;
|
|
47
|
+
flex: 0 0 auto;
|
|
48
|
+
background: transparent;
|
|
49
|
+
cursor: col-resize;
|
|
50
|
+
inline-size: var(--rt-space-2);
|
|
51
|
+
margin-inline: calc(-1 * var(--rt-space-1));
|
|
52
|
+
touch-action: none;
|
|
88
53
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
transition: transform var(--rt-duration-base) ease;
|
|
100
|
-
}
|
|
54
|
+
&:before {
|
|
55
|
+
position: absolute;
|
|
56
|
+
background: transparent;
|
|
57
|
+
content: '';
|
|
58
|
+
inline-size: var(--rt-workspace-handle-line-width);
|
|
59
|
+
inset-block: 0;
|
|
60
|
+
inset-inline-start: 50%;
|
|
61
|
+
transform: translateX(-50%);
|
|
62
|
+
transition: background var(--rt-workspace-handle-transition-duration) ease;
|
|
63
|
+
}
|
|
101
64
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
65
|
+
&:hover:before,
|
|
66
|
+
&:focus-visible:before {
|
|
67
|
+
background: var(--rt-color-border-strong);
|
|
68
|
+
}
|
|
106
69
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
70
|
+
&:focus-visible {
|
|
71
|
+
outline: none;
|
|
72
|
+
|
|
73
|
+
&:before {
|
|
74
|
+
background: var(--rt-color-border-focus);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
110
77
|
}
|
|
111
|
-
}
|
|
112
78
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
flex-basis var(--rt-duration-base) ease,
|
|
118
|
-
border-inline-start-width var(--rt-duration-base) ease,
|
|
119
|
-
opacity var(--rt-duration-base) ease;
|
|
120
|
-
will-change: flex-basis;
|
|
79
|
+
&__desktop-only {
|
|
80
|
+
@media (width <= 1080px) {
|
|
81
|
+
display: none;
|
|
82
|
+
}
|
|
121
83
|
}
|
|
122
|
-
}
|
|
123
84
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
85
|
+
@media (width <= 1080px) {
|
|
86
|
+
&__mobile-toolbar {
|
|
87
|
+
display: flex;
|
|
88
|
+
justify-content: space-between;
|
|
89
|
+
padding: var(--rt-space-2) var(--rt-space-4) 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&__handle {
|
|
127
93
|
display: none;
|
|
128
94
|
}
|
|
129
95
|
|
|
130
|
-
|
|
96
|
+
&__aside {
|
|
97
|
+
position: absolute;
|
|
98
|
+
z-index: 2;
|
|
99
|
+
flex-basis: 360px;
|
|
100
|
+
background: var(--rt-color-bg-surface);
|
|
101
|
+
box-shadow: var(--rt-workspace-aside-shadow);
|
|
102
|
+
inset-block: 0;
|
|
103
|
+
inset-inline-end: 0;
|
|
104
|
+
max-inline-size: 90%;
|
|
105
|
+
transform: translateX(100%);
|
|
106
|
+
transition: transform var(--rt-workspace-panel-transition-duration) ease;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&__aside--open {
|
|
110
|
+
transform: translateX(0);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (width <= 768px) {
|
|
115
|
+
&__list {
|
|
131
116
|
flex-basis: 100%;
|
|
132
117
|
}
|
|
133
118
|
}
|
|
134
|
-
}
|
|
135
119
|
|
|
136
|
-
&--aside-collapsed {
|
|
137
120
|
@media (width > 1080px) {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
border-inline-start-width: 0;
|
|
141
|
-
min-inline-size: 0;
|
|
142
|
-
opacity: 0;
|
|
143
|
-
pointer-events: none;
|
|
121
|
+
&__aside {
|
|
122
|
+
overflow: hidden;
|
|
144
123
|
transition:
|
|
145
|
-
flex-basis var(--rt-duration
|
|
146
|
-
border-inline-start-width var(--rt-duration
|
|
147
|
-
opacity var(--rt-duration
|
|
148
|
-
|
|
149
|
-
visibility: hidden;
|
|
124
|
+
flex-basis var(--rt-workspace-panel-transition-duration) ease,
|
|
125
|
+
border-inline-start-width var(--rt-workspace-panel-transition-duration) ease,
|
|
126
|
+
opacity var(--rt-workspace-panel-transition-duration) ease;
|
|
127
|
+
will-change: flex-basis;
|
|
150
128
|
}
|
|
129
|
+
}
|
|
151
130
|
|
|
152
|
-
|
|
153
|
-
|
|
131
|
+
&--has-active {
|
|
132
|
+
@media (width <= 768px) {
|
|
133
|
+
.rt-workspace__list {
|
|
134
|
+
display: none;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.rt-workspace__center {
|
|
138
|
+
flex-basis: 100%;
|
|
139
|
+
}
|
|
154
140
|
}
|
|
155
141
|
}
|
|
156
|
-
}
|
|
157
142
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
143
|
+
&--aside-collapsed {
|
|
144
|
+
@media (width > 1080px) {
|
|
145
|
+
.rt-workspace__aside {
|
|
146
|
+
flex-basis: 0;
|
|
147
|
+
border-inline-start-width: 0;
|
|
148
|
+
min-inline-size: 0;
|
|
149
|
+
opacity: 0;
|
|
150
|
+
pointer-events: none;
|
|
151
|
+
transition:
|
|
152
|
+
flex-basis var(--rt-workspace-panel-transition-duration) ease,
|
|
153
|
+
border-inline-start-width var(--rt-workspace-panel-transition-duration) ease,
|
|
154
|
+
opacity var(--rt-workspace-panel-transition-duration) ease,
|
|
155
|
+
visibility 0s linear var(--rt-workspace-panel-transition-duration);
|
|
156
|
+
visibility: hidden;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.rt-workspace__handle--aside {
|
|
160
|
+
display: none;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
161
164
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
+
&--resizing {
|
|
166
|
+
cursor: col-resize;
|
|
167
|
+
user-select: none;
|
|
168
|
+
|
|
169
|
+
.rt-workspace__list,
|
|
170
|
+
.rt-workspace__aside {
|
|
171
|
+
transition: none;
|
|
172
|
+
}
|
|
165
173
|
}
|
|
166
|
-
}
|
|
167
174
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
175
|
+
@media (prefers-reduced-motion: reduce) {
|
|
176
|
+
&__aside {
|
|
177
|
+
transition: none;
|
|
178
|
+
}
|
|
171
179
|
}
|
|
172
180
|
}
|
|
173
181
|
}
|