-
Notifications
You must be signed in to change notification settings - Fork 3
/
styles.css
162 lines (140 loc) · 2.53 KB
/
styles.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
html {
height: 100%;
font-size: 18px;
}
body {
overflow: hidden;
width: 100%;
height: 100%;
display: flex;
margin: 0;
padding: 0;
justify-content: space-between;
}
body:after {
content : "";
display: block;
position: absolute;
top: 0;
left: 0;
background-image: url("img/bigml-logo.png");
background-repeat: no-repeat;
background-position: calc(50% - 100px) 50%;
width: 100%;
height: 100%;
opacity : 0.3;
z-index: -1;
}
#main {
flex-grow: 1;
flex-shrink: 0;
flex-basis: 600px;
}
#sidebar {
flex-grow: 0;
flex-shrink: 0;
flex-basis: 250px;
background-color: rgb(211, 228, 185);
border-left: 1px solid #ccc;
}
#sidebar-vert {
display: flex;
flex-direction: column;
flex-basis: 100px;
align-items: center;
margin-top: 15px;
}
#fileindex-slider {
width: 90%;
margin-left: 5%;
}
#fileindex-label {
margin-left: 10px;
}
#control-region {
padding: 10px;
display: flex;
}
#svg-region {
margin: auto;
height: 93%;
width: 95%;
image-rendering: pixelated;
}
#main-svg {
height: 100%;
width: 100%;
border: 1px solid #ccc;
background: repeating-linear-gradient( -45deg, #fff 0px, #fff 4px, #ddd 5px, #fff 6px);
}
.anno-box {
pointer-events: none;
stroke: #ff5555;
fill: #ff5555;
stroke-width: 2;
stroke-opacity: 0.8;
fill-opacity: 0.2;
}
input[type="file"] {
display: none;
}
.button {
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fff;
color: #444;
margin-bottom: 10px;
width: 160px;
padding-top: 8px;
padding-bottom: 8px;
text-align: center;
vertical-align: middle;
cursor: pointer;
}
.button:hover {
border: 1px solid #888;
background-color: #444;
color: #fff;
}
#annot-group {
width: 96%;
flex-flow: column;
align-items: center;
padding: 4px;
margin-top: 15px;
border-top: 1px solid #444;
}
#mode-group {
margin-bottom: 10px;
}
#mode-label {
vertical-align: middle;
}
.annots {
display: flex;
flex-flow:row wrap;
}
.annot-label {
text-align: center;
font-size: 20px;
min-width: 18px;
padding: 4px;
margin: 2px;
border: 3px solid;
border-radius: 6px;
}
.closable-label {
min-width: 18px;
padding: 4px;
margin: 2px;
border: 3px solid;
border-radius: 6px;
background: white;
}
/* Style the close button (span) */
.close {
cursor: pointer;
text-align: right;
width: 100%;
background: white;
}