mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 23:29:49 +00:00
fix style (#3447)
This commit is contained in:
@@ -58,15 +58,10 @@
|
||||
|
||||
.search-result-container .search-result-item {
|
||||
display: flex;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-left: 2px solid #fff;
|
||||
font-size: 0.8125rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.search-result-container .search-result-item:hover {
|
||||
border-left: 2px solid #eb8205;
|
||||
background-color: #eee;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.search-result-item .item-img {
|
||||
@@ -81,10 +76,10 @@
|
||||
.search-result-item .item-content {
|
||||
flex: 1;
|
||||
width: 0;
|
||||
margin-left: 0.25rem;
|
||||
margin-left: 0.8rem;
|
||||
}
|
||||
.item-content .item-name {
|
||||
color: #eb8205 !important;
|
||||
.item-content .item-name a , .item-content .item-link a {
|
||||
color: #EA8102 !important;
|
||||
}
|
||||
.item-content .item-link {
|
||||
color: #888;
|
||||
@@ -109,9 +104,10 @@
|
||||
.search-page .search-result-container {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
.search-page .search-page-container {
|
||||
padding: 10px;
|
||||
padding: 1.25rem 1rem;
|
||||
background: #f7f7f8;
|
||||
}
|
||||
.search-page .search-page-container .search-input {
|
||||
@@ -138,7 +134,7 @@
|
||||
color: #747474;
|
||||
}
|
||||
.search-page .search-filters {
|
||||
padding: 10px 10px 0;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.search-page .advanced-search .search-repo,
|
||||
.search-page .advanced-search .search-file-types {
|
||||
@@ -148,7 +144,6 @@
|
||||
top: 10px;
|
||||
}
|
||||
.search-page .advanced-search .search-catalog {
|
||||
margin: 0 10px;
|
||||
border-top: 1px dashed #e2e2e2;
|
||||
padding: 10px 0;
|
||||
}
|
||||
@@ -172,6 +167,9 @@
|
||||
top: 0.5rem;
|
||||
color: #b2b2b2;
|
||||
}
|
||||
.rc-calendar tbody tr {
|
||||
height: 1.75rem;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.common-toolbar .search {
|
||||
@@ -233,6 +231,5 @@
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
@@ -140,11 +140,11 @@ class AdvancedSearch extends React.Component {
|
||||
onChange={() => this.props.handlerFileTypes(4)}
|
||||
checked={stateAndValues.fileTypeItemsStatus[4]}/>
|
||||
<CustomInput
|
||||
type="checkbox" id="checkPdf" label={gettext('pdf')} inline
|
||||
type="checkbox" id="checkPdf" label="PDF" inline
|
||||
onChange={() => this.props.handlerFileTypes(5)}
|
||||
checked={stateAndValues.fileTypeItemsStatus[5]}/>
|
||||
<CustomInput
|
||||
type="checkbox" id="checkMarkdown" label={gettext('markdown')} inline
|
||||
type="checkbox" id="checkMarkdown" label="Markdown" inline
|
||||
onChange={() => this.props.handlerFileTypes(6)}
|
||||
checked={stateAndValues.fileTypeItemsStatus[6]}/>
|
||||
</Fragment>
|
||||
@@ -227,7 +227,7 @@ class AdvancedSearch extends React.Component {
|
||||
</div>
|
||||
<MediaQuery query="(max-width: 768px)">
|
||||
{errorSizeMsg && <div className="error mb-4">{errorSizeMsg}</div>}
|
||||
<Button className="ml-3" color="primary" onClick={this.props.handleSubmit}>{gettext('Submit')}</Button>
|
||||
<Button color="primary" onClick={this.props.handleSubmit}>{gettext('Submit')}</Button>
|
||||
<Button className="ml-2" onClick={this.props.handleReset}>{gettext('Reset')}</Button>
|
||||
</MediaQuery>
|
||||
</Collapse>
|
||||
|
Reference in New Issue
Block a user