@pubinfo-pr/core 0.221.2 → 0.222.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.
Files changed (74) hide show
  1. package/dist/{AppSetting-B313MN-C.js → AppSetting-2X1fMYsM.js} +17 -17
  2. package/dist/{HCheckList-BQjEUWU0.js → HCheckList-IpOaPgDS.js} +1 -1
  3. package/dist/HSlideover-DVQDc9q6.js +3151 -0
  4. package/dist/{HToggle-DEwBoDsw.js → HToggle-53efctOx.js} +1 -1
  5. package/dist/{PreferencesContent-CRWKG-hY.js → PreferencesContent-DR7Bfby2.js} +6 -6
  6. package/dist/{SettingBreadcrumb-Dmz1xlaR.js → SettingBreadcrumb-BdZkTm8U.js} +4 -4
  7. package/dist/{SettingCopyright-BgWvocrJ.js → SettingCopyright-CUTR3xEl.js} +3 -3
  8. package/dist/{SettingEnableTransition-Cf57pLUk.js → SettingEnableTransition-X3MmJab_.js} +3 -3
  9. package/dist/{SettingHome-tNMtRHoT.js → SettingHome-lZQWdmKO.js} +4 -4
  10. package/dist/{SettingMenu-B2spR2pp.js → SettingMenu-CpmiIDE3.js} +5 -5
  11. package/dist/{SettingMode-DGWqKJHt.js → SettingMode-bW2Ola6n.js} +2 -2
  12. package/dist/{SettingNavSearch-C_8VmQmD.js → SettingNavSearch-zNci1-io.js} +3 -3
  13. package/dist/{SettingOther-B9iOz69R.js → SettingOther-B_fS7F1Q.js} +4 -4
  14. package/dist/{SettingPage-C0TfmEKp.js → SettingPage-D3Le0166.js} +2 -2
  15. package/dist/{SettingTabbar-DtJIMcmw.js → SettingTabbar-DlAGfaVi.js} +5 -5
  16. package/dist/{SettingThemes-022eXO9f.js → SettingThemes-Doo4eAO8.js} +5 -5
  17. package/dist/{SettingToolbar-Bh9aXNpl.js → SettingToolbar-CULbO3xO.js} +3 -3
  18. package/dist/{SettingTopbar-C1L0XqVL.js → SettingTopbar-C6sVE2Ho.js} +5 -5
  19. package/dist/{SettingWidthMode-D7sRlBUK.js → SettingWidthMode-CilRvSU4.js} +3 -3
  20. package/dist/{auth-B65CJEOe.js → auth-BLGKOyc5.js} +193 -3
  21. package/dist/{change-organization-Dzke68ZX.js → change-organization-BGeqwF7P.js} +3 -3
  22. package/dist/{change-password-wEU_ytZo.js → change-password-DihoH7ST.js} +3 -3
  23. package/dist/{components-DReV9oJp.js → components-zl6Vcs20.js} +8 -8
  24. package/dist/index.js +936 -468
  25. package/dist/{not-found-DbHOY5cU.js → not-found-BCjngLzt.js} +1 -1
  26. package/dist/{not-permission-DwERxb_u.js → not-permission-C26vTMvf.js} +1 -1
  27. package/dist/{profile-Dq66-Gsl.js → profile-BVXIFuBG.js} +1 -1
  28. package/dist/style.css +1 -1
  29. package/package.json +7 -7
  30. package/src/built-in/authentication/pages/change-organization/index.vue +22 -5
  31. package/src/built-in/authentication/pages/change-password/index.vue +30 -3
  32. package/src/built-in/layout-component/Layout.vue +81 -31
  33. package/src/built-in/layout-component/components/Copyright/index.vue +29 -3
  34. package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +17 -6
  35. package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +18 -7
  36. package/src/built-in/layout-component/components/Header/HeaderMenu.vue +2 -3
  37. package/src/built-in/layout-component/components/Header/index.vue +119 -22
  38. package/src/built-in/layout-component/components/Logo/index.vue +4 -1
  39. package/src/built-in/layout-component/components/Menu/item.vue +29 -6
  40. package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +33 -13
  41. package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +113 -25
  42. package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +57 -4
  43. package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +123 -20
  44. package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +102 -25
  45. package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +100 -16
  46. package/src/built-in/layout-component/components/SettingBar/index.vue +64 -10
  47. package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +76 -22
  48. package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +16 -10
  49. package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
  50. package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +26 -4
  51. package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +404 -51
  52. package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +68 -13
  53. package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +177 -49
  54. package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
  55. package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +45 -12
  56. package/src/built-in/layout-component/components/ui/HToggle.vue +55 -9
  57. package/src/features/components/PassStrengthValidator/index.vue +36 -10
  58. package/src/features/components/PassStrengthValidator/rule.vue +17 -4
  59. package/src/features/components/PubinfoApp/index.vue +1 -0
  60. package/dist/HSlideover-CXBJxuQo.js +0 -1695
  61. package/dist/HeaderFullMenu-yMip8PkX.js +0 -250
  62. package/dist/HeaderThinMenu-B6oUemfK.js +0 -438
  63. package/dist/overlayscrollbars-vue-mGyICRMi.js +0 -1460
  64. /package/dist/{HDivider-Ds5MMqtm.js → HDivider-BwvBr5OE.js} +0 -0
  65. /package/dist/{HInput-BrsX9848.js → HInput-KJ5nFBpF.js} +0 -0
  66. /package/dist/{core-4H5JBsa5.js → core-DJIGzMMM.js} +0 -0
  67. /package/dist/{engine-oniguruma-uxNZ2DGJ.js → engine-oniguruma-CaNXwGSv.js} +0 -0
  68. /package/dist/{json-CC4oV-bd.js → json-Bu_Zprin.js} +0 -0
  69. /package/dist/{question-line-D7ecIumZ.js → question-line-BG__Ycfv.js} +0 -0
  70. /package/dist/{reload-CbuQgTlC.js → reload-DHx5Vwus.js} +0 -0
  71. /package/dist/{right-DYiPS7dU.js → right-BxBlFUwj.js} +0 -0
  72. /package/dist/{vitesse-dark-CxkWMfh6.js → vitesse-dark-CTe40QT_.js} +0 -0
  73. /package/dist/{vitesse-light-DY25e6F3.js → vitesse-light-BWXC_WeB.js} +0 -0
  74. /package/dist/{wasm-DAU6f5s5.js → wasm-2zDVqo-C.js} +0 -0
