Untitled
unknown
plain_text
2 years ago
2.3 kB
8
Indexable
/* Dashboard.css */
.dashboard-header {
background-color: #2c3e50;
color: white;
padding: 10px;
width: 100%;
height: 25%;
box-sizing: border-box;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
}
.dashboard-nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.dashboard-link,
.dashboard-upload-input,
.dashboard-image-link {
color: paleturquoise;
text-decoration: none;
margin-bottom: 5px;
display: none;
}
.dashboard-link:hover,
.dashboard-image-link:hover {
text-decoration: underline;
}
.dashboard-upload-input {
display: block;
margin-top: 10px;
}
.dashboard-welcome-message {
margin-right: 15px;
color: orange;
}
.dashboard-button {
background-color: #4caf50;
color: white;
padding: 10px;
cursor: pointer;
border: none;
display: flex;
flex-direction: column;
align-items: center;
}
.dashboard-button:hover {
background-color: #45a049;
}
.dashbody {
padding-top: 40px;
}
.app-name {
color: aliceblue;
}
.dash-image {
display: flex;
}
.logout {
color: red;
font-size: x-large;
margin-right: 0;
}
body {
background-color: rgb(226, 193, 149);
}
.app-name {
color: black;
}
.logout {
background-color: red;
color: black;
padding: 5px;
cursor: pointer;
border: none;
}
.dashboard-nav-left {
margin-left: 2px;
}
/* Hamburger menu icon styles */
.hamburger-icon {
cursor: pointer;
}
.hamburger-icon div {
width: 30px;
height: 3px;
background-color: white;
margin: 6px 0;
transition: 0.4s;
}
/* Rotate animation on hover */
.hamburger-icon:hover div:nth-child(1) {
transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger-icon:hover div:nth-child(2) {
opacity: 0;
}
.hamburger-icon:hover div:nth-child(3) {
transform: rotate(45deg) translate(-5px, -6px);
}
.dashboard-dropdown {
display: none;
flex-direction: column;
position: absolute;
background-color: #2c3e50;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dashboard-nav-left:hover .dashboard-dropdown {
display: flex;
}
.dashboard-dropdown a {
color: paleturquoise;
padding: 10px;
text-decoration: none;
display: block;
text-align: left;
width: 150px;
}
.dashboard-dropdown a:hover {
background-color: #45a049;
}
Editor is loading...
Leave a Comment