Skip to content

Commit c1ee718

Browse files
author
Mariela Tihova
authored
Merge pull request #120 from IgniteUI/mtihova/headers-fixes
CSS modifications to resolve design mismatch
1 parent f0d5624 commit c1ee718

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

src/app/views/home/home.component.scss

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $custom-icon-button-theme: icon-button-theme(
4646

4747
.tab-item-container {
4848
width: 100%;
49-
height: 100%;
49+
height: 72px;
5050
display: inline-flex;
5151
}
5252

@@ -56,36 +56,36 @@ $custom-icon-button-theme: icon-button-theme(
5656
display: flex;
5757
flex-grow: 1;
5858
flex-basis: 0;
59-
flex-direction: column;
60-
justify-content: space-between;
59+
flex-direction: row;
60+
justify-content: center;
6161
gap: 8px;
6262
padding: 12px;
6363
cursor: pointer;
6464
user-select: none;
65+
color: var(--ig-gray-900);
6566

6667
&--selected {
6768
border-bottom: 3px solid var(--ig-primary-500);
69+
color: var(--ig-primary-500);
6870
}
6971

7072
&:hover {
71-
background: hsl(from var(--ig-gray-100) h s l/0.5);
73+
background-color: #e6f2ff;
74+
box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
75+
transition: all 0.5s ease;
76+
transform: translateY(-2px); // slight lift
7277
}
7378
}
7479

7580
.tab-header {
7681
display: flex;
7782
flex-direction: row;
7883
gap: 8px;
79-
color: var(--ig-gray-900);
80-
font-size: 20px;
84+
font-size: 16px;
8185
font-weight: 600;
82-
line-height: 24px;
86+
line-height: 20px;
8387
letter-spacing: 0.15px;
8488
--ig-size: var(--ig-size-medium);
85-
86-
&--disabled {
87-
color: var(--ig-gray-700) !important;
88-
}
8989
}
9090

9191
.tab-content {

0 commit comments

Comments
 (0)