@@ -71,84 +71,187 @@ function clickHandle(item: Settings.menu['menuMode']) {
71
71
 
72
72
  <style scoped>
73
73
  .menu-mode {
74
- --at-apply: flex items-center justify-center gap-4 pb-4;
74
+ display: flex;
75
+ align-items: center;
76
+ justify-content: center;
77
+ gap: 1rem; /* 16px */
78
+ padding-bottom: 1rem; /* 16px */
75
79
  }
76
80
 
77
81
  .menu-mode .mode {
78
- --at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition;
82
+ & {
83
+ position: relative;
84
+ width: 4rem; /* 64px */
85
+ height: 3rem; /* 48px */
86
+ border-radius: 0.5rem; /* 8px */
87
+ --un-ring-width: 1px;
88
+ --un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
89
+ var(--un-ring-offset-width) var(--un-ring-offset-color);
90
+ --un-ring-shadow: var(--un-ring-inset) 0 0 0
91
+ calc(var(--un-ring-width) + var(--un-ring-offset-width))
92
+ var(--un-ring-color);
93
+ box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
94
+ var(--un-shadow);
95
+ --un-ring-opacity: 1;
96
+ --un-ring-color: rgb(231 229 228 / var(--un-ring-opacity)) /* #e7e5e4 */;
97
+ cursor: pointer;
98
+ transition-property: color, background-color, border-color,
99
+ text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
100
+ backdrop-filter;
101
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
102
+ transition-duration: 150ms;
103
+ }
104
+ .dark & {
105
+ --un-ring-opacity: 1;
106
+ --un-ring-color: rgb(68 64 60 / var(--un-ring-opacity)) /* #44403c */;
107
+ }
79
108
  }
80
109
 
81
110
  .menu-mode .mode.active {
82
- --at-apply: ring-ui-primary ring-2;
111
+ --un-ring-opacity: 1;
112
+ --un-ring-color: rgb(var(--ui-primary) / var(--un-ring-opacity))
113
+ /* rgb(var(--ui-primary)) */;
114
+ --un-ring-width: 2px;
115
+ --un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
116
+ var(--un-ring-offset-width) var(--un-ring-offset-color);
117
+ --un-ring-shadow: var(--un-ring-inset) 0 0 0
118
+ calc(var(--un-ring-width) + var(--un-ring-offset-width))
119
+ var(--un-ring-color);
120
+ box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
121
+ var(--un-shadow);
83
122
  }
84
123
 
85
124
  .menu-mode .mode::before,
86
125
  .menu-mode .mode::after,
87
126
  .menu-mode .mode .mode-container {
88
- --at-apply: absolute pointer-events-none;
127
+ position: absolute;
128
+ pointer-events: none;
89
129
  }
90
130
 
91
131
  .menu-mode .mode::before {
92
- --at-apply: content-empty bg-ui-primary;
132
+ content: "";
133
+ background-color: rgb(var(--ui-primary));
93
134
  }
94
135
 
95
136
  .menu-mode .mode::after {
96
- --at-apply: content-empty bg-ui-primary/60;
137
+ content: "";
138
+ background-color: rgb(var(--ui-primary) / 0.6);
97
139
  }
98
140
 
99
141
  .menu-mode .mode .mode-container {
100
- --at-apply: bg-ui-primary/20 border-dashed border-ui-primary;
142
+ background-color: rgb(var(--ui-primary) / 0.2);
143
+ border-style: dashed;
144
+ border-color: rgb(var(--ui-primary));
101
145
  }
102
146
 
103
147
  .menu-mode .mode .mode-container::before {
104
- --at-apply: content-empty absolute w-full h-full;
148
+ content: "";
149
+ position: absolute;
150
+ width: 100%;
151
+ height: 100%;
105
152
  }
106
153
 
107
154
  .menu-mode .mode-side::before {
108
- --at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
155
+ top: 0.5rem; /* 8px */
156
+ bottom: 0.5rem; /* 8px */
157
+ left: 0.5rem; /* 8px */
158
+ width: 0.5rem; /* 8px */
159
+ border-top-left-radius: 0.25rem; /* 4px */
160
+ border-bottom-left-radius: 0.25rem; /* 4px */
109
161
  }
110
162
 
111
163
  .menu-mode .mode-side::after {
112
- --at-apply: top-2 bottom-2 left-4.5 w-3;
164
+ top: 0.5rem; /* 8px */
165
+ bottom: 0.5rem; /* 8px */
166
+ left: 1.125rem; /* 18px */
167
+ width: 0.75rem; /* 12px */
113
168
  }
114
169
 
115
170
  .menu-mode .mode-side .mode-container {
116
- --at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-8 rounded-tr-1 rounded-br-1;
171
+ top: 0.5rem; /* 8px */
172
+ right: 0.5rem; /* 8px */
173
+ bottom: 0.5rem; /* 8px */
174
+ left: 2rem; /* 32px */
175
+ border-top-right-radius: 0.25rem; /* 4px */
176
+ border-bottom-right-radius: 0.25rem; /* 4px */
117
177
  }
118
178
 
119
179
  .menu-mode .mode-head::before {
120
- --at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
180
+ top: 0.5rem; /* 8px */
181
+ left: 0.5rem; /* 8px */
182
+ right: 0.5rem; /* 8px */
183
+ height: 0.5rem; /* 8px */
184
+ border-top-left-radius: 0.25rem; /* 4px */
185
+ border-top-right-radius: 0.25rem; /* 4px */
121
186
  }
122
187
 
123
188
  .menu-mode .mode-head::after {
124
- --at-apply: top-4.5 left-2 bottom-2 w-3 rounded-bl-1;
189
+ top: 1.125rem; /* 18px */
190
+ left: 0.5rem; /* 8px */
191
+ bottom: 0.5rem; /* 8px */
192
+ width: 0.75rem; /* 12px */
193
+ border-bottom-left-radius: 0.25rem; /* 4px */
125
194
  }
126
195
 
127
196
  .menu-mode .mode-head .mode-container {
128
- --at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-5.5 rounded-br-1;
197
+ top: 1.125rem; /* 18px */
198
+ right: 0.5rem; /* 8px */
199
+ bottom: 0.5rem; /* 8px */
200
+ left: 1.375rem; /* 22px */
201
+ border-bottom-right-radius: 0.25rem; /* 4px */
129
202
  }
130
203
 
131
204
  .menu-mode .mode-single::after {
132
- --at-apply: top-2 left-2 bottom-2 w-3 rounded-tl-1 rounded-bl-1;
205
+ top: 0.5rem; /* 8px */
206
+ left: 0.5rem; /* 8px */
207
+ bottom: 0.5rem; /* 8px */
208
+ width: 0.75rem; /* 12px */
209
+ border-top-left-radius: 0.25rem; /* 4px */
210
+ border-bottom-left-radius: 0.25rem; /* 4px */
133
211
  }
134
212
 
135
213
  .menu-mode .mode-single .mode-container {
136
- --at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-5.5 rounded-tr-1 rounded-br-1;
214
+ top: 0.5rem; /* 8px */
215
+ right: 0.5rem; /* 8px */
216
+ bottom: 0.5rem; /* 8px */
217
+ left: 1.375rem; /* 22px */
218
+ border-top-right-radius: 0.25rem; /* 4px */
219
+ border-bottom-right-radius: 0.25rem; /* 4px */
137
220
  }
138
221
 
139
222
  .menu-mode .mode-only-side::before {
140
- --at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
223
+ top: 0.5rem; /* 8px */
224
+ bottom: 0.5rem; /* 8px */
225
+ left: 0.5rem; /* 8px */
226
+ width: 0.5rem; /* 8px */
227
+ border-top-left-radius: 0.25rem; /* 4px */
228
+ border-bottom-left-radius: 0.25rem; /* 4px */
141
229
  }
142
230
 
143
231
  .menu-mode .mode-only-side .mode-container {
144
- --at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-4.5 rounded-tr-1 rounded-br-1;
232
+ top: 0.5rem; /* 8px */
233
+ right: 0.5rem; /* 8px */
234
+ bottom: 0.5rem; /* 8px */
235
+ left: 1.125rem; /* 18px */
236
+ border-top-right-radius: 0.25rem; /* 4px */
237
+ border-bottom-right-radius: 0.25rem; /* 4px */
145
238
  }
146
239
 
147
240
  .menu-mode .mode-only-head::before {
148
- --at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
241
+ top: 0.5rem; /* 8px */
242
+ left: 0.5rem; /* 8px */
243
+ right: 0.5rem; /* 8px */
244
+ height: 0.5rem; /* 8px */
245
+ border-top-left-radius: 0.25rem; /* 4px */
246
+ border-top-right-radius: 0.25rem; /* 4px */
149
247
  }
150
248
 
151
249
  .menu-mode .mode-only-head .mode-container {
152
- --at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-2 rounded-bl-1 rounded-br-1;
250
+ top: 1.125rem; /* 18px */
251
+ right: 0.5rem; /* 8px */
252
+ bottom: 0.5rem; /* 8px */
253
+ left: 0.5rem; /* 8px */
254
+ border-bottom-left-radius: 0.25rem; /* 4px */
255
+ border-bottom-right-radius: 0.25rem; /* 4px */
153
256
  }
154
257
  </style>
@@ -104,34 +104,64 @@ function clickHandle(item: ThemeListCard) {
104
104
 
105
105
  <style scoped>
106
106
  .divider {
107
- --at-apply:
108
- flex
109
- items-center
110
- justify-between
111
- gap-4
112
- my-4
113
- whitespace-nowrap
114
- text-sm
115
- font-500;
107
+ display: flex;
108
+ align-items: center;
109
+ justify-content: space-between;
110
+ gap: 1rem; /* 16px */
111
+ margin-top: 1rem; /* 16px */
112
+ margin-bottom: 1rem; /* 16px */
113
+ font-size: 0.875rem; /* 14px */
114
+ line-height: 1.25rem; /* 20px */
115
+ white-space: nowrap;
116
+ font-weight: 500;
116
117
  }
117
118
 
118
119
  .divider::before,
119
120
  .divider::after {
120
- --at-apply:
121
- content-empty
122
- w-full
123
- h-1px
124
- bg-stone-2
125
- dark:bg-stone-6;
121
+ content: "";
122
+ width: 100%;
123
+ background-color: #e7e5e4;
124
+ height: 1px;
125
+ }
126
+
127
+ .dark .divider::before,
128
+ .dark .divider::after {
129
+ background-color: #57534e;
126
130
  }
127
131
 
128
132
  .themes {
129
- --at-apply: box-border grid grid-cols-[repeat(3,125px)] gap-[15px] w-full;
133
+ box-sizing: border-box;
134
+ display: grid;
135
+ grid-template-columns: repeat(3, 125px);
136
+ gap: 15px;
137
+ width: 100%;
130
138
  }
131
139
 
132
140
  .themes .theme {
133
- --at-apply: relative box-border h-[78px] text-white cursor-pointer bg-[#f7f8f9] dark:bg-dark-2
134
- transition-all duration-[0.2s] ease-[ease-in-out] mb-[15px] p-[15px] rounded-xl shadow;
141
+ & {
142
+ position: relative;
143
+ box-sizing: border-box;
144
+ color: white;
145
+ cursor: pointer;
146
+ transition-property: all;
147
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
148
+ transition-duration: 150ms;
149
+ transition-timing-function: ease-in-out;
150
+ margin-bottom: 15px;
151
+ height: 78px;
152
+ background-color: #f7f8f9;
153
+ transition-duration: 0.2s;
154
+ padding: 15px;
155
+ border-radius: 0.75rem; /* 12px */
156
+ --un-shadow: var(--un-shadow-inset) 0 1px 3px 0
157
+ var(--un-shadow-color, rgb(0 0 0 / 0.1)),
158
+ var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / 0.1));
159
+ box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
160
+ var(--un-shadow);
161
+ }
162
+ .dark & {
163
+ background-color: #323232;
164
+ }
135
165
  }
136
166
 
137
167
  .themes .theme:hover {
@@ -139,8 +169,30 @@ function clickHandle(item: ThemeListCard) {
139
169
  }
140
170
 
141
171
  .themes .theme .explosion {
142
- --at-apply: bg-ui-primary absolute z-[1] flex items-center justify-center w-6 h-6
143
- transition-all duration-[0.3s] origin-center rounded-[50%] scale-0 -right-2.5 -top-2.5;
172
+ background-color: rgb(var(--ui-primary));
173
+ position: absolute;
174
+ z-index: 1;
175
+ display: flex;
176
+ align-items: center;
177
+ justify-content: center;
178
+ transition-property: all;
179
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
180
+ transition-duration: 150ms;
181
+ transition-duration: 0.3s;
182
+ border-radius: 50%;
183
+ width: 1.5rem; /* 24px */
184
+ height: 1.5rem; /* 24px */
185
+ transform-origin: center;
186
+ --un-scale-x: 0;
187
+ --un-scale-y: 0;
188
+ transform: translateX(var(--un-translate-x)) translateY(var(--un-translate-y))
189
+ translateZ(var(--un-translate-z)) rotate(var(--un-rotate))
190
+ rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y))
191
+ rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y))
192
+ scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y))
193
+ scaleZ(var(--un-scale-z));
194
+ right: -0.625rem; /* -10px */
195
+ top: -0.625rem; /* -10px */
144
196
  }
