Skip to content

Commit d54412f

Browse files
committed
fix(ui5-responsive-popover): scope styles for input controls
1 parent 1500ada commit d54412f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/main/src/themes/ResponsivePopoverCommon.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
padding: .1875rem .5rem
4444
}
4545

46-
[inner-input] {
46+
[ui5-responsive-popover] [inner-input] {
4747
background: transparent;
4848
color: inherit;
4949
border: none;
@@ -62,19 +62,19 @@
6262
border-radius: var(--_ui5_input_border_radius);
6363
}
6464

65-
[inner-input]::selection,
66-
[inner-input]::-moz-selection {
65+
[ui5-responsive-popover] [inner-input]::selection,
66+
[ui5-responsive-popover] [inner-input]::-moz-selection {
6767
background: var(--sapSelectedColor);
6868
color: var(--sapContent_ContrastTextColor);
6969
}
7070

7171
/* Input placeholder */
72-
[inner-input]::-webkit-input-placeholder {
72+
[ui5-responsive-popover] [inner-input]::-webkit-input-placeholder {
7373
font-style: var(--_ui5_input_placeholder_style);
7474
color: var(--sapField_PlaceholderTextColor);
7575
}
7676

77-
[inner-input]::-moz-placeholder {
77+
[ui5-responsive-popover] [inner-input]::-moz-placeholder {
7878
font-style: var(--_ui5_input_placeholder_style);
7979
color: var(--sapField_PlaceholderTextColor);
8080
}

0 commit comments

Comments
 (0)