forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 5
/
chart.less
119 lines (101 loc) · 2.09 KB
/
chart.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
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
.dashboard-component-chart-holder {
width: 100%;
height: 100%;
color: @gray-dark;
background-color: white;
position: relative;
padding: 16px;
.missing-chart-container {
display: flex;
flex-direction: column;
align-items: center;
overflow-y: auto;
.missing-chart-body {
font-size: 12px;
}
.loading-container {
position: relative;
height: 40%;
}
}
}
.dashboard-chart {
overflow: hidden;
}
.dashboard-chart.dashboard-chart--overflowable {
overflow: visible;
}
.dashboard--editing .dashboard-component-chart-holder:after {
content: '';
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
z-index: 1;
pointer-events: none;
border: 1px solid transparent;
}
.dashboard--editing
.resizable-container:hover
> .dashboard-component-chart-holder:after,
.dashboard--editing .dashboard-component-chart-holder:hover:after {
border: 1px dashed @indicator-color;
z-index: 2;
}
.dashboard--editing
.resizable-container.resizable-container--resizing:hover
> .dashboard-component-chart-holder:after {
border: 1px dashed @indicator-color;
}
.dashboard--editing
.dashboard-component-chart-holder
.dashboard-chart
.chart-container {
cursor: move;
opacity: 0.2;
}
.dashboard--editing
.dashboard-component-chart-holder:hover
.dashboard-chart
.chart-container {
opacity: 0.7;
}
.dashboard--editing
.dashboard-component-chart-holder
.dashboard-chart
.slice_container {
/* disable chart interactions in edit mode */
pointer-events: none;
}
.slice-header-controls-trigger {
padding: 0 16px;
position: absolute;
top: 0;
right: -16px; //increase the click-able area for the button
&:hover {
cursor: pointer;
}
}
.dot {
height: 4px;
width: 4px;
background-color: @gray;
border-radius: 50%;
margin: 2px 0;
display: inline-block;
.vertical-dots-container & {
display: block;
}
a[role='menuitem'] & {
width: 8px;
height: 8px;
margin-right: 8px;
}
}
.time-filter-tabs > .nav-tabs {
margin-bottom: 8px;
}
.time-filter-tabs > .nav-tabs > li > a {
padding: 4px;
}