-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinteractive_bubble.css
More file actions
69 lines (63 loc) · 1.29 KB
/
Copy pathinteractive_bubble.css
File metadata and controls
69 lines (63 loc) · 1.29 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
/* Responsive container of the svg element */
.legend-total-hours,
.legend-container,
.responsive-svg-container {
position: relative;
width: 100%;
max-width: 1200px;
}
ul {
list-style-type: none;
}
.legend-total-hours ul {
display: flex;
}
.incident-cause {
vertical-align:middle;
}
.bubbles {
cursor:pointer;
}
/* Filters
display: flex;
Turns #filters into a flexbox container. Its direct child elements become flex items and are laid out in a row by default.
flex-wrap: wrap;
Allows the flex items to move onto additional lines when there isn't enough horizontal space to fit them all on one line.*/
#filters {
display: flex;
flex-wrap: wrap;
}
.filter {
margin-right: 15px;
margin-bottom: 15px;
padding: 10px 20px 10px 15px;
font-family: inherit;
background-color: rgba(25, 46, 77, 0.6);
border-radius: 4px;
border: none;
cursor: pointer;
transition: background-color 200ms ease;
}
.filter-icon,
.filter-text {
display: inline-block;
vertical-align: middle;
}
.filter-icon {
width: 30px;
height: 30px;
margin-right: 10px;
background-repeat: no-repeat;
background-size: contain;
}
.filter-text {
font-size: 1.2rem;
color: #f5f9ff;
}
.filter:hover,
.filter.active {
background-color: rgba(25, 46, 77, 1);
}
.filter.active {
cursor: default;
}