Skip to content

Commit

Permalink
CSS cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kreafox committed Jun 13, 2022
1 parent 7d10a68 commit 06c53d9
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 40 deletions.
6 changes: 5 additions & 1 deletion src/SearchBlock/less/filterlist.less
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@ div#page-document .searchlib-block {
}
}

.modal-section-title {
color: @lightBlack;
}

.ui.basic.button.clear-btn {
padding: 0.8em;
color: @secondaryColor !important;
Expand Down Expand Up @@ -293,7 +297,7 @@ div#page-document .searchlib-block {
padding: 5px;
margin-top: 4px;
margin-bottom: 0px;
background: @sf-blue;
background: @primaryColor;
color: white;
font-size: 12px;

Expand Down
17 changes: 3 additions & 14 deletions src/SearchBlock/less/searchresult.less
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ div#page-document div.searchapp div.cards div.search-result {
}

span.breadcrumb span {
color: @sf-blue !important;
color: @primaryColor !important;
}

// button.mlt {
Expand Down Expand Up @@ -448,22 +448,11 @@ div#page-document div.searchapp div.cards div.search-result {
}
}

.label.new-item {
display: inline-block;
padding: 0.3em !important;
margin-left: 0.3em !important;
background: @s-light-orange;
color: @s-dark-orange;
font-size: 70%;
}

.label.new-item,
.label.archived-item {
display: inline-block;
padding: 0.3em !important;
margin-left: 0.3em !important;
background: @s-light-blue;
color: @s-dark-blue;
font-size: 70%;
font-size: 70% !important;
}

@media only screen and (max-width: 1279px) {
Expand Down
37 changes: 19 additions & 18 deletions src/SearchBlock/less/searchview.less
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
h1,
h2,
h3,
h4,
h5,
h6 {
color: @lightBlack;
}

div#page-document {
h1.documentFirstHeading {
display: none;
}

.searchlib-block {
color: @deepBlue;

// h1.documentFirstHeading {
// display: none;
// }

h1,
h2,
h3,
h4,
h5,
h6 {
color: @lightBlack;
}

div.searchapp {
margin: 1em 0;

Expand Down Expand Up @@ -238,11 +238,6 @@ div#page-document {
}

.search-body-footer {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;

div.results-selector {
font-size: 12px;

Expand All @@ -260,6 +255,12 @@ div#page-document {
}
}

button.download-btn {
background: #f2f2f2 !important;
color: @secondaryColor !important;
font-size: 10px !important;
}

.results-layout {
&.fixed {
max-width: @search-result-max-width;
Expand Down
7 changes: 0 additions & 7 deletions src/SearchBlock/less/variables.less
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
@s-medium-gray2: #545454;
@s-medium-gray: #e0e1e2; // rgba(0, 0, 0, 0.85)
@s-light-orange: #ffdfbb;
@s-dark-orange: #9c5a0a;
@s-light-blue: #cfe8fb;
@s-dark-blue: #184799;

@sf-light-gray: #f2f2f2;
@sf-light-gray2: #e0e1e2;
@sf-dark-azure: #267f7c;
@sf-blue: #0f4b87;
@sf-medium-gray: #cccccc;
@sf-medium-gray2: #808080;
@sf-dark-gray: #303030;
@sf-medium-blue: #1c6ca4;

@search-result-max-width: 1000px;

0 comments on commit 06c53d9

Please sign in to comment.