145
197
 
146
198
  .themes .theme.active {
@@ -152,16 +204,41 @@ function clickHandle(item: ThemeListCard) {
152
204
  }
153
205
 
154
206
  .themes .theme .theme-type {
155
- --at-apply: w-full h-4 mt-5px pb-10px;
207
+ width: 100%;
208
+ height: 1rem; /* 16px */
209
+ margin-top: 5px;
210
+ padding-bottom: 10px;
156
211
  }
157
212
 
158
213
  .themes .theme .theme-point {
159
- --at-apply: grid grid-cols-[repeat(6,15px)] w-full h-5;
214
+ display: grid;
215
+ grid-template-columns: repeat(6, 15px);
216
+ width: 100%;
217
+ height: 1.25rem; /* 20px */
160
218
  }
161
219
 
162
220
  .themes .theme .theme-point .point {
163
- --at-apply: box-border w-5 h-5 mr-[5px] rounded-[50%]
164
- border-2 border-solid border-white
165
- shadow shadow-stone-4 dark:shadow-stone-8;
221
+ & {
222
+ box-sizing: border-box;
223
+ width: 1.25rem; /* 20px */
224
+ height: 1.25rem; /* 20px */
225
+ border-radius: 50%;
226
+ border-width: 2px;
227
+ border-style: solid;
228
+ --un-border-opacity: 1;
229
+ border-color: rgb(255 255 255 / var(--un-border-opacity));
230
+ --un-shadow: var(--un-shadow-inset) 0 1px 3px 0
231
+ var(--un-shadow-color, rgb(0 0 0 / 0.1)),
232
+ var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / 0.1));
233
+ box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
234
+ var(--un-shadow);
235
+ margin-right: 5px;
236
+ --un-shadow-opacity: 1;
237
+ --un-shadow-color: rgb(168 162 158 / var(--un-shadow-opacity)) /* #a8a29e */;
238
+ }
239
+ .dark & {
240
+ --un-shadow-opacity: 1;
241
+ --un-shadow-color: rgb(41 37 36 / var(--un-shadow-opacity)) /* #292524 */;
242
+ }
166
243
  }
