aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/frontend/src/main/components/search/search.scss
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-08-04 17:02:31 +0200
committerMarcin Aman <marcin.aman@gmail.com>2021-08-12 13:21:40 +0200
commit0fe8352ab057dfbbf690a723b2ccfc15b9977f4a (patch)
tree7017e7169950f907206832c862dce5e711e3cae8 /plugins/base/frontend/src/main/components/search/search.scss
parent42c0320e0c5f2d79a5438558bb87d4668aa4c3cc (diff)
downloaddokka-0fe8352ab057dfbbf690a723b2ccfc15b9977f4a.tar.gz
dokka-0fe8352ab057dfbbf690a723b2ccfc15b9977f4a.tar.bz2
dokka-0fe8352ab057dfbbf690a723b2ccfc15b9977f4a.zip
Webhelp-like frontend
Diffstat (limited to 'plugins/base/frontend/src/main/components/search/search.scss')
-rw-r--r--plugins/base/frontend/src/main/components/search/search.scss90
1 files changed, 68 insertions, 22 deletions
diff --git a/plugins/base/frontend/src/main/components/search/search.scss b/plugins/base/frontend/src/main/components/search/search.scss
index 8965c5ea..0ea6da19 100644
--- a/plugins/base/frontend/src/main/components/search/search.scss
+++ b/plugins/base/frontend/src/main/components/search/search.scss
@@ -1,11 +1,16 @@
+$font-color: hsla(0, 0%, 100%, 0.8);
+$secondary-font-color: hsla(0, 0%, 100%, 0.6);
+
.search {
button {
- border: none;
- fill: #637282;
- background: #F4F4F4;
- cursor: pointer;
margin-top: 3px;
+ cursor: pointer;
+
+ border: none;
+ background: var(--color-dark);
+ fill: var(--background-color);
+
&:focus {
outline: none;
}
@@ -13,40 +18,81 @@
}
.popup-wrapper {
- min-width: calc(100% - 360px) !important;
+ min-width: calc(100% - 322px) !important;
+
+ border: 1px solid hsla(0, 0%, 100%, 0.2) !important;
+
+ background-color: #27282c !important;
+
+ [class^="filterWrapper"] {
+ border-bottom: 1px solid hsla(0, 0%, 100%, 0.2);
+ }
+
+ input {
+ color: $font-color !important;
+
+ font-weight: normal !important;
+ }
+
+ span[data-test-custom="ring-select-popup-filter-icon"] {
+ color: #fff;
+ }
+
+ button[data-test="ring-input-clear"] {
+ color: #fff !important;
+ }
}
-@media screen and (max-width: 759px){
- .popup-wrapper {
- min-width: 100% !important;
- }
+@media screen and (max-width: 759px) {
+ .popup-wrapper {
+ min-width: 100% !important;
+ }
}
.template-wrapper {
- height: 32px;
display: grid;
+
+ height: 32px;
grid-template-columns: auto auto;
+
+ strong {
+ color: $font-color;
+ }
+
span {
- line-height: 32px;
+ color: $font-color;
+
+ line-height: 32px;
+
+ &.template-description {
+ color: $secondary-font-color;
+ justify-self: end;
+ }
}
}
-@media screen and (max-width: 759px){
- .template-wrapper {
- display: flex;
- height: auto;
- flex-direction: column;
- span {
- line-height: unset;
- }
+@media screen and (max-width: 759px) {
+ .template-wrapper {
+ display: flex;
+ flex-direction: column;
+
+ height: auto;
+
+ span {
+ line-height: unset;
}
+ }
}
.template-name {
justify-self: start;
}
-.template-description {
- color: gray;
- justify-self: end;
+/* remove fade at the bottom */
+[class^="fade"] {
+ display: none;
+}
+
+[class*="hover"] {
+ background-color: hsla(0, 0%, 100%, 0.1) !important;
}