@geoffcox/sterling-svelte-themes 2.0.1 → 2.0.2
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
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.sterling-autocomplete {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: 1fr;
|
|
4
|
+
justify-items: stretch;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.sterling-autocomplete-content {
|
|
8
|
+
background-color: var(--stsv-common__background-color);
|
|
9
|
+
border-color: var(--stsv-common__border-color);
|
|
10
|
+
border-radius: 0;
|
|
11
|
+
border-style: solid;
|
|
12
|
+
border-width: 2px;
|
|
13
|
+
box-shadow: var(--stsv-common__box-shadow);
|
|
14
|
+
color: var(--stsv-common__color);
|
|
15
|
+
display: grid;
|
|
16
|
+
grid-template-columns: 1fr;
|
|
17
|
+
grid-template-rows: 1fr;
|
|
18
|
+
max-height: 350px;;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import url('./Autocomplete.base.css');
|
|
@@ -12,10 +12,7 @@
|
|
|
12
12
|
overflow: visible;
|
|
13
13
|
padding: 0;
|
|
14
14
|
position: relative;
|
|
15
|
-
transition:
|
|
16
|
-
background-color 250ms,
|
|
17
|
-
color 250ms,
|
|
18
|
-
border-color 250ms;
|
|
15
|
+
transition: background-color 250ms, color 250ms, border-color 250ms;
|
|
19
16
|
}
|
|
20
17
|
|
|
21
18
|
/* ----- horizontal | vertical ----- */
|
|
@@ -23,12 +20,12 @@
|
|
|
23
20
|
.sterling-label:not(.vertical) {
|
|
24
21
|
grid-template-columns: auto auto;
|
|
25
22
|
grid-template-rows: auto auto;
|
|
26
|
-
grid-template-areas:
|
|
23
|
+
grid-template-areas: "text content" ". message";
|
|
27
24
|
}
|
|
28
25
|
|
|
29
26
|
.sterling-label.vertical {
|
|
30
27
|
grid-template-rows: auto auto auto;
|
|
31
|
-
grid-template-areas:
|
|
28
|
+
grid-template-areas: "text" "content" "message";
|
|
32
29
|
}
|
|
33
30
|
|
|
34
31
|
/* ----- text ----- */
|
|
@@ -61,10 +58,7 @@
|
|
|
61
58
|
grid-area: message;
|
|
62
59
|
padding: 0.5em;
|
|
63
60
|
width: 100%;
|
|
64
|
-
transition:
|
|
65
|
-
background-color 250ms,
|
|
66
|
-
color 250ms,
|
|
67
|
-
border-color 250ms;
|
|
61
|
+
transition: background-color 250ms, color 250ms, border-color 250ms;
|
|
68
62
|
}
|
|
69
63
|
|
|
70
64
|
.sterling-label.info .message {
|
package/css/sterling.css
CHANGED