-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathb-matrix.css
More file actions
75 lines (60 loc) · 1.41 KB
/
b-matrix.css
File metadata and controls
75 lines (60 loc) · 1.41 KB
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
@import url(http://weloveiconfonts.com/api/?family=fontawesome);
.b-matrix {
border: 1px solid #48aae6;
}
.b-matrix, .b-matrix__table {
position: relative;
float: left;
}
.b-matrix__cell {
background-color: #48aae6;
padding: 0px;
margin: 2px;
}
.b-matrix__addcol, .b-matrix__addrow, .b-matrix__delcol, .b-matrix__delrow, .b-matrix__cell {
width: 50px;
height: 50px;
text-align: center;
}
.b-matrix__addcol, .b-matrix__addrow, .b-matrix__delcol, .b-matrix__delrow {
position: absolute;
}
.b-matrix__addcol, .b-matrix__addrow {
background-color: #f9a500;
transition: background-color 1s;
}
.b-matrix__addcol:hover, .b-matrix__addrow:hover {
background-color: #f1c970;
}
.b-matrix__addcol {
left: 100%;
margin-left: 3px;
margin-top: 2px;
}
.b-matrix__addrow {
top: 100%;
margin-top: 3px;
margin-left: 2px;
}
.b-matrix__delcol, .b-matrix__delrow {
background-color: #b20000;
}
.b-matrix__delrow {
right: 100%;
margin-right: 3px;
}
.b-matrix__delcol {
bottom: 100%;
margin-bottom: 3px;
}
.b-matrix__delcol:before, .b-matrix__delrow:before, .b-matrix__addrow:before, .b-matrix__addcol:before {
font-family:'FontAwesome', sans-serif;
color: white;
vertical-align: -100%;
}
.b-matrix__delcol:before, .b-matrix__delrow:before {
content:"\f068"
}
.b-matrix__addrow:before, .b-matrix__addcol:before {
content:"\f067"
}