fix: controls select icon stroke color

- move select icon style to controls.scss
This commit is contained in:
prssanna 2020-08-26 23:36:00 +05:30
parent bf6c8355cc
commit e4e46beaf5
2 changed files with 22 additions and 19 deletions

View file

@ -110,25 +110,6 @@
}
}
.frappe-control[data-fieldtype="Select"] .control-input {
position: relative;
select {
/* for Firefox */
-moz-appearance: none;
/* for Chrome */
-webkit-appearance: none;
}
.icon {
position: absolute;
top: 8px;
height: 15px;
right: 12px;
pointer-events: none;
}
}
/* duration control */
.duration-picker {

View file

@ -28,4 +28,26 @@
.frappe-control {
font-size: var(--text-md);
}
.frappe-control[data-fieldtype="Select"] .control-input {
position: relative;
select {
/* for Firefox */
-moz-appearance: none;
/* for Chrome */
-webkit-appearance: none;
}
.icon {
position: absolute;
top: 8px;
height: 15px;
right: 12px;
pointer-events: none;
use {
stroke: var(--text-muted);
}
}
}