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