1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-27 07:44:50 +00:00

Remove useless border color (#8039)

* 01 remove draft page

* 02 delete useless seperate color
This commit is contained in:
Michael An
2025-07-14 20:31:05 +08:00
committed by GitHub
parent 53f5e3d7fe
commit e1250f5adc
27 changed files with 40 additions and 300 deletions

View File

@@ -5,7 +5,7 @@
}
.seafile-comment-title {
border-bottom: 1px solid #e5e5e5;
border-bottom: 1px solid #eee;
background-color: #fff;
height: 46px;
line-height: 46px;

View File

@@ -1,212 +0,0 @@
#draft {
display: flex;
flex: 1;
flex-direction: column;
justify-content: center;
align-items: center;
}
#wrapper {
height: 100%;
width: 100%;
display: flex;
}
.header .button-group {
display: flex;
align-items: center;
}
.header .common-list-btn .common-list-btn-number {
margin-left: .5em;
}
.main .cur-view-container {
width: 100%;
height: 100%;
display: flex;
flex-flow: row nowrap;
background-color: #fafaf9;
}
.main .cur-view-container .cur-view-content {
flex: auto;
height: 100%;
}
.main .cur-view-right-part {
height: 100%;
width: 300px;
flex-shrink: 0;
position: relative;
}
.cur-file-info .file-info {
display: block;
padding-top: 10px;
}
.file-info .view-file-link,
.file-info .draft-link {
font-size: .6em;
color: #1e1e1e;
text-decoration: underline;
display: block;
font-weight: normal;
}
.file-info .file-review {
color: #666;
font-size: 1rem;
font-weight: 400;
}
.cur-file-info .last-modification {
font-size: 0.8125rem;
}
.seafile-toggle-diff {
display: flex;
margin-right: 10px;
}
.seafile-toggle-diff .custom-switch .custom-switch-indicator {
border: 1px solid #e9ecef;
}
.seafile-toggle-diff .custom-switch-input:checked ~ .custom-switch-indicator {
background-color: #f19645;
}
.review-side-panel {
border-left: 1px solid #e6e6dd;
background-color: #fff;
height: 100%;
}
.review-side-panel-head {
border-bottom: 1px solid #e5e5e5;
line-height: 3em;
background-color: #fafaf9;
text-align: center;
font-weight: 700;
}
.review-side-panel-body {
padding: 1rem 1rem 3rem;
overflow-y: scroll;
height: 100%;
}
.review-side-panel-body .dirent-table-container {
padding-left: 0;
}
.dirent-table-container th {
word-wrap: break-word;
word-break: normal;
}
.dirent-table-container td a:hover {
text-decoration: underline;
}
.review-side-panel-item {
border-bottom: 1px solid #e6e6dd;
padding: 1em 0;
}
.review-side-panel-item:last-child {
border: 0;
}
.review-side-panel-item .author-info {
display: flex;
align-items: center;
}
.review-side-panel-header {
display: flex;
justify-content: space-between;
margin-bottom: 2px;
font-weight: bold;
color: #666;
font-size: 0.8125rem;
}
.review-side-panel-item i {
color: #c8c8c8;
margin: 5px 5px 0 0;
font-size: 1rem;
}
.review-side-panel-item i:hover {
cursor: pointer;
color: #666;
}
.review-side-panel-avatar {
margin-right: 10px;
height: 1.5rem;
width: 1.5rem;
}
.review-side-panel-item .author-name {
height: 2rem;
line-height: 2rem;
}
.markdown-viewer-render-content {
position: relative;
}
.markdown-viewer-render-content tr:nth-child(2n) {
background-color: #fff;
}
.review-side-panel-nav {
margin: 0;
}
.review-side-panel-nav .nav-item {
width: 33.3%;
padding-top: 4px;
}
.review-side-panel-nav .nav-item .nav-link {
margin: 0 auto;
}
.review-side-panel-nav .nav-item .nav-link.active {
border-color: #f19645;
color: #f19645;
}
.review-side-panel-nav .nav-item i {
padding: 0 8px;
font-size: 1rem;
width: 1rem;
}
.review-side-panel .tab-content {
height: calc(100% - 38px);
}
.review-side-panel .tab-content .tab-pane {
height: 100%;
}
@media (max-width: 768px) {
.markdown-viewer-render-content {
margin: 0px;
}
.header .file-operation-btn {
padding: 0.1rem 0.25rem;
}
}
@media (max-width: 992px) {
.review-side-panel, .dirent-table-container td {
font-size: 12px !important;
}
}

