Files
Frontend-Internal-Developer…/frontend/src/app/components/topHeader/styles.module.css
2026-02-26 16:27:44 +08:00

198 lines
3.6 KiB
CSS

.container {
display: flex;
padding: 24px;
justify-content: space-between;
align-items: center;
align-self: stretch;
background: #21232f;
}
.title {
display: flex;
align-items: center;
gap: 24px;
}
.title > div {
display: flex;
padding: 6px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 100px;
border: 0.5px solid #8187ff;
cursor: pointer;
}
.title > div:hover {
border-radius: 100px;
border: 0.5px solid #959aff;
background: linear-gradient(
180deg,
rgba(149, 154, 255, 0.25) 0%,
rgba(88, 91, 151, 0.25) 100%
);
}
.title > div:hover path {
stroke: white;
}
.title > p {
color: #d2d3e1;
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.actionBar {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 10px;
}
.searchBarContainer {
display: flex;
padding: 6px;
justify-content: flex-end;
align-items: center;
gap: 10px;
}
.button {
display: flex;
padding: 8px 12px;
justify-content: center;
align-items: center;
gap: 8px;
border-radius: 6px;
border: 0.5px solid #8187ff;
background: rgba(83, 89, 242, 0.25);
cursor: pointer;
}
.button:hover {
background: linear-gradient(180deg, #5359f2 0%, #2e3288 100%);
}
.mngEnvKeyButton {
display: inline-flex;
padding: 8px 12px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 6px;
border-radius: 6px;
border: 1px solid #5358f200;
cursor: pointer;
}
.mngEnvKeyButton > p {
color: #8187ff;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
cursor: pointer;
}
.mngEnvKeyButton:hover p {
color: white;
}
.mngEnvKeyButton:hover {
border: 1px solid #5359f2;
background: linear-gradient(180deg, #5359f2 0%, #2e3288 100%);
}
.mngEnvKeyButton:hover path {
stroke: white;
}
.cancelButton {
display: flex;
height: 36px;
padding: 9px 12px;
justify-content: center;
align-items: center;
gap: 8px;
border-radius: 6px;
border: 0.5px solid #4e537e;
cursor: pointer;
}
.cancelButton:hover {
border-radius: 6px;
border: 1px solid #8e98e7;
background: linear-gradient(180deg, #8e98e6 0%, #4d537e 100%);
}
.menu {
display: flex;
width: 36px;
height: 36px;
gap: 10px;
flex-direction: column;
align-items: flex-end;
aspect-ratio: 1/1;
position: relative;
}
.dotMenu {
display: flex;
padding: 8px;
align-items: center;
gap: 12px;
border-radius: 6px;
border: 1px solid #8187ff;
cursor: pointer;
}
.dotMenu:hover {
background: linear-gradient(180deg, #5359f2 0%, #2e3288 100%);
}
.dotMenu:hover path {
stroke: white;
}
.dropDown {
display: flex;
width: 200px;
padding: 8px;
flex-direction: column;
align-items: flex-start;
gap: 6px;
z-index: 2;
border-radius: 6px;
background: #2d3144;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.25);
animation-name: dropDownAnimation;
animation-duration: 200ms;
}
@keyframes dropDownAnimation {
0% {
opacity: 0;
transform: translateY(-10%);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.dropDown > div:hover {
border-radius: 4px;
background: #3c4159;
background: color(display-p3 0.2392 0.2549 0.3412);
color: white;
}
.dropDown > div:hover p {
color: white;
}
.dropDown > div:hover path {
stroke: white;
}
.dropDown > div {
display: flex;
padding: 6px;
align-items: center;
gap: 10px;
align-self: stretch;
border-radius: 4px;
}
.dropDown > div > div {
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
color: #d2d3e1;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
}