Skip to content

Commit df6765d

Browse files
Update _style.scss
1 parent 1c8a9ad commit df6765d

File tree

1 file changed

+46
-6
lines changed

1 file changed

+46
-6
lines changed

src/main/scss/base/_style.scss

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,32 @@ pre.console {
208208

209209
.setting-input {
210210
width: 100%;
211-
border-radius: 3px;
212-
border: 1px solid var(--input-border);
213-
box-shadow: inset 0 1px 1px rgb(0 0 0 / 0.075);
214-
padding: 6px;
211+
max-width: 100%;
212+
min-height: 38px;
213+
padding: var(--form-input-padding);
214+
border: var(--jenkins-border-width) solid var(--input-border);
215+
border-radius: var(--form-input-border-radius);
216+
box-shadow: var(--form-input-glow);
215217
box-sizing: border-box;
216-
-webkit-box-sizing: border-box;
217-
-moz-box-sizing: border-box;
218+
cursor: pointer;
219+
display: block;
220+
appearance: none;
221+
transition: var(--standard-transition);
222+
223+
&:hover {
224+
border-color: var(--input-border-hover);
225+
}
226+
227+
&:active,
228+
&:focus {
229+
outline: none;
230+
border-color: var(--focus-input-border);
231+
box-shadow: var(--form-input-glow--focus);
232+
}
233+
234+
&:disabled {
235+
pointer-events: none;
236+
}
218237
}
219238

220239
.setting-description {
@@ -230,6 +249,27 @@ pre.console {
230249
margin-top: 0;
231250
}
232251

252+
.setting-main:has(select.setting-input) {
253+
position: relative;
254+
width: 100%;
255+
256+
&::after {
257+
content: "";
258+
position: absolute;
259+
top: 0;
260+
right: 13px;
261+
bottom: 0;
262+
width: 0.625rem;
263+
background-color: currentColor;
264+
mask-image: url("data:image/svg+xml;charset=UTF-8,%3c?xml version='1.0' encoding='UTF-8'?%3e%3csvg width='336px' height='192px' viewBox='0 0 336 192' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3ePath%3c/title%3e%3cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e%3cg id='arrow' transform='translate(0.000000, 0.000000)' fill='%23FF0000' fill-rule='nonzero'%3e%3cpath d='M7.02943725,7.02943725 C16.3053957,-2.24652118 31.2852799,-2.34214962 40.6788451,6.74255194 L40.9705627,7.02943725 L168,134.059 L295.029437,7.02943725 C304.305396,-2.24652118 319.28528,-2.34214962 328.678845,6.74255194 L328.970563,7.02943725 C338.246521,16.3053957 338.34215,31.2852799 329.257448,40.6788451 L328.970563,40.9705627 L184.970563,184.970563 C175.694604,194.246521 160.71472,194.34215 151.321155,185.257448 L151.029437,184.970563 L7.02943725,40.9705627 C-2.34314575,31.5979797 -2.34314575,16.4020203 7.02943725,7.02943725 Z' id='Path'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e");
265+
mask-size: contain;
266+
mask-repeat: no-repeat;
267+
mask-position: center;
268+
pointer-events: none;
269+
transition: translate var(--elastic-transition);
270+
}
271+
}
272+
233273
.expanding-input {
234274
display: flex;
235275
align-items: center;

0 commit comments

Comments
 (0)