Skip to content

Commit

Permalink
fixing cursor to default when hovering links
Browse files Browse the repository at this point in the history
  • Loading branch information
lidiazuin committed Nov 6, 2024
1 parent 5a431f9 commit f390dfd
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ strong strong { /* stylelint-disable-line */
}

button {
cursor: pointer;
cursor: default;
font-family: inherit;
font-size: 1em;
line-height: var(--body-line-height);
Expand Down
4 changes: 2 additions & 2 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ body {
border-top-left-radius: 6px;
border-top-right-radius: 6px;
border-bottom: none;
cursor: pointer;
cursor: default;
}

.doc .tabbed-tabs .tabbed-tab--active {
Expand Down Expand Up @@ -1311,7 +1311,7 @@ body {
}

.doc details summary {
cursor: pointer;
cursor: default;
}

.doc details[open] summary {
Expand Down
24 changes: 15 additions & 9 deletions src/css/docs-ndl.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ body.docs-ndl .nav-menu .docs-home-link {

body.docs-ndl .nav-menu .docs-home-link:hover,
body.docs-ndl .nav-menu .docs-home-link:focus {
cursor: default;
text-decoration: none;
background-color: var(--colors-baltic-15);
}
Expand All @@ -51,6 +52,7 @@ body.docs-ndl .nav-menu .home-link.is-home {
}

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

body.docs-ndl .nav-menu a,
body.docs-ndl .nav-text {
cursor: default;
color: var(--neutral-color);
}

Expand Down Expand Up @@ -433,21 +436,18 @@ body.docs-ndl .banner .paragraph.description {
font-size: 16px;
font-weight: 100;
line-height: 24px;
letter-spacing: 0px;
letter-spacing: 0;
}

/* selectable cards */

body.docs-ndl .cards .sect2.selectable {
cursor: pointer;
}

body.docs-ndl .cards .sect2.selectable .description {
color: var(--doc-font-color);
font-weight: 200;
}

body.docs-ndl .cards .sect2.selectable a {
cursor: default;
text-decoration: solid;
}

Expand Down Expand Up @@ -583,7 +583,6 @@ body.docs-ndl .lists ul li a {
body.docs-ndl .sect2 {
display: flex;
flex-direction: column;
cursor: pointer;
border-radius: 16px;
position: relative;
}
Expand All @@ -596,7 +595,7 @@ body.docs-ndl .cards .sectionbody > div.sect2 {

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

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

body.docs-ndl .bottom-cards .sect2 .icon {
padding-bottom: 16px;
}

body.docs-ndl .bottom-cards .sect2 h3 {
padding-bottom: 8px;
}

body.docs-ndl .bottom-cards:not(.selectable) .sect2 .paragraph.link {
margin-top: 8px;
margin-bottom: 9px;
padding-top: 0;
}

body.docs-ndl .cards .sect2 .paragraph.category {
Expand Down
4 changes: 2 additions & 2 deletions src/css/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ html.is-clipped--nav {
}

.nav-item-toggle {
cursor: pointer;
cursor: default;
}

/* .nav-item-toggle {
Expand Down Expand Up @@ -276,7 +276,7 @@ html.is-clipped--nav {
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
cursor: default;
line-height: 1;
height: var(--drawer-height);
}
Expand Down
5 changes: 2 additions & 3 deletions src/css/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/* --colors-baltic-20: #8FE3E8; */
/* --colors-baltic-50: #0A6190; */
/* --colors-baltic-60: #014063; */

/* --text-white: #F5F6F6; */

/* Picked from Neo4j Design System */
Expand Down Expand Up @@ -154,10 +153,10 @@
--color-pink-800: #97266d;
--color-pink-900: #702459;
--color-baltic-20: #8fe3e8;
--colors-baltic-30: #5DB3BF;
--colors-baltic-30: #5db3bf;

/* dark mode */
--text-inverse: #1A1B1D;
--text-inverse: #1a1b1d;

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

0 comments on commit f390dfd

Please sign in to comment.