Skip to content

Commit db27552

Browse files
authored
Merge branch 'master' into sstoychev/update-to-21
2 parents 5c1976a + 46cd79c commit db27552

File tree

6 files changed

+38
-45
lines changed

6 files changed

+38
-45
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/list/_list-theme.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@
229229
display: none;
230230
}
231231

232-
> * {
232+
> *,
233+
[class^='igx'] {
233234
--component-size: #{if($variant == 'indigo', 2, var(--list-size))};
234235
}
235236

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
}

projects/igniteui-angular/src/lib/core/styles/components/time-picker/_time-picker-theme.scss

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,6 @@
2323
'indigo': rem(16px),
2424
), $variant);
2525

26-
.igx-input-group {
27-
display: flex;
28-
flex-direction: column;
29-
30-
@if $variant == 'indigo' or $variant == 'bootstrap' {
31-
[igxLabel] {
32-
margin-block-end: rem(4px);
33-
}
34-
} @else if $variant == 'fluent' {
35-
[igxLabel] {
36-
margin-block-end: rem(5px);
37-
}
38-
}
39-
}
40-
4126
%time-picker-display {
4227
@include sizable();
4328

projects/igniteui-angular/src/lib/grids/columns/column.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,6 +1066,7 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnTy
10661066
return (this.grid as any)._columns.indexOf(this);
10671067
}
10681068

1069+
/* mustCoerceToInt */
10691070
/**
10701071
* Gets the pinning position of the column.
10711072
* ```typescript

0 commit comments

Comments
 (0)