@materializecss/materialize 2.1.0 → 2.2.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 +7 -14
- package/dist/materialize-src-v2.2.0.zip +0 -0
- package/dist/materialize-v2.2.0.zip +0 -0
- package/package.json +27 -25
- package/sass/components/_badges.scss +5 -0
- package/sass/components/_buttons.scss +44 -12
- package/sass/components/_cards.scss +18 -6
- package/sass/components/_chips.scss +9 -3
- package/sass/components/_collapsible.scss +12 -6
- package/sass/components/_datepicker.scss +6 -0
- package/sass/components/_dropdown.scss +11 -8
- package/sass/components/_grid.scss +11 -9
- package/sass/components/_modal.scss +32 -65
- package/sass/components/_tabs.scss +31 -5
- package/sass/components/_tapTarget.scss +2 -2
- package/sass/components/_timepicker.scss +95 -23
- package/sass/components/forms/_input-fields.scss +53 -23
- package/sass/components/forms/_select.scss +2 -22
- package/dist/css/materialize.css +0 -9246
- package/dist/css/materialize.min.css +0 -6
- package/dist/js/materialize.js +0 -7714
- package/dist/js/materialize.min.js +0 -7
- package/dist/js/materialize.min.js.map +0 -1
- package/dist/src/autocomplete.d.ts +0 -143
- package/dist/src/autocomplete.d.ts.map +0 -1
- package/dist/src/bounding.d.ts +0 -7
- package/dist/src/bounding.d.ts.map +0 -1
- package/dist/src/buttons.d.ts +0 -65
- package/dist/src/buttons.d.ts.map +0 -1
- package/dist/src/cards.d.ts +0 -4
- package/dist/src/cards.d.ts.map +0 -1
- package/dist/src/carousel.d.ts +0 -131
- package/dist/src/carousel.d.ts.map +0 -1
- package/dist/src/characterCounter.d.ts +0 -37
- package/dist/src/characterCounter.d.ts.map +0 -1
- package/dist/src/chips.d.ts +0 -131
- package/dist/src/chips.d.ts.map +0 -1
- package/dist/src/collapsible.d.ts +0 -75
- package/dist/src/collapsible.d.ts.map +0 -1
- package/dist/src/component.d.ts +0 -74
- package/dist/src/component.d.ts.map +0 -1
- package/dist/src/datepicker.d.ts +0 -248
- package/dist/src/datepicker.d.ts.map +0 -1
- package/dist/src/dropdown.d.ts +0 -149
- package/dist/src/dropdown.d.ts.map +0 -1
- package/dist/src/edges.d.ts +0 -7
- package/dist/src/edges.d.ts.map +0 -1
- package/dist/src/forms.d.ts +0 -12
- package/dist/src/forms.d.ts.map +0 -1
- package/dist/src/global.d.ts +0 -60
- package/dist/src/global.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -27
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/materialbox.d.ts +0 -96
- package/dist/src/materialbox.d.ts.map +0 -1
- package/dist/src/modal.d.ts +0 -119
- package/dist/src/modal.d.ts.map +0 -1
- package/dist/src/parallax.d.ts +0 -40
- package/dist/src/parallax.d.ts.map +0 -1
- package/dist/src/pushpin.d.ts +0 -52
- package/dist/src/pushpin.d.ts.map +0 -1
- package/dist/src/range.d.ts +0 -41
- package/dist/src/range.d.ts.map +0 -1
- package/dist/src/scrollspy.d.ts +0 -62
- package/dist/src/scrollspy.d.ts.map +0 -1
- package/dist/src/select.d.ts +0 -77
- package/dist/src/select.d.ts.map +0 -1
- package/dist/src/sidenav.d.ts +0 -122
- package/dist/src/sidenav.d.ts.map +0 -1
- package/dist/src/slider.d.ts +0 -103
- package/dist/src/slider.d.ts.map +0 -1
- package/dist/src/tabs.d.ts +0 -80
- package/dist/src/tabs.d.ts.map +0 -1
- package/dist/src/tapTarget.d.ts +0 -59
- package/dist/src/tapTarget.d.ts.map +0 -1
- package/dist/src/timepicker.d.ts +0 -208
- package/dist/src/timepicker.d.ts.map +0 -1
- package/dist/src/toasts.d.ts +0 -95
- package/dist/src/toasts.d.ts.map +0 -1
- package/dist/src/tooltip.d.ts +0 -118
- package/dist/src/tooltip.d.ts.map +0 -1
- package/dist/src/utils.d.ts +0 -97
- package/dist/src/utils.d.ts.map +0 -1
- package/dist/src/waves.d.ts +0 -16
- package/dist/src/waves.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
</a>
|
|
30
30
|
</p>
|
|
31
31
|
|
|
32
|
-
##
|
|
32
|
+
## Getting started
|
|
33
33
|
Read the [getting started guide](https://materializeweb.com/getting-started.html) for more information on how to use materialize.
|
|
34
34
|
|
|
35
35
|
- [Download the latest release](https://github.com/materializecss/materialize/releases/latest) of materialize directly from GitHub. ([Beta](https://github.com/materializecss/materialize/releases/))
|
|
@@ -37,28 +37,21 @@ Read the [getting started guide](https://materializeweb.com/getting-started.html
|
|
|
37
37
|
- Include the files via [jsDelivr](https://www.jsdelivr.com/package/npm/@materializecss/materialize).
|
|
38
38
|
- Install with [npm](https://www.npmjs.com): `npm install @materializecss/materialize` (Beta: `npm install @materializecss/materialize@next`)
|
|
39
39
|
|
|
40
|
+
## Testing
|
|
41
|
+
To run tests locally you first have to build the files and then run the tests. This can be done with the command `npm test`;
|
|
42
|
+
To get more info and debug information you can do the following:
|
|
43
|
+
run `npx jasmine-browser-runner` then go to the url via browser `http://localhost:8888`. The tests will then run and show detailed feedback.
|
|
44
|
+
|
|
40
45
|
## Development
|
|
41
46
|
The documentation can be found at <https://materializeweb.com>. To run the documentation locally on your machine, you need [Node.js](https://nodejs.org) installed on your computer.
|
|
42
|
-
|
|
43
47
|
This is the core project with all the components. To see how they are used we recommend using an example project or go to the documentation.
|
|
44
|
-
Otherwise, if you want to develop the components itself, the dev process of this core-repo works like this:
|
|
45
|
-
```sh
|
|
46
|
-
npm install
|
|
47
|
-
npm run dev
|
|
48
|
-
```
|
|
49
48
|
|
|
50
49
|
### Running documentation locally
|
|
51
50
|
See [Materialize Docs Repo](https://github.com/materializecss/materialize-docs) to see Materialize in Action.
|
|
52
51
|
|
|
53
|
-
###
|
|
52
|
+
### Releases
|
|
54
53
|
Previous releases are available [here](https://github.com/materializecss/materialize/releases).
|
|
55
54
|
|
|
56
|
-
## Release
|
|
57
|
-
If you want to release `materialize.css` or `materialize.js` from the latest commit, you can build the files with the following command after `npm install`. See `package.json` to check the current version like `1.0.0`.
|
|
58
|
-
```sh
|
|
59
|
-
npm run release -- --oldver=<current_version> --newver=<new_version>
|
|
60
|
-
```
|
|
61
|
-
|
|
62
55
|
## Supported Browsers:
|
|
63
56
|
Materialize is compatible with:
|
|
64
57
|
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,12 +3,17 @@
|
|
|
3
3
|
"description": "The responsive front-end library based on Material Design from Google.",
|
|
4
4
|
"author": "The Materialize Team",
|
|
5
5
|
"homepage": "https://materializeweb.com",
|
|
6
|
-
"version": "2.
|
|
7
|
-
"main": "dist/js/materialize.js",
|
|
6
|
+
"version": "2.2.0",
|
|
8
7
|
"style": "dist/css/materialize.css",
|
|
9
8
|
"sass": "sass/materialize.scss",
|
|
10
|
-
"typings": "dist/
|
|
9
|
+
"typings": "dist/js/materialize.d.ts",
|
|
11
10
|
"license": "MIT",
|
|
11
|
+
"main": "dist/js/materialize.js",
|
|
12
|
+
"module": "./dist/js/materialize.mjs",
|
|
13
|
+
"exports": {
|
|
14
|
+
"import": "./dist/js/materialize.mjs",
|
|
15
|
+
"require": "./dist/js/materialize.cjs.js"
|
|
16
|
+
},
|
|
12
17
|
"repository": {
|
|
13
18
|
"type": "git",
|
|
14
19
|
"url": "git://github.com/materializecss/materialize.git"
|
|
@@ -27,10 +32,12 @@
|
|
|
27
32
|
}
|
|
28
33
|
],
|
|
29
34
|
"scripts": {
|
|
30
|
-
"
|
|
31
|
-
"test": "
|
|
32
|
-
"
|
|
33
|
-
"
|
|
35
|
+
"lint": "eslint .",
|
|
36
|
+
"test": "npm run build && jasmine-browser-runner runSpecs",
|
|
37
|
+
"build": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
|
|
38
|
+
"release": "npm run lint && npm run build && node ci/compress.js",
|
|
39
|
+
"preversion": "npm run lint && npm test",
|
|
40
|
+
"version": "npm run build && node ci/compress.js && git add -A dist src/index.ts"
|
|
34
41
|
},
|
|
35
42
|
"lint-staged": {
|
|
36
43
|
"js/*.js": [
|
|
@@ -46,27 +53,22 @@
|
|
|
46
53
|
],
|
|
47
54
|
"engine": "node >= 6",
|
|
48
55
|
"devDependencies": {
|
|
56
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
57
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
49
58
|
"@types/node": "^20.5.2",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"grunt-banner": "^0.6.0",
|
|
53
|
-
"grunt-concurrent": "^3.0.0",
|
|
54
|
-
"grunt-contrib-compress": "^2.0.0",
|
|
55
|
-
"grunt-contrib-connect": "^4.0.0",
|
|
56
|
-
"grunt-contrib-jasmine": "^4.0.0",
|
|
57
|
-
"grunt-contrib-watch": "^1.0.0",
|
|
58
|
-
"grunt-postcss": "^0.9.0",
|
|
59
|
-
"grunt-remove-logging": "^0.2.0",
|
|
60
|
-
"grunt-rename-util": "^1.0.0",
|
|
61
|
-
"grunt-sass": "^3.1.0",
|
|
62
|
-
"grunt-text-replace": "^0.4.0",
|
|
63
|
-
"grunt-webpack": "^6.0.0",
|
|
59
|
+
"archiver": "^7.0.1",
|
|
60
|
+
"eslint": "^9.10.0",
|
|
64
61
|
"jasmine": "^5.1.0",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
62
|
+
"jasmine-browser-runner": "^2.5.0",
|
|
63
|
+
"jasmine-core": "^5.2.0",
|
|
64
|
+
"rollup": "^4.20.0",
|
|
65
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
66
|
+
"rollup-plugin-dts": "^6.1.1",
|
|
67
|
+
"rollup-plugin-scss": "^4.0.0",
|
|
68
|
+
"sass": "^1.77.8",
|
|
69
|
+
"tslib": "^2.6.3",
|
|
67
70
|
"typescript": "^5.4.3",
|
|
68
|
-
"
|
|
69
|
-
"webpack-cli": "^5.0.1"
|
|
71
|
+
"typescript-eslint": "^8.6.0"
|
|
70
72
|
},
|
|
71
73
|
"files": [
|
|
72
74
|
"dist",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
border-radius: var(--btn-border-radius);
|
|
13
13
|
padding-left: var(--btn-padding);
|
|
14
14
|
padding-right: var(--btn-padding);
|
|
15
|
-
font-size:
|
|
15
|
+
font-size: var(--btn-font-size);
|
|
16
16
|
font-weight: 500;
|
|
17
17
|
text-decoration: none;
|
|
18
18
|
display: inline-flex;
|
|
@@ -29,19 +29,24 @@
|
|
|
29
29
|
.btn.icon-left, .btn.icon-right {
|
|
30
30
|
position: relative;
|
|
31
31
|
}
|
|
32
|
+
|
|
32
33
|
.btn.icon-left {
|
|
33
34
|
padding-left: calc(var(--btn-padding-icon) + var(--btn-font-size-icon) + var(--btn-gap-icon));
|
|
34
35
|
}
|
|
36
|
+
|
|
35
37
|
.btn.icon-right {
|
|
36
|
-
padding-right: calc(var(--btn-padding-icon) + var(--btn-font-size-icon) + var(--btn-gap-icon));
|
|
38
|
+
padding-right: calc(var(--btn-padding-icon) + var(--btn-font-size-icon) + var(--btn-gap-icon));
|
|
37
39
|
}
|
|
40
|
+
|
|
38
41
|
.btn.icon-left i, .btn.icon-right i {
|
|
39
42
|
position: absolute;
|
|
40
43
|
font-size: var(--btn-font-size-icon);
|
|
41
44
|
}
|
|
45
|
+
|
|
42
46
|
.btn.icon-left i {
|
|
43
47
|
left: var(--btn-padding-icon);
|
|
44
48
|
}
|
|
49
|
+
|
|
45
50
|
.btn.icon-right i {
|
|
46
51
|
right: var(--btn-padding-icon);
|
|
47
52
|
}
|
|
@@ -80,12 +85,10 @@
|
|
|
80
85
|
|
|
81
86
|
.btn.disabled, .btn-floating.disabled, .btn-large.disabled, .btn-small.disabled, .btn-flat.disabled,
|
|
82
87
|
.btn:disabled, .btn-floating:disabled, .btn-large:disabled, .btn-small:disabled, .btn-flat:disabled,
|
|
83
|
-
.btn[disabled], .btn-floating[disabled], .btn-large[disabled], .btn-small[disabled], .btn-flat[disabled]
|
|
84
|
-
{
|
|
88
|
+
.btn[disabled], .btn-floating[disabled], .btn-large[disabled], .btn-small[disabled], .btn-flat[disabled] {
|
|
85
89
|
@extend .z-depth-0;
|
|
86
90
|
color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 76%);
|
|
87
91
|
background-color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 24%);
|
|
88
|
-
|
|
89
92
|
pointer-events: none;
|
|
90
93
|
box-shadow: none;
|
|
91
94
|
cursor: default;
|
|
@@ -158,8 +161,7 @@
|
|
|
158
161
|
&.elevated,
|
|
159
162
|
&.tonal,
|
|
160
163
|
&.outlined,
|
|
161
|
-
&.text
|
|
162
|
-
{
|
|
164
|
+
&.text {
|
|
163
165
|
outline: 3px solid var(--md-sys-color-secondary);
|
|
164
166
|
outline-offset: 2px;
|
|
165
167
|
}
|
|
@@ -190,10 +192,12 @@
|
|
|
190
192
|
@extend .z-depth-1-half;
|
|
191
193
|
background-color: color-mix(in srgb, var(--md-sys-color-primary-container), var(--md-sys-color-on-primary-container) 16%);
|
|
192
194
|
}
|
|
195
|
+
|
|
193
196
|
&:focus {
|
|
194
197
|
background-color: $button-floating-background-focus;
|
|
195
198
|
@extend .z-depth-1-half;
|
|
196
199
|
}
|
|
200
|
+
|
|
197
201
|
&:before {
|
|
198
202
|
border-radius: 0;
|
|
199
203
|
}
|
|
@@ -202,10 +206,11 @@
|
|
|
202
206
|
&.halfway-fab {
|
|
203
207
|
bottom: -56px * 0.5;
|
|
204
208
|
}
|
|
209
|
+
|
|
205
210
|
width: 56px;
|
|
206
211
|
height: 56px;
|
|
207
212
|
padding: 0;
|
|
208
|
-
// font-size:
|
|
213
|
+
// font-size:
|
|
209
214
|
// i {
|
|
210
215
|
// // line-height: 56px;
|
|
211
216
|
// }
|
|
@@ -213,10 +218,12 @@
|
|
|
213
218
|
|
|
214
219
|
&.btn-small {
|
|
215
220
|
--btn-small-height: calc(0.75 * var(--btn-height));
|
|
221
|
+
|
|
216
222
|
&.halfway-fab {
|
|
217
223
|
bottom: calc(var(--btn-small-height) * -0.5);
|
|
218
224
|
}
|
|
219
|
-
|
|
225
|
+
|
|
226
|
+
width: var(--btn-small-height);
|
|
220
227
|
height: var(--btn-small-height);
|
|
221
228
|
// i {
|
|
222
229
|
// line-height: $button-floating-small-size;
|
|
@@ -228,10 +235,12 @@
|
|
|
228
235
|
right: auto;
|
|
229
236
|
left: 24px;
|
|
230
237
|
}
|
|
238
|
+
|
|
231
239
|
position: absolute;
|
|
232
240
|
right: 24px;
|
|
233
241
|
bottom: -$button-floating-size * 0.5;
|
|
234
242
|
}
|
|
243
|
+
|
|
235
244
|
// FIXES
|
|
236
245
|
// width: unset;
|
|
237
246
|
// padding: 16px !important;
|
|
@@ -262,17 +271,19 @@
|
|
|
262
271
|
text-align: center;
|
|
263
272
|
}
|
|
264
273
|
}
|
|
274
|
+
|
|
265
275
|
// button fix
|
|
266
276
|
button.btn-floating {
|
|
267
277
|
border: none;
|
|
268
278
|
}
|
|
279
|
+
|
|
269
280
|
// Fixed Action Button
|
|
270
281
|
.fixed-action-btn {
|
|
271
282
|
&.active {
|
|
272
283
|
ul {
|
|
273
284
|
visibility: visible;
|
|
274
285
|
padding-left: 0;
|
|
275
|
-
list-style-type: none;
|
|
286
|
+
list-style-type: none;
|
|
276
287
|
}
|
|
277
288
|
}
|
|
278
289
|
|
|
@@ -280,6 +291,7 @@ button.btn-floating {
|
|
|
280
291
|
&.direction-left,
|
|
281
292
|
&.direction-right {
|
|
282
293
|
padding: 0 0 0 15px;
|
|
294
|
+
|
|
283
295
|
ul {
|
|
284
296
|
text-align: right;
|
|
285
297
|
right: 64px;
|
|
@@ -289,55 +301,67 @@ button.btn-floating {
|
|
|
289
301
|
left: auto;
|
|
290
302
|
/*width 100% only goes to width of button container */
|
|
291
303
|
width: 500px;
|
|
304
|
+
|
|
292
305
|
li {
|
|
293
306
|
display: inline-block;
|
|
294
307
|
margin: 7.5px 15px 0 0;
|
|
295
308
|
}
|
|
296
309
|
}
|
|
297
310
|
}
|
|
311
|
+
|
|
298
312
|
&.direction-right {
|
|
299
313
|
padding: 0 15px 0 0;
|
|
314
|
+
|
|
300
315
|
ul {
|
|
301
316
|
text-align: left;
|
|
302
317
|
direction: rtl;
|
|
303
318
|
left: 64px;
|
|
304
319
|
right: auto;
|
|
320
|
+
|
|
305
321
|
li {
|
|
306
322
|
margin: 7.5px 0 0 15px;
|
|
307
323
|
}
|
|
308
324
|
}
|
|
309
325
|
}
|
|
326
|
+
|
|
310
327
|
&.direction-bottom {
|
|
311
328
|
padding: 0 0 15px 0;
|
|
329
|
+
|
|
312
330
|
ul {
|
|
313
331
|
top: 64px;
|
|
314
332
|
bottom: auto;
|
|
315
333
|
display: flex;
|
|
316
334
|
flex-direction: column-reverse;
|
|
335
|
+
|
|
317
336
|
li {
|
|
318
337
|
margin: 15px 0 0 0;
|
|
319
338
|
}
|
|
320
339
|
}
|
|
321
340
|
}
|
|
341
|
+
|
|
322
342
|
&.toolbar {
|
|
323
343
|
&.active {
|
|
324
|
-
|
|
344
|
+
& > a i {
|
|
325
345
|
opacity: 0;
|
|
326
346
|
}
|
|
327
347
|
}
|
|
348
|
+
|
|
328
349
|
padding: 0;
|
|
329
350
|
height: 56px;
|
|
351
|
+
|
|
330
352
|
ul {
|
|
331
353
|
display: flex;
|
|
332
354
|
top: 0;
|
|
333
355
|
bottom: 0;
|
|
334
356
|
z-index: 1;
|
|
357
|
+
|
|
335
358
|
li {
|
|
336
359
|
flex: 1;
|
|
337
360
|
display: inline-block;
|
|
338
361
|
margin: 0;
|
|
339
362
|
height: 100%;
|
|
340
363
|
transition: none;
|
|
364
|
+
|
|
341
365
|
a {
|
|
342
366
|
display: block;
|
|
343
367
|
overflow: hidden;
|
|
@@ -349,6 +373,7 @@ button.btn-floating {
|
|
|
349
373
|
color: $button-floating-color;
|
|
350
374
|
line-height: 56px;
|
|
351
375
|
z-index: 1;
|
|
376
|
+
|
|
352
377
|
i {
|
|
353
378
|
line-height: inherit;
|
|
354
379
|
}
|
|
@@ -356,12 +381,14 @@ button.btn-floating {
|
|
|
356
381
|
}
|
|
357
382
|
}
|
|
358
383
|
}
|
|
384
|
+
|
|
359
385
|
position: fixed;
|
|
360
386
|
right: 23px;
|
|
361
387
|
bottom: 23px;
|
|
362
388
|
padding-top: 15px;
|
|
363
389
|
margin-bottom: 0;
|
|
364
390
|
z-index: 997;
|
|
391
|
+
|
|
365
392
|
ul {
|
|
366
393
|
left: 0;
|
|
367
394
|
right: 0;
|
|
@@ -370,13 +397,16 @@ button.btn-floating {
|
|
|
370
397
|
bottom: 64px;
|
|
371
398
|
margin: 0;
|
|
372
399
|
visibility: hidden;
|
|
400
|
+
|
|
373
401
|
li {
|
|
374
402
|
margin-bottom: 15px;
|
|
375
403
|
}
|
|
404
|
+
|
|
376
405
|
a.btn-floating {
|
|
377
406
|
opacity: 0;
|
|
378
407
|
}
|
|
379
408
|
}
|
|
409
|
+
|
|
380
410
|
.fab-backdrop {
|
|
381
411
|
position: absolute;
|
|
382
412
|
top: 0;
|
|
@@ -398,6 +428,7 @@ button.btn-floating {
|
|
|
398
428
|
height: calc(1.5 * var(--btn-height));
|
|
399
429
|
font-size: 18px;
|
|
400
430
|
padding: 0 28px;
|
|
431
|
+
|
|
401
432
|
i {
|
|
402
433
|
font-size: 1.6rem;
|
|
403
434
|
}
|
|
@@ -408,6 +439,7 @@ button.btn-floating {
|
|
|
408
439
|
@extend .btn;
|
|
409
440
|
height: calc(0.75 * var(--btn-height));
|
|
410
441
|
font-size: 13px;
|
|
442
|
+
|
|
411
443
|
i {
|
|
412
444
|
font-size: 1.2rem;
|
|
413
445
|
}
|
|
@@ -420,4 +452,4 @@ button.btn-floating {
|
|
|
420
452
|
|
|
421
453
|
.btn.rounded {
|
|
422
454
|
border-radius: 99999px;
|
|
423
|
-
}
|
|
455
|
+
}
|
|
@@ -19,9 +19,6 @@
|
|
|
19
19
|
.card-title {
|
|
20
20
|
font-size: 24px;
|
|
21
21
|
font-weight: 300;
|
|
22
|
-
&.activator {
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
}
|
|
25
22
|
}
|
|
26
23
|
|
|
27
24
|
// Card Sizes
|
|
@@ -32,13 +29,16 @@
|
|
|
32
29
|
max-height: 60%;
|
|
33
30
|
overflow: hidden;
|
|
34
31
|
}
|
|
32
|
+
|
|
35
33
|
.card-image + .card-content {
|
|
36
34
|
max-height: 40%;
|
|
37
35
|
}
|
|
36
|
+
|
|
38
37
|
.card-content {
|
|
39
38
|
max-height: 100%;
|
|
40
39
|
overflow: hidden;
|
|
41
40
|
}
|
|
41
|
+
|
|
42
42
|
.card-action {
|
|
43
43
|
position: absolute;
|
|
44
44
|
bottom: 0;
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
.card-image {
|
|
79
79
|
max-width: 50%;
|
|
80
|
+
|
|
80
81
|
img {
|
|
81
82
|
border-radius: 2px 0 0 2px;
|
|
82
83
|
max-width: 100%;
|
|
@@ -108,9 +109,6 @@
|
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
112
|
.card-image {
|
|
115
113
|
position: relative;
|
|
116
114
|
|
|
@@ -134,6 +132,15 @@
|
|
|
134
132
|
max-width: 100%;
|
|
135
133
|
padding: 24px;
|
|
136
134
|
}
|
|
135
|
+
|
|
136
|
+
.activator {
|
|
137
|
+
position: absolute;
|
|
138
|
+
left: 0;
|
|
139
|
+
right: 0;
|
|
140
|
+
top:0;
|
|
141
|
+
bottom: 0;
|
|
142
|
+
cursor: pointer;
|
|
143
|
+
}
|
|
137
144
|
}
|
|
138
145
|
|
|
139
146
|
.card-content {
|
|
@@ -143,6 +150,7 @@
|
|
|
143
150
|
p {
|
|
144
151
|
margin: 0;
|
|
145
152
|
}
|
|
153
|
+
|
|
146
154
|
.card-title {
|
|
147
155
|
display: block;
|
|
148
156
|
line-height: 32px;
|
|
@@ -151,6 +159,10 @@
|
|
|
151
159
|
i {
|
|
152
160
|
line-height: 32px;
|
|
153
161
|
}
|
|
162
|
+
|
|
163
|
+
&.activator {
|
|
164
|
+
cursor: pointer;
|
|
165
|
+
}
|
|
154
166
|
}
|
|
155
167
|
}
|
|
156
168
|
|
|
@@ -75,7 +75,6 @@
|
|
|
75
75
|
flex-wrap: wrap;
|
|
76
76
|
|
|
77
77
|
border: none;
|
|
78
|
-
border-bottom: 1px solid var(--md-sys-color-on-surface-variant);
|
|
79
78
|
box-shadow: none;
|
|
80
79
|
margin: 0 0 8px 0;
|
|
81
80
|
|
|
@@ -90,8 +89,12 @@
|
|
|
90
89
|
box-shadow: 0 1px 0 0 var(--md-sys-color-primary);
|
|
91
90
|
}
|
|
92
91
|
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
&.input-field {
|
|
93
|
+
border-bottom: 1px solid var(--md-sys-color-on-surface-variant);
|
|
94
|
+
|
|
95
|
+
&:hover {
|
|
96
|
+
cursor: text;
|
|
97
|
+
}
|
|
95
98
|
}
|
|
96
99
|
|
|
97
100
|
input:not([type]):not(.browser-default).input {
|
|
@@ -109,6 +112,9 @@
|
|
|
109
112
|
margin: 0;
|
|
110
113
|
padding: 0;
|
|
111
114
|
width: 120px;
|
|
115
|
+
width: fit-content;
|
|
116
|
+
min-width: 100px;
|
|
117
|
+
max-width: 200px;
|
|
112
118
|
|
|
113
119
|
|
|
114
120
|
&:focus {
|
|
@@ -31,20 +31,26 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.collapsible-header::after {
|
|
34
|
-
content: '
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
content: '\e5cf';
|
|
35
|
+
margin-left: .5rem;
|
|
36
|
+
font-family: 'Material Symbols Outlined', 'Material Symbols Rounded', 'Material Symbols Sharp', 'Material Icons';
|
|
37
|
+
font-size: 25px;
|
|
38
|
+
line-height: .9;
|
|
39
|
+
-webkit-font-smoothing: antialiased;
|
|
38
40
|
}
|
|
41
|
+
|
|
39
42
|
.active .collapsible-header::after {
|
|
40
|
-
content:
|
|
43
|
+
content: '\e5ce';
|
|
41
44
|
}
|
|
42
45
|
|
|
43
|
-
|
|
44
46
|
.keyboard-focused .collapsible-header:focus {
|
|
45
47
|
background-color: rgba(0, 0, 0, 0.12);
|
|
46
48
|
}
|
|
47
49
|
|
|
50
|
+
.collapsible-header-content {
|
|
51
|
+
flex-grow: 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
48
54
|
.collapsible-body {
|
|
49
55
|
max-height: 0;
|
|
50
56
|
border-bottom: 1px solid var(--md-sys-color-outline-variant);
|
|
@@ -38,6 +38,11 @@
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
.select-dropdown {
|
|
42
|
+
padding: 0;
|
|
43
|
+
vertical-align: middle;
|
|
44
|
+
}
|
|
45
|
+
|
|
41
46
|
.select-year input {
|
|
42
47
|
width: 50px;
|
|
43
48
|
}
|
|
@@ -59,6 +64,7 @@
|
|
|
59
64
|
}
|
|
60
65
|
|
|
61
66
|
.month-prev, .month-next {
|
|
67
|
+
height: 49px;
|
|
62
68
|
margin-top: 4px;
|
|
63
69
|
cursor: pointer;
|
|
64
70
|
background-color: transparent;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
[popover] {
|
|
2
|
+
outline: none;
|
|
3
|
+
padding: 0;
|
|
4
|
+
border: none;
|
|
5
|
+
}
|
|
6
|
+
|
|
1
7
|
.dropdown-content {
|
|
2
8
|
padding-left: 0;
|
|
3
9
|
list-style-type: none;
|
|
@@ -13,16 +19,13 @@
|
|
|
13
19
|
top: 0;
|
|
14
20
|
z-index: 9999; // TODO: Check if this doesn't break other things
|
|
15
21
|
transform-origin: 0 0;
|
|
16
|
-
|
|
22
|
+
user-select: none;
|
|
23
|
+
|
|
17
24
|
li {
|
|
18
|
-
&:hover, &.active {
|
|
19
|
-
background-color: color-mix(in srgb, var(--md-sys-color-surface), var(--md-sys-color-on-surface) 8%);
|
|
20
|
-
}
|
|
21
25
|
&.divider {
|
|
22
26
|
min-height: 0;
|
|
23
27
|
height: 1px;
|
|
24
28
|
}
|
|
25
|
-
|
|
26
29
|
& > a, & > span {
|
|
27
30
|
font-size: 16px;
|
|
28
31
|
color: var(--md-sys-color-primary);
|
|
@@ -30,13 +33,11 @@
|
|
|
30
33
|
line-height: 22px;
|
|
31
34
|
padding: (($dropdown-item-height - 22) * 0.5) 16px;
|
|
32
35
|
}
|
|
33
|
-
|
|
34
36
|
& > span > label {
|
|
35
37
|
top: 1px;
|
|
36
38
|
left: 0;
|
|
37
39
|
height: 18px;
|
|
38
40
|
}
|
|
39
|
-
|
|
40
41
|
// Icon alignment override
|
|
41
42
|
& > a > i {
|
|
42
43
|
height: inherit;
|
|
@@ -45,7 +46,6 @@
|
|
|
45
46
|
margin: 0 24px 0 0;
|
|
46
47
|
width: 24px;
|
|
47
48
|
}
|
|
48
|
-
|
|
49
49
|
clear: both;
|
|
50
50
|
color: var(--md-sys-color-on-background);
|
|
51
51
|
cursor: pointer;
|
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
width: 100%;
|
|
55
55
|
text-align: left;
|
|
56
56
|
}
|
|
57
|
+
li:not(.disabled):hover, li.active {
|
|
58
|
+
background-color: color-mix(in srgb, var(--md-sys-color-surface), var(--md-sys-color-on-surface) 8%);
|
|
59
|
+
}
|
|
57
60
|
}
|
|
58
61
|
|
|
59
62
|
body.keyboard-focused {
|
|
@@ -40,21 +40,15 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
body {
|
|
44
44
|
--gap-size: 1.5rem; // default
|
|
45
|
+
}
|
|
45
46
|
|
|
47
|
+
.row {
|
|
46
48
|
display: grid;
|
|
47
49
|
grid-template-columns: repeat(12, 1fr);
|
|
48
50
|
gap: var(--gap-size);
|
|
49
51
|
|
|
50
|
-
//--- Gap
|
|
51
|
-
.g-0 { gap: 0; }
|
|
52
|
-
.g-1 { gap: calc(0.25 * var(--gap-size)); }
|
|
53
|
-
.g-2 { gap: calc(0.5 * var(--gap-size)); }
|
|
54
|
-
.g-3 { gap: calc(1 * var(--gap-size)); }
|
|
55
|
-
.g-4 { gap: calc(1.5 * var(--gap-size)); }
|
|
56
|
-
.g-5 { gap: calc(3 * var(--gap-size)); }
|
|
57
|
-
|
|
58
52
|
//--- S
|
|
59
53
|
.s1 { grid-column: auto / span 1; }
|
|
60
54
|
.s2 { grid-column: auto / span 2; }
|
|
@@ -166,3 +160,11 @@
|
|
|
166
160
|
}
|
|
167
161
|
|
|
168
162
|
}
|
|
163
|
+
|
|
164
|
+
//--- Gap
|
|
165
|
+
.g-0 { gap: 0; }
|
|
166
|
+
.g-1 { gap: calc(0.25 * var(--gap-size)); }
|
|
167
|
+
.g-2 { gap: calc(0.5 * var(--gap-size)); }
|
|
168
|
+
.g-3 { gap: calc(1 * var(--gap-size)); }
|
|
169
|
+
.g-4 { gap: calc(1.5 * var(--gap-size)); }
|
|
170
|
+
.g-5 { gap: calc(3 * var(--gap-size)); }
|