-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- CSS instead of inline opacity for non-matching tags. - CSS cleanups, indention fixes. - Search result tag layout sanding.
- Loading branch information
1 parent
38badfb
commit a6fd5cb
Showing
3 changed files
with
101 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,107 +1,115 @@ | ||
/******************************* EXPANDED SEARCH 2022 */ | ||
.c-gsearch { | ||
.l-shell__head & { | ||
// Search input in the shell head | ||
width: 20%; | ||
.l-shell__head & { | ||
// Search input in the shell head | ||
width: 20%; | ||
|
||
.c-search { | ||
background: rgba($colorHeadFg, 0.2); | ||
box-shadow: none; | ||
} | ||
} | ||
|
||
.c-search { | ||
background: rgba($colorHeadFg, 0.2); | ||
box-shadow: none; | ||
&__results-wrapper { | ||
@include menuOuter(); | ||
display: flex; | ||
flex-direction: column; | ||
padding: $interiorMarginLg; | ||
min-width: 500px; | ||
max-height: 500px; | ||
} | ||
} | ||
|
||
&__results-wrapper { | ||
@include menuOuter(); | ||
display: flex; | ||
flex-direction: column; | ||
padding: $interiorMarginLg; | ||
min-width: 500px; | ||
max-height: 500px; | ||
} | ||
|
||
&__results, | ||
&__results-section { | ||
flex: 1 1 auto; | ||
} | ||
|
||
&__results { | ||
// Holds n __results-sections | ||
padding-right: $interiorMargin; // Fend off scrollbar | ||
overflow-y: auto; | ||
&__results, | ||
&__results-section { | ||
flex: 1 1 auto; | ||
} | ||
|
||
> * + * { | ||
margin-top: $interiorMarginLg; | ||
&__results { | ||
// Holds n __results-sections | ||
padding-right: $interiorMargin; // Fend off scrollbar | ||
overflow-y: auto; | ||
|
||
> * + * { | ||
margin-top: $interiorMarginLg; | ||
} | ||
} | ||
} | ||
|
||
&__results-section { | ||
> * + * { | ||
margin-top: $interiorMarginSm; | ||
&__results-section { | ||
> * + * { | ||
margin-top: $interiorMarginSm; | ||
} | ||
} | ||
} | ||
|
||
&__results-section-title { | ||
@include propertiesHeader(); | ||
} | ||
&__results-section-title { | ||
@include propertiesHeader(); | ||
} | ||
} | ||
|
||
.c-gsearch-result { | ||
display: flex; | ||
padding: $interiorMargin $interiorMarginSm; | ||
display: flex; | ||
padding: $interiorMargin $interiorMarginSm; | ||
|
||
> * + * { | ||
margin-left: $interiorMarginLg; | ||
} | ||
> * + * { | ||
margin-left: $interiorMarginLg; | ||
} | ||
|
||
+ .c-gsearch-result { | ||
border-top: 1px solid $colorInteriorBorder; | ||
} | ||
|
||
+ .c-gsearch-result { | ||
border-top: 1px solid $colorInteriorBorder; | ||
} | ||
&__type-icon, | ||
&__more-options-button { | ||
flex: 0 0 auto; | ||
} | ||
|
||
&__type-icon, | ||
&__more-options-button { | ||
flex: 0 0 auto; | ||
} | ||
&__type-icon { | ||
color: $colorItemTreeIcon; | ||
font-size: 2.2em; | ||
|
||
&__type-icon { | ||
color: $colorItemTreeIcon; | ||
font-size: 2.2em; | ||
// TEMP: uses object-label component, hide label part | ||
.c-object-label__name { | ||
display: none; | ||
} | ||
} | ||
|
||
// TEMP: uses object-label component, hide label part | ||
.c-object-label__name { | ||
display: none; | ||
&__more-options-button { | ||
display: none; // TEMP until enabled | ||
} | ||
} | ||
|
||
&__more-options-button { | ||
display: none; // TEMP until enabled | ||
} | ||
&__body { | ||
flex: 1 1 auto; | ||
|
||
&__body { | ||
flex: 1 1 auto; | ||
> * + * { | ||
margin-top: $interiorMarginSm; | ||
} | ||
|
||
> * + * { | ||
margin-top: $interiorMarginSm; | ||
.c-location { | ||
font-size: 0.9em; | ||
opacity: 0.8; | ||
} | ||
} | ||
|
||
.c-location { | ||
font-size: 0.9em; | ||
opacity: 0.8; | ||
&__tags { | ||
display: flex; | ||
|
||
> * + * { | ||
margin-left: $interiorMargin; | ||
} | ||
} | ||
} | ||
|
||
&__title { | ||
border-radius: $basicCr; | ||
color: pullForward($colorBodyFg, 30%); | ||
cursor: pointer; | ||
font-size: 1.15em; | ||
padding: 3px $interiorMarginSm; | ||
&__title { | ||
border-radius: $basicCr; | ||
color: pullForward($colorBodyFg, 30%); | ||
cursor: pointer; | ||
font-size: 1.15em; | ||
padding: 3px $interiorMarginSm; | ||
|
||
&:hover { | ||
background-color: $colorItemTreeHoverBg; | ||
&:hover { | ||
background-color: $colorItemTreeHoverBg; | ||
} | ||
} | ||
} | ||
|
||
.c-tag { | ||
font-size: 0.9em; | ||
} | ||
.c-tag { | ||
font-size: 0.9em; | ||
} | ||
} |