Skip to content

Commit f0b9290

Browse files
authored
Merge branch 'master' into sivanova/fix-16375
2 parents 458defe + 46cd79c commit f0b9290

File tree

3 files changed

+35
-29
lines changed

3 files changed

+35
-29
lines changed

projects/igniteui-angular/src/lib/core/styles/components/combo/_combo-theme.scss

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,24 @@
210210
color: var-get($theme, 'clear-button-foreground-focus');
211211
background: var-get($theme, 'clear-button-background-focus');
212212
}
213+
214+
&%form-group-bundle--border {
215+
%igx-combo__toggle-button {
216+
background: var-get($theme, 'toggle-button-background-focus--border');
217+
}
218+
}
213219
}
214220

215221
@if $variant == 'indigo' {
216222
%form-group-bundle:not(%form-group-bundle--disabled):hover {
217223
%igx-combo__toggle-button {
218224
color: var-get($theme, 'toggle-button-foreground-focus');
225+
background: var-get($theme, 'toggle-button-background-focus');
226+
}
227+
228+
%igx-combo__clear-button {
229+
color: var-get($theme, 'clear-button-foreground-focus');
230+
background: var-get($theme, 'clear-button-background-focus');
219231
}
220232
}
221233
}
@@ -224,6 +236,14 @@
224236
%igx-combo__toggle-button {
225237
color: var-get($theme, 'toggle-button-foreground-filled');
226238
}
239+
240+
@if $variant == 'material' {
241+
&.igx-input-group--focused {
242+
%igx-combo__toggle-button {
243+
color: var-get($theme, 'toggle-button-foreground-filled');
244+
}
245+
}
246+
}
227247
}
228248

229249
.igx-input-group--focused {
@@ -254,14 +274,6 @@
254274
}
255275
}
256276

257-
//.igx-input-group:not(.igx-input-group--box) {
258-
// %igx-combo__toggle-button:focus {
259-
// @if $variant == 'material' {
260-
// background: var-get($theme, 'toggle-button-background-focus--border');
261-
// }
262-
// }
263-
//}
264-
265277
.igx-input-group--disabled {
266278
%igx-combo__toggle-button {
267279
background: var-get($theme, 'toggle-button-background-disabled') !important;
@@ -274,12 +286,4 @@
274286
}
275287
}
276288
}
277-
278-
%form-group-bundle {
279-
&:hover {
280-
%igx-combo__clear-button {
281-
color: inherit;
282-
}
283-
}
284-
}
285289
}

projects/igniteui-angular/src/lib/core/styles/components/navbar/_navbar-theme.scss

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@
3838
igx-input-group {
3939
--ig-size: 1;
4040
}
41+
42+
.igx-icon-button,
43+
igc-icon-button {
44+
--ig-size: 2;
45+
}
4146
}
4247

4348
@if $variant == 'bootstrap' {
@@ -114,30 +119,27 @@
114119

115120
igx-icon,
116121
igc-icon {
117-
--component-size: 3;
122+
--component-size: #{if($variant == 'indigo', 2, 3)};
118123

119124
cursor: pointer;
120125
user-select: none;
121126
transition: color .15s $out-quad;
127+
128+
@if $variant == 'indigo' {
129+
width: auto;
130+
height: auto;
131+
padding: rem(6px);
132+
}
122133
}
123134

124-
>igx-icon,
125-
>igc-icon {
135+
> igx-icon,
136+
> igc-icon {
126137
color: var-get($theme, 'idle-icon-color');
127138

128139
&:hover {
129140
color: var-get($theme, 'hover-icon-color');
130141
}
131142
}
132-
133-
@if $variant == 'indigo' {
134-
igx-icon,
135-
igc-icon {
136-
--component-size: 2;
137-
138-
margin-inline: rem(6px);
139-
}
140-
}
141143
}
142144

143145
igx-navbar-action,

projects/igniteui-angular/src/lib/core/styles/components/select/_select-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
.igx-input-group.igx-input-group--disabled.igx-input-group--filled,
5757
.igx-input-group.igx-input-group--disabled {
58-
%igx-select__toggle-button {
58+
%form-group-bundle %igx-select__toggle-button {
5959
background: var-get($theme, 'toggle-button-background-disabled');
6060
color: var-get($theme, 'toggle-button-foreground-disabled');
6161
}

0 commit comments

Comments
 (0)