@rastr/controls 0.1.0-beta.4 → 0.1.0-beta.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/dist/styles.css +10 -8
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
max-width: calc(100vw - 16px);
|
|
52
52
|
max-height: min(360px, calc(100vh - 16px));
|
|
53
53
|
overflow: auto;
|
|
54
|
-
padding:
|
|
54
|
+
padding: 6px;
|
|
55
55
|
border: 1px solid var(--rs-border);
|
|
56
|
-
border-radius: var(--rs-radius
|
|
56
|
+
border-radius: var(--rs-radius);
|
|
57
57
|
background: var(--rs-bg);
|
|
58
58
|
color: var(--rs-text);
|
|
59
59
|
box-shadow: var(--rs-popover-shadow);
|
|
@@ -73,13 +73,13 @@
|
|
|
73
73
|
min-width: 0;
|
|
74
74
|
height: 100%;
|
|
75
75
|
min-height: 26px;
|
|
76
|
-
padding: 0
|
|
76
|
+
padding: 0 28px 0 10px;
|
|
77
77
|
border: 1px solid var(--rs-border);
|
|
78
78
|
border-radius: var(--rs-radius-sm);
|
|
79
79
|
background: var(--rs-bg);
|
|
80
80
|
color: var(--rs-text);
|
|
81
81
|
font-family: var(--rs-font);
|
|
82
|
-
font-size:
|
|
82
|
+
font-size: 13px;
|
|
83
83
|
cursor: pointer;
|
|
84
84
|
transition:
|
|
85
85
|
border-color var(--rs-transition),
|
|
@@ -131,14 +131,15 @@
|
|
|
131
131
|
:where(.rs-select__list) {
|
|
132
132
|
display: flex;
|
|
133
133
|
flex-direction: column;
|
|
134
|
-
gap:
|
|
134
|
+
gap: 2px;
|
|
135
135
|
outline: none;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
:where(.rs-select__option) {
|
|
139
139
|
position: relative;
|
|
140
|
-
padding:
|
|
141
|
-
border-radius:
|
|
140
|
+
padding: 8px 12px 8px 32px;
|
|
141
|
+
border-radius: var(--rs-radius-sm);
|
|
142
|
+
font-size: 14px;
|
|
142
143
|
white-space: nowrap;
|
|
143
144
|
cursor: pointer;
|
|
144
145
|
}
|
|
@@ -155,6 +156,7 @@
|
|
|
155
156
|
|
|
156
157
|
/* Check mark at the chosen option. */
|
|
157
158
|
:where(.rs-select__option[aria-selected="true"]) {
|
|
159
|
+
background: var(--rs-accent-softer);
|
|
158
160
|
color: var(--rs-accent);
|
|
159
161
|
font-weight: 600;
|
|
160
162
|
}
|
|
@@ -162,7 +164,7 @@
|
|
|
162
164
|
:where(.rs-select__option[aria-selected="true"])::before {
|
|
163
165
|
content: "";
|
|
164
166
|
position: absolute;
|
|
165
|
-
left:
|
|
167
|
+
left: 13px;
|
|
166
168
|
top: 50%;
|
|
167
169
|
width: 4px;
|
|
168
170
|
height: 8px;
|