Skip to content
Snippets Groups Projects
Commit 914dbdcc authored by Malin Haugland Høli's avatar Malin Haugland Høli
Browse files

refactor: :lipstick: Update styles for use in the navbar

parent ac386b7b
No related branches found
No related tags found
3 merge requests!66Final merge,!17Navbar component,!4Pipeline fix
Pipeline #276292 failed
...@@ -4,7 +4,10 @@ ...@@ -4,7 +4,10 @@
--black: #363739; --black: #363739;
--white: #ffffff; --white: #ffffff;
--grey: #cbcbcb; --grey: #cbcbcb;
--light-grey: #f2f2f2;
--green: #95e35d; --green: #95e35d;
--light-green: #b3f385;
--bright: #f7da7c; --bright: #f7da7c;
...@@ -16,8 +19,10 @@ ...@@ -16,8 +19,10 @@
:root { :root {
--color-background: var(--white); --color-background: var(--white);
--color-text: var(--black); --color-text: var(--black);
--color-button: var(--bright); --color-button: var(--green);
--color-button-disabled: var(--grey); --color-button-disabled: var(--grey);
--color-nav-hover: var(--light-grey);
--color-button-hover: var(--light-green);
--color-link: var(--accent3); --color-link: var(--accent3);
--color-border: var(--black); --color-border: var(--black);
......
...@@ -50,10 +50,15 @@ button:disabled { ...@@ -50,10 +50,15 @@ button:disabled {
background-color: var(--color-button-disabled); background-color: var(--color-button-disabled);
cursor: not-allowed; cursor: not-allowed;
} }
button:hover {
background-color: var(--color-button-hover);
transition: 0.7s;
}
a { a {
text-decoration: none; text-decoration: none;
color: var(--color-link); color: var(--color-text);
font-weight: bold;
transition: 0.4s; transition: 0.4s;
} }
...@@ -71,6 +76,10 @@ textarea { ...@@ -71,6 +76,10 @@ textarea {
@media (hover: hover) { @media (hover: hover) {
a:hover { a:hover {
background-color: hsla(160, 100%, 37%, 0.2); background-color: var(--color-nav-hover);
transition: 0.5s;
text-decoration: none;
padding: 6px 6px;
border-radius: 8px;
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment