-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
51 lines (51 loc) · 942 Bytes
/
style.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
.sTable {
position: relative;
display: inline-block;
border: 1px solid #48AAE6;
margin: 55px;
}
.sTable table {
border-collapse: collapse;
}
.sTable table td {
background-color: #48AAE6;
width: 50px;
height: 50px;
border: 2px solid white;
}
.sTable button {
position: absolute;
width: 50px;
height: 50px;
border: none;
color: white;
font-size: 24px;
margin: 2px;
cursor: pointer;
transition: left .45s ease, top .45s ease, opacity .45s ease;
}
.sTable button:hover {
opacity: .75;
}
.sTable .addRow {
background-color: #F3A500;
top: 100%;
left: 0;
}
.sTable .addCol {
background-color: #F3A500;
top: 0;
left: 100%;
}
.sTable .delRow {
background-color: #B20000;
visibility: hidden;
right: 100%;
top: 0;
}
.sTable .delCol {
background-color: #B20000;
visibility: hidden;
bottom: 100%;
left: 0;
}