forked from handsontable/handsontable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery.handsontable.css
118 lines (108 loc) · 2.52 KB
/
jquery.handsontable.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/**
* It may be useful to copy the below styles and use on your page
*/
.dataTable {
position: relative;
font-family: Arial, Helvetica, sans-serif;
line-height: 1.3em;
font-size: 13px;
}
.dataTable table {
border-collapse: collapse;
position: relative;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
border-spacing: 0;
border-top: 1px solid #aaa;
border-left: 1px solid #aaa;
}
.dataTable td {
border-right: 1px solid #aaa;
border-bottom: 1px solid #aaa;
min-width: 50px;
width: 50px;
height: 22px;
padding: 0 4px 0 4px;
}
.dataTable td.selected {
background: #eef;
}
/* selection border color */
.dataTable .selectionArea {
position: absolute;
width: 2px;
height: 2px;
background: #000;
font-size: 0;
display: none;
}
/* textarea border color */
.dataTable textarea.editInput {
position: absolute;
top: 0;
left: 0;
width: 0;
height: 0;
border: 2px solid black;
margin: 0;
padding: 2px 4px 0 4px;
font-family: Arial, Helvetica, sans-serif; /*repeat from .dataTable (inherit doesn't work with IE<8) */
line-height: 1.3em;
font-size: 13px;
}
/* typeahead rules. Needed only if you are using the autocomplete feature */
.typeahead {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
float: left;
display: none;
min-width: 160px;
padding: 4px 0;
margin: 0;
list-style: none;
background-color: white;
border-color: #CCC;
border-color: rgba(0, 0, 0, 0.2);
border-style: solid;
border-width: 1px;
-webkit-border-radius: 0 0 5px 5px;
-moz-border-radius: 0 0 5px 5px;
border-radius: 0 0 5px 5px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
margin-top: 2px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.typeahead li {
line-height: 18px;
display: list-item;
}
.typeahead a {
display: block;
padding: 3px 15px;
clear: both;
font-weight: normal;
line-height: 18px;
color: #333;
white-space: nowrap;
}
.typeahead li > a:hover, .typeahead .active > a, .typeahead .active > a:hover {
color: white;
text-decoration: none;
background-color: #08C;
}
.typeahead a {
color: #08C;
text-decoration: none;
}