2023-03-22 16:42:54 +08:00
|
|
|
// scss-lint:disable SelectorDepth unknownProperties IdSelector
|
|
|
|
// scss-lint:disable NestingDepth SelectorFormat
|
|
|
|
|
|
|
|
#sciNavigationTopMenuContainer {
|
|
|
|
display: contents;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci--navigation--top-menu-container {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $color-white;
|
2023-06-13 18:38:55 +08:00
|
|
|
border-bottom: 1px solid var(--sn-sleepy-grey);
|
2023-03-22 16:42:54 +08:00
|
|
|
display: flex;
|
2023-07-31 12:47:43 +08:00
|
|
|
justify-content: flex-end;
|
2023-06-13 18:38:55 +08:00
|
|
|
gap: 1rem;
|
2023-03-22 16:42:54 +08:00
|
|
|
height: 100%;
|
2023-06-13 18:38:55 +08:00
|
|
|
padding: 0 1rem;
|
2023-03-22 16:42:54 +08:00
|
|
|
|
|
|
|
.sci--navigation--top-menu-logo {
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
2023-06-20 16:22:39 +08:00
|
|
|
max-height: 22px;
|
2023-03-22 16:42:54 +08:00
|
|
|
|
|
|
|
&.small {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci--navigation--top-menu-search {
|
2023-06-13 18:38:55 +08:00
|
|
|
width: 300px;
|
2023-03-22 16:42:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.sci--navigation--top-menu-user {
|
2023-04-14 17:38:28 +08:00
|
|
|
.avatar {
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2023-03-22 16:42:54 +08:00
|
|
|
}
|
|
|
|
|
2023-05-22 15:07:56 +08:00
|
|
|
.dropdown-menu {
|
2023-05-25 19:46:33 +08:00
|
|
|
top: 43px;
|
2023-06-02 20:03:57 +08:00
|
|
|
border-radius: 0 0 4px 4px;
|
2023-05-25 14:52:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.top-menu-user-dropdown {
|
2023-05-25 19:46:33 +08:00
|
|
|
top: 40px;
|
2023-05-22 15:07:56 +08:00
|
|
|
}
|
|
|
|
|
2023-04-06 19:02:34 +08:00
|
|
|
.dropdown-menu li a {
|
|
|
|
line-height: 1rem;
|
|
|
|
padding: .625rem 1rem;
|
|
|
|
}
|
|
|
|
|
2023-03-22 16:42:54 +08:00
|
|
|
@media(max-width: 1200px) {
|
|
|
|
.sci--navigation--top-menu-logo {
|
|
|
|
.logo {
|
|
|
|
&.large {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small {
|
|
|
|
display: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|