@toheeb/base 1.6.0 → 1.6.1
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/base-settings.js +11 -11
- package/package.json +1 -1
package/base-settings.js
CHANGED
|
@@ -86,7 +86,7 @@ class BaseSettings extends HTMLElement {
|
|
|
86
86
|
</main>
|
|
87
87
|
</dialog>
|
|
88
88
|
<style>
|
|
89
|
-
._bs {
|
|
89
|
+
:where(._bs) {
|
|
90
90
|
box-shadow:
|
|
91
91
|
-0px -0px 1px oklch(from currentColor l c h / .01),
|
|
92
92
|
-2px -2px 3px oklch(from currentColor l c h / .03),
|
|
@@ -105,7 +105,7 @@ class BaseSettings extends HTMLElement {
|
|
|
105
105
|
(color: oklch(0 0 0)) and
|
|
106
106
|
(color: light-dark(#000, #fff))
|
|
107
107
|
{
|
|
108
|
-
._bs {
|
|
108
|
+
:where(._bs) {
|
|
109
109
|
background-color: light-dark(
|
|
110
110
|
oklch(1 0.003 var(--base-color-hue)),
|
|
111
111
|
oklch(0.22 .03 var(--base-color-hue))
|
|
@@ -113,11 +113,11 @@ class BaseSettings extends HTMLElement {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
dialog::backdrop {
|
|
116
|
+
:where(dialog::backdrop) {
|
|
117
117
|
background: transparent;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
._bs button[type=submit] {
|
|
120
|
+
:where(._bs button[type=submit]) {
|
|
121
121
|
display: flex;
|
|
122
122
|
justify-content: center;
|
|
123
123
|
align-items: center;
|
|
@@ -126,13 +126,13 @@ class BaseSettings extends HTMLElement {
|
|
|
126
126
|
padding: .25em;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
._bs form {
|
|
129
|
+
:where(._bs form) {
|
|
130
130
|
display: grid;
|
|
131
131
|
width: 100%;
|
|
132
132
|
gap: calc(.5 * var(--bbg));
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
._bs p {
|
|
135
|
+
:where(._bs p) {
|
|
136
136
|
width: 100%;
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-flow: row wrap;
|
|
@@ -140,22 +140,22 @@ class BaseSettings extends HTMLElement {
|
|
|
140
140
|
gap: calc(.25 * var(--bbg)) calc(.75 * var(--bbg));
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
._bs .modes {
|
|
143
|
+
:where(._bs .modes) {
|
|
144
144
|
margin-top: var(--bbg);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
._bs .fields label:not([hidden]) {
|
|
147
|
+
:where(._bs .fields label:not([hidden])) {
|
|
148
148
|
display: grid;
|
|
149
149
|
gap: .25em;
|
|
150
150
|
flex: 1 1 calc(50% - calc(.75 * var(--bbg)));
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
._bs .fields span {
|
|
153
|
+
:where(._bs .fields span) {
|
|
154
154
|
font-size: calc(var(--bfs-075) * 1rem);
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
._bs .fields input,
|
|
158
|
-
._bs .fields select
|
|
157
|
+
:where(._bs .fields input),
|
|
158
|
+
:where(._bs .fields select)
|
|
159
159
|
{
|
|
160
160
|
width: 100%;
|
|
161
161
|
}
|