forked from cloudscape-design/chart-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.scss
More file actions
133 lines (109 loc) · 2.33 KB
/
styles.scss
File metadata and controls
133 lines (109 loc) · 2.33 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
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
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
@use "../../node_modules/@cloudscape-design/design-tokens/index.scss" as cs;
$side-legend-max-inline-size: 30%;
.root {
position: relative;
.highcharts-grid-line {
pointer-events: none;
}
}
.root-fit-height {
block-size: 100%;
}
.no-data-container {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
}
.no-data {
overflow-x: auto;
overflow-y: hidden;
padding-block: cs.$space-static-xs;
padding-inline: cs.$space-static-m;
background-color: cs.$color-background-container-content;
border-radius: 8px;
border: 1px solid cs.$color-border-divider-default;
}
.no-data-wrapper {
overflow: hidden;
padding-block: cs.$space-static-xxs;
padding-inline: cs.$space-static-xxs;
border-radius: 8px;
background-color: cs.$color-background-container-content;
}
.no-data-empty {
color: cs.$color-text-empty;
}
.chart-filters {
padding-block-end: cs.$space-scaled-l;
display: flex;
flex-wrap: wrap;
gap: cs.$space-scaled-l;
&-series {
flex: 280px 0 1;
}
}
.axis-vertical-title {
display: flex;
gap: cs.$space-static-xs;
justify-content: space-between;
block-size: 24px;
margin-bottom: 4px;
}
.axis-vertical-title-item {
font-weight: bold;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.error-range {
display: flex;
justify-content: space-between;
gap: cs.$space-scaled-s;
}
.tooltip-default-header {
display: inline-flex;
align-items: center;
gap: cs.$space-static-xxs;
}
.chart-container-root {
block-size: 100%;
}
.chart-container-fit-height {
overflow-x: auto;
position: absolute;
inset: 0;
}
.chart-container-min-width {
overflow-x: auto;
}
.chart-plot-and-legend-wrapper {
display: flex;
}
.chart-plot-wrapper {
position: relative;
flex: 1;
}
.bottom-legend-container {
display: flex;
overflow: auto;
gap: cs.$space-scaled-xxl;
justify-content: space-between;
}
.side-legend-container {
flex: 0;
display: flex;
flex-direction: column;
gap: cs.$space-scaled-s;
margin-inline-start: cs.$space-scaled-s;
max-inline-size: $side-legend-max-inline-size;
}
.application {
// We hide the native focus outline to render a custom one around the chart plot instead.
outline: none;
}