Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 48cb471

Browse files
committed
Remove search on command page
1 parent c35e19f commit 48cb471

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

public/styles.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -247,25 +247,13 @@ body.topics.whos-using-redis ul:first-of-type li img { vertical-align: middle; m
247247
#commands li .command { white-space: nowrap; overflow: hidden; -ms-text-overflow: ellipsis; -o-text-overflow: ellipsis; text-overflow: ellipsis; font-family: "Monaco", "Menlo", monospace; display: block; margin: 0 0 2px 0; color: #0066aa; }
248248
#commands li .command .args { color: #555555; }
249249
#commands li .summary { display: block; font-size: 0.8em; line-height: 1.5em; }
250-
#commands nav { margin: 0 auto; background-color: #f0f0f0; width: 100%; font-size: 0.85em; display: block; padding: 10px 0; }
251-
#commands nav a { color: #555555; text-decoration: none; display: inline-block; padding: 0.3em 0.5em; }
252-
#commands nav a.current { background-color: #666666; color: white; }
253-
#commands nav label { margin: 0 10px; }
254-
#commands nav label span { display: none; }
255-
#commands nav select, #commands nav input { border: 1px solid #bbbbbb; font-size: 14px; margin: 0 5px; }
256-
#commands nav input { border-radius: 5px; padding: 5px 5px 6px 5px; width: 100px; }
257-
#commands nav input:focus { outline: none; }
258-
#commands nav select { height: 32px; }
259250

260251
h1.command { margin-bottom: 0.5em; }
261252

262253
.betacmd { background-color: #d42e15; border-radius: 0.5em; color: white; padding: 0.2em 0.3em; }
263254

264255
@media only screen and (min-width: 992px) { #commands .command { font-size: 0.9em; }
265256
#commands .command .args { font-size: 0.8em; }
266-
#commands nav label { margin: 0 10px 0 0; }
267-
#commands nav label span { display: inline; }
268-
#commands nav input { width: 200px; }
269257
#commands ul li { float: left; margin: 1em 1.5%; overflow: hidden; width: 30%; }
270258
#commands ul li a { -webkit-border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; background-color: #fafafa; height: 6em; } }
271259
#buzz { text-align: right; }

views/commands.haml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
11
%section#commands
2-
%nav
3-
.container
4-
%label
5-
%span Filter by group:
6-
7-
%select.command-reference-filter
8-
%option(value="") All
9-
10-
- Reference::GROUPS.sort_by(&:last).each do |name, description|
11-
%option(value="#{name}")= description
12-
13-
or
14-
15-
%label
16-
%span search for:
17-
%input.js-command-reference-search(placeholder="e.g. #{@commands.sample.name}" autofocus)
182

193
.container
204
%ul

0 commit comments

Comments
 (0)