Skip to content

Commit 560f234

Browse files
committed
fix(card & input): styling
1 parent cfae764 commit 560f234

4 files changed

Lines changed: 16 additions & 8 deletions

File tree

src/app/data-entries/input-group/input-group-styling/input-group-styling.component.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ igx-input-group {
2222
// $border-color: #0f62fe,
2323
// $idle-bottom-line-color: #8d8d8d,
2424
// $hover-bottom-line-color: #8d8d8d,
25-
// $hover-placeholder-color: var(--ig-gray-700),
26-
// $idle-secondary-color: var(--ig-gray-700),
25+
// $hover-placeholder-color: var(--ig-gray-600),
26+
// $idle-secondary-color: var(--ig-gray-600),
2727
// $focused-secondary-color: var(--ig-gray-700),
2828
// $size: rem(40px),
2929
// $box-border-radius: 0,
3030
// $box-background-hover: var(--ig-gray-100),
31-
// $placeholder-color: var(--ig-gray-600)
31+
// $placeholder-color: var(--ig-gray-600),
32+
// $helper-text-color: var(--ig-gray-600)
3233
// );
3334

3435
// @include css-vars($custom-input-group);

src/app/data-entries/input-group/input-group-styling/layout.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
pointer-events: none;
3737
box-shadow: inset 0 0 0 rem(2px) var(--border-color);
3838
}
39+
40+
.igx-input-group__label, igx-hint {
41+
font-weight: 300;
42+
}
3943
}
4044
}
4145

src/app/layouts/card/card-styling-sample/card-styling-sample.component.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,4 @@ igx-divider {
7474
// @include css-vars($custom-divider-theme);
7575
// .igx-icon-button--flat {
7676
// @include css-vars($custom-icon-button-theme);
77-
// };
78-
77+
// };

src/app/layouts/card/card-styling-sample/layout.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@
3131
padding: unset;
3232
align-items: baseline;
3333
margin: rem(24px) rem(24px) 0 rem(24px);
34-
height: rem(70px);
34+
height: rem(65px);
3535
}
3636

3737
.igx-card-header__subtitle {
3838
--ig-subtitle-2-font-weight: 400;
39-
--ig-subtitle-2-line-height: #{rem(28px)};
39+
--ig-subtitle-2-line-height: #{rem(22px)};
4040
--ig-subtitle-2-letter-spacing: #{rem(0.5px)};
4141
--subtitle-text-color: rgba(0, 0, 0, 0.45);
4242

43-
margin: #{rem(8px)} 0 1rem;
43+
margin: rem(8px) 0 rem(12px);
4444
}
4545

4646
.igx-card-content {
@@ -65,6 +65,10 @@ igx-icon {
6565
--igx-icon-size: #{rem(14px)};
6666
}
6767

68+
igx-avatar {
69+
border-radius: rem(20px);
70+
}
71+
6872
igx-card-actions {
6973
justify-content: space-evenly;
7074
padding: rem(6px) 0;

0 commit comments

Comments
 (0)