/
content-assist.css
104 lines (92 loc) · 2.39 KB
/
content-assist.css
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
.tx-ca-measurer {
position: absolute;
visibility: hidden;
top: 0;
left: 0;
z-index: 1;
white-space: pre-wrap;
}
.tx-ca-measurer i {
display: inline-block;
zoom: 1;
background: red;
}
.tx-ca-popup {
position: absolute;
background: rgba(255, 255, 255, 0.85);
z-index: 10;
margin-top: 1em;
padding: 2px;
border: 1px solid #d2d2d2;
border-radius: 5px;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
border-top-left-radius: 2px;
}
.tx-ca-popup-content {
position: relative;
overflow: auto;
overflow-x: hidden;
min-width: 100px;
}
/* Content assist popup has scollable content */
.tx-ca-popup-overflow .tx-ca-popup-content {
padding-right: 2px;
}
.tx-ca-additional-info {
background: #ffffd7;
padding: 10px;
border: 1px solid #a8ae88;
width: 150px;
position: absolute;
left: 100%;
font-family: 'Lucida Grande', arial, sans-serif;
font-size: 11px;
margin-left: 5px;
opacity: 0.85;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* window from left side */
.tx-ca-additional-info-left {
margin-left: -10px;
right: 100%;
left: auto;
}
.tx-proposal {
color: #242423;
font-family: 'Lucida Grande', arial, sans-serif;
font-size: 11px;
font-weight: bold;
line-height: 20px;
/* Set line-height in pixels for better look in Firefox */
padding: 0 4px 1px 4px;
cursor: pointer;
overflow: hidden;
position: relative;
border-radius: 3px;
border-top-left-radius: 0;
}
.tx-proposal-selected {
background: #7a8da1;
background-image: linear-gradient(to bottom, #7a8da1, #455d75);
color: #fff;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}
/** neat scrollbars for Webkit */
.tx-ca-popup-content::-webkit-scrollbar {
width: 9px;
height: 9px;
}
.tx-ca-popup-content::-webkit-scrollbar-track {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAHCAIAAABPxRC5AAAAPElEQVQImVWLwRGAMBCElou5/vuLtQQfPoz8GAbutWb3Ncacs7tLTaJSpVaSJIB7AwXkoE5Rv//X3wt4ACQ3F9lopNWrAAAAAElFTkSuQmCC) transparent 50% 0 repeat-y;
border-radius: 5px;
}
.tx-ca-popup-content::-webkit-scrollbar-thumb {
border-radius: 4px;
background: #c5c5c4;
background-image: linear-gradient(to right, #f9f9f9, #e6e6e6);
border: 1px solid #d3d2d2;
left: 0;
position: absolute;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}