167
244
  </style>
@@ -73,69 +73,153 @@ function clickHandle(item: Settings.layout['widthMode']) {
73
73
 
74
74
  <style scoped>
75
75
  .app-width-mode {
76
- --at-apply: flex items-center justify-center gap-4 pb-4;
76
+ display: flex;
77
+ align-items: center;
78
+ justify-content: center;
79
+ gap: 1rem; /* 16px */
80
+ padding-bottom: 1rem; /* 16px */
77
81
  }
78
82
 
79
83
  .app-width-mode .mode {
80
- --at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition of-hidden;
84
+ & {
85
+ position: relative;
86
+ width: 4rem; /* 64px */
87
+ height: 3rem; /* 48px */
88
+ border-radius: 0.5rem; /* 8px */
89
+ --un-ring-width: 1px;
90
+ --un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
91
+ var(--un-ring-offset-width) var(--un-ring-offset-color);
92
+ --un-ring-shadow: var(--un-ring-inset) 0 0 0
93
+ calc(var(--un-ring-width) + var(--un-ring-offset-width))
94
+ var(--un-ring-color);
95
+ box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
96
+ var(--un-shadow);
97
+ --un-ring-opacity: 1;
98
+ --un-ring-color: rgb(231 229 228 / var(--un-ring-opacity)) /* #e7e5e4 */;
99
+ cursor: pointer;
100
+ transition-property: color, background-color, border-color,
101
+ text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
102
+ backdrop-filter;
103
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
104
+ transition-duration: 150ms;
105
+ overflow: hidden;
106
+ }
107
+ .dark & {
108
+ --un-ring-opacity: 1;
109
+ --un-ring-color: rgb(68 64 60 / var(--un-ring-opacity)) /* #44403c */;
110
+ }
81
111
  }
82
112
 
83
113
  .app-width-mode .mode.active {
84
- --at-apply: ring-ui-primary ring-2;
114
+ --un-ring-opacity: 1;
115
+ --un-ring-color: rgb(var(--ui-primary) / var(--un-ring-opacity))
116
+ /* rgb(var(--ui-primary)) */;
117
+ --un-ring-width: 2px;
118
+ --un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
119
+ var(--un-ring-offset-width) var(--un-ring-offset-color);
120
+ --un-ring-shadow: var(--un-ring-inset) 0 0 0
121
+ calc(var(--un-ring-width) + var(--un-ring-offset-width))
122
+ var(--un-ring-color);
123
+ box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
124
+ var(--un-shadow);
85
125
  }
86
126
 
87
127
  .app-width-mode .mode-adaption::before {
88
- --at-apply: content-empty absolute w-full h-full bg-stone-1 dark:bg-stone-9;
128
+ content: "";
129
+ position: absolute;
130
+ width: 100%;
131
+ height: 100%;
132
+ background-color: #f5f5f4;
133
+ }
134
+
135
+ .dark .app-width-mode .mode-adaption::before {
136
+ background-color: #1c1917;
89
137
  }
90
138
 
91
139
  .app-width-mode .mode-adaption .left,
92
140
  .app-width-mode .mode-adaption .right {
93
- --at-apply: absolute top-1/2 -translate-y-1/2;
141
+ position: absolute;
142
+ top: 50%;
143
+ transform: translateY(-50%);
94
144
  }
95
145
 
96
146
  .app-width-mode .mode-adaption .left {
97
- --at-apply: left-1;
147
+ left: 0.25rem;
98
148
  }
99
149
 
100
150
  .app-width-mode .mode-adaption .right {
101
- --at-apply: right-1;
151
+ right: 0.25rem;
102
152
  }
103
153
 
104
154
  .app-width-mode .mode-adaption-min-width::before {
105
- --at-apply: content-empty absolute w-1/2 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
155
+ content: "";
156
+ position: absolute;
157
+ width: 50%;
158
+ height: 100%;
159
+ left: 50%;
160
+ transform: translateX(-50%);
161
+ background-color: #f5f5f4;
162
+ }
163
+
164
+ .dark .app-width-mode .mode-adaption-min-width::before {
165
+ background-color: #1c1917;
106
166
  }
107
167
 
108
168
  .app-width-mode .mode-adaption-min-width .left,
109
169
  .app-width-mode .mode-adaption-min-width .right {
110
- --at-apply: absolute top-1/2 -translate-y-1/2;
170
+ position: absolute;
171
+ top: 50%;
172
+ transform: translateY(-50%);
111
173
  }
112
174
 
113
175
  .app-width-mode .mode-adaption-min-width .left {
114
- --at-apply: left-0.5;
176
+ left: 0.125rem; /* 2px */
115
177
  }
116
178
 
117
179
  .app-width-mode .mode-adaption-min-width .right {
118
- --at-apply: right-0.5;
180
+ right: 0.125rem; /* 2px */
119
181
  }
120
182
 
121
183
  .app-width-mode .mode-center::before {
122
- --at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
184
+ content: "";
185
+ position: absolute;
186
+ width: 60%;
187
+ height: 100%;
188
+ left: 50%;
189
+ transform: translateX(-50%);
190
+ background-color: #f5f5f4;
191
+ }
192
+
193
+ .dark .app-width-mode .mode-center::before {
194
+ background-color: #1c1917;
123
195
  }
124
196
 
125
197
  .app-width-mode .mode-center-max-width::before {
126
- --at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
198
+ content: "";
199
+ position: absolute;
200
+ width: 60%;
201
+ height: 100%;
202
+ left: 50%;
203
+ transform: translateX(-50%);
204
+ background-color: #f5f5f4;
205
+ }
206
+
207
+ .dark .app-width-mode .mode-center-max-width::before {
208
+ background-color: #1c1917;
127
209
  }
128
210
 
129
211
  .app-width-mode .mode-center-max-width .left,
130
212
  .app-width-mode .mode-center-max-width .right {
131
- --at-apply: absolute top-1/2 -translate-y-1/2;
213
+ position: absolute;
214
+ top: 50%;
215
+ transform: translateY(-50);
132
216
  }
133
217
 
134
218
  .app-width-mode .mode-center-max-width .left {
135
- --at-apply: left-2.5;
219
+ left: 0.625rem;
136
220
  }
137
221
 
138
222
  .app-width-mode .mode-center-max-width .right {
139
- --at-apply: right-2.5;
223
+ right: 0.625rem;
140
224
  }
141
225
  </style>
@@ -38,32 +38,86 @@ const [open, setOpen] = useToggle(false);
38
38
 
39
39
  <style scoped>
40
40
  .app-setting-warp {
41
- --at-apply: relative fixed top-1/2 right-10px z-10;
41
+ position: relative;
42
+ position: fixed;
43
+ top: 50%;
44
+ right: 10px;
45
+ z-index: 10;
42
46
  }
43
47
 
44
48
  .app-setting-warp .vue-devtools__anchor--glowing {
45
- --at-apply: absolute z-[-1] w-40 h-40 pointer-events-none blur-[60px] opacity-0
46
- transition-all duration-[1s] ease-[ease] -translate-x-1/4 -translate-y-1/4
47
- rounded-full left-0 top-0;
49
+ position: absolute;
50
+ opacity: 0;
51
+ transition-property: all;
52
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
53
+ transition-duration: 150ms;
54
+ left: 0;
55
+ top: 0;
56
+ pointer-events: none;
57
+ z-index: -1;
58
+ width: 10rem; /* 160px */
59
+ height: 10rem; /* 160px */
60
+ --un-blur: blur(60px);
61
+ filter: var(--un-blur) var(--un-brightness) var(--un-contrast)
62
+ var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate)
63
+ var(--un-invert) var(--un-saturate) var(--un-sepia);
64
+ transition-duration: 1s;
65
+ transition-timing-function: ease;
66
+ border-radius: 9999px;
67
+ --un-translate-x: -25%;
68
+ transform: translateX(var(--un-translate-x)) translateY(var(--un-translate-y))
69
+ translateZ(var(--un-translate-z)) rotate(var(--un-rotate))
70
+ rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y))
71
+ rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y))
72
+ scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y))
73
+ scaleZ(var(--un-scale-z));
74
+ --un-translate-y: -25%;
75
+ transform: translateX(var(--un-translate-x)) translateY(var(--un-translate-y))
76
+ translateZ(var(--un-translate-z)) rotate(var(--un-rotate))
77
+ rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y))
78
+ rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y))
79
+ scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y))
80
+ scaleZ(var(--un-scale-z));
48
81
  background-image: linear-gradient(45deg, #00dc82, #36e4da, #0047e1);
49
82
  }
