1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 02:48:51 +00:00

12.0 change app structure (#6335)

* 01 change app structure

* 02 change setting page

* 03 optimize header style

* 04 change app mobile side panel logo
This commit is contained in:
Michael An
2024-07-11 17:45:30 +08:00
committed by GitHub
parent 4e16703d33
commit c41407f783
38 changed files with 238 additions and 408 deletions

View File

@@ -5,14 +5,6 @@
flex-direction: column;
}
/* for top bottom layout*/
#header {
background: #fff;
border-bottom: 1px solid #eee;
box-shadow: 0 2px 4px rgba(0,0,0, 10%);
z-index: 100;
}
/* for left right layout */
#main {
flex: 1;
@@ -37,13 +29,6 @@
position: relative;
}
.positioned-top-logo {
position: absolute;
top: .5rem;
left: 1rem;
z-index: 101;
}
.main-panel {
flex: 1 0 78%;
display: flex;

View File

@@ -7,8 +7,8 @@ body {
}
.top-header {
background: #f4f4f7;
border-bottom: 1px solid #e8e8e8;
background-color: #f8fafd;
border-bottom: 1px solid #eee;
padding: .5rem 1rem;
flex-shrink: 0;
}

View File

@@ -7,8 +7,8 @@ body {
}
.top-header {
background: #f4f4f7;
border-bottom: 1px solid #e8e8e8;
background-color: #f8fafd;
border-bottom: 1px solid #eee;
padding: .5rem 1rem;
flex-shrink: 0;
}

View File

@@ -7,8 +7,8 @@ body {
}
.top-header {
background: #f4f4f7;
border-bottom: 1px solid #e8e8e8;
background-color: #f8fafd;
border-bottom: 1px solid #eee;
padding: .5rem 1rem;
flex-shrink: 0;
}

View File

@@ -5,12 +5,12 @@
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
z-index: 1;
z-index: 3;
}
.search-container {
position: relative;
z-index: 2;
z-index: 4;
}
.search-container.show {
@@ -298,7 +298,7 @@
.search-container {
position: fixed;
z-index: 2;
z-index: 4;
top: 5rem;
left: 0;
right: 0;

View File

@@ -1,22 +1,26 @@
body {
overflow: hidden;
}
#wrapper {
height: 100%;
}
.top-header {
background: #f4f4f7;
border-bottom: 1px solid #e8e8e8;
background-color: #f8fafd;
border-bottom: 1px solid #eee;
padding: 8px 16px 4px;
height: 53px;
flex-shrink: 0;
}
.shared-dir-view-main {
width: calc(100% - 40px);
max-width: 950px;
padding: 15px 0 40px;
margin: 0 auto;
}
.op-bar {
padding: 9px 10px;
background: #f2f2f2;
@@ -34,18 +38,22 @@ body {
font-size: 18px;
border-radius: 2px;
}
.sf-view-mode-btn.current-mode {
background-color: #ccc;
color: #fff;
}
.shared-dir-op-btn {
height: 30px;
line-height: 30px;
padding: 0 10px;
}
.shared-dir-upload-btn {
border: 1px solid #ccc;
}
.grid-item .action-icon {
position: absolute;
top: 10px;

View File

@@ -1,15 +1,18 @@
body {
overflow: hidden;
}
#wrapper {
height: 100%;
}
.top-header {
background: #f4f4f7;
border-bottom: 1px solid #e8e8e8;
background-color: #f8fafd;
border-bottom: 1px solid #eee;
padding: .5rem 1rem;
flex-shrink: 0;
}
.content {
max-width: 950px;
}

View File

@@ -1,12 +1,14 @@
body {
overflow: hidden;
}
#wrapper {
height: 100%;
}
.top-header {
background: #f4f4f7;
border-bottom: 1px solid #e8e8e8;
background-color: #f8fafd;
border-bottom: 1px solid #eee;
padding: .5rem 1rem;
flex-shrink: 0;
}
@@ -17,25 +19,30 @@ body {
border: 1px solid #ddd;
margin: 2em auto;
}
.shared-by .avatar {
width: 20px;
height: 20px;
}
#upload-link-panel .warning-icon {
color: #f25041;
font-size: 48px;
}
#upload-link-drop-zone {
background: rgba(255, 152, 0, 0.1);
border: 2px dashed #ff9800;
border-radius: 4px;
padding: 28px 0;
}
#upload-link-drop-zone .upload-icon {
color: rgba(240, 159, 63, 0.8);
font-size: 60px;
line-height: 1;
}
.mh-2 {
min-height: 2rem;
}