@yongdall/theme 0.6.5 → 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/style.css CHANGED
@@ -1,203 +1 @@
1
- .YongDallTheme-activity-page {
2
- display: flex;
3
- /* margin: 5px; */
4
- background-color: #DDD;
5
- outline: 1px solid #3337;
6
- flex-direction: row;
7
- flex-wrap: nowrap;
8
- align-content: center;
9
- align-items: center;
10
- /* border-radius: 5px; */
11
- position: relative;
12
- overflow: hidden;
13
- }
14
-
15
- .YongDallTheme-activity-title {
16
- flex: 1;
17
- padding-inline: 8px;
18
- overflow: hidden;
19
- text-overflow: ellipsis;
20
- white-space: nowrap;
21
- }
22
- .YongDallTheme-activity-title::before {
23
- content: '';
24
-
25
- position: absolute;
26
- inset: 0;
27
- }
28
-
29
- .YongDallTheme-activity-current {
30
- background-color: #ADD;
31
- }
32
-
33
- .YongDallTheme-activity-close {
34
- appearance: none;
35
- background: none;
36
- border: none;
37
- inline-size: 40px;
38
- block-size: 40px;
39
- position: relative;
40
- overflow: clip;
41
- cursor: pointer;
42
-
43
- &::before,
44
- &::after {
45
- position: absolute;
46
- inset: 0;
47
- margin: auto;
48
- transform-origin: center center;
49
- inline-size: 50%;
50
- block-size: 6.25%;
51
- border-radius: 1000px;
52
- background-color: currentColor;
53
-
54
- }
55
-
56
- &::before {
57
- transform: rotate(45deg);
58
- }
59
-
60
- &::after {
61
- transform: rotate(-45deg);
62
- }
63
- }
64
-
65
- .YongDallTheme-activity-page:hover,
66
- .YongDallTheme-activity-current,
67
- .YongDallTheme-activity-page:focus-within {
68
-
69
- .YongDallTheme-activity-close {
70
- display: block;
71
-
72
- &::before,
73
- &::after {
74
- content: '';
75
-
76
- }
77
- }
78
- }
79
-
80
- .YongDallTheme-activity-unsaved .YongDallTheme-activity-close {
81
- color: #AAAAAA;
82
- display: block;
83
-
84
- &::before,
85
- &::after {
86
- content: '';
87
- inline-size: 25%;
88
- block-size: 25%;
89
- }
90
- }
91
-
92
- .YongDallTheme-activity-close {
93
-
94
- &:hover,
95
- &:focus {
96
- color: #40a9ff;
97
-
98
- &::before,
99
- &::after {
100
- inline-size: 50%;
101
- block-size: 6.25%;
102
- }
103
- }
104
- }
105
-
106
-
107
- .YongDallTheme-user-info {
108
- position: sticky;
109
- top: 0;
110
- background-color: #fff;
111
- display: flex;
112
- flex-direction: row;
113
- font-size: 16px;
114
- border-bottom: solid 1px #f0f0f0;
115
- }
116
-
117
- .YongDallTheme-user-info > * {
118
- margin: auto;
119
- }
120
-
121
- .YongDallTheme-user-info .btns {
122
- block-size: 40px;
123
- margin-right: 8px;
124
- font-size: 32px;
125
- margin-left: auto;
126
- align-items: center;
127
- display: inline-flex;
128
- gap: 8px;
129
- }
130
-
131
- .YongDallTheme-user-info .btns > * {
132
- inline-size: 40px;
133
- font-size: 32px;
134
- color: inherit;
135
- cursor: pointer;
136
- }
137
-
138
-
139
- .YongDallTheme-user-info .btns > *:hover {
140
- color: var(--color-primary);
141
- }
142
-
143
- .avatar {
144
- margin: 8px;
145
- background: transparent;
146
- box-sizing: border-box;
147
- padding: 0;
148
- font-variant: tabular-nums;
149
- list-style: none;
150
- font-feature-settings: 'tnum';
151
- position: relative;
152
- display: inline-block;
153
- overflow: hidden;
154
- white-space: nowrap;
155
- text-align: center;
156
- vertical-align: middle;
157
- inline-size: 48px;
158
- block-size: 48px;
159
- line-height: 48px;
160
- }
161
-
162
- .username {
163
- flex: 1;
164
- overflow: hidden;
165
- white-space: nowrap;
166
- text-overflow: ellipsis;
167
- }
168
-
169
- .YongDallTheme-user-avatar {
170
- position: relative;
171
- & > img {
172
- border-radius: 50%;
173
- }
174
- & > :last-child {
175
- position: absolute;
176
- inline-size: auto;
177
- block-size: auto;
178
- bottom: 0;
179
- right: 0;
180
- top: 60%;
181
- left: 60%;
182
- }
183
- & > :first-child {
184
- position: absolute;
185
- inline-size: auto;
186
- block-size: auto;
187
- top: 0;
188
- left: 0;
189
- }
190
- }
191
-
192
-
193
- .YongDallTheme-logo {
194
- color: var(--color-nav-logo);
195
- }
196
- .YongDallTheme-root {
197
- min-block-size: 100%;
198
- container-type: inline-size;
199
- position: relative;
200
- }
201
-
202
-
203
- /*# sourceMappingURL=style.css.map*/
1
+ .YongDallTheme-activity-page{background-color:#ddd;outline:1px solid #3337;flex-flow:row;align-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.YongDallTheme-activity-title{text-overflow:ellipsis;white-space:nowrap;flex:1;padding-inline:8px;overflow:hidden}.YongDallTheme-activity-title:before{content:"";position:absolute;inset:0}.YongDallTheme-activity-current{background-color:#add}.YongDallTheme-activity-close{appearance:none;cursor:pointer;background:0 0;border:none;block-size:40px;inline-size:40px;position:relative;overflow:clip;&:before,&:after{transform-origin:50%;background-color:currentColor;border-radius:1000px;block-size:6.25%;inline-size:50%;margin:auto;position:absolute;inset:0}&:before{transform:rotate(45deg)}&:after{transform:rotate(-45deg)}}.YongDallTheme-activity-page:hover,.YongDallTheme-activity-current,.YongDallTheme-activity-page:focus-within{& .YongDallTheme-activity-close{display:block;&:before,&:after{content:""}}}.YongDallTheme-activity-unsaved .YongDallTheme-activity-close{color:var(--color-unsaved-marker);display:block;&:before,&:after{content:"";block-size:25%;inline-size:25%}}.YongDallTheme-activity-close{&:hover,&:focus{color:var(--color-close-focus);&:before,&:after{block-size:6.25%;inline-size:50%}}}.YongDallTheme-user-info{border-bottom:solid 1px var(--color-divider);flex-direction:row;font-size:16px;display:flex;position:sticky;top:0;&>*{margin:auto}& .username{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}&>div{align-items:center;gap:8px;block-size:40px;margin-left:auto;margin-right:8px;font-size:32px;display:inline-flex;&>*{inline-size:40px;color:inherit;cursor:pointer;font-size:32px;&:hover{color:var(--color-primary)}}}}.avatar{box-sizing:border-box;font-variant:tabular-nums;font-feature-settings:"tnum";white-space:nowrap;text-align:center;vertical-align:middle;background:0 0;block-size:48px;inline-size:48px;margin:8px;padding:0;line-height:48px;list-style:none;display:inline-block;position:relative;overflow:hidden}.YongDallTheme-user-avatar{position:relative;&>img{border-radius:50%}&>:last-child{block-size:auto;inline-size:auto;position:absolute;inset:60% 0 0 60%}&>:first-child{block-size:auto;inline-size:auto;position:absolute;top:0;left:0}}.YongDallTheme-logo{color:var(--color-nav-logo)}.YongDallTheme-root{min-block-size:100%;position:relative;container-type:inline-size}
@@ -1,202 +1 @@
1
- body.YongDallTheme-allSider {
2
- --YongDallTheme-allSider-nav-size: 48px;
3
- --YongDallTheme-allSider-button-size: 40px;
4
- --YongDallTheme-allSider-button-font-size: 20px;
5
- --YongDallTheme-allSider-menu-button-size: 48px;
6
- --YongDallTheme-allSider-menu-button-font-size: 32px;
7
- --YongDallTheme-allSider-menu-button-inset: 20px;
8
- --YongDallTheme-allSider-button-border-size: 2px;
9
- transition: padding-inline-start 0.2s;
10
-
11
-
12
-
13
- @media not print {
14
- padding-inline-start: var(--YongDallTheme-allSider-nav-size);
15
- &.YongDallTheme-allSider-nav-open {
16
- padding-inline-start: calc(var(--YongDallTheme-allSider-nav-size) + var(--theme-sider-size));
17
- }
18
- }
19
-
20
- @media screen and (max-width: 800px) {
21
-
22
- &.YongDallTheme-allSider-nav-open {
23
- padding-inline-start: var(--YongDallTheme-allSider-nav-size);
24
- }
25
- }
26
- .YongDallTheme-activity-page {
27
- line-height: 40px;
28
- }
29
- }
30
-
31
-
32
- .YongDallTheme-allSider-nav-header {
33
- position: fixed;
34
- bottom: 0;
35
- inset-inline-start: 0;
36
- block-size: 100%;
37
- display: flex;
38
- flex-direction: row;
39
- z-index: 100000;
40
- transition: bottom 0.5s;
41
-
42
- @media print {
43
- display: none!important;
44
- }
45
- }
46
-
47
-
48
- .YongDallTheme-allSider-nav-actions {
49
- overscroll-behavior: contain;
50
- inline-size: var(--YongDallTheme-allSider-nav-size);
51
- position: relative;
52
- display: flex;
53
- flex-direction: column;
54
- block-size: 100%;
55
- align-items: center;
56
- color: var(--color-nav-text);
57
- background-color: var(--color-nav-bg);
58
- user-select: none;
59
- overflow: auto;
60
- scrollbar-width: none;
61
-
62
-
63
- >* {
64
- flex-shrink: 0;
65
- background-color: inherit;
66
-
67
- }
68
-
69
- >span {
70
- flex: auto;
71
- }
72
-
73
- > :last-child {
74
- position: sticky;
75
- display: flex;
76
- flex-direction: column;
77
- inline-size: 100%;
78
-
79
- inset-block-end: 0;
80
- box-shadow: 0 0 20px 10px #fff5;
81
- }
82
-
83
- a:hover {
84
- color: var(--color-nav-text-highlight);
85
- }
86
-
87
- }
88
-
89
-
90
- .YongDallTheme-allSider-nav-group {
91
- display: contents;
92
- }
93
-
94
-
95
- .YongDallTheme-allSider-nav-actions .YongDallTheme-logo {
96
- flex-shrink: 0;
97
- overflow: hidden;
98
- cursor: pointer;
99
- block-size: var(--YongDallTheme-allSider-button-size);
100
- line-height: var(--YongDallTheme-allSider-button-size);
101
- inline-size: 100%;
102
- text-align: center;
103
- position: relative;
104
-
105
-
106
- svg, img {
107
- position: absolute;
108
- inset: 0;
109
- margin: auto;
110
- max-block-size: 40px;
111
- max-inline-size: 40px;
112
- }
113
-
114
- }
115
-
116
- .YongDallTheme-allSider-nav-button {
117
- flex-shrink: 0;
118
- overflow: hidden;
119
- cursor: pointer;
120
- block-size: var(--YongDallTheme-allSider-button-size);
121
- line-height: var(--YongDallTheme-allSider-button-size);
122
- inline-size: 100%;
123
- text-align: center;
124
- position: relative;
125
- font-size: var(--YongDallTheme-allSider-button-font-size);
126
- border-inline: var(--YongDallTheme-allSider-button-border-size) solid transparent;
127
-
128
- &[hidden] {
129
- display: none;
130
- }
131
-
132
-
133
- >a {
134
- display: block;
135
- overflow: hidden;
136
- inline-size: 100%;
137
- block-size: 100%;
138
- }
139
-
140
- &.YongDallTheme-allSider-nav-selectable:hover {
141
- background-color: var(--color-nav-bg-highlight);
142
- }
143
-
144
- &.YongDallTheme-allSider-nav-selected {
145
- background-color: var(--color-nav-bg-highlight);
146
- border-inline-end-color: currentColor;
147
- }
148
- }
149
- .YongDallTheme-allSider-nav-button:not(.YongDallTheme-user-button) {
150
- display: flex;
151
-
152
- align-items: center;
153
- justify-content: space-evenly;
154
-
155
-
156
- >svg:only-child, >img:only-child {
157
- block-size: 80%;
158
- }
159
-
160
- }
161
-
162
- .YongDallTheme-allSider-nav-sidebar {
163
- overscroll-behavior: contain;
164
- transition: inline-size 0.2s;
165
- border-inline-end: 1px solid #f0f0f0;
166
- background: rgba(0, 21, 41, 0.08);
167
- overflow: hidden;
168
- block-size: 100%;
169
- max-inline-size: var(--theme-sider-size);
170
- inline-size: 0;
171
-
172
- >* {
173
- inline-size: var(--theme-sider-size);
174
- block-size: 100%;
175
- background: #fff;
176
- position: relative;
177
- overflow: auto;
178
- }
179
-
180
- @media screen and (max-width: 800px) {
181
- transition: none;
182
- max-inline-size: initial;
183
- inline-size: 0;
184
-
185
-
186
- >* {
187
- max-inline-size: 100%;
188
- }
189
- }
190
- }
191
-
192
- .YongDallTheme-allSider-nav-open .YongDallTheme-allSider-nav-sidebar {
193
- inline-size: var(--theme-sider-size);
194
-
195
- @media screen and (max-width: 800px) {
196
- inline-size: calc(100vw - var(--YongDallTheme-allSider-nav-size));
197
- }
198
-
199
- }
200
-
201
-
202
- /*# sourceMappingURL=theme-allSider.css.map*/
1
+ body.YongDallTheme-allSider{--YongDallTheme-allSider-nav-size:48px;--YongDallTheme-allSider-button-size:40px;--YongDallTheme-allSider-button-font-size:20px;--YongDallTheme-allSider-menu-button-size:48px;--YongDallTheme-allSider-menu-button-font-size:32px;--YongDallTheme-allSider-menu-button-inset:20px;--YongDallTheme-allSider-button-border-size:2px;transition:padding-inline-start .2s;@media not print{padding-inline-start:var(--YongDallTheme-allSider-nav-size);&.YongDallTheme-allSider-nav-open{padding-inline-start:calc(var(--YongDallTheme-allSider-nav-size) + var(--theme-sider-size))}}@media screen and (width<=800px){&.YongDallTheme-allSider-nav-open{padding-inline-start:var(--YongDallTheme-allSider-nav-size)}}& .YongDallTheme-activity-page{line-height:40px}}.YongDallTheme-allSider-nav-header{bottom:0;z-index:100000;flex-direction:row;block-size:100%;transition:bottom .5s;display:flex;position:fixed;inset-inline-start:0;@media print{display:none!important}}.YongDallTheme-allSider-nav-actions{overscroll-behavior:contain;inline-size:var(--YongDallTheme-allSider-nav-size);block-size:100%;color:var(--color-nav-text);background-color:var(--color-nav-bg);user-select:none;scrollbar-width:none;flex-direction:column;align-items:center;display:flex;position:relative;overflow:auto;&>*{background-color:inherit;flex-shrink:0}&>span{flex:auto}&>:last-child{flex-direction:column;inline-size:100%;display:flex;position:sticky;inset-block-end:0;box-shadow:0 0 20px 10px #fff5}& a:hover{color:var(--color-nav-text-highlight)}}.YongDallTheme-allSider-nav-group{display:contents}.YongDallTheme-allSider-nav-actions .YongDallTheme-logo{cursor:pointer;block-size:var(--YongDallTheme-allSider-button-size);line-height:var(--YongDallTheme-allSider-button-size);text-align:center;flex-shrink:0;inline-size:100%;position:relative;overflow:hidden;& svg,& img{max-block-size:40px;max-inline-size:40px;margin:auto;position:absolute;inset:0}}.YongDallTheme-allSider-nav-button{cursor:pointer;block-size:var(--YongDallTheme-allSider-button-size);line-height:var(--YongDallTheme-allSider-button-size);text-align:center;inline-size:100%;font-size:var(--YongDallTheme-allSider-button-font-size);border-inline:var(--YongDallTheme-allSider-button-border-size) solid transparent;flex-shrink:0;position:relative;overflow:hidden;&[hidden]{display:none}&>a{block-size:100%;inline-size:100%;display:block;overflow:hidden}&.YongDallTheme-allSider-nav-selectable:hover{background-color:var(--color-nav-bg-highlight)}&.YongDallTheme-allSider-nav-selected{background-color:var(--color-nav-bg-highlight);border-inline-end-color:currentColor}}.YongDallTheme-allSider-nav-button:not(.YongDallTheme-user-button){justify-content:space-evenly;align-items:center;display:flex;&>svg:only-child,&>img:only-child{block-size:80%}}.YongDallTheme-allSider-nav-sidebar{overscroll-behavior:contain;border-inline-end:1px solid var(--color-sidebar-border);background:var(--color-sidebar-mask);block-size:100%;max-inline-size:var(--theme-sider-size);inline-size:0;transition:inline-size .2s;overflow:hidden;&>*{inline-size:var(--theme-sider-size);background:var(--color-sidebar-background);block-size:100%;position:relative;overflow:auto}@media screen and (width<=800px){max-inline-size:initial;inline-size:0;transition:none;&>*{max-inline-size:100%}}}.YongDallTheme-allSider-nav-open .YongDallTheme-allSider-nav-sidebar{inline-size:var(--theme-sider-size);@media screen and (width<=800px){inline-size:calc(100vw - var(--YongDallTheme-allSider-nav-size))}}
package/theme-base.css CHANGED
@@ -1,229 +1 @@
1
- body.YongDallTheme-base {
2
- --YongDallTheme-base-nav-size: 48px;
3
- --YongDallTheme-base-button-size: 40px;
4
- --YongDallTheme-base-button-font-size: 20px;
5
- --YongDallTheme-base-menu-button-size: 48px;
6
- --YongDallTheme-base-menu-button-font-size: 32px;
7
- --YongDallTheme-base-menu-button-inset: 20px;
8
- --YongDallTheme-base-button-border-size: 2px;
9
-
10
- padding-inline-start: 0;
11
- transition: padding-inline-start 0.2s;
12
-
13
-
14
- @media not print {
15
- --Page-block-start: var(--YongDallTheme-base-nav-size);
16
- padding-block-start: var(--Page-block-start);
17
-
18
- &.YongDallTheme-base-menu-open {
19
- padding-inline-start: var(--theme-sider-size);
20
-
21
- }
22
-
23
- }
24
-
25
-
26
-
27
- @media screen and (max-width: 800px) {
28
-
29
- &.YongDallTheme-base-menu-open {
30
- padding-inline-start: 0;
31
-
32
- }
33
- }
34
- }
35
-
36
- .YongDallTheme-base-panels>div {
37
- inline-size: 300px;
38
- inset-block-start: var(--YongDallTheme-base-nav-size);
39
- inset-inline-end: 0;
40
- max-inline-size: 100dvw;
41
- max-block-size: calc(100dvb - var(--YongDallTheme-base-nav-size));
42
- border: #001529 1px solid;
43
- box-sizing: border-box;
44
- margin: 0;
45
- inset-inline-start: auto;
46
- padding: 0;
47
-
48
- @media print {
49
- display: none !important;
50
- }
51
- }
52
-
53
- .YongDallTheme-base-header {
54
-
55
- position: fixed;
56
- inset-inline: 0;
57
- inset-block-start: 0;
58
- block-size: var(--YongDallTheme-base-nav-size);
59
- z-index: 100000;
60
- transition: bottom 0.5s;
61
-
62
- display: flex;
63
- flex-direction: row;
64
- align-items: center;
65
- color: var(--color-nav-text);
66
- background-color: var(--color-nav-bg);
67
- user-select: none;
68
- overflow: auto;
69
- scrollbar-width: none;
70
-
71
- @media print {
72
- display: none !important;
73
- }
74
-
75
- >* {
76
- flex-shrink: 0;
77
- background-color: inherit;
78
-
79
- }
80
-
81
- >span {
82
- flex: auto;
83
- }
84
-
85
-
86
- a:hover {
87
- color: var(--color-nav-text-highlight);
88
- }
89
-
90
-
91
- .YongDallTheme-base-actions {
92
- display: contents;
93
-
94
- >* {
95
- flex-shrink: 0;
96
- background-color: inherit;
97
-
98
- }
99
-
100
- >span {
101
- display: none;
102
- }
103
-
104
- >a,
105
- >div {
106
-
107
- flex-shrink: 0;
108
- overflow: hidden;
109
- cursor: pointer;
110
- inline-size: var(--YongDallTheme-base-button-size);
111
- line-height: var(--YongDallTheme-base-button-size);
112
- block-size: 100%;
113
- text-align: center;
114
- position: relative;
115
- font-size: var(--YongDallTheme-base-button-font-size);
116
- border-block: var(--YongDallTheme-base-button-border-size) solid transparent;
117
-
118
- &:hover {
119
- background-color: var(--color-nav-bg-highlight);
120
- }
121
-
122
- img {
123
- position: absolute;
124
- inset: 0;
125
- margin: auto;
126
- max-block-size: 100%;
127
- max-inline-size: 100%;
128
- }
129
-
130
- }
131
-
132
- }
133
-
134
- }
135
-
136
- .YongDallTheme-base-header-title {
137
- font-weight: bold;
138
- font-size: 1.2em;
139
- margin-inline-start: .4em;
140
- }
141
-
142
-
143
- .YongDallTheme-base-menu-button {
144
- flex-shrink: 0;
145
- overflow: hidden;
146
- cursor: pointer;
147
- inline-size: calc(var(--YongDallTheme-base-nav-size) * 0.6);
148
- block-size: calc(var(--YongDallTheme-base-nav-size) * 0.6);
149
- margin-inline: 4px;
150
- text-align: center;
151
- position: relative;
152
- border-block: var(--YongDallTheme-base-button-border-size) solid transparent;
153
-
154
-
155
-
156
-
157
- }
158
-
159
- .YongDallTheme-base-header .YongDallTheme-logo {
160
- display: contents;
161
-
162
- }
163
-
164
- body.YongDallTheme-base .YongDallTheme-logo>* {
165
- max-block-size: 100%;
166
- }
167
-
168
-
169
- .YongDallTheme-base-button {
170
- &:hover {
171
- background-color: var(--color-nav-bg-highlight);
172
- }
173
- }
174
-
175
- .YongDallTheme-base-sidebar {
176
- overscroll-behavior: contain;
177
- position: fixed;
178
- inset-block-start: var(--YongDallTheme-base-nav-size);
179
- inset-block-end: 0;
180
- inset-inline-start: 0;
181
- block-size: 100%;
182
- display: flex;
183
- flex-direction: row;
184
- z-index: 100000;
185
- transition: bottom 0.5s;
186
-
187
- transition: inline-size 0.2s;
188
- border-inline-end: 1px solid #f0f0f0;
189
- background: rgba(0, 21, 41, 0.08);
190
- overflow: hidden;
191
- block-size: calc(100% - var(--YongDallTheme-base-nav-size));
192
- max-inline-size: var(--theme-sider-size);
193
- inline-size: 0;
194
-
195
- @media print {
196
- display: none !important;
197
- }
198
-
199
- >* {
200
- inline-size: var(--theme-sider-size);
201
- block-size: 100%;
202
- background: #fff;
203
- position: relative;
204
- overflow: auto;
205
- }
206
-
207
- @media screen and (max-width: 800px) {
208
- transition: none;
209
- max-inline-size: initial;
210
- inline-size: 0;
211
-
212
-
213
- >* {
214
- max-inline-size: 100%;
215
- }
216
- }
217
- }
218
-
219
- .YongDallTheme-base-menu-open .YongDallTheme-base-sidebar {
220
- inline-size: var(--theme-sider-size);
221
-
222
- @media screen and (max-width: 800px) {
223
- inline-size: 100vw;
224
- }
225
-
226
- }
227
-
228
-
229
- /*# sourceMappingURL=theme-base.css.map*/
1
+ body.YongDallTheme-base{--YongDallTheme-base-nav-size:48px;--YongDallTheme-base-button-size:40px;--YongDallTheme-base-button-font-size:20px;--YongDallTheme-base-menu-button-size:48px;--YongDallTheme-base-menu-button-font-size:32px;--YongDallTheme-base-menu-button-inset:20px;--YongDallTheme-base-button-border-size:2px;padding-inline-start:0;transition:padding-inline-start .2s;@media not print{--Page-block-start:var(--YongDallTheme-base-nav-size);padding-block-start:var(--Page-block-start);&.YongDallTheme-base-menu-open{padding-inline-start:var(--theme-sider-size)}}@media screen and (width<=800px){&.YongDallTheme-base-menu-open{padding-inline-start:0}}}.YongDallTheme-base-panels>div{inline-size:300px;max-inline-size:100dvw;max-block-size:calc(100dvb - var(--YongDallTheme-base-nav-size));border:var(--color-panel-border) 1px solid;box-sizing:border-box;margin:0;padding:0;inset-block-start:var(--YongDallTheme-base-nav-size);inset-inline:auto 0;@media print{display:none!important}}.YongDallTheme-base-header{block-size:var(--YongDallTheme-base-nav-size);z-index:100000;color:var(--color-nav-text);background-color:var(--color-nav-bg);user-select:none;scrollbar-width:none;flex-direction:row;align-items:center;transition:bottom .5s;display:flex;position:fixed;inset-block-start:0;inset-inline:0;overflow:auto;@media print{display:none!important}&>*{background-color:inherit;flex-shrink:0}&>span{flex:auto}& a:hover{color:var(--color-nav-text-highlight)}& .YongDallTheme-base-actions{display:contents;&>*{background-color:inherit;flex-shrink:0}&>span{display:none}&>a,&>div{cursor:pointer;inline-size:var(--YongDallTheme-base-button-size);line-height:var(--YongDallTheme-base-button-size);text-align:center;block-size:100%;font-size:var(--YongDallTheme-base-button-font-size);border-block:var(--YongDallTheme-base-button-border-size) solid transparent;flex-shrink:0;position:relative;overflow:hidden;&:hover{background-color:var(--color-nav-bg-highlight)}& img{max-block-size:100%;max-inline-size:100%;margin:auto;position:absolute;inset:0}}}}.YongDallTheme-base-header-title{margin-inline-start:.4em;font-size:1.2em;font-weight:700}.YongDallTheme-base-menu-button{cursor:pointer;inline-size:calc(var(--YongDallTheme-base-nav-size) * .6);block-size:calc(var(--YongDallTheme-base-nav-size) * .6);text-align:center;border-block:var(--YongDallTheme-base-button-border-size) solid transparent;flex-shrink:0;margin-inline:4px;position:relative;overflow:hidden}.YongDallTheme-base-header .YongDallTheme-logo{display:contents}body.YongDallTheme-base .YongDallTheme-logo>*{max-block-size:100%}.YongDallTheme-base-button{&:hover{background-color:var(--color-nav-bg-highlight)}}.YongDallTheme-base-sidebar{overscroll-behavior:contain;z-index:100000;border-inline-end:1px solid var(--color-sidebar-border);background:var(--color-sidebar-mask);block-size:100%;block-size:calc(100% - var(--YongDallTheme-base-nav-size));max-inline-size:var(--theme-sider-size);flex-direction:row;inline-size:0;transition:inline-size .2s;display:flex;position:fixed;inset-block-start:var(--YongDallTheme-base-nav-size);inset-block-end:0;inset-inline-start:0;overflow:hidden;@media print{display:none!important}&>*{inline-size:var(--theme-sider-size);background:var(--color-sidebar-background);block-size:100%;position:relative;overflow:auto}@media screen and (width<=800px){max-inline-size:initial;inline-size:0;transition:none;&>*{max-inline-size:100%}}}.YongDallTheme-base-menu-open .YongDallTheme-base-sidebar{inline-size:var(--theme-sider-size);@media screen and (width<=800px){inline-size:100vw}}