1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-28 16:17:02 +00:00

[settings] redesigned the 'heading' bar; fixup for the side nav; impr… (#6250)

* [settings] redesigned the 'heading' bar; fixup for the side nav; improved UI for content headings

* [settings] resigned it (the top bar, the side panel; the code frame)
This commit is contained in:
llj
2024-06-25 21:48:57 +08:00
committed by GitHub
parent a5edeafb74
commit 26bdd0decd
7 changed files with 116 additions and 120 deletions

View File

@@ -4,52 +4,24 @@ body {
#wrapper {
height: 100%;
}
.top-header {
background: #f4f4f7;
border-bottom: 1px solid #e8e8e8;
padding: .5rem 1rem;
flex-shrink: 0;
.main-panel {
overflow: hidden;
}
.side-panel {
flex: 0 0 22%;
padding: 1rem;
border-right: 1px solid #eee;
}
.main-panel {
flex: 1 0 78%;
}
.heading {
padding: 8px 16px;
background: #f9f9f9;
font-size: 1rem;
color: #212529;
font-weight: normal;
line-height: 1.5;
margin:0;
position: relative;
}
.heading:after {
position: absolute;
left: 16px;
right: 16px;
bottom: 0;
content: '';
border-bottom: 1px solid #e8e8e8;
}
.content {
padding: 0rem 1rem 8rem;
overflow: auto;
}
.setting-item {
font-size: 0.875rem;
margin: 1em 0 3em;
padding: 1em 0 3em;
}
.setting-item-heading {
font-size: 0.9375rem;
font-weight: normal;
padding-bottom: 0.3rem;
border-bottom: 1px solid #ddd;
border-bottom: 1px solid #eee;
margin-bottom: 0.7rem;
}
.user-avatar {
@@ -69,20 +41,6 @@ body {
text-align: center;
cursor: pointer;
}
.user-setting-nav .nav-item .nav-link {
flex: auto;
margin: 0;
padding-left: 1em;
border-left: 2px solid transparent;
color: #212529;
}
.user-setting-nav .nav-item.active .nav-link {
color: #ff9800;
border-color: #ff9800;
}
.user-setting-nav .nav-item .nav-link:hover {
color: #eb8205;
}
.eye-icon {
color: #666;
}