Skip to content

Commit f390dfd

Browse files
committed
fixing cursor to default when hovering links
1 parent 5a431f9 commit f390dfd

File tree

5 files changed

+22
-17
lines changed

5 files changed

+22
-17
lines changed

src/css/base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ strong strong { /* stylelint-disable-line */
6868
}
6969

7070
button {
71-
cursor: pointer;
71+
cursor: default;
7272
font-family: inherit;
7373
font-size: 1em;
7474
line-height: var(--body-line-height);

src/css/doc.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ body {
11791179
border-top-left-radius: 6px;
11801180
border-top-right-radius: 6px;
11811181
border-bottom: none;
1182-
cursor: pointer;
1182+
cursor: default;
11831183
}
11841184

11851185
.doc .tabbed-tabs .tabbed-tab--active {
@@ -1311,7 +1311,7 @@ body {
13111311
}
13121312

13131313
.doc details summary {
1314-
cursor: pointer;
1314+
cursor: default;
13151315
}
13161316

13171317
.doc details[open] summary {

src/css/docs-ndl.css

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ body.docs-ndl .nav-menu .docs-home-link {
3636

3737
body.docs-ndl .nav-menu .docs-home-link:hover,
3838
body.docs-ndl .nav-menu .docs-home-link:focus {
39+
cursor: default;
3940
text-decoration: none;
4041
background-color: var(--colors-baltic-15);
4142
}
@@ -51,6 +52,7 @@ body.docs-ndl .nav-menu .home-link.is-home {
5152
}
5253

5354
body.docs-ndl .nav-menu .home-link.is-home a {
55+
cursor: default;
5456
display: flex;
5557
background-color: rgba(var(--colors-baltic-10));
5658
color: rgba(var(--colors-baltic-50));
@@ -79,6 +81,7 @@ body.docs-ndl .nav-menu .nav-module > ul:not(ul:has(li)) {
7981

8082
body.docs-ndl .nav-menu a,
8183
body.docs-ndl .nav-text {
84+
cursor: default;
8285
color: var(--neutral-color);
8386
}
8487

@@ -433,21 +436,18 @@ body.docs-ndl .banner .paragraph.description {
433436
font-size: 16px;
434437
font-weight: 100;
435438
line-height: 24px;
436-
letter-spacing: 0px;
439+
letter-spacing: 0;
437440
}
438441

439442
/* selectable cards */
440443

441-
body.docs-ndl .cards .sect2.selectable {
442-
cursor: pointer;
443-
}
444-
445444
body.docs-ndl .cards .sect2.selectable .description {
446445
color: var(--doc-font-color);
447446
font-weight: 200;
448447
}
449448

450449
body.docs-ndl .cards .sect2.selectable a {
450+
cursor: default;
451451
text-decoration: solid;
452452
}
453453

@@ -583,7 +583,6 @@ body.docs-ndl .lists ul li a {
583583
body.docs-ndl .sect2 {
584584
display: flex;
585585
flex-direction: column;
586-
cursor: pointer;
587586
border-radius: 16px;
588587
position: relative;
589588
}
@@ -596,7 +595,7 @@ body.docs-ndl .cards .sectionbody > div.sect2 {
596595

597596
body.docs-ndl .cards.bottom-cards .sectionbody > div.sect2 {
598597
flex: 0 1 49%;
599-
border: 1px solid var(--panel-border-color);
598+
border: 0;
600599
}
601600

602601
body.docs-ndl.explainer .sectionbody > div.sect2 {
@@ -803,9 +802,16 @@ body.docs-ndl .cards:not(.selectable) .sect2 .paragraph.link {
803802
margin-top: auto;
804803
}
805804

805+
body.docs-ndl .bottom-cards .sect2 .icon {
806+
padding-bottom: 16px;
807+
}
808+
809+
body.docs-ndl .bottom-cards .sect2 h3 {
810+
padding-bottom: 8px;
811+
}
812+
806813
body.docs-ndl .bottom-cards:not(.selectable) .sect2 .paragraph.link {
807-
margin-top: 8px;
808-
margin-bottom: 9px;
814+
padding-top: 0;
809815
}
810816

811817
body.docs-ndl .cards .sect2 .paragraph.category {

src/css/nav.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ html.is-clipped--nav {
222222
}
223223

224224
.nav-item-toggle {
225-
cursor: pointer;
225+
cursor: default;
226226
}
227227

228228
/* .nav-item-toggle {
@@ -276,7 +276,7 @@ html.is-clipped--nav {
276276
display: flex;
277277
align-items: center;
278278
justify-content: space-between;
279-
cursor: pointer;
279+
cursor: default;
280280
line-height: 1;
281281
height: var(--drawer-height);
282282
}

src/css/vars.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
/* --colors-baltic-20: #8FE3E8; */
55
/* --colors-baltic-50: #0A6190; */
66
/* --colors-baltic-60: #014063; */
7-
87
/* --text-white: #F5F6F6; */
98

109
/* Picked from Neo4j Design System */
@@ -154,10 +153,10 @@
154153
--color-pink-800: #97266d;
155154
--color-pink-900: #702459;
156155
--color-baltic-20: #8fe3e8;
157-
--colors-baltic-30: #5DB3BF;
156+
--colors-baltic-30: #5db3bf;
158157

159158
/* dark mode */
160-
--text-inverse: #1A1B1D;
159+
--text-inverse: #1a1b1d;
161160

162161
/* theme accent colors */
163162
--color-developer: rgba(var(--colors-forest-45));

0 commit comments

Comments
 (0)