View File

@@ -2,7 +2,7 @@
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e8e8e8;
border-bottom: 1px solid #eee;
background-color: #f5f5f5;
font-size: 1rem;
padding: 0.5rem 1rem;

View File

@@ -2,7 +2,7 @@
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e8e8e8;
border-bottom: 1px solid #eee;
background-color: #f5f5f5;
font-size: 1rem;
padding: 0.5rem 1rem;
@@ -61,7 +61,7 @@
position: relative;
padding: .5rem 0;
width: 100%;
border-bottom: 1px solid #e8e8e8;
border-bottom: 1px solid #eee;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
@@ -102,7 +102,7 @@
.history-content .history-side-panel {
flex: 0 0 auto;
user-select: none;
border-left: 1px solid #e5e5e5;
border-left: 1px solid #eee;
background-color: #fff;
display: flex;
flex-direction: column;
@@ -110,11 +110,10 @@
.history-content .history-side-panel .history-side-panel-title {
height: 50px;
border-bottom: 1px solid #e5e5e5;
border-bottom: 1px solid #eee;
line-height: 50px;
font-size: 1rem;
padding: 0 10px;
/*background-color: rgb(250,250,249);*/
font-weight: bolder;
}

View File

@@ -2,7 +2,7 @@
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e8e8e8;
border-bottom: 1px solid #eee;
background-color: #f5f5f5;
font-size: 1rem;
padding: 0.5rem 1rem;

View File

@@ -9,7 +9,7 @@ body {
.file-view-header {
padding: 4px 10px;
background: #fff;
border-bottom: 1px solid #c9c9c9;
border-bottom: 1px solid #eee;
flex-shrink: 0;
}

View File

@@ -26,7 +26,7 @@
.activity-modifier-selector-container {
width: 320px;
background: #fff;
border: 1px solid #e8e8e8;
border: 1px solid #eee;
margin-top: 2px;
z-index: 2;
}

View File

@@ -15,7 +15,7 @@
color: #666;
text-align: center;
padding: 4px 0;
border-bottom: 1px solid #e8e8e8;
border-bottom: 1px solid #eee;
}
#files-content-container .libraries-empty-tip-in-grid-mode {

View File

@@ -218,7 +218,7 @@ div[tabindex="-1"][role="group"] {
align-items: center;
justify-content: space-between;
background-color: #fff;
border-bottom: 1px solid #e5e5e5;
border-bottom: 1px solid #eee;
box-shadow: 0 3px 2px -2px rgba(200,200,200,.15);
}

View File

@@ -368,7 +368,7 @@
justify-content: space-between;
align-items: center;
padding: 1rem;
border-bottom: 1px solid #e5e5e5;
border-bottom: 1px solid #eee;
position: relative;
font-size: 1rem;
}

View File

@@ -28,7 +28,7 @@
.activity-modifier-selector-container {
width: 320px;
background: #fff;
border: 1px solid #e8e8e8;
border: 1px solid #eee;
margin-top: 2px;
z-index: 2;
}

View File

@@ -227,7 +227,7 @@ select#scaleSelect {
#toolbarContainer {
box-shadow: none;
border-top: 1px solid #c9c9c9;
border-top: 1px solid #eee;
height: auto;
}

View File

@@ -5,7 +5,7 @@
.sdoc-revision .sdoc-revision-header {
height: 50px;
border-bottom: 1px solid #e5e5e5;
border-bottom: 1px solid #eee;
background-color: #fff;
}

View File

@@ -10,7 +10,7 @@
.shared-file-view-md-header {
background: #f5f5f5;
height: 53px;
border-bottom: 1px solid #e8e8e8;
border-bottom: 1px solid #eee;
padding: 8px 16px 4px;
justify-content: space-between;
}

View File

@@ -9,7 +9,7 @@
.sf-single-selector .options-container {
min-width: 165px;
background: #fff;
border: 1px solid #e8e8e8;
border: 1px solid #eee;
z-index: 2;
}