Skip to content

Commit 8bcfd08

Browse files
committed
Search style
1 parent 1dcbd9e commit 8bcfd08

File tree

6 files changed

+24
-19
lines changed

6 files changed

+24
-19
lines changed

assets/css/autocomplete.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
.autocomplete-container {
5050
position: absolute;
51-
top: 15px;
51+
top: 5px;
5252
width: 100%;
5353
z-index: 200;
5454
}

assets/css/search-bar.css

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,14 @@
102102

103103
.top-search .search-settings .engine-dropdown {
104104
position: absolute;
105-
top: calc(100% + 4px);
105+
top: calc(100% + 10px);
106106
right: 0;
107107
min-width: 200px;
108+
max-width: 50vh;
109+
width: max-content;
108110
background-color: var(--autocompleteBackground);
109111
border-radius: var(--borderRadius-base);
110112
box-shadow: 0px 8px 24px 0px var(--autocompleteBorder);
111-
padding: 4px;
112113
z-index: 200;
113114
}
114115

@@ -121,16 +122,20 @@
121122
width: 100%;
122123
text-align: left;
123124
background-color: transparent;
124-
border: none;
125-
border-radius: var(--borderRadius-base);
125+
border: 0;
126126
color: var(--textHeaders);
127127
cursor: pointer;
128-
padding: 8px 12px;
128+
padding: 10px 12px;
129129
transition: var(--transition-colors);
130130
}
131131

132-
.top-search .search-settings .engine-option:hover,
132+
.top-search .search-settings .engine-option:hover {
133+
background-color: var(--autocompleteHover);
134+
}
135+
133136
.top-search .search-settings .engine-option:focus {
137+
border-left: 2px solid var(--main);
138+
padding-left: 10px;
134139
background-color: var(--autocompleteHover);
135140
outline: none;
136141
}

formatters/html/dist/html-elixir-IQCVGNDD.css

Lines changed: 0 additions & 6 deletions
This file was deleted.

formatters/html/dist/html-elixir-UBSVFULE.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

formatters/html/dist/html-erlang-MR4P5LHS.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

formatters/html/dist/html-erlang-NJOCSVPH.css

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)