From c4731b6e7e30f9bb3bb14f377d0acffb5d6209cc Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 20 Apr 2014 16:42:55 +0200 Subject: [PATCH] Nicer hints CSS --- qutebrowser/browser/hints.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index 18cf93aec..ac3a9e528 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -43,18 +43,18 @@ class HintManager: } HINT_CSS = """ - z-index: 100000; - font-family: monospace; - font-size: 10px; + background: -webkit-gradient(linear, left top, left bottom, + color-stop(0%,#FFF785), color-stop(100%,#FFC542)); + border: 1px solid #E3BE23; + opacity: 0.7; + color: black; font-weight: bold; - color: white; - background-color: red; - padding: 0px 1px; + font-family: monospace; + font-size: 12px; + z-index: 100000; position: absolute; left: {left}px; top: {top}px; - width: 30px; - height: 10px; """ def __init__(self, frame):