@stackline/angular-multiselect-dropdown 2.0.4 → 2.0.5

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/package.json CHANGED
@@ -1,116 +1,69 @@
1
1
  {
2
+ "$schema": "../../../node_modules/ng-packagr/package.schema.json",
2
3
  "name": "@stackline/angular-multiselect-dropdown",
3
- "version": "2.0.4",
4
- "description": "Angular 2 compatible multiselect dropdown for the Stackline maintained Angular release line.",
4
+ "version": "2.0.5",
5
+ "license": "MIT",
6
+ "author": "Pradeep Terli (Original), Alexandro Paixao Marques (Maintainer)",
7
+ "description": "Angular multiselect dropdown for maintained release lines from Angular 2 through Angular 21, with search, grouping, custom templates, checkbox selection, reactive and template-driven forms support, and Material-inspired theming from Angular 14 onward.",
5
8
  "keywords": [
6
9
  "angular",
7
- "angular2",
8
- "angular 2",
10
+ "angular-library",
11
+ "angular-component",
9
12
  "angular-multiselect-dropdown",
13
+ "angular multiselect dropdown",
14
+ "angular-multiselect",
10
15
  "angular multiselect",
11
- "angular dropdown",
16
+ "angular-select",
17
+ "angular multi select",
12
18
  "multiselect",
13
19
  "multiselect-dropdown",
20
+ "multi-select",
14
21
  "dropdown",
15
22
  "select",
23
+ "dropdown-search",
24
+ "checkbox-dropdown",
25
+ "checkbox multiselect",
26
+ "searchable-dropdown",
27
+ "select-all",
28
+ "dropdown-with-search",
16
29
  "search-filter",
17
30
  "group-by",
31
+ "grouped-dropdown",
18
32
  "custom-templates",
19
33
  "template-driven-forms",
20
34
  "reactive-forms",
21
- "stackline"
35
+ "ngmodel",
36
+ "formcontrolname",
37
+ "forms",
38
+ "ui-component",
39
+ "material-inspired",
40
+ "material-like",
41
+ "theming",
42
+ "scss-theme",
43
+ "css-theme",
44
+ "legacy-angular",
45
+ "angular-compatibility",
46
+ "angular21",
47
+ "angular20",
48
+ "angular19",
49
+ "angular14",
50
+ "angular2-multiselect",
51
+ "angular2-multiselect-dropdown",
52
+ "migration-friendly",
53
+ "maintained",
54
+ "ngx",
55
+ "ngx-multiselect",
56
+ "virtual-scroll"
22
57
  ],
23
- "license": "MIT",
24
- "angular-cli": {},
25
- "author": "Pradeep Terli",
26
- "scripts": {
27
- "ng": "ng",
28
- "start": "ng serve",
29
- "e2e": "ng e2e",
30
- "build": "npm run build:esm && npm run build:umd && gulp copy",
31
- "build:esm": "gulp inline-templates && npm run ngcompile",
32
- "build:esm:watch": "gulp build:esm:watch",
33
- "build:umd": "webpack --config webpack-umd.config.ts",
34
- "build:umd:watch": "npm run build:umd -- --watch",
35
- "build:watch": "concurrently --raw \"npm run build:umd:watch\" \"npm run build:esm:watch\"",
36
- "ci": "npm run lint && npm run test && npm run build && npm run docs",
37
- "clean:all": "npm run clean:tmp && rimraf node_modules",
38
- "clean:tmp": "rimraf coverage dist tmp docs",
39
- "codecov": "cat coverage/lcov.info | codecov",
40
- "docs": "compodoc -p tsconfig.json -d docs --disableCoverage --disablePrivateOrInternalSupport",
41
- "explorer": "source-map-explorer ./dist/index.umd.js",
42
- "gh-pages": "rimraf docs && npm run docs && gh-pages -d docs",
43
- "lint": "npm run tslint 'src/**/*.ts'",
44
- "ngcompile": "node_modules/.bin/ngc -p tsconfig-aot.json",
45
- "postversion": "git push && git push --tags",
46
- "prebuild": "rimraf dist tmp",
47
- "prebuild:watch": "rimraf dist tmp",
48
- "preversion": "npm run ci",
49
- "test": "karma start",
50
- "test:watch": "karma start --auto-watch --no-single-run",
51
- "tslint": "tslint",
52
- "github-pages": "ng build --base-href /angular2-multiselect-dropdown/"
58
+ "homepage": "https://alexandro.net/docs/angular/multiselect/",
59
+ "peerDependencies": {
60
+ "@angular/core": ">=2.0.0 <3.0.0",
61
+ "@angular/forms": ">=2.0.0 <3.0.0",
62
+ "@angular/common": ">=2.0.0 <3.0.0"
53
63
  },
54
- "private": false,
55
64
  "dependencies": {
56
- "font-awesome": "*"
57
- },
58
- "devDependencies": {
59
- "@angular/common": "^4.0.0",
60
- "@angular/compiler": "^4.0.0",
61
- "@angular/compiler-cli": "^4.0.0",
62
- "@angular/animations": "^4.0.0",
63
- "@angular/cli": "^1.3.2",
64
- "@angular/core": "^4.0.0",
65
- "@angular/forms": "^4.0.0",
66
- "@angular/http": "^4.0.0",
67
- "@angular/platform-browser": "^4.0.0",
68
- "@angular/platform-browser-dynamic": "^4.0.0",
69
- "@angular/router": "^4.0.0",
70
- "@compodoc/compodoc": "^1.0.0-beta.9",
71
- "@types/jasmine": "^2.5.47",
72
- "@types/karma": "^0.13.35",
73
- "@types/node": "^7.0.18",
74
- "@types/webpack": "^2.2.15",
75
- "@types/webpack-env": "^1.13.0",
76
- "angular2-template-loader": "^0.6.2",
77
- "awesome-typescript-loader": "^3.1.3",
78
- "codecov": "^2.2.0",
79
- "codelyzer": "^3.0.1",
80
- "concurrently": "^3.4.0",
81
- "css-loader": "^0.28.1",
82
- "gh-pages": "^1.0.0",
83
- "gulp": "^3.9.1",
84
- "gulp-copy": "^1.0.1",
85
- "gulp-inline-ng2-template": "^4.0.0",
86
- "istanbul-instrumenter-loader": "^2.0.0",
87
- "jasmine-core": "^2.6.1",
88
- "json-loader": "^0.5.4",
89
- "@types/log4js": "0.0.33",
90
- "karma": "^1.7.0",
91
- "karma-chrome-launcher": "^2.1.1",
92
- "karma-coverage-istanbul-reporter": "^1.2.1",
93
- "karma-jasmine": "^1.1.0",
94
- "karma-mocha-reporter": "^2.2.3",
95
- "karma-sourcemap-loader": "^0.3.7",
96
- "karma-webpack": "^2.0.3",
97
- "node-sass": "^4.5.2",
98
- "raw-loader": "^0.5.1",
99
- "rimraf": "2.6.1",
100
- "rxjs": "^5.3.1",
101
- "sass-loader": "^6.0.5",
102
- "source-map-explorer": "^1.3.3",
103
- "to-string-loader": "^1.1.5",
104
- "ts-node": "^3.0.4",
105
- "tslint": "^5.2.0",
106
- "typescript": "^2.3.2",
107
- "webpack": "^2.5.1",
108
- "webpack-angular-externals": "^1.0.2",
109
- "webpack-rxjs-externals": "^1.0.0",
110
- "zone.js": "^0.8.10",
111
- "ng2-gist": "*",
112
- "primeng": "*",
113
- "bootstrap": "^4.0.0-beta.2"
65
+ "@tweenjs/tween.js": "^17.4.0",
66
+ "tslib": "^2.3.0"
114
67
  },
115
68
  "repository": {
116
69
  "type": "git",
@@ -119,12 +72,20 @@
119
72
  "bugs": {
120
73
  "url": "https://github.com/alexandroit/angular-multiselect-dropdown/issues"
121
74
  },
122
- "main": "angular2-multiselect-dropdown.ts",
123
- "types": "angular2-multiselect-dropdown.ts",
124
- "peerDependencies": {
125
- "@angular/common": ">=2.0.0 <3.0.0",
126
- "@angular/core": ">=2.0.0 <3.0.0",
127
- "@angular/forms": ">=2.0.0 <3.0.0"
75
+ "engines": {
76
+ "node": ">=20.19.0"
77
+ },
78
+ "module": "fesm2022/stackline-angular-multiselect-dropdown.mjs",
79
+ "typings": "types/stackline-angular-multiselect-dropdown.d.ts",
80
+ "exports": {
81
+ "./package.json": {
82
+ "default": "./package.json"
83
+ },
84
+ ".": {
85
+ "types": "./types/stackline-angular-multiselect-dropdown.d.ts",
86
+ "default": "./fesm2022/stackline-angular-multiselect-dropdown.mjs"
87
+ }
128
88
  },
129
- "homepage": "https://alexandro.net/docs/angular/multiselect/"
89
+ "sideEffects": false,
90
+ "type": "module"
130
91
  }
@@ -0,0 +1,202 @@
1
+ /*
2
+ Custom theme starter for @stackline/angular-multiselect-dropdown.
3
+
4
+ Copy this file into your application and edit the values below when you want
5
+ full control over the dropdown look without touching the library source.
6
+ */
7
+ .stackline-dropdown {
8
+ --ms-primary: #3f51b5;
9
+ --ms-primary-soft: rgba(63, 81, 181, 0.12);
10
+ --ms-surface: #ffffff;
11
+ --ms-surface-soft: #f5f7fb;
12
+ --ms-surface-muted: #e8eaf6;
13
+ --ms-outline: #c5cae9;
14
+ --ms-outline-strong: #7986cb;
15
+ --ms-on-surface: #212121;
16
+ --ms-on-surface-muted: #5f6368;
17
+ --ms-chip-bg: #e8eaf6;
18
+ --ms-chip-text: #303f9f;
19
+ --ms-chip-remove: #303f9f;
20
+ --ms-shadow: 0 1px 2px rgba(33, 33, 33, 0.16), 0 12px 32px rgba(63, 81, 181, 0.12);
21
+ --ms-shadow-soft: 0 1px 2px rgba(33, 33, 33, 0.12), 0 4px 12px rgba(33, 33, 33, 0.08);
22
+ }
23
+
24
+ .stackline-dropdown .c-btn {
25
+ min-height: 56px;
26
+ padding: 11px 54px 11px 16px;
27
+ border-radius: 18px;
28
+ background: var(--ms-surface);
29
+ border: 1px solid var(--ms-outline);
30
+ color: var(--ms-on-surface);
31
+ box-shadow: var(--ms-shadow-soft);
32
+ }
33
+
34
+ .stackline-dropdown .c-btn:hover {
35
+ border-color: var(--ms-outline-strong);
36
+ }
37
+
38
+ .stackline-dropdown .c-btn.is-active {
39
+ border-color: var(--ms-primary);
40
+ box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.14), var(--ms-shadow-soft);
41
+ }
42
+
43
+ .stackline-dropdown .c-placeholder,
44
+ .stackline-dropdown .c-single-value,
45
+ .stackline-dropdown .countplaceholder,
46
+ .stackline-dropdown .c-angle-down,
47
+ .stackline-dropdown .c-angle-up,
48
+ .stackline-dropdown .clear-all {
49
+ color: var(--ms-on-surface-muted);
50
+ }
51
+
52
+ .stackline-dropdown .c-chip-list {
53
+ gap: 8px;
54
+ }
55
+
56
+ .stackline-dropdown .c-token {
57
+ display: inline-block;
58
+ vertical-align: middle;
59
+ min-height: 32px;
60
+ max-width: 100%;
61
+ padding: 6px 30px 6px 12px;
62
+ border-radius: 999px;
63
+ background: var(--ms-chip-bg);
64
+ color: var(--ms-chip-text);
65
+ box-shadow: inset 0 0 0 1px rgba(63, 81, 181, 0.08);
66
+ line-height: 1.35;
67
+ white-space: normal;
68
+ overflow-wrap: anywhere;
69
+ }
70
+
71
+ .stackline-dropdown .c-remove {
72
+ color: inherit;
73
+ }
74
+
75
+ .stackline-dropdown .c-token .c-label {
76
+ max-width: 100%;
77
+ color: inherit;
78
+ white-space: normal;
79
+ overflow-wrap: anywhere;
80
+ }
81
+
82
+ .stackline-dropdown .list-area {
83
+ border-radius: 22px;
84
+ background: var(--ms-surface);
85
+ border: 1px solid var(--ms-outline);
86
+ box-shadow: var(--ms-shadow);
87
+ }
88
+
89
+ .stackline-dropdown .select-all,
90
+ .stackline-dropdown .filter-select-all {
91
+ background: var(--ms-surface-soft);
92
+ border-bottom: 1px solid rgba(121, 134, 203, 0.16);
93
+ }
94
+
95
+ .stackline-dropdown .list-filter {
96
+ min-height: 52px;
97
+ padding-left: 48px;
98
+ padding-right: 44px;
99
+ background: var(--ms-surface);
100
+ border-bottom: 1px solid rgba(121, 134, 203, 0.16);
101
+ }
102
+
103
+ .stackline-dropdown .list-filter .c-input,
104
+ .stackline-dropdown .list-filter input {
105
+ color: var(--ms-on-surface);
106
+ }
107
+
108
+ .stackline-dropdown .list-filter .c-input::placeholder,
109
+ .stackline-dropdown .list-filter input::placeholder,
110
+ .stackline-dropdown .list-filter .c-search,
111
+ .stackline-dropdown .list-filter .c-clear {
112
+ color: var(--ms-on-surface-muted);
113
+ }
114
+
115
+ .stackline-dropdown .btn-iceblue {
116
+ width: 100%;
117
+ min-height: 40px;
118
+ border-radius: 999px;
119
+ border: 1px solid transparent;
120
+ background: var(--ms-primary);
121
+ color: #ffffff;
122
+ font-weight: 600;
123
+ }
124
+
125
+ .stackline-dropdown .dropdown-list ul {
126
+ padding: 8px;
127
+ }
128
+
129
+ .stackline-dropdown .dropdown-list ul li {
130
+ min-height: 0;
131
+ margin: 4px;
132
+ padding: 12px 14px;
133
+ border-radius: 14px;
134
+ color: var(--ms-on-surface);
135
+ line-height: 1.35;
136
+ }
137
+
138
+ .stackline-dropdown .dropdown-list ul li:hover {
139
+ background: var(--ms-surface-soft);
140
+ }
141
+
142
+ .stackline-dropdown .selected-item {
143
+ background: var(--ms-primary-soft) !important;
144
+ color: var(--ms-primary);
145
+ }
146
+
147
+ .stackline-dropdown .grp-title {
148
+ color: var(--ms-on-surface-muted);
149
+ }
150
+
151
+ .stackline-dropdown .grp-title label,
152
+ .stackline-dropdown .list-grp h4 {
153
+ letter-spacing: 0.08em;
154
+ text-transform: uppercase;
155
+ }
156
+
157
+ .stackline-dropdown .pure-checkbox input[type=checkbox] + label {
158
+ padding-left: 32px;
159
+ color: inherit;
160
+ font-weight: 500;
161
+ }
162
+
163
+ .stackline-dropdown .pure-checkbox input[type=checkbox] + label::before {
164
+ width: 18px;
165
+ height: 18px;
166
+ margin-top: -10px;
167
+ border: 2px solid var(--ms-outline-strong);
168
+ border-radius: 6px;
169
+ background: var(--ms-surface);
170
+ }
171
+
172
+ .stackline-dropdown .pure-checkbox input[type=checkbox] + label::after {
173
+ left: 5px;
174
+ width: 7px;
175
+ height: 3px;
176
+ margin-top: -3px;
177
+ border-width: 0 0 2px 2px;
178
+ border-color: #ffffff;
179
+ }
180
+
181
+ .stackline-dropdown .pure-checkbox input[type=checkbox]:focus + label::before,
182
+ .stackline-dropdown .pure-checkbox input[type=checkbox]:hover + label::before {
183
+ border-color: var(--ms-primary);
184
+ box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.12);
185
+ }
186
+
187
+ .stackline-dropdown .pure-checkbox input[type=checkbox]:checked + label::before {
188
+ border-color: var(--ms-primary);
189
+ background: var(--ms-primary);
190
+ }
191
+
192
+ .stackline-dropdown .list-message,
193
+ .stackline-dropdown .nodata-label {
194
+ color: var(--ms-on-surface-muted);
195
+ }
196
+
197
+ .stackline-dropdown .loading-icon {
198
+ width: 18px;
199
+ top: 18px;
200
+ right: 16px;
201
+ }
202
+
@@ -0,0 +1,202 @@
1
+ /*
2
+ Custom theme starter for @stackline/angular-multiselect-dropdown.
3
+
4
+ Copy this file into your application and edit the values below when you want
5
+ full control over the dropdown look without touching the library source.
6
+ */
7
+
8
+ .stackline-dropdown {
9
+ --ms-primary: #3f51b5;
10
+ --ms-primary-soft: rgba(63, 81, 181, 0.12);
11
+ --ms-surface: #ffffff;
12
+ --ms-surface-soft: #f5f7fb;
13
+ --ms-surface-muted: #e8eaf6;
14
+ --ms-outline: #c5cae9;
15
+ --ms-outline-strong: #7986cb;
16
+ --ms-on-surface: #212121;
17
+ --ms-on-surface-muted: #5f6368;
18
+ --ms-chip-bg: #e8eaf6;
19
+ --ms-chip-text: #303f9f;
20
+ --ms-chip-remove: #303f9f;
21
+ --ms-shadow: 0 1px 2px rgba(33, 33, 33, 0.16), 0 12px 32px rgba(63, 81, 181, 0.12);
22
+ --ms-shadow-soft: 0 1px 2px rgba(33, 33, 33, 0.12), 0 4px 12px rgba(33, 33, 33, 0.08);
23
+ }
24
+
25
+ .stackline-dropdown .c-btn {
26
+ min-height: 56px;
27
+ padding: 11px 54px 11px 16px;
28
+ border-radius: 18px;
29
+ background: var(--ms-surface);
30
+ border: 1px solid var(--ms-outline);
31
+ color: var(--ms-on-surface);
32
+ box-shadow: var(--ms-shadow-soft);
33
+ }
34
+
35
+ .stackline-dropdown .c-btn:hover {
36
+ border-color: var(--ms-outline-strong);
37
+ }
38
+
39
+ .stackline-dropdown .c-btn.is-active {
40
+ border-color: var(--ms-primary);
41
+ box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.14), var(--ms-shadow-soft);
42
+ }
43
+
44
+ .stackline-dropdown .c-placeholder,
45
+ .stackline-dropdown .c-single-value,
46
+ .stackline-dropdown .countplaceholder,
47
+ .stackline-dropdown .c-angle-down,
48
+ .stackline-dropdown .c-angle-up,
49
+ .stackline-dropdown .clear-all {
50
+ color: var(--ms-on-surface-muted);
51
+ }
52
+
53
+ .stackline-dropdown .c-chip-list {
54
+ gap: 8px;
55
+ }
56
+
57
+ .stackline-dropdown .c-token {
58
+ display: inline-block;
59
+ vertical-align: middle;
60
+ min-height: 32px;
61
+ max-width: 100%;
62
+ padding: 6px 30px 6px 12px;
63
+ border-radius: 999px;
64
+ background: var(--ms-chip-bg);
65
+ color: var(--ms-chip-text);
66
+ box-shadow: inset 0 0 0 1px rgba(63, 81, 181, 0.08);
67
+ line-height: 1.35;
68
+ white-space: normal;
69
+ overflow-wrap: anywhere;
70
+ }
71
+
72
+ .stackline-dropdown .c-remove {
73
+ color: inherit;
74
+ }
75
+
76
+ .stackline-dropdown .c-token .c-label {
77
+ max-width: 100%;
78
+ color: inherit;
79
+ white-space: normal;
80
+ overflow-wrap: anywhere;
81
+ }
82
+
83
+ .stackline-dropdown .list-area {
84
+ border-radius: 22px;
85
+ background: var(--ms-surface);
86
+ border: 1px solid var(--ms-outline);
87
+ box-shadow: var(--ms-shadow);
88
+ }
89
+
90
+ .stackline-dropdown .select-all,
91
+ .stackline-dropdown .filter-select-all {
92
+ background: var(--ms-surface-soft);
93
+ border-bottom: 1px solid rgba(121, 134, 203, 0.16);
94
+ }
95
+
96
+ .stackline-dropdown .list-filter {
97
+ min-height: 52px;
98
+ padding-left: 48px;
99
+ padding-right: 44px;
100
+ background: var(--ms-surface);
101
+ border-bottom: 1px solid rgba(121, 134, 203, 0.16);
102
+ }
103
+
104
+ .stackline-dropdown .list-filter .c-input,
105
+ .stackline-dropdown .list-filter input {
106
+ color: var(--ms-on-surface);
107
+ }
108
+
109
+ .stackline-dropdown .list-filter .c-input::placeholder,
110
+ .stackline-dropdown .list-filter input::placeholder,
111
+ .stackline-dropdown .list-filter .c-search,
112
+ .stackline-dropdown .list-filter .c-clear {
113
+ color: var(--ms-on-surface-muted);
114
+ }
115
+
116
+ .stackline-dropdown .btn-iceblue {
117
+ width: 100%;
118
+ min-height: 40px;
119
+ border-radius: 999px;
120
+ border: 1px solid transparent;
121
+ background: var(--ms-primary);
122
+ color: #ffffff;
123
+ font-weight: 600;
124
+ }
125
+
126
+ .stackline-dropdown .dropdown-list ul {
127
+ padding: 8px;
128
+ }
129
+
130
+ .stackline-dropdown .dropdown-list ul li {
131
+ min-height: 0;
132
+ margin: 4px;
133
+ padding: 12px 14px;
134
+ border-radius: 14px;
135
+ color: var(--ms-on-surface);
136
+ line-height: 1.35;
137
+ }
138
+
139
+ .stackline-dropdown .dropdown-list ul li:hover {
140
+ background: var(--ms-surface-soft);
141
+ }
142
+
143
+ .stackline-dropdown .selected-item {
144
+ background: var(--ms-primary-soft) !important;
145
+ color: var(--ms-primary);
146
+ }
147
+
148
+ .stackline-dropdown .grp-title {
149
+ color: var(--ms-on-surface-muted);
150
+ }
151
+
152
+ .stackline-dropdown .grp-title label,
153
+ .stackline-dropdown .list-grp h4 {
154
+ letter-spacing: 0.08em;
155
+ text-transform: uppercase;
156
+ }
157
+
158
+ .stackline-dropdown .pure-checkbox input[type="checkbox"] + label {
159
+ padding-left: 32px;
160
+ color: inherit;
161
+ font-weight: 500;
162
+ }
163
+
164
+ .stackline-dropdown .pure-checkbox input[type="checkbox"] + label::before {
165
+ width: 18px;
166
+ height: 18px;
167
+ margin-top: -10px;
168
+ border: 2px solid var(--ms-outline-strong);
169
+ border-radius: 6px;
170
+ background: var(--ms-surface);
171
+ }
172
+
173
+ .stackline-dropdown .pure-checkbox input[type="checkbox"] + label::after {
174
+ left: 5px;
175
+ width: 7px;
176
+ height: 3px;
177
+ margin-top: -3px;
178
+ border-width: 0 0 2px 2px;
179
+ border-color: #ffffff;
180
+ }
181
+
182
+ .stackline-dropdown .pure-checkbox input[type="checkbox"]:focus + label::before,
183
+ .stackline-dropdown .pure-checkbox input[type="checkbox"]:hover + label::before {
184
+ border-color: var(--ms-primary);
185
+ box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.12);
186
+ }
187
+
188
+ .stackline-dropdown .pure-checkbox input[type="checkbox"]:checked + label::before {
189
+ border-color: var(--ms-primary);
190
+ background: var(--ms-primary);
191
+ }
192
+
193
+ .stackline-dropdown .list-message,
194
+ .stackline-dropdown .nodata-label {
195
+ color: var(--ms-on-surface-muted);
196
+ }
197
+
198
+ .stackline-dropdown .loading-icon {
199
+ width: 18px;
200
+ top: 18px;
201
+ right: 16px;
202
+ }
@@ -0,0 +1,113 @@
1
+
2
+ $base-color: #000000;
3
+ $btn-background: #fff;
4
+ $btn-border: #ccc;
5
+ $btn-text-color: #333;
6
+ $btn-arrow: #333;
7
+
8
+
9
+ $token-background: $base-color;
10
+ $token-text-color: #fff;
11
+ $token-remove-color: #fff;
12
+
13
+ $box-shadow-color: #959595;
14
+ $list-hover-background: #f5f5f5;
15
+ $label-color: #000;
16
+ $selected-background: #e9f4ff;
17
+
18
+ .c-btn{
19
+ background: $btn-background;
20
+ border: 1px solid $btn-border;
21
+ color: $btn-text-color;
22
+ }
23
+ .selected-list{
24
+ .c-list{
25
+ .c-token{
26
+ background: $token-background;
27
+ .c-label{
28
+ color: $token-text-color;
29
+ }
30
+ .c-remove {
31
+ svg {
32
+ fill: $token-remove-color;
33
+ }
34
+ }
35
+
36
+ }
37
+ }
38
+ .c-angle-down, .c-angle-up{
39
+ svg {
40
+ fill: $btn-arrow;
41
+ }
42
+ }
43
+ }
44
+ .dropdown-list{
45
+ ul{
46
+ li:hover{
47
+ background: $list-hover-background;
48
+ }
49
+ }
50
+ }
51
+ .arrow-up, .arrow-down {
52
+ border-bottom: 15px solid #fff;
53
+ }
54
+
55
+ .arrow-2{
56
+ border-bottom: 15px solid #ccc;
57
+ }
58
+ .list-area{
59
+ border: 1px solid #ccc;
60
+ background: #fff;
61
+ box-shadow: 0px 1px 5px $box-shadow-color;
62
+ }
63
+ .select-all{
64
+ border-bottom: 1px solid #ccc;
65
+ }
66
+ .list-filter{
67
+ border-bottom: 1px solid #ccc;
68
+ .c-search{
69
+ svg {
70
+ fill: #888;
71
+ }
72
+ }
73
+ .c-clear {
74
+ svg {
75
+ fill: #888;
76
+ }
77
+ }
78
+ }
79
+
80
+ .pure-checkbox {
81
+ input[type="checkbox"]:focus + label:before, input[type="checkbox"]:hover + label:before{
82
+ border-color: $base-color;
83
+ background-color: #f2f2f2;
84
+ }
85
+ input[type="checkbox"] + label{
86
+ color: $label-color;
87
+ }
88
+ input[type="checkbox"] + label:before{
89
+ color: $base-color;
90
+ border: 2px solid $base-color;
91
+ }
92
+ input[type="checkbox"] + label:after{
93
+ background-color: $base-color;
94
+ }
95
+ input[type="checkbox"]:disabled + label:before{
96
+ border-color: #cccccc;
97
+ }
98
+ input[type="checkbox"]:disabled:checked + label:before{
99
+ background-color: #cccccc;
100
+ }
101
+ input[type="checkbox"] + label:after{
102
+ border-color: #ffffff;
103
+ }
104
+ input[type="radio"]:checked + label:before{
105
+ background-color: white;
106
+ }
107
+ input[type="checkbox"]:checked + label:before{
108
+ background: $base-color;
109
+ }
110
+ }
111
+ .selected-item{
112
+ background: $selected-background;
113
+ }