Skip to content

Commit 2ebee96

Browse files
committed
search: reset placeholder and use generic colors matcornic#405
1 parent 9c1233d commit 2ebee96

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

static/css/ie.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,13 @@
516516
display: none;
517517
}
518518

519-
.searchform input:-ms-input-placeholder{
519+
.searchbox input:-ms-input-placeholder {
520520
color: rgba( 255, 255, 255, .4 );
521+
opacity: 1;
522+
}
523+
524+
.searchform input:-ms-input-placeholder {
525+
color: rgba( 134, 134, 134, .666 );
526+
opacity: 1;
521527
}
522528
}

static/css/theme.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ th {
134134
font-weight: 300;
135135
}
136136

137+
.searchbox input::placeholder {
138+
color: rgba( 255, 255, 255, .4 );
139+
opacity: unset;
140+
}
141+
137142
#content-wrapper {
138143
display: flex;
139144
flex-direction: column;
@@ -1582,6 +1587,11 @@ input[type="search"]::-webkit-search-results-decoration { display: none; }
15821587
margin-inline-end: .5rem;
15831588
}
15841589

1590+
.searchform input::placeholder {
1591+
color: rgba( 134, 134, 134, .666 );
1592+
opacity: unset;
1593+
}
1594+
15851595
.searchform .btn {
15861596
display: inline-flex;
15871597
}

static/css/variant.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,3 @@ pre .copy-to-clipboard-button:hover {
416416
background-color: var(--INTERNAL-MAIN-BG-color) !important;
417417
border-bottom-color: var(--INTERNAL-MAIN-BG-color) !important;
418418
}
419-
420-
.searchform input::placeholder {
421-
color: var(--INTERNAL-MAIN-color);
422-
filter: grayscale(1) contrast(10000) opacity(.4);
423-
}

0 commit comments

Comments
 (0)