1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Adapt the search input to Bootstrap 4.6

This commit is contained in:
Cotes Chung
2022-02-14 00:44:35 +08:00
parent e52dc9551c
commit 35e013f7fd
9 changed files with 17 additions and 55 deletions

View File

@@ -939,12 +939,6 @@ $sidebar-display: "sidebar-display";
font-size: 0.9rem;
color: var(--search-icon-color);
}
.fa-times-circle { /* button 'clean up' */
@extend %cursor-pointer;
visibility: hidden;
}
}
#search-cancel { /* 'Cancel' link */
@@ -961,6 +955,7 @@ $sidebar-display: "sidebar-display";
border-radius: 0;
padding: 0.18rem 0.3rem;
color: var(--text-color);
height: auto;
&:focus {
box-shadow: none;
@@ -1295,10 +1290,6 @@ $sidebar-display: "sidebar-display";
&.loaded ~ a {
margin-right: 1rem;
}
.fa-times-circle {
right: 5.2rem;
}
}
#search-input {
@@ -1543,10 +1534,6 @@ $sidebar-display: "sidebar-display";
}
}
#search-wrapper .fa-times-circle {
right: 2.6rem;
}
}
@media all and (min-width: 1400px) and (max-width: 1650px) {