ngwr 0.0.4 → 0.0.8
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/LICENSE +21 -0
- package/README.md +46 -0
- package/_core/components/base.component.d.ts +11 -0
- package/_core/constants/style-prefix.d.ts +1 -0
- package/_core/index.d.ts +5 -0
- package/_core/types/boolean-input.d.ts +1 -0
- package/_core/types/safe-any.d.ts +1 -0
- package/{core → _core}/util/convert.d.ts +2 -1
- package/button/button.component.d.ts +14 -15
- package/button/button.module.d.ts +4 -4
- package/divider/divider.component.d.ts +4 -4
- package/divider/divider.module.d.ts +4 -5
- package/esm2020/_core/components/base.component.mjs +23 -0
- package/esm2020/_core/constants/style-prefix.mjs +2 -0
- package/esm2020/_core/index.mjs +10 -0
- package/esm2020/_core/types/boolean-input.mjs +2 -0
- package/esm2020/_core/types/safe-any.mjs +2 -0
- package/esm2020/_core/util/convert.mjs +51 -0
- package/esm2020/button/button.component.mjs +16 -22
- package/esm2020/button/button.module.mjs +11 -11
- package/esm2020/button/index.mjs +1 -1
- package/esm2020/divider/divider.component.mjs +8 -9
- package/esm2020/divider/divider.module.mjs +9 -11
- package/esm2020/divider/index.mjs +1 -1
- package/esm2020/extended-input/extended-input.component.mjs +8 -7
- package/esm2020/extended-input/extended-input.module.mjs +11 -19
- package/esm2020/extended-input/index.mjs +1 -1
- package/esm2020/form/form-error.component.mjs +9 -15
- package/esm2020/form/form-item.component.mjs +14 -23
- package/esm2020/form/form.module.mjs +10 -18
- package/esm2020/form/index.mjs +1 -1
- package/esm2020/icon/index.mjs +1 -1
- package/esm2020/icon/wr-icon.component.mjs +2 -2
- package/esm2020/icon/wr-icon.module.mjs +1 -1
- package/esm2020/icon/wr-icon.service.mjs +1 -1
- package/esm2020/icon/wr-icons.mjs +99 -29
- package/esm2020/input/index.mjs +1 -1
- package/esm2020/input/input.directive.mjs +14 -19
- package/esm2020/input/input.module.mjs +9 -13
- package/esm2020/ngwr.mjs +1 -1
- package/esm2020/password-input/index.mjs +1 -1
- package/esm2020/password-input/password-input.component.mjs +11 -9
- package/esm2020/password-input/password-input.module.mjs +11 -26
- package/esm2020/public-api.mjs +1 -1
- package/esm2020/skeleton/index.mjs +1 -1
- package/esm2020/skeleton/skeleton.component.mjs +12 -19
- package/esm2020/skeleton/skeleton.module.mjs +11 -11
- package/esm2020/spinner/index.mjs +1 -1
- package/esm2020/spinner/spinner.component.mjs +7 -6
- package/esm2020/spinner/spinner.module.mjs +9 -11
- package/esm2020/tag/index.mjs +1 -1
- package/esm2020/tag/tag.component.mjs +30 -45
- package/esm2020/tag/tag.module.mjs +11 -11
- package/extended-input/extended-input.component.d.ts +9 -8
- package/extended-input/extended-input.module.d.ts +4 -4
- package/fesm2015/ngwr.mjs +332 -322
- package/fesm2015/ngwr.mjs.map +1 -1
- package/fesm2020/ngwr.mjs +333 -323
- package/fesm2020/ngwr.mjs.map +1 -1
- package/form/form-error.component.d.ts +3 -6
- package/form/form-item.component.d.ts +9 -9
- package/form/form.module.d.ts +4 -4
- package/icon/wr-icon.component.d.ts +2 -1
- package/icon/wr-icons.d.ts +121 -23
- package/input/input.directive.d.ts +5 -6
- package/input/input.module.d.ts +4 -4
- package/logo.svg +1 -0
- package/ngwr.min.css +8 -0
- package/package.json +13 -10
- package/password-input/password-input.component.d.ts +10 -9
- package/password-input/password-input.module.d.ts +4 -4
- package/skeleton/skeleton.component.d.ts +7 -9
- package/skeleton/skeleton.module.d.ts +4 -4
- package/spinner/spinner.component.d.ts +3 -3
- package/spinner/spinner.module.d.ts +4 -5
- package/tag/tag.component.d.ts +16 -15
- package/tag/tag.module.d.ts +4 -4
- package/core/util/index.d.ts +0 -1
- package/esm2020/core/util/convert.mjs +0 -50
- package/esm2020/core/util/index.mjs +0 -2
- package/styles/components/_index.scss +0 -15
- package/styles/components/alert.scss +0 -28
- package/styles/components/button.scss +0 -115
- package/styles/components/card.scss +0 -41
- package/styles/components/divider.scss +0 -19
- package/styles/components/dropdown.scss +0 -128
- package/styles/components/extended-input.scss +0 -64
- package/styles/components/form.scss +0 -85
- package/styles/components/heading.scss +0 -25
- package/styles/components/icon.scss +0 -32
- package/styles/components/input.scss +0 -43
- package/styles/components/password-input.scss +0 -31
- package/styles/components/skeleton.scss +0 -58
- package/styles/components/spinner.scss +0 -44
- package/styles/components/tag.scss +0 -70
- package/styles/components/tooltip.scss +0 -60
- package/styles/functions.scss +0 -184
- package/styles/grid.scss +0 -177
- package/styles/index.scss +0 -165
- package/styles/mixins/_index.scss +0 -22
- package/styles/mixins/alert.scss +0 -7
- package/styles/mixins/button.scss +0 -56
- package/styles/mixins/reset-component.scss +0 -13
- package/styles/mixins/tag.scss +0 -68
- package/styles/reset.scss +0 -104
- package/styles/root.scss +0 -31
- package/styles/vars.scss +0 -1075
package/styles/index.scss
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Walrus v0.0.1
|
|
3
|
-
* Copyright 2021 Swordfish Security, Inc.
|
|
4
|
-
* Licensed under GPL-3
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
@import './functions';
|
|
8
|
-
@import './vars';
|
|
9
|
-
|
|
10
|
-
@import './root';
|
|
11
|
-
@import './reset';
|
|
12
|
-
@import './components';
|
|
13
|
-
@import './grid';
|
|
14
|
-
|
|
15
|
-
// cdk overlay
|
|
16
|
-
.cdk-overlay-container {
|
|
17
|
-
pointer-events: none;
|
|
18
|
-
top: 0;
|
|
19
|
-
left: 0;
|
|
20
|
-
height: 100%;
|
|
21
|
-
width: 100%;
|
|
22
|
-
position: fixed;
|
|
23
|
-
z-index: 1000;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.cdk-visually-hidden {
|
|
27
|
-
border: 0;
|
|
28
|
-
clip: rect(0 0 0 0);
|
|
29
|
-
height: 1px;
|
|
30
|
-
margin: -1px;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
padding: 0;
|
|
33
|
-
position: absolute;
|
|
34
|
-
width: 1px;
|
|
35
|
-
outline: 0;
|
|
36
|
-
-webkit-appearance: none;
|
|
37
|
-
-moz-appearance: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.cdk-overlay-backdrop {
|
|
41
|
-
top: 0;
|
|
42
|
-
bottom: 0;
|
|
43
|
-
left: 0;
|
|
44
|
-
right: 0;
|
|
45
|
-
-webkit-tap-highlight-color: transparent;
|
|
46
|
-
transition: opacity .4s cubic-bezier(.25, .8, .25, 1);
|
|
47
|
-
opacity: 0;
|
|
48
|
-
position: absolute;
|
|
49
|
-
pointer-events: auto;
|
|
50
|
-
z-index: 1000;
|
|
51
|
-
|
|
52
|
-
&.wr-modal-mask {
|
|
53
|
-
opacity: 1;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.cdk-overlay-pane {
|
|
58
|
-
position: absolute;
|
|
59
|
-
pointer-events: auto;
|
|
60
|
-
z-index: 1000; // Give an opportunity to the content own to manage their z-index such as Modal
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.cdk-overlay-connected-position-bounding-box {
|
|
64
|
-
position: absolute;
|
|
65
|
-
z-index: 1000;
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-direction: column;
|
|
68
|
-
min-width: 1px;
|
|
69
|
-
min-height: 1px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Used when disabling global scrolling.
|
|
73
|
-
.cdk-global-scrollblock {
|
|
74
|
-
position: fixed;
|
|
75
|
-
|
|
76
|
-
// Necessary for the content not to lose its width. Note that we're using 100%, instead of
|
|
77
|
-
// 100vw, because 100vw includes the width plus the scrollbar, whereas 100% is the width
|
|
78
|
-
// that the element had before we made it `fixed`.
|
|
79
|
-
width: 100%;
|
|
80
|
-
|
|
81
|
-
// Note: this will always add a scrollbar to whatever element it is on, which can
|
|
82
|
-
// potentially result in double scrollbars. It shouldn't be an issue, because we won't
|
|
83
|
-
// block scrolling on a page that doesn't have a scrollbar in the first place.
|
|
84
|
-
overflow-y: scroll;
|
|
85
|
-
|
|
86
|
-
// https://github.com/angular/material2/issues/15051
|
|
87
|
-
body {
|
|
88
|
-
overflow-x: visible;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.wr-overlay-transparent-backdrop {
|
|
93
|
-
&, &.cdk-overlay-backdrop-showing {
|
|
94
|
-
opacity: 0;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.wr-animate-disabled {
|
|
99
|
-
// badge
|
|
100
|
-
&.wr-scroll-number-only {
|
|
101
|
-
animation: none;
|
|
102
|
-
transition: none;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// drawer
|
|
106
|
-
&.wr-drawer {
|
|
107
|
-
&.wr-drawer-open .wr-drawer-mask {
|
|
108
|
-
animation: none;
|
|
109
|
-
transition: none;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
& > * {
|
|
113
|
-
transition: none;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// modal
|
|
118
|
-
.wr-modal-mask, .wr-modal {
|
|
119
|
-
animation: none;
|
|
120
|
-
transition: none;
|
|
121
|
-
|
|
122
|
-
&.zoom-enter, &.zoom-leave,
|
|
123
|
-
&.zoom-enter-active, &.zoom-leave-active {
|
|
124
|
-
animation: none;
|
|
125
|
-
transition: none;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
// menu
|
|
130
|
-
&.wr-menu {
|
|
131
|
-
transition: none;
|
|
132
|
-
|
|
133
|
-
.wr-menu-item, .wr-menu-submenu-title {
|
|
134
|
-
transition: none;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.wr-menu-item .wricon, .wr-menu-submenu-title .wricon {
|
|
138
|
-
transition: none;
|
|
139
|
-
|
|
140
|
-
& + span {
|
|
141
|
-
transition: none;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
// tabs
|
|
147
|
-
&.wr-tabs {
|
|
148
|
-
.wr-tabs-top-content.wr-tabs-content-animated,
|
|
149
|
-
.wr-tabs-bottom-content.wr-tabs-content-animated,
|
|
150
|
-
.wr-tabs-top-content > .wr-tabs-tabpane,
|
|
151
|
-
.wr-tabs-bottom-content > .wr-tabs-tabpane,
|
|
152
|
-
&.wr-tabs-left .wr-tabs-ink-bar-animated,
|
|
153
|
-
&.wr-tabs-right .wr-tabs-ink-bar-animated,
|
|
154
|
-
&.wr-tabs-top .wr-tabs-ink-bar-animated,
|
|
155
|
-
&.wr-tabs-bottom .wr-tabs-ink-bar-animated {
|
|
156
|
-
transition: none;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
// collapse
|
|
161
|
-
&.wr-collapse > .wr-collapse-item > .wr-collapse-header .wr-collapse-arrow svg {
|
|
162
|
-
transition: none;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
@import 'alert';
|
|
2
|
-
@import 'button';
|
|
3
|
-
@import 'tag';
|
|
4
|
-
|
|
5
|
-
@import 'reset-component';
|
|
6
|
-
|
|
7
|
-
@mixin column {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
align-items: baseline;
|
|
11
|
-
width: 100%;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@mixin row {
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@mixin no-select {
|
|
20
|
-
user-select: none;
|
|
21
|
-
pointer-events: none;
|
|
22
|
-
}
|
package/styles/mixins/alert.scss
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
@import '../functions';
|
|
2
|
-
|
|
3
|
-
@mixin button-outline-variant($color) {
|
|
4
|
-
color: $color;
|
|
5
|
-
background-color: transparent;
|
|
6
|
-
box-shadow: inset 0 0 0 1.25px rgba($color, 0.3);
|
|
7
|
-
|
|
8
|
-
& > wr-spin {
|
|
9
|
-
color: $color;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&:hover {
|
|
13
|
-
color: color-contrast($color);
|
|
14
|
-
background-color: $color;
|
|
15
|
-
box-shadow: none;
|
|
16
|
-
|
|
17
|
-
& > wr-spin {
|
|
18
|
-
color: color-contrast($color);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.btn-check:checked + &,
|
|
23
|
-
.btn-check:active + &,
|
|
24
|
-
&:active,
|
|
25
|
-
&.active,
|
|
26
|
-
&.dropdown-toggle.show {
|
|
27
|
-
color: mix(color-contrast($color), darken($color, 20%), 70%);
|
|
28
|
-
background-color: darken($color, 20%);
|
|
29
|
-
box-shadow: none;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@mixin button-variant($color) {
|
|
34
|
-
color: color-contrast($color);
|
|
35
|
-
background-color: $color;
|
|
36
|
-
box-shadow: rgba($color, 0.2) 0 3px 5px -1px, rgba($color, 0.14) 0 6px 10px 0,rgba($color, 0.12) 0 1px 18px 0;
|
|
37
|
-
|
|
38
|
-
&:hover {
|
|
39
|
-
color: color-contrast($color);
|
|
40
|
-
background-color: saturate(lighten($color, 15%), 20%);
|
|
41
|
-
box-shadow: rgba($color, 0.2) 0 3px 5px -1px, rgba($color, 0.14) 0 6px 10px 0,rgba($color, 0.12) 0 1px 18px 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.btn-check:checked + &,
|
|
45
|
-
.btn-check:active + &,
|
|
46
|
-
&:active,
|
|
47
|
-
&.active,{
|
|
48
|
-
color: mix(color-contrast($color), darken($color, 20%), 70%);
|
|
49
|
-
background-color: darken($color, 20%);
|
|
50
|
-
box-shadow: none;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
& > wr-spin {
|
|
54
|
-
color: color-contrast($color);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@import '../vars';
|
|
2
|
-
|
|
3
|
-
@mixin reset-component() {
|
|
4
|
-
box-sizing: border-box;
|
|
5
|
-
margin: 0;
|
|
6
|
-
padding: 0;
|
|
7
|
-
color: $text-color;
|
|
8
|
-
font-size: $font-size-base;
|
|
9
|
-
font-variant: $font-variant-base;
|
|
10
|
-
line-height: $line-height-base;
|
|
11
|
-
list-style: none;
|
|
12
|
-
font-feature-settings: $font-feature-settings-base;
|
|
13
|
-
}
|
package/styles/mixins/tag.scss
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
@import '../functions';
|
|
2
|
-
|
|
3
|
-
@mixin tag-colors-generate($color) {
|
|
4
|
-
color: color-contrast($color);
|
|
5
|
-
background-color: $color;
|
|
6
|
-
|
|
7
|
-
&:hover {
|
|
8
|
-
color: color-contrast($color);
|
|
9
|
-
background-color: saturate(lighten($color, 15%), 20%);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&:active,
|
|
13
|
-
&.active,{
|
|
14
|
-
color: mix(color-contrast($color), darken($color, 20%), 70%);
|
|
15
|
-
background-color: darken($color, 20%);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
& > wr-icon {
|
|
19
|
-
color: mix(color-contrast($color), $color);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@mixin tag-transparent-colors-generate($color) {
|
|
24
|
-
color: $color;
|
|
25
|
-
background-color: rgba($color, 0.125);
|
|
26
|
-
box-shadow: inset 0 0 0 1px rgba($color, 0.125);
|
|
27
|
-
|
|
28
|
-
&:hover {
|
|
29
|
-
color: color-contrast($color);
|
|
30
|
-
background-color: $color;
|
|
31
|
-
|
|
32
|
-
& > wr-icon {
|
|
33
|
-
color: rgba(color-contrast($color), 0.5);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:active,
|
|
38
|
-
&.active,{
|
|
39
|
-
color: mix(color-contrast($color), darken($color, 20%), 70%);
|
|
40
|
-
background-color: darken($color, 20%);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
& > wr-icon {
|
|
44
|
-
color: $color;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@mixin tag-outline-colors-generate($color) {
|
|
49
|
-
color: $color;
|
|
50
|
-
background-color: transparent;
|
|
51
|
-
box-shadow: inset 0 0 0 1px lighten($color, 30%);
|
|
52
|
-
|
|
53
|
-
&:hover {
|
|
54
|
-
color: lighten($color, 20%);
|
|
55
|
-
box-shadow: inset 0 0 0 1px lighten($color, 35%);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&:active,
|
|
59
|
-
&.active {
|
|
60
|
-
color: mix(color-contrast($color), darken($color, 20%), 70%);
|
|
61
|
-
background-color: darken($color, 20%);
|
|
62
|
-
box-shadow: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
& > wr-icon {
|
|
66
|
-
color: lighten($color, 10%);
|
|
67
|
-
}
|
|
68
|
-
}
|
package/styles/reset.scss
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
@import './vars';
|
|
2
|
-
|
|
3
|
-
*,
|
|
4
|
-
*::before,
|
|
5
|
-
*::after {
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
margin: 0;
|
|
8
|
-
padding: 0;
|
|
9
|
-
border: 0;
|
|
10
|
-
font-size: 100%;
|
|
11
|
-
vertical-align: baseline;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:root {
|
|
15
|
-
font-size: 1rem;
|
|
16
|
-
scroll-behavior: smooth;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
html,
|
|
20
|
-
body {
|
|
21
|
-
background-color: $body-background;
|
|
22
|
-
height: 100%;
|
|
23
|
-
width: 100%;
|
|
24
|
-
font-family: $font-family;
|
|
25
|
-
font-size: $font-size-base;
|
|
26
|
-
font-weight: $font-weight-base;
|
|
27
|
-
line-height: $line-height-base;
|
|
28
|
-
letter-spacing: $letter-spacing-base;
|
|
29
|
-
color: $color-dark;
|
|
30
|
-
text-align: left;
|
|
31
|
-
direction: ltr;
|
|
32
|
-
-webkit-text-size-adjust: 100%;
|
|
33
|
-
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
34
|
-
-webkit-font-smoothing: antialiased;
|
|
35
|
-
-moz-osx-font-smoothing: grayscale;
|
|
36
|
-
-ms-text-size-adjust: 100%;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
:focus {
|
|
40
|
-
outline: 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
article, aside, details, figcaption, figure,
|
|
44
|
-
footer, header, hgroup, menu, nav, section {
|
|
45
|
-
display: block;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
a {
|
|
49
|
-
text-decoration: none;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
ol, ul {
|
|
53
|
-
list-style: none;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
blockquote, q {
|
|
57
|
-
quotes: none;
|
|
58
|
-
|
|
59
|
-
&:before,
|
|
60
|
-
&:after {
|
|
61
|
-
content: '';
|
|
62
|
-
content: none;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
table {
|
|
67
|
-
border-collapse: collapse;
|
|
68
|
-
border-spacing: 0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
input[type=search]::-webkit-search-cancel-button,
|
|
72
|
-
input[type=search]::-webkit-search-decoration,
|
|
73
|
-
input[type=search]::-webkit-search-results-button,
|
|
74
|
-
input[type=search]::-webkit-search-results-decoration {
|
|
75
|
-
-webkit-appearance: none;
|
|
76
|
-
-moz-appearance: none;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
input[type=search] {
|
|
80
|
-
-webkit-appearance: none;
|
|
81
|
-
-moz-appearance: none;
|
|
82
|
-
-webkit-box-sizing: content-box;
|
|
83
|
-
-moz-box-sizing: content-box;
|
|
84
|
-
box-sizing: content-box;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
textarea {
|
|
88
|
-
overflow: auto;
|
|
89
|
-
vertical-align: top;
|
|
90
|
-
resize: vertical;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
audio:not([controls]) {
|
|
94
|
-
display: none;
|
|
95
|
-
height: 0;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
[hidden] {
|
|
99
|
-
display: none;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
img {
|
|
103
|
-
border: none;
|
|
104
|
-
}
|
package/styles/root.scss
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
@import 'vars';
|
|
2
|
-
|
|
3
|
-
:root {
|
|
4
|
-
@each $color, $value in $theme-colors {
|
|
5
|
-
--color-#{$color}: #{$value};
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@each $color, $value in $theme-colors-rgb {
|
|
9
|
-
--color-#{$color}-rgb: #{$value};
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
--color-white: #{$color-white};
|
|
13
|
-
--color-black: #{$color-black};
|
|
14
|
-
|
|
15
|
-
--color-white-rgb: #{to-rgb($color-white)};
|
|
16
|
-
--color-black-rgb: #{to-rgb($color-black)};
|
|
17
|
-
|
|
18
|
-
--font-family-base: #{$font-family};
|
|
19
|
-
--font-family-code: #{$code-family};
|
|
20
|
-
--font-size-base: #{$font-size-base};
|
|
21
|
-
--font-weight-base: #{$font-size-base};
|
|
22
|
-
|
|
23
|
-
--transition-base: #{$transition-base};
|
|
24
|
-
|
|
25
|
-
--radius-base: 0.625rem;
|
|
26
|
-
|
|
27
|
-
--shadow-base: inset 0 0 0 1px rgba(var(--color-dark-rgb), 0.125);
|
|
28
|
-
//, 0px 2px 4px -2px rgba(var(--color-dark-rgb), 0.125
|
|
29
|
-
--shadow-base-hover: inset 0 0 0 1px rgba(var(--color-dark-rgb), 0.125), 0px 25px 50px -12px rgba(var(--color-dark-rgb), 0.125);
|
|
30
|
-
|
|
31
|
-
}
|