-
-
Notifications
You must be signed in to change notification settings - Fork 105
/
main.scss
58 lines (53 loc) · 1.01 KB
/
main.scss
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
@charset 'utf-8';
@import 'variables/main';
@import 'mixins';
@import 'helpers';
@import 'movement';
:root {
--env: $ENV;
}
@if $ENV == 'ie' {
:root {
@include generateVars;
}
} @else {
.plotly-editor--theme-provider {
@include generateVars;
}
}
.editor_controls {
position: relative;
width: var(--editor-width);
flex-shrink: 0;
overflow: hidden;
display: flex;
@import 'components/main';
@include font-smoothing;
font-family: var(--font-family-body);
&__wrapper {
display: flex;
flex-grow: 1;
}
a {
color: $color-dodger-shade;
cursor: pointer;
}
}
.plotly_editor {
display: flex;
/*
We are defining the max height of the app so that the editor knows how big to be
currently the editor will take up whatever space it can if it is not constrained in its parent
*/
flex-grow: 1;
height: 100%;
max-height: 100%;
width: 100%;
}
.plotly_editor_plot {
max-width: 100%;
height: 100%;
max-height: 100%;
overflow: auto;
flex-grow: 1;
}