-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.less
90 lines (79 loc) · 1.55 KB
/
style.less
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
.spreadsheet {
.clipboard-container {
position: fixed;
left: 0px;
bottom: 0px;
width: 0px;
height: 0px;
z-index: 100;
opacity: 0;
.clipboard {
width: 1px;
height: 1px;
padding: 0px;
}
}
table {
border-collapse: collapse;
}
&, * { box-sizing: border-box; }
tr {
td {
border: 1px solid #EEE;
min-width: 50px;
max-width: 75px;
height: 26px;
overflow: hidden;
}
td.label {
background-color: #EEE;
text-align: center;
padding: 1px;
}
td.cell {
padding: 0;
position: relative;
&.multi-selected div {
background-color: rgba(194, 221, 178, 0.2);
}
&.selected div {
border: 2px solid #5F8EDB;
};
div {
border: 2px solid transparent;
height: 26px;
width: 100%;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
span, input {
width: 100%;
height: 100%;
border: none;
padding: 1px;
margin: 0;
text-align: right;
overflow: hidden;
font-size: 1em;
}
span {
display: block;
}
input {
outline: none;
}
}
.strap {
position: absolute;
width: 4px;
height: 4px;
right: 0px;
bottom: 0px;
background: white;
z-index: 200;
cursor: crosshair;
}
}
}
}