Skip to content

Commit

Permalink
Add styles for top search results block
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Feb 12, 2017
1 parent e580685 commit ca9afea
Showing 1 changed file with 70 additions and 3 deletions.
73 changes: 70 additions & 3 deletions scss/modules/flexpane/_search.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.search_message_result {
background: $color-base;
border-top: 2px solid $color-shade-darkest;
border-top: 2px solid $color-shade-dark;
color: $base-font-color;

.search_message_result_meta {
Expand Down Expand Up @@ -134,8 +134,8 @@ span.match {
}

.search_result_with_extract {
background: $color-shade-light;
border: 1px solid $color-shade-darkest;
background: $color-shade-dark;
border: 1px solid $color-shade-light;
box-shadow: 0 1px 10px $color-shadow-light;

&:hover {
Expand All @@ -156,3 +156,70 @@ span.match {
.search_result_with_extract:hover .extract_expand_icons {
color: $base-link-color-active;
}

.search_module_header {
color: $base-font-color;
}

.search_module_footer {
background-color: $color-shade-dark;
border-bottom-color: $color-shade-light;
border-left-color: $color-shade-light;
border-right-color: $color-shade-light;

p {
color: $base-font-color;
}

#see_more {
color: $base-font-color;

a {
color: $base-font-color;
}
}

.top_results_feedback a {
color: $base-font-color;
}

ts-icon {
color: $base-font-color;
}
}

.top_results_search_message_result {
background-color: $color-shade-dark;
border-bottom-color: $color-shade-light;
border-left-color: $color-shade-light;
border-right-color: $color-shade-light;

&.duplicate {
background-color: $color-shade-dark;
}

.timestamp {
color: $color-highlight;
}

.channel {
color: $color-highlight;

a {
color: $color-highlight;
}
}

.jump {
color: $base-font-color;
}

&:hover {
border: 1px solid rgba($color-shade-lightest, 0.6) !important;
border-top: 2px solid $color-shade-light !important;
}

&:first-child {
border-top: 2px solid $color-shade-light;
}
}

0 comments on commit ca9afea

Please sign in to comment.