summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options2/search_page.css
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/options2/search_page.css')
-rw-r--r--chrome/browser/resources/options2/search_page.css36
1 files changed, 36 insertions, 0 deletions
diff --git a/chrome/browser/resources/options2/search_page.css b/chrome/browser/resources/options2/search_page.css
new file mode 100644
index 0000000..942dd98
--- /dev/null
+++ b/chrome/browser/resources/options2/search_page.css
@@ -0,0 +1,36 @@
+.search-hidden {
+ display: none !important;
+}
+
+.search-highlighted {
+ background-color: rgba(255, 240, 120, 0.9);
+}
+
+.search-bubble {
+ -webkit-box-shadow: 0 2px 2px #888;
+ background-color: rgba(255, 240, 120, 0.8);
+ border-radius: 6px;
+ box-shadow: 0 2px 2px #888;
+ left: 0;
+ margin: 12px 0 0;
+ padding: 4px 10px;
+ pointer-events: none;
+ position: absolute;
+ text-align: center;
+ top: -1000px; /* minor hack: position off-screen by default */
+ width: 100px;
+}
+
+.search-bubble:after {
+ border-color: rgba(255, 240, 120, 0.9) transparent;
+ border-style: solid;
+ border-width: 0 10px 10px;
+ content: "";
+ left: 50px;
+ position: absolute;
+ top: -10px;
+}
+
+.search-bubble-wrapper {
+ position: relative;
+}