summaryrefslogtreecommitdiff
path: root/css/codeq/hint.css
blob: 7323a59092b19ec5d22672dc4393de036693af26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
a.hint-static-link {
    cursor: pointer;
}

.hint-static img {
    max-width: 80%;
    /* center img trick */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hints > div {
    border: 1px solid gray;
    border-radius: 4px;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    opacity: 0.8;
    padding: 0.5em;
}

.hints > div:first-child {
    border: 2px solid black;
    opacity: 1;
}

.hints > div:hover {
    opacity: 1;
}

/* the highlighted part of the text, used in pop-up and drop-down hints */
.editor-mark {
    background-color: #e7c3c3;
}

.editor-mark.insert {
    background-color: #b9ed61;
}

.editor-mark.remove {
    background-color: #ffbb99;
}

.editor-mark.change {
    background-color: #f4dd32;
}