user change info + add hovers für buttons
This commit is contained in:
@@ -56,3 +56,29 @@
|
||||
.btn-logout{
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
.btn-userchange{
|
||||
background-color: var(--brand-white);
|
||||
color: var(--brand-background);
|
||||
}
|
||||
|
||||
/* Hovers */
|
||||
.btn-primary:hover {
|
||||
background-color: var(--brand-primary-hover);
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background-color: var(--bg-muted-hover);
|
||||
}
|
||||
|
||||
.btn-accent:hover {
|
||||
background-color: var(--fullblock-hover);
|
||||
}
|
||||
|
||||
.btn-danger:hover {
|
||||
background-color: var(--error-hover);
|
||||
}
|
||||
|
||||
.btn-userchange:hover, .btn-logout:hover{
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
32
CSS/Element/sidebar.css
Normal file
32
CSS/Element/sidebar.css
Normal file
@@ -0,0 +1,32 @@
|
||||
.sidebar {
|
||||
width: 200px;
|
||||
background-color: transparent;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.sidebar nav ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.sidebar nav ul li {
|
||||
margin-bottom: 0.5rem;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.sidebar nav ul li a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
display: block;
|
||||
padding: 0.5rem;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.sidebar nav ul li a:hover {
|
||||
background-color: #e2e6ea;
|
||||
}
|
||||
|
||||
.sidebar button{
|
||||
width: 100%;
|
||||
padding: 10px 10px;
|
||||
}
|
@@ -6,6 +6,7 @@
|
||||
@import url(Element/form.css);
|
||||
@import url(Element/button.css);
|
||||
@import url(Element/card.css);
|
||||
@import url(Element/sidebar.css);
|
||||
|
||||
*,
|
||||
*:before,
|
||||
@@ -37,6 +38,10 @@ h2 {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
*, button, a {
|
||||
transition: background-color 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
main {
|
||||
margin-top: 190px;
|
||||
}
|
||||
|
@@ -8,7 +8,6 @@
|
||||
--input-placeholder: #998E82;
|
||||
--error: #FF0000;
|
||||
|
||||
|
||||
/*Fonts*/
|
||||
--font-family-main: "Inter", sans-serif;
|
||||
--font-family-headline: "Source Serif 4", serif;
|
||||
@@ -24,4 +23,11 @@
|
||||
|
||||
--h-md: 48px;
|
||||
--border-primary: 1px solid #998E82;
|
||||
|
||||
/* Hover Variants */
|
||||
--brand-primary-hover: #FF9E33;
|
||||
--brand-background-hover: #2A231F;
|
||||
--bg-muted-hover: #6A6A6A;
|
||||
--fullblock-hover: #00008B;
|
||||
--error-hover: #CC0000;
|
||||
}
|
Reference in New Issue
Block a user