Skip to content

Commit 7341de1

Browse files
anmol-algomojavelinux
authored andcommitted
update the nav style (PR #96)
1 parent 4c47a34 commit 7341de1

File tree

1 file changed

+23
-24
lines changed

1 file changed

+23
-24
lines changed

src/css/nav.css

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@
3030
}
3131

3232
.components_group-title {
33-
padding: 15px 20px 15px 60px;
34-
text-transform: capitalize;
33+
padding: 10px 20px 10px 50px;
34+
text-transform: uppercase;
3535
font-weight: 600;
36-
background: #d9ecfd url(../img/server-icon.png) no-repeat 20px center /35px;
36+
font-family: "Source Sans Pro", sans-serif;
37+
font-size: 1.25rem;
38+
background: #d9ecfd url(../img/server-icon.png) no-repeat 17px center /25px;
3739
}
3840

3941
.components_group-title a {
@@ -53,22 +55,28 @@
5355

5456
.component_list-version {
5557
background: #eaebf1;
56-
padding: 0.875rem 1.375rem;
58+
padding: 1.25rem;
5759
display: flex;
5860
justify-content: space-between;
5961
align-items: center;
6062
}
6163

6264
.version_list {
6365
height: 30px;
66+
border-radius: 8px;
67+
padding: 0 10px;
68+
box-sizing: border-box;
69+
width: 65px;
70+
font-weight: 600;
6471
}
6572

6673
.component_list_title {
6774
font-weight: 600;
75+
font-size: 1.125rem;
6876
}
6977

7078
.menu_row {
71-
padding: 0.475rem 1.375rem;
79+
padding: 0.475rem 0 0.57rem 1.375rem;
7280
margin: 0;
7381
list-style: none;
7482
}
@@ -78,41 +86,31 @@
7886
}
7987

8088
.menu_list {
81-
padding: 0.25rem 0;
89+
padding: 1.25rem 0;
90+
}
91+
92+
.menu_list:last-child {
93+
padding-bottom: 0;
8294
}
8395

8496
.menu_line {
8597
display: block;
8698
}
8799

88100
.menu_list > .menu_line {
89-
font-size: 1rem;
90-
line-height: 1.5rem;
101+
font-size: 1.125rem;
102+
line-height: 1;
91103
}
92104

93105
.menu_list[data-depth="0"] > .menu_line {
94106
font-size: 1.25rem;
95-
line-height: 1.75rem;
107+
line-height: 1;
96108
font-weight: var(--weight-semibold);
97109
color: var(--brand-color-gray1);
98110
}
99111

100-
/*
101-
.menu_list.is-parent:not([data-depth="0"]) > .menu_line::before {
102-
content: "";
103-
cursor: pointer;
104-
display: block;
105-
position: absolute;
106-
width: 0;
107-
height: 0;
108-
border-top: 6px solid transparent;
109-
border-bottom: 6px solid transparent;
110-
border-left: 10px solid var(--color-brand-gray5);
111-
}
112-
*/
113-
114112
.menu_list.is-current-page > .menu_line {
115-
background: #4287d60f;
113+
/* background: #4287d60f; */
116114
border-right: 4px solid rgba(66, 135, 214, 0.44);
117115
font-weight: var(--weight-semibold);
118116
}
@@ -124,6 +122,7 @@
124122
word-break: break-word;
125123
font-family: 'Source Sans Pro', sans-serif;
126124
text-decoration: none;
125+
/* padding: 0.25rem 0; */
127126
}
128127

129128
a.menu_link {

0 commit comments

Comments
 (0)