Skip to content

Commit

Permalink
Cleanup CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
kreafox committed Nov 11, 2022
1 parent 1611a24 commit 42cfa19
Show file tree
Hide file tree
Showing 13 changed files with 1,055 additions and 1,157 deletions.
37 changes: 0 additions & 37 deletions src/SearchBlock/less/answersbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -135,43 +135,6 @@
}
}

// .answers__bottom {
// display: flex;
// justify-content: space-between;
//
// button {
// margin-right: 0px;
// }
//
// h5 {
// margin: 0em;
// color: @sf-light-gray2;
// font-size: 0.7em;
// text-align: right;
// }
//
// .answers__bottom__spacer {
// height: 0.5em;
// flex-grow: 2;
// border-bottom: 1px solid @sf-light-gray2;
// margin-right: 1em;
// margin-left: 1em;
// }
//
// .right {
// display: flex;
// column-gap: 1em;
// }
//
// .rating {
// margin-left: 0em;
//
// .icon.active {
// color: #2d9390;
// }
// }
// }

// .progress {
// height: 3px;
// margin-top: 1em;
Expand Down
8 changes: 4 additions & 4 deletions src/SearchBlock/less/datahub.less
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
background-color: @deepBlue;

.description {
color: white;
color: @white;
font-size: 16px;
}
}
Expand All @@ -203,7 +203,7 @@
margin: 5px;
background: #dcdcdc;
border-radius: 0.5em;
color: black;
color: @black;
font-size: 12px;
line-height: 2;
word-break: keep-all;
Expand Down Expand Up @@ -258,7 +258,7 @@
// display: flex;
// align-items: center;
// padding: 0.5em 1em;
// background-color: @darkCerulean;
// background-color: @primaryColor;
// color: white;
// font-size: 23px;
// font-weight: 700;
Expand All @@ -274,7 +274,7 @@
// top: -6px;
// width: 6px;
// height: 125%;
// background-color: @darkCerulean;
// background-color: @primaryColor;
// content: ' ';
// }

Expand Down
28 changes: 7 additions & 21 deletions src/SearchBlock/less/dropdown-filterlist.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@
position: relative;
top: 3px;
}

// &::after {
// position: absolute;
// bottom: -7px;
// left: 0;
// width: 100%;
// height: 10px;
// background-color: white;
// content: '';
// }
}

.ui.dropdown {
Expand All @@ -44,7 +34,7 @@
> span {
z-index: 99999 !important;
box-shadow: 0 5px 0 @white, 0 0 4px rgba(0, 0, 0, 0.25);
color: @green-5;
color: @pineGreen;
font-weight: 700;
}

Expand Down Expand Up @@ -107,6 +97,7 @@
height: 100%;
flex-direction: column;
padding: 1em;
z-index: 999;

.clear-btn {
margin: 0 !important;
Expand All @@ -133,18 +124,18 @@

h3 {
margin: 0;
color: @green-5 !important;
color: @pineGreen !important;
}

.ui.card.term .header {
border: none;
color: #3d5265;
color: @blue-grey-5;
font-size: 16px;
font-weight: 400;
}

.ui.card.term span.count {
color: #3d5265;
color: @blue-grey-5;
font-weight: 400;
}

Expand All @@ -167,7 +158,6 @@

.ui.button.sui-button {
padding: 0;
// margin-bottom: 1em;
color: @secondaryColor !important;
font-weight: 600;

Expand Down Expand Up @@ -231,7 +221,7 @@
&.active {
.header,
span.count {
color: @darkCerulean;
color: @primaryColor;
font-weight: 700;
}

Expand Down Expand Up @@ -280,7 +270,7 @@
color: @deepBlue;

.facet-label {
color: @green-5;
color: @pineGreen;
font-size: 18px;
font-weight: 700;
}
Expand All @@ -299,14 +289,12 @@
.sui-multi-checkbox-facet__option-label {
align-items: flex-start;
justify-content: space-between;
// justify-content: initial;
margin: 0.5em 0;
}

.sui-multi-checkbox-facet__option-count {
display: flex;
align-items: center;
// margin: 0;
margin: 0 0.5em;
color: @blue-grey-5;
font-size: 14px;
Expand All @@ -315,8 +303,6 @@

.sui-multi-checkbox-facet__option-input-wrapper {
position: relative;
// flex: none;

input.sui-multi-checkbox-facet__checkbox {
position: absolute;
width: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/SearchBlock/less/facets.less
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@
&.active {
.header,
span.count {
color: @darkCerulean;
color: @primaryColor;
font-weight: 700;
}

Expand Down
9 changes: 0 additions & 9 deletions src/SearchBlock/less/filterlist.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
div#page-document .searchlib-block {
.top-facetslist-wrapper {
margin: 1.5em 0 !important;
}

.ui.inverted.segment.filter-list {
padding: 0.4rem;
background-color: #004b87;
Expand Down Expand Up @@ -31,11 +27,6 @@ div#page-document .searchlib-block {
}
}

div.col-left {
padding: 0 5px;
margin-top: 3em;
}

div.inline-filter-list {
width: 100%;
min-height: 50px;
Expand Down
10 changes: 1 addition & 9 deletions src/SearchBlock/less/paging.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
display: inline-block;
width: 100%;
border-bottom: 5px solid @secondaryColor;
color: #3d5265;
color: @blue-grey-5;
content: '';
}
}
Expand Down Expand Up @@ -170,11 +170,3 @@
}
}
}

// .sui-paging-info {
// display: inline-block;
// margin-right: 0.5em;
// margin-left: 0.4em;
// color: @deepBlue;
// font-size: 12px;
// }
Loading

0 comments on commit 42cfa19

Please sign in to comment.