@dino-ovum/theme 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +22 -2
- package/package.json +36 -3
- package/src/app/Root.jsx +5 -0
- package/src/app/components/DocumentCategoryPage.jsx +21 -0
- package/src/app/components/DocumentPagination.jsx +58 -0
- package/src/app/components/DocumentTable.jsx +116 -0
- package/src/app/components/ErrorPageContent.jsx +36 -0
- package/src/app/components/HomeHeading.jsx +34 -0
- package/src/app/components/LibraryLayout.jsx +36 -0
- package/src/app/components/NotFoundContent.jsx +24 -0
- package/src/app/components/SpaceOverview.jsx +17 -0
- package/src/app/components/StatusPage.jsx +54 -0
- package/src/app/components/Updates.jsx +137 -0
- package/src/app/components/navigation/Breadcrumbs.jsx +52 -0
- package/src/app/components/navigation/ColorModeToggle.jsx +66 -0
- package/src/app/components/navigation/LanguageDropdown.jsx +108 -0
- package/src/app/components/navigation/LibraryNavigation.jsx +20 -0
- package/src/app/components/navigation/MobileNavigation.jsx +12 -0
- package/src/app/components/navigation/RecentUpdatesLink.jsx +36 -0
- package/src/app/components/navigation/SidebarToggle.jsx +60 -0
- package/src/app/components/ui/DocumentDate.jsx +25 -0
- package/src/app/components/ui/FilterChip.jsx +14 -0
- package/src/app/components/ui/TopicBadge.jsx +14 -0
- package/src/app/hooks/useDocumentTable.js +60 -0
- package/src/app/hooks/useUpdates.js +23 -0
- package/src/app/logic/document-breadcrumbs.js +24 -0
- package/src/app/logic/document-dates.js +19 -0
- package/src/app/logic/document-list.js +15 -0
- package/src/app/logic/document-location.js +19 -0
- package/src/app/logic/document-taxonomy.js +10 -0
- package/src/app/logic/pagination.js +24 -0
- package/src/app/logic/update-groups.js +18 -0
- package/src/app/providers/AppProviders.jsx +5 -0
- package/src/app/providers/SidebarVisibility.jsx +19 -0
- package/src/app/routes.js +15 -0
- package/src/app/styles/components/DocumentCategoryPage.module.scss +50 -0
- package/src/app/styles/components/DocumentPagination.module.scss +45 -0
- package/src/app/styles/components/DocumentTable.module.scss +188 -0
- package/src/app/styles/components/LibraryLayout.module.scss +59 -0
- package/src/app/styles/components/StatusPage.module.scss +55 -0
- package/src/app/styles/components/Updates.module.scss +102 -0
- package/src/app/styles/components/navigation/Breadcrumbs.module.scss +5 -0
- package/src/app/styles/components/navigation/LanguageDropdown.module.scss +49 -0
- package/src/app/styles/components/navigation/MobileNavigation.module.scss +5 -0
- package/src/app/styles/components/navigation/NavigationControls.module.scss +70 -0
- package/src/app/styles/components/ui/FilterChip.module.scss +28 -0
- package/src/app/styles/components/ui/TopicBadge.module.scss +42 -0
- package/src/app/styles/custom.scss +7 -0
- package/src/app/styles/globals.css +64 -0
- package/src/app/styles/pages/home.scss +92 -0
- package/src/app/styles/theme/navigation.scss +56 -0
- package/src/app/styles/theme/tags.css +21 -0
- package/src/app/styles/tokens/_breakpoints.scss +4 -0
- package/src/app/styles/tokens/colors.css +62 -0
- package/src/app/styles/tokens/layout.css +20 -0
- package/src/app/styles/tokens/typography.css +11 -0
- package/src/assets/fonts/pretendard/LICENSE +94 -0
- package/src/assets/fonts/pretendard/PretendardStd-Bold.woff2 +0 -0
- package/src/assets/fonts/pretendard/README.md +8 -0
- package/src/index.js +48 -0
- package/src/theme/ColorModeToggle/index.jsx +1 -0
- package/src/theme/DinoOvum/DocumentTable.jsx +1 -0
- package/src/theme/DinoOvum/HomeHeading.jsx +1 -0
- package/src/theme/DinoOvum/LibraryLayout.jsx +1 -0
- package/src/theme/DinoOvum/Updates.jsx +1 -0
- package/src/theme/DinoOvum/UpdatesPage.jsx +20 -0
- package/src/theme/DocBreadcrumbs/index.jsx +1 -0
- package/src/theme/DocCardList/index.jsx +18 -0
- package/src/theme/DocItem/Layout/index.jsx +17 -0
- package/src/theme/DocRoot/Layout/index.jsx +1 -0
- package/src/theme/DocSidebarItem/Category/index.jsx +15 -0
- package/src/theme/ErrorPageContent.jsx +1 -0
- package/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.jsx +1 -0
- package/src/theme/Navbar/Search/index.jsx +13 -0
- package/src/theme/NavbarItem/ComponentTypes.jsx +11 -0
- package/src/theme/NotFound/Content/index.jsx +1 -0
- package/src/theme/Root.jsx +1 -0
- package/src/translations/ja.json +107 -0
- package/src/translations/ko.json +107 -0
- package/src/utils.js +4 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Shared URL values and comparisons. Docusaurus registers the actual pages.
|
|
2
|
+
export const SITE_ROUTES = Object.freeze({
|
|
3
|
+
home: '/',
|
|
4
|
+
license: '/license',
|
|
5
|
+
// Enable the shared page with the preset updates option.
|
|
6
|
+
updates: '/updates',
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
export function normalizePath(pathname) {
|
|
10
|
+
return pathname.replace(/\/$/, '') || SITE_ROUTES.home;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function isSameRoute(pathname, route) {
|
|
14
|
+
return normalizePath(pathname) === normalizePath(route);
|
|
15
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@use '../tokens/breakpoints' as breakpoints;
|
|
2
|
+
|
|
3
|
+
.library-category-page {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
height: var(--library-content-height);
|
|
7
|
+
min-height: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.library-category-page__header {
|
|
11
|
+
flex-shrink: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.library-category-page__header :global(.breadcrumbs) {
|
|
15
|
+
margin-bottom: 0.5rem;
|
|
16
|
+
font-size: 0.8rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.library-category-page__header h1 {
|
|
20
|
+
margin-bottom: 0.5rem;
|
|
21
|
+
font-size: clamp(1.5rem, 3vw, 2rem);
|
|
22
|
+
line-height: 1.2;
|
|
23
|
+
text-wrap: balance;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.library-category-page__header p {
|
|
27
|
+
margin-bottom: 1rem;
|
|
28
|
+
color: var(--ifm-color-emphasis-700);
|
|
29
|
+
font-size: 0.9rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media (width <= breakpoints.$mobile) {
|
|
33
|
+
.library-category-page__header p {
|
|
34
|
+
display: -webkit-box;
|
|
35
|
+
-webkit-box-orient: vertical;
|
|
36
|
+
-webkit-line-clamp: 2;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@media (height <= breakpoints.$short-viewport) {
|
|
42
|
+
.library-category-page__header p {
|
|
43
|
+
display: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.library-category-page__header h1 {
|
|
47
|
+
margin-bottom: 0.25rem;
|
|
48
|
+
font-size: 1.25rem;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.library-pagination {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-shrink: 0;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
gap: 4px;
|
|
6
|
+
margin-top: 0.75rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.library-pagination a,
|
|
10
|
+
.library-pagination button {
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
width: 36px;
|
|
15
|
+
height: 36px;
|
|
16
|
+
padding: 0;
|
|
17
|
+
border: 1px solid transparent;
|
|
18
|
+
border-radius: 6px;
|
|
19
|
+
background: transparent;
|
|
20
|
+
color: var(--ifm-font-color-base);
|
|
21
|
+
font: inherit;
|
|
22
|
+
font-size: 0.875rem;
|
|
23
|
+
font-variant-numeric: tabular-nums;
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
touch-action: manipulation;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.library-pagination a:hover {
|
|
29
|
+
background: var(--ifm-color-emphasis-100);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.library-pagination [aria-current='page'] {
|
|
33
|
+
border-color: var(--ifm-color-emphasis-300);
|
|
34
|
+
background: var(--ifm-color-emphasis-200);
|
|
35
|
+
font-weight: 700;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.library-pagination button:disabled {
|
|
39
|
+
color: var(--ifm-color-emphasis-500);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.library-pagination a:focus-visible {
|
|
43
|
+
outline: 2px solid var(--ifm-color-primary);
|
|
44
|
+
outline-offset: -2px;
|
|
45
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
@use '../tokens/breakpoints' as breakpoints;
|
|
2
|
+
|
|
3
|
+
.library-document-list {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
height: min(36rem, var(--library-content-height));
|
|
7
|
+
min-height: 0;
|
|
8
|
+
margin-block: 0.5rem 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.library-document-list--fill {
|
|
12
|
+
flex: 1;
|
|
13
|
+
height: auto;
|
|
14
|
+
margin: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.library-document-list__toolbar {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-shrink: 0;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
gap: 0.5rem;
|
|
23
|
+
min-height: 32px;
|
|
24
|
+
margin-bottom: 0.5rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.library-document-list__toolbar h2 {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
gap: 0.5rem;
|
|
31
|
+
margin: 0;
|
|
32
|
+
font-size: 1rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.library-document-list__toolbar h2 span {
|
|
36
|
+
padding: 0.1rem 0.45rem;
|
|
37
|
+
border-radius: 6px;
|
|
38
|
+
background: var(--ifm-color-emphasis-200);
|
|
39
|
+
font-size: 0.75rem;
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.library-document-list__toolbar [role='status'] {
|
|
44
|
+
color: var(--ifm-color-emphasis-700);
|
|
45
|
+
font-size: 0.8rem;
|
|
46
|
+
font-variant-numeric: tabular-nums;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.library-document-list__table-area {
|
|
50
|
+
flex: 1;
|
|
51
|
+
min-height: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.library-document-table {
|
|
55
|
+
display: table;
|
|
56
|
+
width: 100%;
|
|
57
|
+
margin: 0;
|
|
58
|
+
overflow: visible;
|
|
59
|
+
table-layout: fixed;
|
|
60
|
+
border-collapse: collapse;
|
|
61
|
+
font-size: 0.875rem;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.library-document-table tr {
|
|
65
|
+
border: 0;
|
|
66
|
+
border-bottom: 1px solid var(--ifm-color-emphasis-200);
|
|
67
|
+
background: transparent;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.library-document-table__caption {
|
|
71
|
+
position: absolute;
|
|
72
|
+
width: 1px;
|
|
73
|
+
height: 1px;
|
|
74
|
+
padding: 0;
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
clip-path: inset(50%);
|
|
77
|
+
white-space: nowrap;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.library-document-table th,
|
|
81
|
+
.library-document-table td {
|
|
82
|
+
padding: 0 0.75rem;
|
|
83
|
+
border: 0;
|
|
84
|
+
text-align: left;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.library-document-table th {
|
|
88
|
+
height: 36px;
|
|
89
|
+
color: var(--ifm-color-emphasis-700);
|
|
90
|
+
font-size: 0.75rem;
|
|
91
|
+
font-weight: 500;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.library-document-table tbody tr:hover,
|
|
95
|
+
.library-document-table tbody tr:focus-within {
|
|
96
|
+
background: var(--ifm-color-emphasis-100);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.library-document-table td:first-child {
|
|
100
|
+
padding: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.library-document-table__link {
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
justify-content: center;
|
|
107
|
+
min-width: 0;
|
|
108
|
+
min-height: 44px;
|
|
109
|
+
padding: 0.5rem 0.75rem;
|
|
110
|
+
color: var(--ifm-font-color-base);
|
|
111
|
+
line-height: var(--library-line-height-compact);
|
|
112
|
+
touch-action: manipulation;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.library-document-table__title,
|
|
116
|
+
.library-document-table__directory > span,
|
|
117
|
+
.library-document-table__mobile-directory {
|
|
118
|
+
display: block;
|
|
119
|
+
overflow: hidden;
|
|
120
|
+
text-overflow: ellipsis;
|
|
121
|
+
white-space: nowrap;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.library-document-table__title-line {
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
gap: 0.5rem;
|
|
128
|
+
min-width: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.library-document-table__title {
|
|
132
|
+
min-width: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.library-document-table__directory {
|
|
136
|
+
width: 24%;
|
|
137
|
+
color: var(--ifm-color-emphasis-700);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.library-document-table__updated {
|
|
141
|
+
width: 8rem;
|
|
142
|
+
color: var(--ifm-color-emphasis-700);
|
|
143
|
+
font-size: 0.75rem;
|
|
144
|
+
white-space: nowrap;
|
|
145
|
+
font-variant-numeric: tabular-nums;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.library-document-table__link .library-document-table__mobile-directory {
|
|
149
|
+
display: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.library-document-table__link:focus-visible {
|
|
153
|
+
outline: 2px solid var(--ifm-color-primary);
|
|
154
|
+
outline-offset: -2px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@media (width <= breakpoints.$mobile) {
|
|
158
|
+
.library-document-table__directory,
|
|
159
|
+
.library-document-table__updated {
|
|
160
|
+
display: none;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.library-document-table__link {
|
|
164
|
+
min-height: 56px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.library-document-table__link .library-document-table__mobile-directory {
|
|
168
|
+
display: block;
|
|
169
|
+
margin-top: 2px;
|
|
170
|
+
color: var(--ifm-color-emphasis-700);
|
|
171
|
+
font-size: 0.75rem;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
@media (height <= breakpoints.$short-viewport) {
|
|
176
|
+
.library-document-table__link {
|
|
177
|
+
min-height: 44px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.library-document-table__link .library-document-table__mobile-directory {
|
|
181
|
+
display: none;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.library-document-table__badge {
|
|
186
|
+
flex-shrink: 0;
|
|
187
|
+
max-width: 40%;
|
|
188
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@use '../tokens/breakpoints' as breakpoints;
|
|
2
|
+
|
|
3
|
+
.layout {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex: 1;
|
|
6
|
+
min-width: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.sidebar {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.main {
|
|
14
|
+
flex: 1;
|
|
15
|
+
min-width: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.content {
|
|
19
|
+
padding: var(--library-content-padding-top) var(--library-content-gutter)
|
|
20
|
+
var(--library-content-padding-bottom);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (width >= breakpoints.$desktop) {
|
|
24
|
+
.sidebar {
|
|
25
|
+
position: sticky;
|
|
26
|
+
top: var(--ifm-navbar-height);
|
|
27
|
+
display: block;
|
|
28
|
+
flex-shrink: 0;
|
|
29
|
+
width: var(--library-sidebar-width);
|
|
30
|
+
height: calc(var(--library-viewport-height) - var(--ifm-navbar-height));
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
border-right: 1px solid var(--ifm-color-emphasis-300);
|
|
33
|
+
background: var(--ifm-background-color);
|
|
34
|
+
transition: width var(--library-motion-duration) var(--library-motion-easing);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.navigation {
|
|
38
|
+
width: var(--library-sidebar-width);
|
|
39
|
+
height: 100%;
|
|
40
|
+
padding-block: 1rem;
|
|
41
|
+
overflow-y: auto;
|
|
42
|
+
overscroll-behavior: contain;
|
|
43
|
+
transition:
|
|
44
|
+
transform var(--library-motion-duration) var(--library-motion-easing),
|
|
45
|
+
opacity var(--library-motion-duration) var(--library-motion-easing);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.layout[data-collapsed='true'] {
|
|
49
|
+
.sidebar {
|
|
50
|
+
width: 0;
|
|
51
|
+
border-right-width: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.navigation {
|
|
55
|
+
opacity: 0;
|
|
56
|
+
transform: translateX(-100%);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.content {
|
|
2
|
+
max-width: 48rem;
|
|
3
|
+
margin-inline: auto;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.heading {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: clamp(1rem, 3vw, 1.5rem);
|
|
10
|
+
margin-bottom: 1.5rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.logo {
|
|
14
|
+
flex-shrink: 0;
|
|
15
|
+
width: clamp(4rem, 12vw, 6rem);
|
|
16
|
+
height: auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.title {
|
|
20
|
+
min-width: 0;
|
|
21
|
+
margin: 0;
|
|
22
|
+
font-size: clamp(1.75rem, 5vw, 3rem);
|
|
23
|
+
line-height: 1.2;
|
|
24
|
+
overflow-wrap: anywhere;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.actions {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-wrap: wrap;
|
|
30
|
+
gap: 0.75rem;
|
|
31
|
+
margin-top: 1.5rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Links do not center their label like buttons, so center both explicitly.
|
|
35
|
+
.actions > * {
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
min-height: 44px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.details {
|
|
43
|
+
margin-top: 2rem;
|
|
44
|
+
color: var(--ifm-color-emphasis-700);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.details summary {
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.details pre {
|
|
52
|
+
margin-top: 0.75rem;
|
|
53
|
+
white-space: pre-wrap;
|
|
54
|
+
overflow-wrap: anywhere;
|
|
55
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
@use '../tokens/breakpoints' as breakpoints;
|
|
2
|
+
|
|
3
|
+
.updates {
|
|
4
|
+
max-width: 80rem;
|
|
5
|
+
margin-inline: auto;
|
|
6
|
+
padding-top: 1rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.muted,
|
|
10
|
+
.summary,
|
|
11
|
+
.count,
|
|
12
|
+
.space {
|
|
13
|
+
color: var(--ifm-color-emphasis-700);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.filters {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-wrap: wrap;
|
|
19
|
+
gap: 0.5rem;
|
|
20
|
+
margin-block: 1rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.checkbox {
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 0.4rem;
|
|
27
|
+
min-height: 44px;
|
|
28
|
+
font-size: 0.9rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.summary {
|
|
32
|
+
margin-top: 0.8rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.day {
|
|
36
|
+
margin-bottom: 1.6rem;
|
|
37
|
+
|
|
38
|
+
h2 {
|
|
39
|
+
padding-bottom: 0.3rem;
|
|
40
|
+
border-bottom: 1px solid var(--ifm-color-emphasis-300);
|
|
41
|
+
font-size: 1.05rem;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.count {
|
|
46
|
+
font-size: 0.85rem;
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.list {
|
|
51
|
+
margin: 0;
|
|
52
|
+
padding-left: 0;
|
|
53
|
+
list-style: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.entry {
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: baseline;
|
|
59
|
+
gap: 0.6rem;
|
|
60
|
+
padding: 0.35rem 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.status {
|
|
64
|
+
flex-shrink: 0;
|
|
65
|
+
padding: 0.15rem 0.55rem;
|
|
66
|
+
border-radius: 999px;
|
|
67
|
+
background: var(--library-status-updated-bg);
|
|
68
|
+
color: var(--library-status-updated-fg);
|
|
69
|
+
font-size: 0.72rem;
|
|
70
|
+
font-weight: 600;
|
|
71
|
+
line-height: 1.5;
|
|
72
|
+
white-space: nowrap;
|
|
73
|
+
|
|
74
|
+
&[data-new='true'] {
|
|
75
|
+
background: var(--library-status-new-bg);
|
|
76
|
+
color: var(--library-status-new-fg);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.title {
|
|
81
|
+
flex: 1;
|
|
82
|
+
min-width: 0;
|
|
83
|
+
overflow-wrap: anywhere;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.space {
|
|
87
|
+
flex-shrink: 0;
|
|
88
|
+
font-size: 0.78rem;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (width <= breakpoints.$mobile) {
|
|
92
|
+
.entry {
|
|
93
|
+
display: grid;
|
|
94
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
95
|
+
gap: 0.25rem 0.5rem;
|
|
96
|
+
padding-block: 0.5rem;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.space {
|
|
100
|
+
grid-column: 2;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.dropdown {
|
|
2
|
+
position: relative;
|
|
3
|
+
flex-shrink: 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.trigger {
|
|
7
|
+
gap: 3px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.options {
|
|
11
|
+
position: absolute;
|
|
12
|
+
z-index: 1;
|
|
13
|
+
top: calc(100% + 0.25rem);
|
|
14
|
+
right: 0;
|
|
15
|
+
min-width: 10rem;
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0.375rem;
|
|
18
|
+
list-style: none;
|
|
19
|
+
background: var(--ifm-background-surface-color);
|
|
20
|
+
border: 1px solid var(--ifm-color-emphasis-300);
|
|
21
|
+
border-radius: 8px;
|
|
22
|
+
box-shadow: var(--ifm-global-shadow-lw);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.options a {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
gap: 1rem;
|
|
30
|
+
padding: 0.5rem 0.75rem;
|
|
31
|
+
border-radius: 4px;
|
|
32
|
+
color: var(--ifm-navbar-link-color);
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
|
|
35
|
+
&:hover,
|
|
36
|
+
&:focus-visible {
|
|
37
|
+
background: var(--ifm-color-emphasis-200);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:focus-visible {
|
|
41
|
+
outline: 2px solid var(--ifm-color-primary);
|
|
42
|
+
outline-offset: -2px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&[aria-current] {
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
color: var(--ifm-color-primary);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@use '../../tokens/breakpoints' as breakpoints;
|
|
2
|
+
|
|
3
|
+
.control {
|
|
4
|
+
position: relative;
|
|
5
|
+
isolation: isolate;
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
width: 44px;
|
|
11
|
+
height: 44px;
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
background: transparent;
|
|
14
|
+
color: var(--ifm-navbar-link-color);
|
|
15
|
+
touch-action: manipulation;
|
|
16
|
+
|
|
17
|
+
&::before {
|
|
18
|
+
position: absolute;
|
|
19
|
+
z-index: -1;
|
|
20
|
+
width: 32px;
|
|
21
|
+
height: 32px;
|
|
22
|
+
border-radius: 6px;
|
|
23
|
+
content: '';
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:hover::before {
|
|
27
|
+
background: var(--ifm-color-emphasis-200);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:focus-visible {
|
|
31
|
+
outline: 2px solid var(--ifm-color-primary);
|
|
32
|
+
outline-offset: -2px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.sidebar-toggle {
|
|
37
|
+
margin-left: 0.5rem;
|
|
38
|
+
|
|
39
|
+
&::before {
|
|
40
|
+
width: 28px;
|
|
41
|
+
height: 28px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.menu-link {
|
|
46
|
+
gap: 0.5rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.dark-icon {
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:global([data-theme='dark']) .light-icon {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:global([data-theme='dark']) .dark-icon {
|
|
58
|
+
display: block;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media (width <= breakpoints.$tablet) {
|
|
62
|
+
:global(.theme-layout-navbar-right) .theme-toggle {
|
|
63
|
+
display: block;
|
|
64
|
+
flex-shrink: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:global(.theme-layout-navbar-right) .search-container {
|
|
68
|
+
position: static;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.chip {
|
|
2
|
+
min-height: 32px;
|
|
3
|
+
padding: 0.2rem 0.75rem;
|
|
4
|
+
border: 1px solid var(--ifm-color-emphasis-300);
|
|
5
|
+
border-radius: 999px;
|
|
6
|
+
background: transparent;
|
|
7
|
+
color: var(--ifm-font-color-base);
|
|
8
|
+
font: inherit;
|
|
9
|
+
font-size: 0.875rem;
|
|
10
|
+
line-height: var(--library-line-height-compact);
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
touch-action: manipulation;
|
|
13
|
+
|
|
14
|
+
&:hover {
|
|
15
|
+
border-color: var(--ifm-color-primary);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&[aria-pressed='true'] {
|
|
19
|
+
border-color: var(--library-control-active-bg);
|
|
20
|
+
background: var(--library-control-active-bg);
|
|
21
|
+
color: var(--library-control-active-fg);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:focus-visible {
|
|
25
|
+
outline: 2px solid var(--ifm-color-primary);
|
|
26
|
+
outline-offset: 3px;
|
|
27
|
+
}
|
|
28
|
+
}
|