@timus-networks/theme 2.4.27 → 2.4.30
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/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/development/example.switch.vue +2 -2
- package/dist/runtime/public/scss/element-plus/index.css +6 -4
- package/dist/runtime/public/scss/element-plus/main.css +1 -0
- package/dist/runtime/public/scss/element-plus/main.scss +1 -0
- package/dist/runtime/public/scss/element-plus/switch.css +5 -4
- package/dist/runtime/public/scss/element-plus/switch.scss +11 -4
- package/dist/runtime/public/scss/theme.css +38 -1
- package/dist/runtime/public/scss/theme.scss +47 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -11,7 +11,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
|
|
|
11
11
|
const __dirname = __cjs_path__.dirname(__filename);
|
|
12
12
|
const require = __cjs_mod__.createRequire(import.meta.url);
|
|
13
13
|
const name = "@timus-networks/theme";
|
|
14
|
-
const version = "2.4.
|
|
14
|
+
const version = "2.4.30";
|
|
15
15
|
const description = "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.";
|
|
16
16
|
const type = "module";
|
|
17
17
|
const exports = {
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
<div class="flex flex-col gap-3">
|
|
69
69
|
<p>Adding the disabled attribute <el-text tag="mark">disables</el-text> Switch.</p>
|
|
70
70
|
<div class="flex items-center gap-4">
|
|
71
|
-
<el-switch v-model="value" disabled />
|
|
72
|
-
<el-switch v-model="value" class="ml-2" />
|
|
71
|
+
<el-switch v-model="value" disabled active-text="disabled text" />
|
|
72
|
+
<el-switch v-model="value" class="ml-2" active-text="disabled text" />
|
|
73
73
|
</div>
|
|
74
74
|
</div>
|
|
75
75
|
<template #footer> <html-encode :tag="snippets.disable" /> </template>
|
|
@@ -10017,6 +10017,7 @@ heights > $common-component-size
|
|
|
10017
10017
|
overflow: auto;
|
|
10018
10018
|
box-sizing: border-box;
|
|
10019
10019
|
padding: var(--el-main-padding);
|
|
10020
|
+
justify-content: flex-start;
|
|
10020
10021
|
}
|
|
10021
10022
|
|
|
10022
10023
|
:root {
|
|
@@ -13289,17 +13290,18 @@ heights > $common-component-size
|
|
|
13289
13290
|
box-shadow: none;
|
|
13290
13291
|
}
|
|
13291
13292
|
|
|
13292
|
-
.el-switch.is-disabled .el-switch__core
|
|
13293
|
-
cursor: not-allowed;
|
|
13293
|
+
.el-switch.is-disabled .el-switch__core {
|
|
13294
13294
|
background-color: var(--el-switch-on-disabled-color);
|
|
13295
13295
|
border-color: var(--el-switch-on-disabled-color);
|
|
13296
13296
|
}
|
|
13297
|
-
.el-switch.is-disabled
|
|
13297
|
+
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label {
|
|
13298
|
+
cursor: not-allowed;
|
|
13299
|
+
}
|
|
13300
|
+
.el-switch.is-disabled.is-checked .el-switch__core {
|
|
13298
13301
|
cursor: not-allowed;
|
|
13299
13302
|
background-color: var(--el-switch-off-disabled-color);
|
|
13300
13303
|
border-color: var(--el-switch-off-disabled-color);
|
|
13301
13304
|
}
|
|
13302
|
-
|
|
13303
13305
|
.el-switch__label {
|
|
13304
13306
|
transition: var(--el-transition-duration-fast);
|
|
13305
13307
|
height: 20px;
|
|
@@ -331,17 +331,18 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
331
331
|
box-shadow: none;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
.el-switch.is-disabled .el-switch__core
|
|
335
|
-
cursor: not-allowed;
|
|
334
|
+
.el-switch.is-disabled .el-switch__core {
|
|
336
335
|
background-color: var(--el-switch-on-disabled-color);
|
|
337
336
|
border-color: var(--el-switch-on-disabled-color);
|
|
338
337
|
}
|
|
339
|
-
.el-switch.is-disabled
|
|
338
|
+
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label {
|
|
339
|
+
cursor: not-allowed;
|
|
340
|
+
}
|
|
341
|
+
.el-switch.is-disabled.is-checked .el-switch__core {
|
|
340
342
|
cursor: not-allowed;
|
|
341
343
|
background-color: var(--el-switch-off-disabled-color);
|
|
342
344
|
border-color: var(--el-switch-off-disabled-color);
|
|
343
345
|
}
|
|
344
|
-
|
|
345
346
|
.el-switch__label {
|
|
346
347
|
transition: var(--el-transition-duration-fast);
|
|
347
348
|
height: 20px;
|
|
@@ -105,20 +105,27 @@ $switch-margin: 16px;
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
@include when(disabled) {
|
|
108
|
+
& .#{$namespace}-switch__core {
|
|
109
|
+
background-color: getCssVar('switch-on-disabled-color');
|
|
110
|
+
border-color: getCssVar('switch-on-disabled-color');
|
|
111
|
+
}
|
|
112
|
+
& .#{$namespace}-switch__label {
|
|
113
|
+
// color: getCssVar('switch-on-disabled-color');
|
|
114
|
+
}
|
|
108
115
|
& .#{$namespace}-switch__core,
|
|
109
116
|
& .#{$namespace}-switch__label {
|
|
110
117
|
cursor: not-allowed;
|
|
111
|
-
background-color: getCssVar('switch-on-disabled-color');
|
|
112
|
-
border-color: getCssVar('switch-on-disabled-color');
|
|
113
118
|
}
|
|
114
119
|
|
|
115
120
|
@include when(checked) {
|
|
116
|
-
& .#{$namespace}-switch__core
|
|
117
|
-
& .#{$namespace}-switch__label {
|
|
121
|
+
& .#{$namespace}-switch__core {
|
|
118
122
|
cursor: not-allowed;
|
|
119
123
|
background-color: getCssVar('switch-off-disabled-color');
|
|
120
124
|
border-color: getCssVar('switch-off-disabled-color');
|
|
121
125
|
}
|
|
126
|
+
& .#{$namespace}-switch__label {
|
|
127
|
+
// color: getCssVar('switch-off-disabled-color');
|
|
128
|
+
}
|
|
122
129
|
}
|
|
123
130
|
}
|
|
124
131
|
|
|
@@ -1222,10 +1222,12 @@ body {
|
|
|
1222
1222
|
|
|
1223
1223
|
.page-footer {
|
|
1224
1224
|
align-items: center;
|
|
1225
|
+
border-top: 1px solid var(--el-color-neutral-light-3);
|
|
1225
1226
|
display: flex;
|
|
1226
1227
|
gap: 30px;
|
|
1227
1228
|
justify-content: center;
|
|
1228
|
-
|
|
1229
|
+
margin-top: 24px;
|
|
1230
|
+
padding: 24px 0 8px;
|
|
1229
1231
|
}
|
|
1230
1232
|
.page-footer .el-button {
|
|
1231
1233
|
flex-basis: 100%;
|
|
@@ -1247,4 +1249,39 @@ body {
|
|
|
1247
1249
|
.layout-leave-to {
|
|
1248
1250
|
opacity: 0;
|
|
1249
1251
|
transition: opacity 0.4s;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
.el-icon.more-icon {
|
|
1255
|
+
align-items: center;
|
|
1256
|
+
color: var(--el-color-neutral-light-3);
|
|
1257
|
+
display: flex;
|
|
1258
|
+
height: 24px;
|
|
1259
|
+
justify-content: center;
|
|
1260
|
+
width: 24px;
|
|
1261
|
+
}
|
|
1262
|
+
.el-icon.more-icon svg {
|
|
1263
|
+
height: 20px;
|
|
1264
|
+
width: 24px;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
::-webkit-scrollbar {
|
|
1268
|
+
width: 8px;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
/* background of the scrollbar except button or resizer */
|
|
1272
|
+
::-webkit-scrollbar-track {
|
|
1273
|
+
background-color: rgba(255, 255, 255, 0.01);
|
|
1274
|
+
border-radius: 10px;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/* scrollbar itself */
|
|
1278
|
+
::-webkit-scrollbar-thumb {
|
|
1279
|
+
background-color: rgba(255, 255, 255, 0.01);
|
|
1280
|
+
border: 2px solid rgba(255, 255, 255, 0.01);
|
|
1281
|
+
border-radius: 10px;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
/* set button(top and bottom of the scrollbar) */
|
|
1285
|
+
::-webkit-scrollbar-button {
|
|
1286
|
+
display: none;
|
|
1250
1287
|
}
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
@use 'inputs' as *;
|
|
8
8
|
@use 'logo' as *;
|
|
9
9
|
@use 'selectbox' as *;
|
|
10
|
+
@use 'sass:map';
|
|
11
|
+
|
|
10
12
|
// @use 'layers' as *;
|
|
11
13
|
|
|
12
14
|
// variables.scss dosyasını forward edelim, böylece diğer dosyalar da kullanabilir
|
|
@@ -29,10 +31,12 @@ body {
|
|
|
29
31
|
|
|
30
32
|
.page-footer {
|
|
31
33
|
align-items: center;
|
|
34
|
+
border-top: 1px solid var(--el-color-neutral-light-3);
|
|
32
35
|
display: flex;
|
|
33
36
|
gap: 30px;
|
|
34
37
|
justify-content: center;
|
|
35
|
-
|
|
38
|
+
margin-top: 24px;
|
|
39
|
+
padding: 24px 0 8px;
|
|
36
40
|
|
|
37
41
|
.el-button {
|
|
38
42
|
flex-basis: 100%;
|
|
@@ -56,3 +60,45 @@ body {
|
|
|
56
60
|
opacity: 0;
|
|
57
61
|
transition: opacity 0.4s;
|
|
58
62
|
}
|
|
63
|
+
|
|
64
|
+
.el-icon {
|
|
65
|
+
&.more-icon {
|
|
66
|
+
align-items: center;
|
|
67
|
+
color: var(--el-color-neutral-light-3);
|
|
68
|
+
display: flex;
|
|
69
|
+
height: 24px;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
width: 24px;
|
|
72
|
+
|
|
73
|
+
svg {
|
|
74
|
+
height: 20px;
|
|
75
|
+
width: 24px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// SCROLLBAR
|
|
81
|
+
::-webkit-scrollbar {
|
|
82
|
+
width: 8px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
$neutral-light-2: map.get(map.get($theme, 'light'), '2');
|
|
86
|
+
$neutral-light-3: map.get(map.get($theme, 'light'), '3');
|
|
87
|
+
|
|
88
|
+
/* background of the scrollbar except button or resizer */
|
|
89
|
+
::-webkit-scrollbar-track {
|
|
90
|
+
background-color: $neutral-light-2;
|
|
91
|
+
border-radius: 10px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* scrollbar itself */
|
|
95
|
+
::-webkit-scrollbar-thumb {
|
|
96
|
+
background-color: $neutral-light-3;
|
|
97
|
+
border: 2px solid $neutral-light-3;
|
|
98
|
+
border-radius: 10px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* set button(top and bottom of the scrollbar) */
|
|
102
|
+
::-webkit-scrollbar-button {
|
|
103
|
+
display: none;
|
|
104
|
+
}
|
package/package.json
CHANGED