50
83
 
51
84
  .app-setting-warp:hover .vue-devtools__anchor--glowing {
52
- --at-apply: op-70;
85
+ opacity: 0.7;
53
86
  }
54
87
 
55
88
  .app-setting {
56
- --at-apply: text-white dark:text-dark bg-ui-primary
57
- flex flex-col items-center justify-between w-[30px] h-[76px]
58
- text-sm cursor-pointer rounded-[30px];
89
+ & {
90
+ display: flex;
91
+ flex-direction: column;
92
+ align-items: center;
93
+ justify-content: space-between;
94
+ font-size: 0.875rem; /* 14px */
95
+ line-height: 1.25rem; /* 20px */
96
+ cursor: pointer;
97
+ width: 30px;
98
+ height: 76px;
99
+ border-radius: 30px;
100
+ color: #fff;
101
+ background-color: rgb(var(--ui-primary));
102
+ }
103
+ .dark & {
104
+ color: #222222;
105
+ }
59
106
  }
60
107
 
61
108
  .app-setting .app-setting-item {
62
- --at-apply: flex flex-[auto] items-center justify-center w-full h-0;
109
+ display: flex;
110
+ flex: auto;
111
+ align-items: center;
112
+ justify-content: center;
113
+ width: 100%;
114
+ height: 0;
63
115
  }
64
116
 
65
117
  .app-setting .divider {
66
- --at-apply: w-10px h-px bg-[#b3b3b3];
118
+ width: 10px;
119
+ height: 1px;
120
+ background-color: #b3b3b3;
67
121
  }
68
122
 
69
123
  .app-setting .icon {