@kushagradhawan/kookie-ui 0.1.28 → 0.1.29
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/components.css +452 -249
- package/dist/cjs/components/accordion.d.ts +22 -0
- package/dist/cjs/components/accordion.d.ts.map +1 -0
- package/dist/cjs/components/accordion.js +2 -0
- package/dist/cjs/components/accordion.js.map +7 -0
- package/dist/cjs/components/accordion.props.d.ts +88 -0
- package/dist/cjs/components/accordion.props.d.ts.map +1 -0
- package/dist/cjs/components/accordion.props.js +2 -0
- package/dist/cjs/components/accordion.props.js.map +7 -0
- package/dist/cjs/components/dialog.props.d.ts +1 -1
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/components/index.d.ts.map +1 -1
- package/dist/cjs/components/index.js +1 -1
- package/dist/cjs/components/index.js.map +3 -3
- package/dist/cjs/helpers/extract-margin-props.d.ts +7 -7
- package/dist/esm/components/accordion.d.ts +22 -0
- package/dist/esm/components/accordion.d.ts.map +1 -0
- package/dist/esm/components/accordion.js +2 -0
- package/dist/esm/components/accordion.js.map +7 -0
- package/dist/esm/components/accordion.props.d.ts +88 -0
- package/dist/esm/components/accordion.props.d.ts.map +1 -0
- package/dist/esm/components/accordion.props.js +2 -0
- package/dist/esm/components/accordion.props.js.map +7 -0
- package/dist/esm/components/dialog.props.d.ts +1 -1
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/index.js.map +3 -3
- package/dist/esm/helpers/extract-margin-props.d.ts +7 -7
- package/package.json +1 -1
- package/src/components/_internal/base-sidebar-menu.css +223 -0
- package/src/components/_internal/base-sidebar.css +141 -0
- package/src/components/accordion.css +254 -0
- package/src/components/accordion.props.tsx +84 -0
- package/src/components/accordion.tsx +162 -0
- package/src/components/index.css +1 -0
- package/src/components/index.tsx +1 -0
- package/src/components/sidebar.css +180 -635
- package/styles.css +452 -249
package/components.css
CHANGED
|
@@ -935,6 +935,210 @@
|
|
|
935
935
|
--letter-spacing: var(--letter-spacing-9);
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
|
+
.rt-AccordionRoot {
|
|
939
|
+
border-radius: var(--radius-3);
|
|
940
|
+
overflow: hidden;
|
|
941
|
+
}
|
|
942
|
+
:where(.rt-AccordionRoot:where(.rt-variant-surface)) {
|
|
943
|
+
background-color: var(--color-surface);
|
|
944
|
+
box-shadow: inset 0 0 0 1px var(--gray-a6);
|
|
945
|
+
}
|
|
946
|
+
:where(.rt-AccordionRoot:where(.rt-variant-classic)) {
|
|
947
|
+
background-color: var(--color-surface);
|
|
948
|
+
box-shadow: var(--classic-inset-shadow-light);
|
|
949
|
+
}
|
|
950
|
+
:where(.rt-AccordionRoot:where(.rt-variant-soft)) {
|
|
951
|
+
background-color: var(--accent-a3);
|
|
952
|
+
}
|
|
953
|
+
:where(.rt-AccordionRoot:where(.rt-variant-outline)) {
|
|
954
|
+
box-shadow: inset 0 0 0 1px var(--gray-a7);
|
|
955
|
+
}
|
|
956
|
+
:where(.rt-AccordionRoot:where(.rt-variant-ghost)) {
|
|
957
|
+
background-color: transparent;
|
|
958
|
+
}
|
|
959
|
+
:where(.rt-AccordionRoot[data-panel-background="translucent"]) {
|
|
960
|
+
background-color: color-mix(in srgb, var(--color-panel-translucent), transparent var(--panel-opacity-light));
|
|
961
|
+
-webkit-backdrop-filter: var(--backdrop-blur-panel);
|
|
962
|
+
backdrop-filter: var(--backdrop-blur-panel);
|
|
963
|
+
}
|
|
964
|
+
.rt-AccordionItem {
|
|
965
|
+
overflow: hidden;
|
|
966
|
+
}
|
|
967
|
+
:where(.rt-AccordionItem:not(:last-child)) {
|
|
968
|
+
border-bottom: 1px solid var(--gray-a6);
|
|
969
|
+
}
|
|
970
|
+
:where(.rt-AccordionRoot:where(.rt-variant-ghost)) :where(.rt-AccordionItem:not(:last-child)) {
|
|
971
|
+
border-bottom: 1px solid var(--gray-a4);
|
|
972
|
+
}
|
|
973
|
+
.rt-AccordionHeader {
|
|
974
|
+
display: flex;
|
|
975
|
+
}
|
|
976
|
+
.rt-AccordionTrigger {
|
|
977
|
+
all: unset;
|
|
978
|
+
font-family: inherit;
|
|
979
|
+
display: flex;
|
|
980
|
+
flex: 1;
|
|
981
|
+
align-items: center;
|
|
982
|
+
justify-content: space-between;
|
|
983
|
+
padding: var(--space-3) var(--space-4);
|
|
984
|
+
font-size: var(--font-size-2);
|
|
985
|
+
font-weight: var(--font-weight-medium);
|
|
986
|
+
line-height: var(--line-height-3);
|
|
987
|
+
color: var(--gray-12);
|
|
988
|
+
cursor: pointer;
|
|
989
|
+
transition: var(--transition-standard);
|
|
990
|
+
}
|
|
991
|
+
:where(.rt-AccordionRoot:where(.rt-r-size-1)) .rt-AccordionTrigger {
|
|
992
|
+
padding: var(--space-2) var(--space-3);
|
|
993
|
+
font-size: var(--font-size-1);
|
|
994
|
+
}
|
|
995
|
+
:where(.rt-AccordionRoot:where(.rt-r-size-2)) .rt-AccordionTrigger {
|
|
996
|
+
padding: var(--space-3) var(--space-4);
|
|
997
|
+
font-size: var(--font-size-2);
|
|
998
|
+
}
|
|
999
|
+
:where(.rt-AccordionRoot:where(.rt-r-size-3)) .rt-AccordionTrigger {
|
|
1000
|
+
padding: var(--space-4) var(--space-5);
|
|
1001
|
+
font-size: var(--font-size-3);
|
|
1002
|
+
}
|
|
1003
|
+
:where(.rt-AccordionRoot:where(.rt-r-size-4)) .rt-AccordionTrigger {
|
|
1004
|
+
padding: var(--space-5) var(--space-6);
|
|
1005
|
+
font-size: var(--font-size-4);
|
|
1006
|
+
}
|
|
1007
|
+
:where(.rt-AccordionTrigger:hover) {
|
|
1008
|
+
background-color: var(--gray-a3);
|
|
1009
|
+
}
|
|
1010
|
+
:where(.rt-AccordionRoot:where(.rt-variant-soft)) :where(.rt-AccordionTrigger:hover) {
|
|
1011
|
+
background-color: var(--accent-a4);
|
|
1012
|
+
}
|
|
1013
|
+
:where(.rt-AccordionRoot:where(.rt-variant-ghost)) :where(.rt-AccordionTrigger:hover) {
|
|
1014
|
+
background-color: var(--gray-a2);
|
|
1015
|
+
}
|
|
1016
|
+
:where(.rt-AccordionTrigger:focus-visible) {
|
|
1017
|
+
outline: var(--focus-outline-width) solid var(--focus-8);
|
|
1018
|
+
outline-offset: var(--focus-outline-offset-inset);
|
|
1019
|
+
}
|
|
1020
|
+
.rt-AccordionContent {
|
|
1021
|
+
overflow: hidden;
|
|
1022
|
+
font-size: var(--font-size-2);
|
|
1023
|
+
color: var(--gray-11);
|
|
1024
|
+
line-height: var(--line-height-4);
|
|
1025
|
+
}
|
|
1026
|
+
.rt-AccordionContentInner {
|
|
1027
|
+
padding: 0 var(--space-4) var(--space-3);
|
|
1028
|
+
}
|
|
1029
|
+
:where(.rt-AccordionRoot:where(.rt-r-size-1)) .rt-AccordionContentInner {
|
|
1030
|
+
padding: 0 var(--space-3) var(--space-2);
|
|
1031
|
+
font-size: var(--font-size-1);
|
|
1032
|
+
}
|
|
1033
|
+
:where(.rt-AccordionRoot:where(.rt-r-size-2)) .rt-AccordionContentInner {
|
|
1034
|
+
padding: 0 var(--space-4) var(--space-3);
|
|
1035
|
+
font-size: var(--font-size-2);
|
|
1036
|
+
}
|
|
1037
|
+
:where(.rt-AccordionRoot:where(.rt-r-size-3)) .rt-AccordionContentInner {
|
|
1038
|
+
padding: 0 var(--space-5) var(--space-4);
|
|
1039
|
+
font-size: var(--font-size-3);
|
|
1040
|
+
}
|
|
1041
|
+
:where(.rt-AccordionRoot:where(.rt-r-size-4)) .rt-AccordionContentInner {
|
|
1042
|
+
padding: 0 var(--space-6) var(--space-5);
|
|
1043
|
+
font-size: var(--font-size-4);
|
|
1044
|
+
}
|
|
1045
|
+
:where(.rt-AccordionContent[data-state="open"]) {
|
|
1046
|
+
animation: rt-slide-down var(--duration-2) var(--ease-1);
|
|
1047
|
+
}
|
|
1048
|
+
:where(.rt-AccordionContent[data-state="closed"]) {
|
|
1049
|
+
animation: rt-slide-up var(--duration-2) var(--ease-1);
|
|
1050
|
+
}
|
|
1051
|
+
@keyframes rt-slide-down {
|
|
1052
|
+
from {
|
|
1053
|
+
height: 0;
|
|
1054
|
+
}
|
|
1055
|
+
to {
|
|
1056
|
+
height: var(--radix-accordion-content-height);
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
@keyframes rt-slide-up {
|
|
1060
|
+
from {
|
|
1061
|
+
height: var(--radix-accordion-content-height);
|
|
1062
|
+
}
|
|
1063
|
+
to {
|
|
1064
|
+
height: 0;
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
:where(.rt-AccordionRoot[data-high-contrast]) .rt-AccordionTrigger {
|
|
1068
|
+
color: var(--gray-12);
|
|
1069
|
+
}
|
|
1070
|
+
:where(.rt-AccordionRoot[data-high-contrast]) .rt-AccordionContent {
|
|
1071
|
+
color: var(--gray-12);
|
|
1072
|
+
}
|
|
1073
|
+
:where(.rt-AccordionRoot:where(.rt-variant-soft)[data-accent-color]) :where(.rt-AccordionTrigger:hover) {
|
|
1074
|
+
background-color: var(--accent-a4);
|
|
1075
|
+
}
|
|
1076
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1077
|
+
:where(.rt-AccordionContent[data-state="open"]),
|
|
1078
|
+
:where(.rt-AccordionContent[data-state="closed"]) {
|
|
1079
|
+
animation: none;
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
.rt-AccordionRoot:where(.rt-variant-soft) {
|
|
1083
|
+
background-color: var(--accent-3);
|
|
1084
|
+
color: var(--accent-12);
|
|
1085
|
+
transition: var(--transition-background-blur);
|
|
1086
|
+
}
|
|
1087
|
+
:where([data-panel-background='translucent']) .rt-AccordionRoot:where(.rt-variant-soft) {
|
|
1088
|
+
background-color: var(--accent-a3);
|
|
1089
|
+
-webkit-backdrop-filter: var(--backdrop-filter-components);
|
|
1090
|
+
backdrop-filter: var(--backdrop-filter-components);
|
|
1091
|
+
}
|
|
1092
|
+
.rt-AccordionRoot:where(.rt-variant-soft[data-panel-background='solid']) {
|
|
1093
|
+
background-color: var(--accent-3);
|
|
1094
|
+
-webkit-backdrop-filter: none;
|
|
1095
|
+
backdrop-filter: none;
|
|
1096
|
+
}
|
|
1097
|
+
.rt-AccordionRoot:where(.rt-variant-soft[data-panel-background='translucent']) {
|
|
1098
|
+
background-color: var(--accent-a3);
|
|
1099
|
+
-webkit-backdrop-filter: var(--backdrop-filter-components);
|
|
1100
|
+
backdrop-filter: var(--backdrop-filter-components);
|
|
1101
|
+
--backdrop-filter-components: blur(var(--backdrop-blur-components));
|
|
1102
|
+
}
|
|
1103
|
+
@media (hover: hover) {
|
|
1104
|
+
:where(.rt-AccordionRoot.rt-variant-soft:hover) {
|
|
1105
|
+
background-color: var(--accent-4);
|
|
1106
|
+
}
|
|
1107
|
+
:where([data-panel-background='translucent']) :where(.rt-AccordionRoot.rt-variant-soft:hover) {
|
|
1108
|
+
background-color: var(--accent-a4);
|
|
1109
|
+
}
|
|
1110
|
+
:where(.rt-AccordionRoot.rt-variant-soft[data-panel-background='solid']:hover) {
|
|
1111
|
+
background-color: var(--accent-4);
|
|
1112
|
+
-webkit-backdrop-filter: none;
|
|
1113
|
+
backdrop-filter: none;
|
|
1114
|
+
}
|
|
1115
|
+
:where(.rt-AccordionRoot.rt-variant-soft[data-panel-background='translucent']:hover) {
|
|
1116
|
+
background-color: var(--accent-a4);
|
|
1117
|
+
-webkit-backdrop-filter: var(--backdrop-filter-components);
|
|
1118
|
+
backdrop-filter: var(--backdrop-filter-components);
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
@media (hover: hover) {
|
|
1122
|
+
:where(.rt-AccordionRoot.rt-variant-ghost:hover) {
|
|
1123
|
+
background-color: var(--accent-2);
|
|
1124
|
+
}
|
|
1125
|
+
:where([data-panel-background='translucent']) :where(.rt-AccordionRoot.rt-variant-ghost:hover) {
|
|
1126
|
+
background-color: var(--accent-a2);
|
|
1127
|
+
-webkit-backdrop-filter: var(--backdrop-filter-components);
|
|
1128
|
+
backdrop-filter: var(--backdrop-filter-components);
|
|
1129
|
+
}
|
|
1130
|
+
:where(.rt-AccordionRoot.rt-variant-ghost[data-panel-background='solid']:hover) {
|
|
1131
|
+
background-color: var(--accent-2);
|
|
1132
|
+
-webkit-backdrop-filter: none;
|
|
1133
|
+
backdrop-filter: none;
|
|
1134
|
+
}
|
|
1135
|
+
:where(.rt-AccordionRoot.rt-variant-ghost[data-panel-background='translucent']:hover) {
|
|
1136
|
+
background-color: var(--accent-a2);
|
|
1137
|
+
-webkit-backdrop-filter: var(--backdrop-filter-components);
|
|
1138
|
+
backdrop-filter: var(--backdrop-filter-components);
|
|
1139
|
+
--backdrop-filter-components: blur(var(--backdrop-blur-components));
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
938
1142
|
.rt-BaseDialogOverlay {
|
|
939
1143
|
position: fixed;
|
|
940
1144
|
inset: 0;
|
|
@@ -11669,122 +11873,12 @@
|
|
|
11669
11873
|
border-radius: inherit;
|
|
11670
11874
|
flex: 1;
|
|
11671
11875
|
}
|
|
11672
|
-
.rt-SidebarContainer:where(.rt-variant-outline) {
|
|
11673
|
-
background-color: var(--color-panel);
|
|
11674
|
-
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
11675
|
-
backdrop-filter: var(--backdrop-filter-panel);
|
|
11676
|
-
}
|
|
11677
|
-
.rt-SidebarContainer:where(.rt-variant-outline):where([data-panel-background='solid']) {
|
|
11678
|
-
--color-panel: var(--color-panel-solid);
|
|
11679
|
-
-webkit-backdrop-filter: none;
|
|
11680
|
-
backdrop-filter: none;
|
|
11681
|
-
--backdrop-filter-panel: none;
|
|
11682
|
-
--backdrop-filter-components: none;
|
|
11683
|
-
}
|
|
11684
|
-
.rt-SidebarContainer:where(.rt-variant-outline):where([data-panel-background='translucent']) {
|
|
11685
|
-
--color-panel: var(--color-panel-translucent);
|
|
11686
|
-
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
11687
|
-
backdrop-filter: var(--backdrop-filter-panel);
|
|
11688
|
-
--backdrop-filter-panel: blur(var(--backdrop-blur-panel));
|
|
11689
|
-
--backdrop-filter-components: blur(var(--backdrop-blur-components));
|
|
11690
|
-
}
|
|
11691
|
-
:where(.rt-SidebarRoot[data-type="floating"]) .rt-SidebarContainer:where(.rt-variant-outline) {
|
|
11692
|
-
box-shadow: inset 0 0 0 1px var(--gray-a6);
|
|
11693
|
-
}
|
|
11694
|
-
:where(.rt-SidebarRoot[data-type="sidebar"][data-side="left"]) .rt-SidebarContainer:where(.rt-variant-outline) {
|
|
11695
|
-
box-shadow: inset -1px 0 0 0 var(--gray-a6);
|
|
11696
|
-
}
|
|
11697
|
-
:where(.rt-SidebarRoot[data-type="sidebar"][data-side="right"]) .rt-SidebarContainer:where(.rt-variant-outline) {
|
|
11698
|
-
box-shadow: inset 1px 0 0 0 var(--gray-a6);
|
|
11699
|
-
}
|
|
11700
11876
|
.rt-SidebarHeader {
|
|
11701
11877
|
display: flex;
|
|
11702
11878
|
flex-direction: column;
|
|
11703
11879
|
flex-shrink: 0;
|
|
11704
11880
|
border-radius: var(--sidebar-base-border-radius) var(--sidebar-base-border-radius) 0 0;
|
|
11705
11881
|
}
|
|
11706
|
-
.rt-SidebarHeader :where(.rt-SidebarMenuButton) {
|
|
11707
|
-
display: flex;
|
|
11708
|
-
align-items: center;
|
|
11709
|
-
gap: var(--space-2);
|
|
11710
|
-
min-height: var(--base-menu-item-height);
|
|
11711
|
-
padding-top: var(--base-menu-item-padding-y);
|
|
11712
|
-
padding-bottom: var(--base-menu-item-padding-y);
|
|
11713
|
-
padding-left: var(--base-menu-item-padding-left);
|
|
11714
|
-
padding-right: var(--base-menu-item-padding-right);
|
|
11715
|
-
box-sizing: border-box;
|
|
11716
|
-
position: relative;
|
|
11717
|
-
outline: none;
|
|
11718
|
-
background: none;
|
|
11719
|
-
border: none;
|
|
11720
|
-
width: 100%;
|
|
11721
|
-
text-align: left;
|
|
11722
|
-
cursor: var(--cursor-menu-item);
|
|
11723
|
-
-webkit-user-select: none;
|
|
11724
|
-
user-select: none;
|
|
11725
|
-
justify-content: flex-start;
|
|
11726
|
-
border-radius: var(--sidebar-base-border-radius) var(--sidebar-base-border-radius) 0 0;
|
|
11727
|
-
transition: background var(--duration-2) var(--ease-1), box-shadow var(--duration-2) var(--ease-1), filter var(--duration-2) var(--ease-1);
|
|
11728
|
-
}
|
|
11729
|
-
.rt-SidebarHeader :where(.rt-SidebarMenuButton):where(:focus-visible) {
|
|
11730
|
-
outline: 2px solid var(--focus-8);
|
|
11731
|
-
outline-offset: 2px;
|
|
11732
|
-
}
|
|
11733
|
-
@media (prefers-reduced-motion: reduce) {
|
|
11734
|
-
.rt-SidebarHeader :where(.rt-SidebarMenuButton) {
|
|
11735
|
-
transition: none;
|
|
11736
|
-
}
|
|
11737
|
-
}
|
|
11738
|
-
.rt-SidebarHeader:where(.rt-SidebarHeader--container) {
|
|
11739
|
-
display: flex;
|
|
11740
|
-
flex-direction: row;
|
|
11741
|
-
align-items: center;
|
|
11742
|
-
gap: var(--space-2);
|
|
11743
|
-
padding: var(--base-menu-content-padding);
|
|
11744
|
-
min-height: var(--base-menu-item-height);
|
|
11745
|
-
}
|
|
11746
|
-
.rt-SidebarHeader:where(.rt-SidebarHeader--container) :where(.rt-SidebarMenuButton) {
|
|
11747
|
-
flex: 1;
|
|
11748
|
-
}
|
|
11749
|
-
.rt-SidebarHeader:where(.rt-flex-row) {
|
|
11750
|
-
flex-direction: row;
|
|
11751
|
-
}
|
|
11752
|
-
.rt-SidebarHeader:where(.rt-flex-col) {
|
|
11753
|
-
flex-direction: column;
|
|
11754
|
-
}
|
|
11755
|
-
.rt-SidebarHeader:where(.rt-items-center) {
|
|
11756
|
-
align-items: center;
|
|
11757
|
-
}
|
|
11758
|
-
.rt-SidebarHeader:where(.rt-items-start) {
|
|
11759
|
-
align-items: flex-start;
|
|
11760
|
-
}
|
|
11761
|
-
.rt-SidebarHeader:where(.rt-items-end) {
|
|
11762
|
-
align-items: flex-end;
|
|
11763
|
-
}
|
|
11764
|
-
.rt-SidebarHeader:where(.rt-justify-between) {
|
|
11765
|
-
justify-content: space-between;
|
|
11766
|
-
}
|
|
11767
|
-
.rt-SidebarHeader:where(.rt-justify-center) {
|
|
11768
|
-
justify-content: center;
|
|
11769
|
-
}
|
|
11770
|
-
.rt-SidebarHeader:where(.rt-justify-start) {
|
|
11771
|
-
justify-content: flex-start;
|
|
11772
|
-
}
|
|
11773
|
-
.rt-SidebarHeader:where(.rt-justify-end) {
|
|
11774
|
-
justify-content: flex-end;
|
|
11775
|
-
}
|
|
11776
|
-
.rt-SidebarHeader:where(.rt-gap-1) {
|
|
11777
|
-
gap: var(--space-1);
|
|
11778
|
-
}
|
|
11779
|
-
.rt-SidebarHeader:where(.rt-gap-2) {
|
|
11780
|
-
gap: var(--space-2);
|
|
11781
|
-
}
|
|
11782
|
-
.rt-SidebarHeader:where(.rt-gap-3) {
|
|
11783
|
-
gap: var(--space-3);
|
|
11784
|
-
}
|
|
11785
|
-
.rt-SidebarHeader:where(.rt-gap-4) {
|
|
11786
|
-
gap: var(--space-4);
|
|
11787
|
-
}
|
|
11788
11882
|
.rt-SidebarContent {
|
|
11789
11883
|
--scrollarea-scrollbar-vertical-margin-top: var(--base-menu-content-padding);
|
|
11790
11884
|
--scrollarea-scrollbar-vertical-margin-bottom: var(--base-menu-content-padding);
|
|
@@ -11813,18 +11907,34 @@
|
|
|
11813
11907
|
flex-direction: column;
|
|
11814
11908
|
min-height: 0;
|
|
11815
11909
|
}
|
|
11816
|
-
.rt-
|
|
11817
|
-
flex: 1;
|
|
11910
|
+
.rt-SidebarFooter {
|
|
11818
11911
|
display: flex;
|
|
11819
11912
|
flex-direction: column;
|
|
11820
|
-
|
|
11821
|
-
|
|
11822
|
-
|
|
11823
|
-
margin: 0;
|
|
11824
|
-
min-height: 0;
|
|
11913
|
+
flex-shrink: 0;
|
|
11914
|
+
margin-top: auto;
|
|
11915
|
+
border-radius: 0 0 var(--sidebar-base-border-radius) var(--sidebar-base-border-radius);
|
|
11825
11916
|
}
|
|
11826
|
-
|
|
11827
|
-
|
|
11917
|
+
.rt-SidebarSeparator {
|
|
11918
|
+
width: 100%;
|
|
11919
|
+
margin: var(--space-2) 0;
|
|
11920
|
+
}
|
|
11921
|
+
@media (max-width: 768px) {
|
|
11922
|
+
.rt-SidebarRoot {
|
|
11923
|
+
display: none;
|
|
11924
|
+
}
|
|
11925
|
+
}
|
|
11926
|
+
.rt-SidebarMenu {
|
|
11927
|
+
flex: 1;
|
|
11928
|
+
display: flex;
|
|
11929
|
+
flex-direction: column;
|
|
11930
|
+
padding: var(--base-menu-content-padding);
|
|
11931
|
+
box-sizing: border-box;
|
|
11932
|
+
list-style: none;
|
|
11933
|
+
margin: 0;
|
|
11934
|
+
min-height: 0;
|
|
11935
|
+
}
|
|
11936
|
+
:where(.rt-SidebarContent:has(.rt-ScrollAreaScrollbar[data-orientation='vertical'])) .rt-SidebarMenu {
|
|
11937
|
+
padding-right: var(--space-3);
|
|
11828
11938
|
}
|
|
11829
11939
|
.rt-SidebarMenuItem {
|
|
11830
11940
|
list-style: none;
|
|
@@ -11933,44 +12043,151 @@
|
|
|
11933
12043
|
min-height: var(--space-6);
|
|
11934
12044
|
font-size: var(--font-size-2);
|
|
11935
12045
|
}
|
|
11936
|
-
.rt-
|
|
11937
|
-
display: flex;
|
|
11938
|
-
flex-direction: column;
|
|
11939
|
-
flex-shrink: 0;
|
|
11940
|
-
margin-top: auto;
|
|
11941
|
-
border-radius: 0 0 var(--sidebar-base-border-radius) var(--sidebar-base-border-radius);
|
|
11942
|
-
}
|
|
11943
|
-
.rt-SidebarFooter :where(.rt-SidebarMenuButton) {
|
|
12046
|
+
.rt-SidebarGroupLabel {
|
|
11944
12047
|
display: flex;
|
|
11945
12048
|
align-items: center;
|
|
11946
|
-
gap: var(--space-2);
|
|
11947
12049
|
min-height: var(--base-menu-item-height);
|
|
11948
12050
|
padding-top: var(--base-menu-item-padding-y);
|
|
11949
12051
|
padding-bottom: var(--base-menu-item-padding-y);
|
|
11950
12052
|
padding-left: var(--base-menu-item-padding-left);
|
|
11951
12053
|
padding-right: var(--base-menu-item-padding-right);
|
|
11952
12054
|
box-sizing: border-box;
|
|
11953
|
-
|
|
11954
|
-
outline: none;
|
|
11955
|
-
background: none;
|
|
11956
|
-
border: none;
|
|
11957
|
-
width: 100%;
|
|
11958
|
-
text-align: left;
|
|
11959
|
-
cursor: var(--cursor-menu-item);
|
|
12055
|
+
color: var(--gray-a10);
|
|
11960
12056
|
-webkit-user-select: none;
|
|
11961
12057
|
user-select: none;
|
|
11962
|
-
|
|
11963
|
-
border-radius: 0 0 var(--sidebar-base-border-radius) var(--sidebar-base-border-radius);
|
|
11964
|
-
transition: background var(--duration-2) var(--ease-1), box-shadow var(--duration-2) var(--ease-1), filter var(--duration-2) var(--ease-1);
|
|
12058
|
+
cursor: default;
|
|
11965
12059
|
}
|
|
11966
|
-
|
|
11967
|
-
|
|
11968
|
-
outline-offset: 2px;
|
|
12060
|
+
:where(.rt-SidebarMenuItem) + .rt-SidebarGroupLabel {
|
|
12061
|
+
margin-top: var(--space-2);
|
|
11969
12062
|
}
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
|
|
11973
|
-
|
|
12063
|
+
:where(.rt-SidebarContent.rt-r-size-1) .rt-SidebarMenuButton:where(:has(.rt-SidebarMenuShortcut, .rt-SidebarMenuBadge)) {
|
|
12064
|
+
padding-right: var(--base-menu-item-padding-y);
|
|
12065
|
+
}
|
|
12066
|
+
:where(.rt-SidebarContent.rt-r-size-2) .rt-SidebarMenuButton:where(:has(.rt-SidebarMenuShortcut, .rt-SidebarMenuBadge)) {
|
|
12067
|
+
padding-right: var(--base-menu-item-padding-y);
|
|
12068
|
+
}
|
|
12069
|
+
.rt-SidebarMenuShortcut {
|
|
12070
|
+
display: flex;
|
|
12071
|
+
align-items: center;
|
|
12072
|
+
margin-left: auto;
|
|
12073
|
+
padding-left: var(--space-4);
|
|
12074
|
+
color: var(--gray-a11);
|
|
12075
|
+
}
|
|
12076
|
+
.rt-SidebarMenuBadge {
|
|
12077
|
+
display: flex;
|
|
12078
|
+
align-items: center;
|
|
12079
|
+
margin-left: auto;
|
|
12080
|
+
padding-left: var(--space-2);
|
|
12081
|
+
}
|
|
12082
|
+
.rt-SidebarContent :where(.rt-BaseMenuItem) {
|
|
12083
|
+
margin-top: calc(var(--space-1) / 2);
|
|
12084
|
+
margin-bottom: calc(var(--space-1) / 2);
|
|
12085
|
+
}
|
|
12086
|
+
.rt-SidebarContainer:where(.rt-variant-outline) {
|
|
12087
|
+
background-color: var(--color-panel);
|
|
12088
|
+
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
12089
|
+
backdrop-filter: var(--backdrop-filter-panel);
|
|
12090
|
+
}
|
|
12091
|
+
.rt-SidebarContainer:where(.rt-variant-outline):where([data-panel-background='solid']) {
|
|
12092
|
+
--color-panel: var(--color-panel-solid);
|
|
12093
|
+
-webkit-backdrop-filter: none;
|
|
12094
|
+
backdrop-filter: none;
|
|
12095
|
+
--backdrop-filter-panel: none;
|
|
12096
|
+
--backdrop-filter-components: none;
|
|
12097
|
+
}
|
|
12098
|
+
.rt-SidebarContainer:where(.rt-variant-outline):where([data-panel-background='translucent']) {
|
|
12099
|
+
--color-panel: var(--color-panel-translucent);
|
|
12100
|
+
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
12101
|
+
backdrop-filter: var(--backdrop-filter-panel);
|
|
12102
|
+
--backdrop-filter-panel: blur(var(--backdrop-blur-panel));
|
|
12103
|
+
--backdrop-filter-components: blur(var(--backdrop-blur-components));
|
|
12104
|
+
}
|
|
12105
|
+
:where(.rt-SidebarRoot[data-type="floating"]) .rt-SidebarContainer:where(.rt-variant-outline) {
|
|
12106
|
+
box-shadow: inset 0 0 0 1px var(--gray-a6);
|
|
12107
|
+
}
|
|
12108
|
+
:where(.rt-SidebarRoot[data-type="sidebar"][data-side="left"]) .rt-SidebarContainer:where(.rt-variant-outline) {
|
|
12109
|
+
box-shadow: inset -1px 0 0 0 var(--gray-a6);
|
|
12110
|
+
}
|
|
12111
|
+
:where(.rt-SidebarRoot[data-type="sidebar"][data-side="right"]) .rt-SidebarContainer:where(.rt-variant-outline) {
|
|
12112
|
+
box-shadow: inset 1px 0 0 0 var(--gray-a6);
|
|
12113
|
+
}
|
|
12114
|
+
.rt-SidebarContainer:where(.rt-variant-ghost) {
|
|
12115
|
+
background-color: transparent;
|
|
12116
|
+
-webkit-backdrop-filter: none;
|
|
12117
|
+
backdrop-filter: none;
|
|
12118
|
+
border: none;
|
|
12119
|
+
}
|
|
12120
|
+
.rt-SidebarContainer:where(.rt-variant-soft) {
|
|
12121
|
+
background-color: var(--gray-2);
|
|
12122
|
+
}
|
|
12123
|
+
:where([data-panel-background='translucent']) .rt-SidebarContainer:where(.rt-variant-soft) {
|
|
12124
|
+
background-color: var(--gray-a2);
|
|
12125
|
+
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
12126
|
+
backdrop-filter: var(--backdrop-filter-panel);
|
|
12127
|
+
}
|
|
12128
|
+
.rt-SidebarContainer:where(.rt-variant-soft):where([data-panel-background='solid']) {
|
|
12129
|
+
background-color: var(--gray-2);
|
|
12130
|
+
-webkit-backdrop-filter: none;
|
|
12131
|
+
backdrop-filter: none;
|
|
12132
|
+
--backdrop-filter-components: none;
|
|
12133
|
+
}
|
|
12134
|
+
.rt-SidebarContainer:where(.rt-variant-soft):where([data-panel-background='translucent']) {
|
|
12135
|
+
background-color: var(--gray-a2);
|
|
12136
|
+
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
12137
|
+
backdrop-filter: var(--backdrop-filter-panel);
|
|
12138
|
+
--backdrop-filter-panel: blur(var(--backdrop-blur-panel));
|
|
12139
|
+
--backdrop-filter-components: blur(var(--backdrop-blur-components));
|
|
12140
|
+
}
|
|
12141
|
+
.rt-SidebarContainer:where(.rt-variant-surface) {
|
|
12142
|
+
background-color: var(--gray-1);
|
|
12143
|
+
}
|
|
12144
|
+
:where([data-panel-background='translucent']) .rt-SidebarContainer:where(.rt-variant-surface) {
|
|
12145
|
+
background-color: var(--gray-a1);
|
|
12146
|
+
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
12147
|
+
backdrop-filter: var(--backdrop-filter-panel);
|
|
12148
|
+
}
|
|
12149
|
+
.rt-SidebarContainer:where(.rt-variant-surface):where([data-panel-background='solid']) {
|
|
12150
|
+
background-color: var(--gray-1);
|
|
12151
|
+
-webkit-backdrop-filter: none;
|
|
12152
|
+
backdrop-filter: none;
|
|
12153
|
+
--backdrop-filter-panel: none;
|
|
12154
|
+
--backdrop-filter-components: none;
|
|
12155
|
+
}
|
|
12156
|
+
.rt-SidebarContainer:where(.rt-variant-surface):where([data-panel-background='translucent']) {
|
|
12157
|
+
background-color: var(--gray-a1);
|
|
12158
|
+
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
12159
|
+
backdrop-filter: var(--backdrop-filter-panel);
|
|
12160
|
+
--backdrop-filter-panel: blur(var(--backdrop-blur-panel));
|
|
12161
|
+
--backdrop-filter-components: blur(var(--backdrop-blur-components));
|
|
12162
|
+
}
|
|
12163
|
+
:where(.rt-SidebarRoot[data-type="floating"]) .rt-SidebarContainer:where(.rt-variant-surface) {
|
|
12164
|
+
box-shadow: inset 0 0 0 1px var(--gray-6);
|
|
12165
|
+
}
|
|
12166
|
+
:where([data-panel-background='translucent']) :is(:where(.rt-SidebarRoot[data-type="floating"]) .rt-SidebarContainer:where(.rt-variant-surface)) {
|
|
12167
|
+
box-shadow: inset 0 0 0 1px var(--gray-a6);
|
|
12168
|
+
}
|
|
12169
|
+
:where(.rt-SidebarRoot[data-type="sidebar"][data-side="left"]) .rt-SidebarContainer:where(.rt-variant-surface) {
|
|
12170
|
+
box-shadow: inset -1px 0 0 0 var(--gray-6);
|
|
12171
|
+
}
|
|
12172
|
+
:where([data-panel-background='translucent']) :is(:where(.rt-SidebarRoot[data-type="sidebar"][data-side="left"]) .rt-SidebarContainer:where(.rt-variant-surface)) {
|
|
12173
|
+
box-shadow: inset -1px 0 0 0 var(--gray-a6);
|
|
12174
|
+
}
|
|
12175
|
+
:where(.rt-SidebarRoot[data-type="sidebar"][data-side="right"]) .rt-SidebarContainer:where(.rt-variant-surface) {
|
|
12176
|
+
box-shadow: inset 1px 0 0 0 var(--gray-6);
|
|
12177
|
+
}
|
|
12178
|
+
:where([data-panel-background='translucent']) :is(:where(.rt-SidebarRoot[data-type="sidebar"][data-side="right"]) .rt-SidebarContainer:where(.rt-variant-surface)) {
|
|
12179
|
+
box-shadow: inset 1px 0 0 0 var(--gray-a6);
|
|
12180
|
+
}
|
|
12181
|
+
.rt-SidebarHeader:where(.rt-SidebarHeader--container) {
|
|
12182
|
+
display: flex;
|
|
12183
|
+
flex-direction: row;
|
|
12184
|
+
align-items: center;
|
|
12185
|
+
gap: var(--space-2);
|
|
12186
|
+
padding: var(--base-menu-content-padding);
|
|
12187
|
+
min-height: var(--base-menu-item-height);
|
|
12188
|
+
}
|
|
12189
|
+
.rt-SidebarHeader:where(.rt-SidebarHeader--container) :where(.rt-SidebarMenuButton) {
|
|
12190
|
+
flex: 1;
|
|
11974
12191
|
}
|
|
11975
12192
|
.rt-SidebarFooter:where(.rt-SidebarFooter--container) {
|
|
11976
12193
|
display: flex;
|
|
@@ -11983,6 +12200,45 @@
|
|
|
11983
12200
|
.rt-SidebarFooter:where(.rt-SidebarFooter--container) :where(.rt-SidebarMenuButton) {
|
|
11984
12201
|
flex: 1;
|
|
11985
12202
|
}
|
|
12203
|
+
.rt-SidebarHeader:where(.rt-flex-row) {
|
|
12204
|
+
flex-direction: row;
|
|
12205
|
+
}
|
|
12206
|
+
.rt-SidebarHeader:where(.rt-flex-col) {
|
|
12207
|
+
flex-direction: column;
|
|
12208
|
+
}
|
|
12209
|
+
.rt-SidebarHeader:where(.rt-items-center) {
|
|
12210
|
+
align-items: center;
|
|
12211
|
+
}
|
|
12212
|
+
.rt-SidebarHeader:where(.rt-items-start) {
|
|
12213
|
+
align-items: flex-start;
|
|
12214
|
+
}
|
|
12215
|
+
.rt-SidebarHeader:where(.rt-items-end) {
|
|
12216
|
+
align-items: flex-end;
|
|
12217
|
+
}
|
|
12218
|
+
.rt-SidebarHeader:where(.rt-justify-between) {
|
|
12219
|
+
justify-content: space-between;
|
|
12220
|
+
}
|
|
12221
|
+
.rt-SidebarHeader:where(.rt-justify-center) {
|
|
12222
|
+
justify-content: center;
|
|
12223
|
+
}
|
|
12224
|
+
.rt-SidebarHeader:where(.rt-justify-start) {
|
|
12225
|
+
justify-content: flex-start;
|
|
12226
|
+
}
|
|
12227
|
+
.rt-SidebarHeader:where(.rt-justify-end) {
|
|
12228
|
+
justify-content: flex-end;
|
|
12229
|
+
}
|
|
12230
|
+
.rt-SidebarHeader:where(.rt-gap-1) {
|
|
12231
|
+
gap: var(--space-1);
|
|
12232
|
+
}
|
|
12233
|
+
.rt-SidebarHeader:where(.rt-gap-2) {
|
|
12234
|
+
gap: var(--space-2);
|
|
12235
|
+
}
|
|
12236
|
+
.rt-SidebarHeader:where(.rt-gap-3) {
|
|
12237
|
+
gap: var(--space-3);
|
|
12238
|
+
}
|
|
12239
|
+
.rt-SidebarHeader:where(.rt-gap-4) {
|
|
12240
|
+
gap: var(--space-4);
|
|
12241
|
+
}
|
|
11986
12242
|
.rt-SidebarFooter:where(.rt-flex-row) {
|
|
11987
12243
|
flex-direction: row;
|
|
11988
12244
|
}
|
|
@@ -12022,26 +12278,44 @@
|
|
|
12022
12278
|
.rt-SidebarFooter:where(.rt-gap-4) {
|
|
12023
12279
|
gap: var(--space-4);
|
|
12024
12280
|
}
|
|
12025
|
-
.rt-
|
|
12026
|
-
|
|
12027
|
-
margin: var(--space-2) 0;
|
|
12028
|
-
}
|
|
12029
|
-
.rt-SidebarGroupLabel {
|
|
12281
|
+
.rt-SidebarHeader :where(.rt-SidebarMenuButton),
|
|
12282
|
+
.rt-SidebarFooter :where(.rt-SidebarMenuButton) {
|
|
12030
12283
|
display: flex;
|
|
12031
12284
|
align-items: center;
|
|
12285
|
+
gap: var(--space-2);
|
|
12032
12286
|
min-height: var(--base-menu-item-height);
|
|
12033
12287
|
padding-top: var(--base-menu-item-padding-y);
|
|
12034
12288
|
padding-bottom: var(--base-menu-item-padding-y);
|
|
12035
12289
|
padding-left: var(--base-menu-item-padding-left);
|
|
12036
12290
|
padding-right: var(--base-menu-item-padding-right);
|
|
12037
12291
|
box-sizing: border-box;
|
|
12038
|
-
|
|
12292
|
+
position: relative;
|
|
12293
|
+
outline: none;
|
|
12294
|
+
background: none;
|
|
12295
|
+
border: none;
|
|
12296
|
+
width: 100%;
|
|
12297
|
+
text-align: left;
|
|
12298
|
+
cursor: var(--cursor-menu-item);
|
|
12039
12299
|
-webkit-user-select: none;
|
|
12040
12300
|
user-select: none;
|
|
12041
|
-
|
|
12301
|
+
justify-content: flex-start;
|
|
12302
|
+
transition: background var(--duration-2) var(--ease-1), box-shadow var(--duration-2) var(--ease-1), filter var(--duration-2) var(--ease-1);
|
|
12042
12303
|
}
|
|
12043
|
-
:where(.rt-
|
|
12044
|
-
|
|
12304
|
+
.rt-SidebarHeader :where(.rt-SidebarMenuButton):where(:focus-visible), .rt-SidebarFooter :where(.rt-SidebarMenuButton):where(:focus-visible) {
|
|
12305
|
+
outline: 2px solid var(--focus-8);
|
|
12306
|
+
outline-offset: 2px;
|
|
12307
|
+
}
|
|
12308
|
+
@media (prefers-reduced-motion: reduce) {
|
|
12309
|
+
.rt-SidebarHeader :where(.rt-SidebarMenuButton),
|
|
12310
|
+
.rt-SidebarFooter :where(.rt-SidebarMenuButton) {
|
|
12311
|
+
transition: none;
|
|
12312
|
+
}
|
|
12313
|
+
}
|
|
12314
|
+
.rt-SidebarHeader :where(.rt-SidebarMenuButton) {
|
|
12315
|
+
border-radius: var(--sidebar-base-border-radius) var(--sidebar-base-border-radius) 0 0;
|
|
12316
|
+
}
|
|
12317
|
+
.rt-SidebarFooter :where(.rt-SidebarMenuButton) {
|
|
12318
|
+
border-radius: 0 0 var(--sidebar-base-border-radius) var(--sidebar-base-border-radius);
|
|
12045
12319
|
}
|
|
12046
12320
|
.rt-SidebarContainer:where(.rt-r-size-1) {
|
|
12047
12321
|
--sidebar-base-padding: var(--space-3);
|
|
@@ -12401,73 +12675,6 @@
|
|
|
12401
12675
|
margin-left: auto;
|
|
12402
12676
|
}
|
|
12403
12677
|
}
|
|
12404
|
-
.rt-SidebarContainer:where(.rt-variant-ghost) {
|
|
12405
|
-
background-color: transparent;
|
|
12406
|
-
-webkit-backdrop-filter: none;
|
|
12407
|
-
backdrop-filter: none;
|
|
12408
|
-
border: none;
|
|
12409
|
-
}
|
|
12410
|
-
.rt-SidebarContainer:where(.rt-variant-soft) {
|
|
12411
|
-
background-color: var(--gray-2);
|
|
12412
|
-
}
|
|
12413
|
-
:where([data-panel-background='translucent']) .rt-SidebarContainer:where(.rt-variant-soft) {
|
|
12414
|
-
background-color: var(--gray-a2);
|
|
12415
|
-
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
12416
|
-
backdrop-filter: var(--backdrop-filter-panel);
|
|
12417
|
-
}
|
|
12418
|
-
.rt-SidebarContainer:where(.rt-variant-soft):where([data-panel-background='solid']) {
|
|
12419
|
-
background-color: var(--gray-2);
|
|
12420
|
-
-webkit-backdrop-filter: none;
|
|
12421
|
-
backdrop-filter: none;
|
|
12422
|
-
--backdrop-filter-components: none;
|
|
12423
|
-
}
|
|
12424
|
-
.rt-SidebarContainer:where(.rt-variant-soft):where([data-panel-background='translucent']) {
|
|
12425
|
-
background-color: var(--gray-a2);
|
|
12426
|
-
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
12427
|
-
backdrop-filter: var(--backdrop-filter-panel);
|
|
12428
|
-
--backdrop-filter-panel: blur(var(--backdrop-blur-panel));
|
|
12429
|
-
--backdrop-filter-components: blur(var(--backdrop-blur-components));
|
|
12430
|
-
}
|
|
12431
|
-
.rt-SidebarContainer:where(.rt-variant-surface) {
|
|
12432
|
-
background-color: var(--gray-1);
|
|
12433
|
-
}
|
|
12434
|
-
:where([data-panel-background='translucent']) .rt-SidebarContainer:where(.rt-variant-surface) {
|
|
12435
|
-
background-color: var(--gray-a1);
|
|
12436
|
-
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
12437
|
-
backdrop-filter: var(--backdrop-filter-panel);
|
|
12438
|
-
}
|
|
12439
|
-
.rt-SidebarContainer:where(.rt-variant-surface):where([data-panel-background='solid']) {
|
|
12440
|
-
background-color: var(--gray-1);
|
|
12441
|
-
-webkit-backdrop-filter: none;
|
|
12442
|
-
backdrop-filter: none;
|
|
12443
|
-
--backdrop-filter-panel: none;
|
|
12444
|
-
--backdrop-filter-components: none;
|
|
12445
|
-
}
|
|
12446
|
-
.rt-SidebarContainer:where(.rt-variant-surface):where([data-panel-background='translucent']) {
|
|
12447
|
-
background-color: var(--gray-a1);
|
|
12448
|
-
-webkit-backdrop-filter: var(--backdrop-filter-panel);
|
|
12449
|
-
backdrop-filter: var(--backdrop-filter-panel);
|
|
12450
|
-
--backdrop-filter-panel: blur(var(--backdrop-blur-panel));
|
|
12451
|
-
--backdrop-filter-components: blur(var(--backdrop-blur-components));
|
|
12452
|
-
}
|
|
12453
|
-
:where(.rt-SidebarRoot[data-type="floating"]) .rt-SidebarContainer:where(.rt-variant-surface) {
|
|
12454
|
-
box-shadow: inset 0 0 0 1px var(--gray-6);
|
|
12455
|
-
}
|
|
12456
|
-
:where([data-panel-background='translucent']) :is(:where(.rt-SidebarRoot[data-type="floating"]) .rt-SidebarContainer:where(.rt-variant-surface)) {
|
|
12457
|
-
box-shadow: inset 0 0 0 1px var(--gray-a6);
|
|
12458
|
-
}
|
|
12459
|
-
:where(.rt-SidebarRoot[data-type="sidebar"][data-side="left"]) .rt-SidebarContainer:where(.rt-variant-surface) {
|
|
12460
|
-
box-shadow: inset -1px 0 0 0 var(--gray-6);
|
|
12461
|
-
}
|
|
12462
|
-
:where([data-panel-background='translucent']) :is(:where(.rt-SidebarRoot[data-type="sidebar"][data-side="left"]) .rt-SidebarContainer:where(.rt-variant-surface)) {
|
|
12463
|
-
box-shadow: inset -1px 0 0 0 var(--gray-a6);
|
|
12464
|
-
}
|
|
12465
|
-
:where(.rt-SidebarRoot[data-type="sidebar"][data-side="right"]) .rt-SidebarContainer:where(.rt-variant-surface) {
|
|
12466
|
-
box-shadow: inset 1px 0 0 0 var(--gray-6);
|
|
12467
|
-
}
|
|
12468
|
-
:where([data-panel-background='translucent']) :is(:where(.rt-SidebarRoot[data-type="sidebar"][data-side="right"]) .rt-SidebarContainer:where(.rt-variant-surface)) {
|
|
12469
|
-
box-shadow: inset 1px 0 0 0 var(--gray-a6);
|
|
12470
|
-
}
|
|
12471
12678
|
.rt-SidebarHeader:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuSubTrigger), .rt-SidebarContent:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuSubTrigger), .rt-SidebarFooter:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuSubTrigger) {
|
|
12472
12679
|
transition: var(--transition-menu);
|
|
12473
12680
|
}
|
|
@@ -12510,6 +12717,10 @@
|
|
|
12510
12717
|
.rt-SidebarHeader:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-highlighted]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarContent:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-highlighted]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarFooter:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-highlighted]) :where([data-accent-color='gray']:not(.rt-Badge)) {
|
|
12511
12718
|
color: inherit !important;
|
|
12512
12719
|
}
|
|
12720
|
+
.rt-SidebarHeader:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-highlighted]) :where(.rt-Badge), .rt-SidebarContent:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-highlighted]) :where(.rt-Badge), .rt-SidebarFooter:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-highlighted]) :where(.rt-Badge) {
|
|
12721
|
+
color: var(--accent-contrast) !important;
|
|
12722
|
+
background-color: var(--accent-12) !important;
|
|
12723
|
+
}
|
|
12513
12724
|
.rt-SidebarHeader:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-active]), .rt-SidebarContent:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-active]), .rt-SidebarFooter:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-active]) {
|
|
12514
12725
|
background-color: var(--accent-9);
|
|
12515
12726
|
color: var(--accent-contrast);
|
|
@@ -12520,6 +12731,10 @@
|
|
|
12520
12731
|
.rt-SidebarHeader:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-active]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarContent:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-active]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarFooter:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-active]) :where([data-accent-color='gray']:not(.rt-Badge)) {
|
|
12521
12732
|
color: inherit !important;
|
|
12522
12733
|
}
|
|
12734
|
+
.rt-SidebarHeader:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Badge), .rt-SidebarContent:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Badge), .rt-SidebarFooter:where(.rt-menu-variant-solid) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Badge) {
|
|
12735
|
+
color: var(--accent-contrast) !important;
|
|
12736
|
+
background-color: var(--accent-12) !important;
|
|
12737
|
+
}
|
|
12523
12738
|
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]) {
|
|
12524
12739
|
background-color: var(--accent-12);
|
|
12525
12740
|
color: var(--accent-1);
|
|
@@ -12533,6 +12748,10 @@
|
|
|
12533
12748
|
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]) :where([data-accent-color='gray']:not(.rt-Badge)) {
|
|
12534
12749
|
color: inherit !important;
|
|
12535
12750
|
}
|
|
12751
|
+
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]) :where(.rt-Badge), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]) :where(.rt-Badge), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]) :where(.rt-Badge) {
|
|
12752
|
+
color: var(--accent-1) !important;
|
|
12753
|
+
background-color: var(--accent-9) !important;
|
|
12754
|
+
}
|
|
12536
12755
|
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]):where([data-accent-color]), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]):where([data-accent-color]), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]):where([data-accent-color]) {
|
|
12537
12756
|
background-color: var(--accent-9);
|
|
12538
12757
|
color: var(--accent-contrast);
|
|
@@ -12543,6 +12762,10 @@
|
|
|
12543
12762
|
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]):where([data-accent-color]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]):where([data-accent-color]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]):where([data-accent-color]) :where([data-accent-color='gray']:not(.rt-Badge)) {
|
|
12544
12763
|
color: inherit !important;
|
|
12545
12764
|
}
|
|
12765
|
+
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]):where([data-accent-color]) :where(.rt-Badge), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]):where([data-accent-color]) :where(.rt-Badge), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-highlighted]):where([data-accent-color]) :where(.rt-Badge) {
|
|
12766
|
+
color: var(--accent-contrast) !important;
|
|
12767
|
+
background-color: var(--accent-12) !important;
|
|
12768
|
+
}
|
|
12546
12769
|
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]) {
|
|
12547
12770
|
background-color: var(--accent-12);
|
|
12548
12771
|
color: var(--accent-1);
|
|
@@ -12553,6 +12776,10 @@
|
|
|
12553
12776
|
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]) :where([data-accent-color='gray']:not(.rt-Badge)) {
|
|
12554
12777
|
color: inherit !important;
|
|
12555
12778
|
}
|
|
12779
|
+
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Badge), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Badge), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Badge) {
|
|
12780
|
+
color: var(--accent-1) !important;
|
|
12781
|
+
background-color: var(--accent-9) !important;
|
|
12782
|
+
}
|
|
12556
12783
|
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]):where([data-accent-color]), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]):where([data-accent-color]), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]):where([data-accent-color]) {
|
|
12557
12784
|
background-color: var(--accent-9);
|
|
12558
12785
|
color: var(--accent-contrast);
|
|
@@ -12563,6 +12790,10 @@
|
|
|
12563
12790
|
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]):where([data-accent-color]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]):where([data-accent-color]) :where([data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]):where([data-accent-color]) :where([data-accent-color='gray']:not(.rt-Badge)) {
|
|
12564
12791
|
color: inherit !important;
|
|
12565
12792
|
}
|
|
12793
|
+
.rt-SidebarHeader:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]):where([data-accent-color]) :where(.rt-Badge), .rt-SidebarContent:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]):where([data-accent-color]) :where(.rt-Badge), .rt-SidebarFooter:where(.rt-menu-variant-solid):where(.rt-high-contrast) :where(.rt-SidebarMenuButton[data-active]):where([data-accent-color]) :where(.rt-Badge) {
|
|
12794
|
+
color: var(--accent-contrast) !important;
|
|
12795
|
+
background-color: var(--accent-12) !important;
|
|
12796
|
+
}
|
|
12566
12797
|
.rt-SidebarHeader:where(.rt-menu-variant-soft) :where(.rt-SidebarMenuSubTrigger), .rt-SidebarContent:where(.rt-menu-variant-soft) :where(.rt-SidebarMenuSubTrigger), .rt-SidebarFooter:where(.rt-menu-variant-soft) :where(.rt-SidebarMenuSubTrigger) {
|
|
12567
12798
|
transition: var(--transition-menu);
|
|
12568
12799
|
}
|
|
@@ -12632,10 +12863,6 @@
|
|
|
12632
12863
|
.rt-SidebarHeader:where(.rt-menu-variant-soft) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Text[data-accent-color='gray'], [data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarContent:where(.rt-menu-variant-soft) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Text[data-accent-color='gray'], [data-accent-color='gray']:not(.rt-Badge)), .rt-SidebarFooter:where(.rt-menu-variant-soft) :where(.rt-SidebarMenuButton[data-active]) :where(.rt-Text[data-accent-color='gray'], [data-accent-color='gray']:not(.rt-Badge)) {
|
|
12633
12864
|
color: var(--gray-11) !important;
|
|
12634
12865
|
}
|
|
12635
|
-
.rt-SidebarContent :where(.rt-BaseMenuItem) {
|
|
12636
|
-
margin-top: calc(var(--space-1) / 2);
|
|
12637
|
-
margin-bottom: calc(var(--space-1) / 2);
|
|
12638
|
-
}
|
|
12639
12866
|
.rt-SidebarRoot:where([data-collapsible="icon"]) {
|
|
12640
12867
|
transition: none;
|
|
12641
12868
|
overflow: visible;
|
|
@@ -12795,30 +13022,6 @@
|
|
|
12795
13022
|
transition: none;
|
|
12796
13023
|
}
|
|
12797
13024
|
}
|
|
12798
|
-
@media (max-width: 768px) {
|
|
12799
|
-
.rt-SidebarRoot {
|
|
12800
|
-
display: none;
|
|
12801
|
-
}
|
|
12802
|
-
}
|
|
12803
|
-
:where(.rt-SidebarContent.rt-r-size-1) .rt-SidebarMenuButton:where(:has(.rt-SidebarMenuShortcut, .rt-SidebarMenuBadge)) {
|
|
12804
|
-
padding-right: var(--base-menu-item-padding-y);
|
|
12805
|
-
}
|
|
12806
|
-
:where(.rt-SidebarContent.rt-r-size-2) .rt-SidebarMenuButton:where(:has(.rt-SidebarMenuShortcut, .rt-SidebarMenuBadge)) {
|
|
12807
|
-
padding-right: var(--base-menu-item-padding-y);
|
|
12808
|
-
}
|
|
12809
|
-
.rt-SidebarMenuShortcut {
|
|
12810
|
-
display: flex;
|
|
12811
|
-
align-items: center;
|
|
12812
|
-
margin-left: auto;
|
|
12813
|
-
padding-left: var(--space-4);
|
|
12814
|
-
color: var(--gray-a11);
|
|
12815
|
-
}
|
|
12816
|
-
.rt-SidebarMenuBadge {
|
|
12817
|
-
display: flex;
|
|
12818
|
-
align-items: center;
|
|
12819
|
-
margin-left: auto;
|
|
12820
|
-
padding-left: var(--space-2);
|
|
12821
|
-
}
|
|
12822
13025
|
.rt-SliderRoot {
|
|
12823
13026
|
--slider-thumb-size: calc(var(--slider-track-size) + var(--space-1));
|
|
12824
13027
|
position: relative;
|