forked from MolecularCartography/ili
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.css
121 lines (106 loc) · 2.14 KB
/
layout.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
#view-container > * {
display: none;
width: 100%;
height: 100%;
posisiotn: absolute;
}
body[drop-target] > #view-container[layout='welcome'] > .view-welcome {
/* Special case: trarget drop banner looks bad on the welcome view. */
display: none;
}
#view-container[layout='welcome'] > .ViewWelcome {
display: flex;
}
#view-container[layout|='mode'] > .ViewLegend {
width: 200px;
height: 80px;
position: absolute;
right: 20px;
bottom: 20px;
display: block;
}
#view-container[layout='mode-2d'] > .View2D {
display: block;
overflow: hidden;
position: relative;
}
.View2D > #contentElement {
position: absolute;
}
#view-container[layout='mode-3d'] > .ViewGroup3D {
display: flex;
}
.ViewGroup3D[layout="single"] > #view-3d-1 {
display: block;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.ViewGroup3D[layout="double"] > #view-3d-1,
.ViewGroup3D[layout="triple"] > #view-3d-1 {
display: block;
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 50%;
}
.ViewGroup3D[layout="quadriple"] > #view-3d-1 {
display: block;
position: absolute;
left: 0;
top: 0;
width: 50%;
height: 50%;
overflow: hidden;
}
.ViewGroup3D[layout="double"] > #view-3d-2 {
display: block;
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 50%;
}
.ViewGroup3D[layout="triple"] > #view-3d-2 {
display: block;
position: absolute;
right: 0;
top: 0;
width: 50%;
height: 50%;
}
.ViewGroup3D[layout="quadriple"] > #view-3d-2 {
display: block;
position: absolute;
left: 0;
bottom: 0;
width: 50%;
height: 50%;
}
.ViewGroup3D[layout="triple"] > #view-3d-3 {
display: block;
position: absolute;
right: 0;
bottom: 0;
width: 50%;
height: 50%;
}
.ViewGroup3D[layout="quadriple"] > #view-3d-3 {
display: block;
position: absolute;
right: 0;
top: 0;
width: 50%;
height: 50%;
}
.ViewGroup3D[layout="quadriple"] > #view-3d-4 {
display: block;
position: absolute;
right: 0;
bottom: 0;
width: 50%;
height: 50%;
}