-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtableeditor.css
143 lines (118 loc) · 2.12 KB
/
tableeditor.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
select {
font-size: 1.0em;
}
input {
font-size: 1.0em;
}
.happy {
color: green;
font-weight: bold;
font-size: 1.1em;
}
.error {
color: red;
font-weight: bold;
font-size: 1.1em;
}
.tableview {
border-collapse: collapse;
border-spacing: 1px;
color: black;
margin-left: 20px;
margin-right: 20px;
border: 0px;
font-size: 0.8em;;
}
.tableview td {
border: 1px solid #000000;
padding: 2px 5px 2px 5px;
}
.tableview th {
border: 1px solid #000000;
font-weight: bold;
text-align: center;
color: #FFFFFF;
/*background-color: #1B86B7; */
background-color: #1B86B7;
padding: 3px;
cursor: pointer;
}
.tableview tr:hover {
background-color: #DDDDEC;
}
/* Table Drag'n'Drop default while-dragging style */
.tableview tr.tDnD_whileDrag,tr.tDnD_whileDrag:hover {
background-color: #8080ff;
}
.tableview th a {
font-weight: bold;
color: #FFFFFF;
}
.tableview th a:hover {
font-weight: bold;
background-color: #00346A;
color: #3D90E9;
}
.tableedit {
color: black;
margin-left: 20px;
margin-right: 20px;
font-size: 0.8em;
border: 0px;
border-collapse: collapse;
/* width: 100%;*/
}
.tableedit td {
padding: 2px;
vertical-align: middle;
}
.tableedit th {
font-weight: bold;
text-align: left;
color: #FFFFFF;
/*background-color: #1B86B7; */
background-color: #1B86B7;
padding: 1px;
vertical-align: top;
}
/* Replacement for tableedit */
.editor {
color: black;
margin-left: 20px;
margin-right: 20px;
font-size: 0.8em;
border: 0px;
border-collapse: collapse;
width: 95%;
}
.editor td {
padding: 2px;
}
/* vertical align top, then use top padding to bring it down
* so that the text is in the middle of the first line compared
* to an input box */
.editor td.label {
/* width: 25%;*/
text-align: right;
/* padding-right: 5px;
padding-top: 5px;*/
vertical-align: top;
}
.editor td.input {
/* width: 75%;*/
text-align: left;
vertical-align: middle;
}
.editor th {
font-weight: bold;
text-align: left;
color: #FFFFFF;
background-color: #1B86B7;
padding: 1px;
vertical-align: top;
}
/* A default class so we can nest tables (i know bad) but revert
* inheritance */
.default td {
border: 0px;
}