forked from materialsproject/mp-react-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCrystalToolkitAnimationScene.less
More file actions
89 lines (78 loc) · 1.53 KB
/
CrystalToolkitAnimationScene.less
File metadata and controls
89 lines (78 loc) · 1.53 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
.mpc-scene {
position: relative;
}
.tooltiptext {
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px;
}
.show-pointer {
cursor: pointer !important;
}
.mpc-scene-square {
position: relative;
}
.mpc-scene-square:before {
content: '';
display: block;
height: 0;
width: 0;
float: left;
padding-bottom: 100%;
}
.mpc-scene-square::after {
clear: left;
content: ' ';
display: table;
}
/**
* Prevent the structure layout from growing beyond the height of the modal.
* Setting max-width with vh instead of simply setting max-height so we don't interfere
* with the structure's styles that force it to render with 1:1 ratio.
*/
.mpc-scene-square-wrapper {
width: 100% !important;
max-width: calc(95vh - 3rem);
height: auto !important;
margin: auto;
}
.mpc-scene .mpc-button-bar {
position: absolute;
right: 0;
z-index: 3;
}
.mpc-scene-settings-panel {
position: absolute;
right: 4.5rem;
max-height: 100%;
max-width: 450px;
overflow: auto;
border: 1px solid #ccc;
border-radius: 6px;
padding: 1.25rem;
background-color: #fff;
opacity: 0.8;
z-index: 2;
}
.mpc-scene-bottom-panel {
position: absolute;
right: 0;
bottom: 0;
z-index: 1;
}
/**
* Include this explicitly so that toggling the settings panel works without bulma
*/
.mpc-scene-settings-panel.is-hidden {
display: none;
}
/**
* Include this explicitly so that file dropdown looks okay without bulma
*/
.mpc-scene .dropdown-content {
position: absolute;
right: 0;
min-width: 100px;
}