Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
2.2 kB
1
Indexable
Never
/* 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;
}

.dashboard-link:hover,
.dashboard-image-link:hover {
  text-decoration: underline;
}

.dashboard-upload-input {
  margin-top: 10px;
}

.dashboard-welcome-message {
  margin-right: 15px;
  color: orange;
}

.dashboard-button {
  background-color: #4caf50;
  color: white;
  padding: 10px;
  cursor: pointer;
  border: none;
}

.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;
  display: flex;
  align-items: center;
}

.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-nav-left:hover .dashboard-link {
  display: none;
}

.dashboard-dropdown a {
  color: paleturquoise;
  padding: 10px;
  text-decoration: none;
  display: block;
  text-align: left;
  width: 150px;
}

.dashboard-dropdown a:hover {
  background-color: #45a049;
}

@media only screen and (max-width: 600px) {
  .dashboard-dropdown {
    flex-direction: column;
    position: relative;
  }
  .dashboard-link,
  .dashboard-upload-input,
  .dashboard-image-link {
    display: none;
  }
  .dashboard-nav-left:hover .dashboard-link,
  .dashboard-nav-left:hover .dashboard-upload-input,
  .dashboard-nav-left:hover .dashboard-image-link {
    display: block;
  }
}
Leave a Comment