Skip to content
Permalink
Browse files
add var
  • Loading branch information
jiangtj committed May 11, 2020
1 parent 93a556c commit 350e77722eca991e9678abdd8278663eda66d1dc
Showing 1 changed file with 10 additions and 13 deletions.
@@ -11,9 +11,9 @@
}

.search-popup {
background: white;
background: var(--bg-color, #fff);
border-radius: 5px;
color: $black-dim;
color: var(--color, #111);
display: none;
height: 80%;
left: 50%;
@@ -35,7 +35,7 @@
}

.search-icon, .popup-btn-close {
color: $grey-dark;
color: var(--color, #ddd);
display: inline-block;
font-size: 18px;
height: 36px;
@@ -45,17 +45,13 @@
}

.popup-btn-close {
border-left: 1px solid #eee;
border-left: 1px solid var(--border-color, #eee);
cursor: pointer;
float: right;

&:hover .fa {
color: $black-deep;
}
}

.search-header {
background: $whitesmoke;
background: var(--bg-color, #f5f5f5);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
padding: 5px;
@@ -74,7 +70,7 @@
}

p.search-result {
border-bottom: 1px dashed #ccc;
border-bottom: 1px dashed var(--border-color, #ccc);
padding: 5px 0;
}

@@ -83,8 +79,8 @@
}

.search-keyword {
border-bottom: 1px dashed #f00;
color: #f00;
border-bottom: 1px dashed var(--search-keyword-color, #f00);
color: var(--search-keyword-color, #f00);
font-weight: bold;
}

@@ -104,6 +100,7 @@
width: calc(100% - 90px);

input {
color: var(--color, #111);
background: transparent;
border: 0;
display: block;
@@ -116,7 +113,7 @@
}

#no-result {
color: $grey-light;
color: var(--color, #eee);
left: 50%;
position: absolute;
top: 50%;

0 comments on commit 350e777

Please sign in to comment.