mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-15 14:49:09 +00:00
@@ -16,6 +16,7 @@
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
color: #212529;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.empty-tip .empty-tip-text {
|
||||
|
@@ -2,6 +2,7 @@
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.image-file-view:before {
|
||||
content: ' ';
|
||||
display: inline-block;
|
||||
@@ -10,6 +11,7 @@
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
#image-view {
|
||||
padding: 1px;
|
||||
background: #fff;
|
||||
@@ -21,6 +23,7 @@
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
#img-prev,
|
||||
#img-next {
|
||||
position: absolute;
|
||||
@@ -33,12 +36,15 @@
|
||||
border-radius: 100%;
|
||||
line-height: 50px;
|
||||
}
|
||||
|
||||
#img-prev {
|
||||
left: 15px;
|
||||
}
|
||||
|
||||
#img-next {
|
||||
right: 15px;
|
||||
}
|
||||
|
||||
#img-prev:hover,
|
||||
#img-next:hover {
|
||||
color: #212529;
|
||||
|
@@ -1,6 +1,7 @@
|
||||
.spreadsheet-file-view {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#spreadsheet-container {
|
||||
display: block;
|
||||
width: calc(100% - 40px);
|
||||
|
@@ -2,6 +2,7 @@
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.svg-file-view:before {
|
||||
content: ' ';
|
||||
display: inline-block;
|
||||
@@ -10,6 +11,7 @@
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
#svg-view {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
|
@@ -3,15 +3,19 @@
|
||||
line-height: 1.5;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.web-setting-icon-btn-submit {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.web-setting-icon-btn-cancel {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.web-setting-textarea {
|
||||
min-height: 7rem;
|
||||
}
|
||||
|
||||
.web-setting-label {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
@@ -3,12 +3,14 @@
|
||||
padding: 4px 10px;
|
||||
background: #fddaa4;
|
||||
}
|
||||
|
||||
#info-bar .close {
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
color: #888;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#info-bar-info a {
|
||||
color: #a68558;
|
||||
text-decoration: underline;
|
||||
|
@@ -1,13 +1,16 @@
|
||||
.tip-for-new-file {
|
||||
margin: 0 auto;
|
||||
padding: 2em 1em;
|
||||
align-self: flex-start; /* for repo wiki mode */
|
||||
align-self: flex-start;
|
||||
/* for repo wiki mode */
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.tip-for-new-file {
|
||||
padding: 5em 8em;
|
||||
}
|
||||
}
|
||||
|
||||
.big-new-file-button {
|
||||
padding: .9em 2em 1em;
|
||||
border-radius: 8px;
|
||||
@@ -17,6 +20,7 @@
|
||||
background: #fff;
|
||||
border: 1px solid #d1d1d1;
|
||||
}
|
||||
|
||||
.big-new-file-button:hover,
|
||||
.big-new-file-button:focus {
|
||||
border-color: #eb9205;
|
||||
|
@@ -27,9 +27,11 @@
|
||||
border: 0;
|
||||
border-right: 1px solid #eee;
|
||||
}
|
||||
|
||||
.transfer-dialog-side .nav {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.transfer-dialog-side .nav-pills .nav-item .nav-link {
|
||||
width: 100%;
|
||||
padding: 0.3125rem 0.5rem;
|
||||
|
@@ -38,6 +38,7 @@
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.right-tree-item:hover {
|
||||
color: #15181A;
|
||||
background-color: #F8F9FA;
|
||||
|
@@ -308,8 +308,8 @@ class Wikis extends Component {
|
||||
{(!this.state.loading && this.state.wikis.length === 0 && this.state.groupWikis.length === 0) &&
|
||||
<div className="cur-view-content">
|
||||
<EmptyTip title={gettext('No Wikis')}>
|
||||
<p>{gettext('You do not have any wikis yet.')}</p>
|
||||
<p>{gettext('You can add a wiki by clicking the "Add Wiki" button in the menu.')}</p>
|
||||
<p className="empty-tip-text">{gettext('You do not have any wikis yet.')}</p>
|
||||
<p className="empty-tip-text">{gettext('You can add a wiki by clicking the "Add Wiki" button in the menu.')}</p>
|
||||
</EmptyTip>
|
||||
</div>
|
||||
}
|
||||
|
Reference in New Issue
Block a user