Nicer hints CSS
This commit is contained in:
parent
0b5f4d9fb5
commit
c4731b6e7e
@ -43,18 +43,18 @@ class HintManager:
|
|||||||
}
|
}
|
||||||
|
|
||||||
HINT_CSS = """
|
HINT_CSS = """
|
||||||
z-index: 100000;
|
background: -webkit-gradient(linear, left top, left bottom,
|
||||||
font-family: monospace;
|
color-stop(0%,#FFF785), color-stop(100%,#FFC542));
|
||||||
font-size: 10px;
|
border: 1px solid #E3BE23;
|
||||||
|
opacity: 0.7;
|
||||||
|
color: black;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: white;
|
font-family: monospace;
|
||||||
background-color: red;
|
font-size: 12px;
|
||||||
padding: 0px 1px;
|
z-index: 100000;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: {left}px;
|
left: {left}px;
|
||||||
top: {top}px;
|
top: {top}px;
|
||||||
width: 30px;
|
|
||||||
height: 10px;
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, frame):
|
def __init__(self, frame):
|
||||||
|
Loading…
Reference in New Issue
Block a user