forked from mcjohnalds/react-table-drag-select
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.css
98 lines (81 loc) · 1.38 KB
/
demo.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
html {
font-family: 'Muli', sans-serif;
}
body {
max-width: 100%;
width: 60rem;
background-color: #FFFFFB;
/* Center horizontally */
margin-left: auto;
margin-right: auto;
}
h1, h2, div, pre, td {
color: #313638;
/* Bold headers are unnecessary */
font-weight: normal;
}
a {
color: #888;
}
h2 {
margin-top: 2rem;
}
pre {
padding: 0.5rem;
background-color: #FBF1E8;
}
button {
float: right;
padding: 0.3rem 0.5rem;
}
.int-demo {
margin-bottom: 0.5rem;
}
.int-demo button {
float: none;
margin-left: 0.5rem;
}
.flash {
animation-name: flash;
animation-duration: 0.5s;
}
@keyframes flash {
from {
background-color: #C9FB7E;
}
to {
background-color: #FBF1E8;
}
}
.table-container {
padding-left: 3rem;
padding-right: 3rem;
}
.table-drag-select td.cell-enabled {
color: #806E52;
background-color: #FBF1E8;
}
.table-drag-select td.cell-selected {
background-color: #FBD5D4;
}
.table-drag-select td.foo {
background-color: #FF0000;
}
.table-drag-select td.bar {
background-color: #00FF00;
}
.table-drag-select td.baz {
background-color: #0000ff;
}
.table-drag-select td.cell-being-selected {
background-color: #EACA96;
}
.table-drag-select tr:first-child td {
/* Remove empty space at top of table */
border-top: 0;
line-height: 1rem;
}
.table-drag-select td:first-child {
/* Consume less whitespace */
width: 3rem;
}