memorial-ui-component-library 1.0.2 → 1.1.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/README.md +17 -17
- package/package.json +63 -62
- package/src/assets/scss/_transitions.scss +71 -71
- package/src/assets/scss/_variables.module.scss +56 -56
- package/src/assets/scss/main.scss +12 -12
- package/src/assets/scss/scrollbar.scss +33 -33
- package/types/async-validator.d.ts +147 -147
- package/types/autocomplete.d.ts +94 -94
- package/types/button.d.ts +74 -74
- package/types/card.d.ts +27 -27
- package/types/checkbox.d.ts +23 -23
- package/types/component.d.ts +17 -17
- package/types/dialog.d.ts +643 -643
- package/types/divider.d.ts +33 -33
- package/types/element-ui/locale.d.ts +2 -0
- package/types/form.d.ts +122 -122
- package/types/index.d.ts +4 -4
- package/types/input.d.ts +53 -53
- package/types/loader.d.ts +28 -28
- package/types/memorial-ui-component-library.d.ts +41 -41
- package/types/options.d.ts +20 -20
- package/types/popout-menu.d.ts +14 -14
- package/types/radio.d.ts +45 -45
- package/types/rater.d.ts +34 -34
- package/types/select.d.ts +77 -77
- package/dist/demo.html +0 -1
- package/dist/memorial-ui-component-library.common.js +0 -29204
- package/dist/memorial-ui-component-library.common.js.map +0 -1
- package/dist/memorial-ui-component-library.css +0 -1
- package/dist/memorial-ui-component-library.umd.js +0 -29223
- package/dist/memorial-ui-component-library.umd.js.map +0 -1
- package/dist/memorial-ui-component-library.umd.min.js +0 -15
- package/dist/memorial-ui-component-library.umd.min.js.map +0 -1
- package/dist/report.html +0 -53
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# memorial-ui-component-library
|
|
2
|
-
|
|
3
|
-
## Project setup
|
|
4
|
-
```
|
|
5
|
-
npm install
|
|
6
|
-
```
|
|
7
|
-
|
|
8
|
-
### Compiles and hot-reloads for development
|
|
9
|
-
```
|
|
10
|
-
npm run serve
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
### Compiles and minifies for production
|
|
14
|
-
```
|
|
15
|
-
npm run build
|
|
16
|
-
```
|
|
17
|
-
|
|
1
|
+
# memorial-ui-component-library
|
|
2
|
+
|
|
3
|
+
## Project setup
|
|
4
|
+
```
|
|
5
|
+
npm install
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
### Compiles and hot-reloads for development
|
|
9
|
+
```
|
|
10
|
+
npm run serve
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Compiles and minifies for production
|
|
14
|
+
```
|
|
15
|
+
npm run build
|
|
16
|
+
```
|
|
17
|
+
|
package/package.json
CHANGED
|
@@ -1,62 +1,63 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "memorial-ui-component-library",
|
|
3
|
-
"description": "Memorial Health System Vue UI library.",
|
|
4
|
-
"private": false,
|
|
5
|
-
"version": "1.0
|
|
6
|
-
"author": "Solutions Development",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"serve": "vue-cli-service serve",
|
|
10
|
-
"build": "node build.js",
|
|
11
|
-
"build:lib": "vue-cli-service build --target lib --name memorial-ui-component-library --entry ./src/index.ts",
|
|
12
|
-
"lint": "vue-cli-service lint"
|
|
13
|
-
},
|
|
14
|
-
"main": "dist/memorial-ui-component-library.umd.min.js",
|
|
15
|
-
"module": "dist/memorial-ui-component-library.common.min.js",
|
|
16
|
-
"typings": "types/index.d.ts",
|
|
17
|
-
"files": [
|
|
18
|
-
"types/*",
|
|
19
|
-
"dist/*",
|
|
20
|
-
"src/assets/scss/*"
|
|
21
|
-
],
|
|
22
|
-
"unpkg": "dist/memorial-ui-component-library.umd.min.js",
|
|
23
|
-
"peerDependencies": {
|
|
24
|
-
"vue": "^2.6.10"
|
|
25
|
-
},
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"@fortawesome/fontawesome-svg-core": "^1.2.22",
|
|
28
|
-
"@fortawesome/free-regular-svg-icons": "^5.10.2",
|
|
29
|
-
"@fortawesome/free-solid-svg-icons": "^5.10.2",
|
|
30
|
-
"@fortawesome/vue-fontawesome": "^0.1.7",
|
|
31
|
-
"async-validator": "^1.11.5",
|
|
32
|
-
"core-js": "^3.8.3",
|
|
33
|
-
"
|
|
34
|
-
"vue
|
|
35
|
-
"vue-
|
|
36
|
-
"vue-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"@typescript-eslint/
|
|
41
|
-
"@
|
|
42
|
-
"@vue/cli-plugin-
|
|
43
|
-
"@vue/cli-plugin-
|
|
44
|
-
"@vue/cli-
|
|
45
|
-
"@vue/
|
|
46
|
-
"@vue/eslint-config-
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"eslint
|
|
51
|
-
"eslint-
|
|
52
|
-
"eslint-plugin-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"sass
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"vue-cli-plugin-
|
|
60
|
-
"vue-
|
|
61
|
-
|
|
62
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "memorial-ui-component-library",
|
|
3
|
+
"description": "Memorial Health System Vue UI library.",
|
|
4
|
+
"private": false,
|
|
5
|
+
"version": "1.1.0",
|
|
6
|
+
"author": "Solutions Development",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"serve": "vue-cli-service serve",
|
|
10
|
+
"build": "node build.js",
|
|
11
|
+
"build:lib": "vue-cli-service build --target lib --name memorial-ui-component-library --entry ./src/index.ts",
|
|
12
|
+
"lint": "vue-cli-service lint"
|
|
13
|
+
},
|
|
14
|
+
"main": "dist/memorial-ui-component-library.umd.min.js",
|
|
15
|
+
"module": "dist/memorial-ui-component-library.common.min.js",
|
|
16
|
+
"typings": "types/index.d.ts",
|
|
17
|
+
"files": [
|
|
18
|
+
"types/*",
|
|
19
|
+
"dist/*",
|
|
20
|
+
"src/assets/scss/*"
|
|
21
|
+
],
|
|
22
|
+
"unpkg": "dist/memorial-ui-component-library.umd.min.js",
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"vue": "^2.6.10"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@fortawesome/fontawesome-svg-core": "^1.2.22",
|
|
28
|
+
"@fortawesome/free-regular-svg-icons": "^5.10.2",
|
|
29
|
+
"@fortawesome/free-solid-svg-icons": "^5.10.2",
|
|
30
|
+
"@fortawesome/vue-fontawesome": "^0.1.7",
|
|
31
|
+
"async-validator": "^1.11.5",
|
|
32
|
+
"core-js": "^3.8.3",
|
|
33
|
+
"element-ui": "^2.4.11",
|
|
34
|
+
"vue": "^2.6.10",
|
|
35
|
+
"vue-class-component": "^7.2.3",
|
|
36
|
+
"vue-property-decorator": "^9.1.2",
|
|
37
|
+
"vue-spinner": "^1.0.3"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
41
|
+
"@typescript-eslint/parser": "^5.4.0",
|
|
42
|
+
"@vue/cli-plugin-babel": "~5.0.0",
|
|
43
|
+
"@vue/cli-plugin-eslint": "~5.0.0",
|
|
44
|
+
"@vue/cli-plugin-typescript": "~5.0.0",
|
|
45
|
+
"@vue/cli-service": "~5.0.0",
|
|
46
|
+
"@vue/eslint-config-prettier": "^4.0.1",
|
|
47
|
+
"@vue/eslint-config-typescript": "^9.1.0",
|
|
48
|
+
"babel-eslint": "^10.0.1",
|
|
49
|
+
"chalk": "^2.4.2",
|
|
50
|
+
"eslint": "^7.32.0",
|
|
51
|
+
"eslint-config-prettier": "^8.3.0",
|
|
52
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
53
|
+
"eslint-plugin-vue": "^8.0.3",
|
|
54
|
+
"prettier": "^2.4.1",
|
|
55
|
+
"sass": "^1.81",
|
|
56
|
+
"sass-loader": "^10",
|
|
57
|
+
"style-resources-loader": "^1.5.0",
|
|
58
|
+
"typescript": "~4.5.5",
|
|
59
|
+
"vue-cli-plugin-style-resources-loader": "^0.1.2",
|
|
60
|
+
"vue-cli-plugin-webpack-bundle-analyzer": "^1.4.0",
|
|
61
|
+
"vue-template-compiler": "^2.6.14"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
.fade-01 {
|
|
2
|
-
&-enter-active,
|
|
3
|
-
&-leave-active {
|
|
4
|
-
transition: all 0.1s ease;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
&-enter,
|
|
8
|
-
&-leave-to {
|
|
9
|
-
opacity: 0;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.fade-02 {
|
|
14
|
-
&-enter-active,
|
|
15
|
-
&-leave-active {
|
|
16
|
-
transition: all 0.2s ease;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&-enter,
|
|
20
|
-
&-leave-to {
|
|
21
|
-
opacity: 0;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.fade-03 {
|
|
26
|
-
&-enter-active,
|
|
27
|
-
&-leave-active {
|
|
28
|
-
transition: all 0.3s ease;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&-enter,
|
|
32
|
-
&-leave-to {
|
|
33
|
-
opacity: 0;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.rotate-01 {
|
|
38
|
-
&-enter-active,
|
|
39
|
-
&-leave-active {
|
|
40
|
-
transition: all 0.1s ease;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&-enter,
|
|
44
|
-
&-leave-to {
|
|
45
|
-
transform: rotate(50deg);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.rotate-02 {
|
|
50
|
-
&-enter-active,
|
|
51
|
-
&-leave-active {
|
|
52
|
-
transition: all 0.2s ease;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&-enter,
|
|
56
|
-
&-leave-to {
|
|
57
|
-
transform: rotate(140deg);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.rotate-03 {
|
|
62
|
-
&-enter-active,
|
|
63
|
-
&-leave-active {
|
|
64
|
-
transition: all 0.3s ease;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&-enter,
|
|
68
|
-
&-leave-to {
|
|
69
|
-
transform: rotate(180deg);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
1
|
+
.fade-01 {
|
|
2
|
+
&-enter-active,
|
|
3
|
+
&-leave-active {
|
|
4
|
+
transition: all 0.1s ease;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
&-enter,
|
|
8
|
+
&-leave-to {
|
|
9
|
+
opacity: 0;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.fade-02 {
|
|
14
|
+
&-enter-active,
|
|
15
|
+
&-leave-active {
|
|
16
|
+
transition: all 0.2s ease;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&-enter,
|
|
20
|
+
&-leave-to {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.fade-03 {
|
|
26
|
+
&-enter-active,
|
|
27
|
+
&-leave-active {
|
|
28
|
+
transition: all 0.3s ease;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&-enter,
|
|
32
|
+
&-leave-to {
|
|
33
|
+
opacity: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.rotate-01 {
|
|
38
|
+
&-enter-active,
|
|
39
|
+
&-leave-active {
|
|
40
|
+
transition: all 0.1s ease;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&-enter,
|
|
44
|
+
&-leave-to {
|
|
45
|
+
transform: rotate(50deg);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.rotate-02 {
|
|
50
|
+
&-enter-active,
|
|
51
|
+
&-leave-active {
|
|
52
|
+
transition: all 0.2s ease;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&-enter,
|
|
56
|
+
&-leave-to {
|
|
57
|
+
transform: rotate(140deg);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.rotate-03 {
|
|
62
|
+
&-enter-active,
|
|
63
|
+
&-leave-active {
|
|
64
|
+
transition: all 0.3s ease;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&-enter,
|
|
68
|
+
&-leave-to {
|
|
69
|
+
transform: rotate(180deg);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
$--transition-all: all .3s cubic-bezier(.645,.045,.355,1);
|
|
2
|
-
$--transition-all-ease: all .3s ease;
|
|
3
|
-
|
|
4
|
-
$--border-radius: 10px;
|
|
5
|
-
|
|
6
|
-
$--padding-base: 10px;
|
|
7
|
-
|
|
8
|
-
$--color-white: #ffffff;
|
|
9
|
-
$--color-black: #000000;
|
|
10
|
-
$--color-primary: #00284f;
|
|
11
|
-
$--color-secondary: #6EAFCC;
|
|
12
|
-
$--color-red-primary: #DE2414;
|
|
13
|
-
$--color-green-primary:#2cc197;
|
|
14
|
-
$--color-yellow-primary: #ffdd9a;
|
|
15
|
-
$--color-grey-primary: #e7e7e7;
|
|
16
|
-
$--color-grey-secondary: #9fa7b3;
|
|
17
|
-
|
|
18
|
-
$--color-font-default: #2c353f;
|
|
19
|
-
$--color-component-bg: $--color-grey-primary;
|
|
20
|
-
|
|
21
|
-
$--color-grey-focus: mix($--color-black, $--color-grey-primary, 10%);
|
|
22
|
-
|
|
23
|
-
$color--grey-primary: #f4f3f3;
|
|
24
|
-
$color--grey-light-1: #e7e7e8;
|
|
25
|
-
$color--grey-light-2: #d8d8d8;
|
|
26
|
-
$color--grey-light-3: #9fa7b3;
|
|
27
|
-
$color--grey-dark-1: #485563;
|
|
28
|
-
$color--grey-dark-2: #4a5562;
|
|
29
|
-
$color--grey-dark-3: #2c353f;
|
|
30
|
-
|
|
31
|
-
$--font-size-extra-large: 20px;
|
|
32
|
-
$--font-size-large: 18px;
|
|
33
|
-
$--font-size-medium: 16px;
|
|
34
|
-
$--font-size-base: 14px;
|
|
35
|
-
$--font-size-small: 13px;
|
|
36
|
-
$--font-size-extra-small: 12px;
|
|
37
|
-
|
|
38
|
-
// Primary - "#00284f";
|
|
39
|
-
// Primary Light - "#37507b";
|
|
40
|
-
// Primary Dark - "#000027";
|
|
41
|
-
// Secondary - "#6eafcc";
|
|
42
|
-
// Secondary Light - "#a0e1ff";
|
|
43
|
-
// Secondary Dark - "#3b809b";
|
|
44
|
-
|
|
45
|
-
:export {
|
|
46
|
-
paddingPx: 10;
|
|
47
|
-
colorWhite: $--color-white;
|
|
48
|
-
colorBlack: $--color-black;
|
|
49
|
-
colorPrimary: $--color-primary;
|
|
50
|
-
colorGreenPrimary: $--color-green-primary;
|
|
51
|
-
colorYellowPrimary: $--color-yellow-primary;
|
|
52
|
-
colorGreyPrimary: $--color-grey-primary;
|
|
53
|
-
colorGreySecondary: $--color-grey-secondary;
|
|
54
|
-
colorGreyAccent: $--color-grey-focus;
|
|
55
|
-
colorComponentBG: $--color-component-bg;
|
|
56
|
-
}
|
|
1
|
+
$--transition-all: all .3s cubic-bezier(.645,.045,.355,1);
|
|
2
|
+
$--transition-all-ease: all .3s ease;
|
|
3
|
+
|
|
4
|
+
$--border-radius: 10px;
|
|
5
|
+
|
|
6
|
+
$--padding-base: 10px;
|
|
7
|
+
|
|
8
|
+
$--color-white: #ffffff;
|
|
9
|
+
$--color-black: #000000;
|
|
10
|
+
$--color-primary: #00284f;
|
|
11
|
+
$--color-secondary: #6EAFCC;
|
|
12
|
+
$--color-red-primary: #DE2414;
|
|
13
|
+
$--color-green-primary:#2cc197;
|
|
14
|
+
$--color-yellow-primary: #ffdd9a;
|
|
15
|
+
$--color-grey-primary: #e7e7e7;
|
|
16
|
+
$--color-grey-secondary: #9fa7b3;
|
|
17
|
+
|
|
18
|
+
$--color-font-default: #2c353f;
|
|
19
|
+
$--color-component-bg: $--color-grey-primary;
|
|
20
|
+
|
|
21
|
+
$--color-grey-focus: mix($--color-black, $--color-grey-primary, 10%);
|
|
22
|
+
|
|
23
|
+
$color--grey-primary: #f4f3f3;
|
|
24
|
+
$color--grey-light-1: #e7e7e8;
|
|
25
|
+
$color--grey-light-2: #d8d8d8;
|
|
26
|
+
$color--grey-light-3: #9fa7b3;
|
|
27
|
+
$color--grey-dark-1: #485563;
|
|
28
|
+
$color--grey-dark-2: #4a5562;
|
|
29
|
+
$color--grey-dark-3: #2c353f;
|
|
30
|
+
|
|
31
|
+
$--font-size-extra-large: 20px;
|
|
32
|
+
$--font-size-large: 18px;
|
|
33
|
+
$--font-size-medium: 16px;
|
|
34
|
+
$--font-size-base: 14px;
|
|
35
|
+
$--font-size-small: 13px;
|
|
36
|
+
$--font-size-extra-small: 12px;
|
|
37
|
+
|
|
38
|
+
// Primary - "#00284f";
|
|
39
|
+
// Primary Light - "#37507b";
|
|
40
|
+
// Primary Dark - "#000027";
|
|
41
|
+
// Secondary - "#6eafcc";
|
|
42
|
+
// Secondary Light - "#a0e1ff";
|
|
43
|
+
// Secondary Dark - "#3b809b";
|
|
44
|
+
|
|
45
|
+
:export {
|
|
46
|
+
paddingPx: 10;
|
|
47
|
+
colorWhite: $--color-white;
|
|
48
|
+
colorBlack: $--color-black;
|
|
49
|
+
colorPrimary: $--color-primary;
|
|
50
|
+
colorGreenPrimary: $--color-green-primary;
|
|
51
|
+
colorYellowPrimary: $--color-yellow-primary;
|
|
52
|
+
colorGreyPrimary: $--color-grey-primary;
|
|
53
|
+
colorGreySecondary: $--color-grey-secondary;
|
|
54
|
+
colorGreyAccent: $--color-grey-focus;
|
|
55
|
+
colorComponentBG: $--color-component-bg;
|
|
56
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// @import url('https://fonts.googleapis.com/css?family=Lato&display=swap');
|
|
2
|
-
|
|
3
|
-
* {
|
|
4
|
-
font-family: '
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.aria-instructions-hidden {
|
|
8
|
-
max-height: 0;
|
|
9
|
-
max-width: 0;
|
|
10
|
-
opacity: 0;
|
|
11
|
-
position: absolute;
|
|
12
|
-
}
|
|
1
|
+
// @import url('https://fonts.googleapis.com/css?family=Lato&display=swap');
|
|
2
|
+
|
|
3
|
+
* {
|
|
4
|
+
font-family: 'Montserrat';
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.aria-instructions-hidden {
|
|
8
|
+
max-height: 0;
|
|
9
|
+
max-width: 0;
|
|
10
|
+
opacity: 0;
|
|
11
|
+
position: absolute;
|
|
12
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
@mixin scrollbar {
|
|
2
|
-
|
|
3
|
-
&::-webkit-scrollbar {
|
|
4
|
-
width: 14px;
|
|
5
|
-
height: 14px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
&::-webkit-scrollbar-button {
|
|
9
|
-
width: 0;
|
|
10
|
-
height: 0;
|
|
11
|
-
display: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&::-webkit-scrollbar-corner {
|
|
15
|
-
background-color: transparent;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&::-webkit-scrollbar-track {
|
|
19
|
-
border: 4px solid $--color-component-bg;
|
|
20
|
-
background-color: $--color-component-bg;
|
|
21
|
-
border-radius: 10px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&::-webkit-scrollbar-thumb {
|
|
25
|
-
height: 6px;
|
|
26
|
-
width: 6px;
|
|
27
|
-
border: 4px solid $--color-component-bg;
|
|
28
|
-
background-clip: padding-box;
|
|
29
|
-
border-radius: 10px;
|
|
30
|
-
background-color: $color--grey-light-3;
|
|
31
|
-
box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
1
|
+
@mixin scrollbar {
|
|
2
|
+
|
|
3
|
+
&::-webkit-scrollbar {
|
|
4
|
+
width: 14px;
|
|
5
|
+
height: 14px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&::-webkit-scrollbar-button {
|
|
9
|
+
width: 0;
|
|
10
|
+
height: 0;
|
|
11
|
+
display: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&::-webkit-scrollbar-corner {
|
|
15
|
+
background-color: transparent;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&::-webkit-scrollbar-track {
|
|
19
|
+
border: 4px solid $--color-component-bg;
|
|
20
|
+
background-color: $--color-component-bg;
|
|
21
|
+
border-radius: 10px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&::-webkit-scrollbar-thumb {
|
|
25
|
+
height: 6px;
|
|
26
|
+
width: 6px;
|
|
27
|
+
border: 4px solid $--color-component-bg;
|
|
28
|
+
background-clip: padding-box;
|
|
29
|
+
border-radius: 10px;
|
|
30
|
+
background-color: $color--grey-light-3;
|
|
31
|
+
box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
|
|
32
|
+
}
|
|
33
|
+
}
|