-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement over-screen tab search UI (closes #27)
Also closes #16. This commit also changes the popup action from tab search to options page (which closes #19). I performed rather crude surgery to glue the hotkeys.js and tab_search.js (and corresponding CSS) together; I'll need to clean this up a lot when I refactor to use modules (#51).
- Loading branch information
Showing
9 changed files
with
219 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,53 @@ | ||
html { | ||
min-width: 400px; | ||
#search_bar, #search_results { | ||
display: none; | ||
} | ||
|
||
#results tr.selected td { | ||
background-color: #cfe3e8; | ||
#search_bar > label { | ||
vertical-align: middle; | ||
color: white; | ||
font-size: 1.5em; | ||
margin: 0.5em; | ||
} | ||
|
||
#search_bar > input { | ||
vertical-align: middle; | ||
} | ||
|
||
#search_results { | ||
max-height: 80%; | ||
overflow: auto; | ||
} | ||
|
||
#search_results a { | ||
color: rgb(210, 230, 235); | ||
} | ||
|
||
#search_results a:hover { | ||
text-decoration: none; | ||
cursor: pointer; | ||
} | ||
|
||
#search_results td { | ||
padding: 1em; | ||
} | ||
|
||
#search_results p { | ||
margin-top: 0; | ||
margin-bottom: 0.25em; | ||
} | ||
|
||
#search_results tr.selected td { | ||
background-color: rgb(39, 73, 93); | ||
} | ||
|
||
.result-title { | ||
color: white; | ||
font-size: 1.2em; | ||
color: black; | ||
margin-bottom:0px; | ||
} | ||
|
||
.favicon { | ||
max-height: 1.2em; | ||
max-width: 1.2em; | ||
margin-right: 5px; | ||
max-height: 1em; | ||
max-width: 1em; | ||
vertical-align: middle; | ||
margin-right: 0.5em; | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.