YearsMap.scss
1.73 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
@import '../../../../../styles/app';
/* Mapael */
.mapTooltip {
position: fixed;
padding: 2px;
z-index: 1000;
max-width: 200px;
display: none;
background-color: #fff;
border: 1px solid #ccc;
border-radius: $border-radius;
font-size: $font-size-sm;
color: $text-color;
}
.zoomIn,
.zoomOut {
position: absolute;
bottom: 10px;
left: 10px;
width: 20px;
height: 20px;
box-sizing: content-box;
border: 1px solid #ccc;
background-color: #fff;
color: $text-color;
line-height: 20px;
text-align: center;
border-radius: $border-radius;
cursor: pointer;
font-weight: $font-weight-bold;
user-select: none;
}
.zoomOut {
left: 36px;
}
.mapael {
position: relative;
margin: (-$widget-padding-vertical) (-$widget-padding-horizontal) 0;
.map {
position: relative;
height: calc(100% - 20px);
}
.stats {
position: absolute;
z-index: 1;
top: 0;
left: 0;
margin: 5% 10%;
}
}
/* Part:Map Controls */
.map-controls {
position: absolute;
bottom: 0;
left: 0;
right: 0;
border-top: 1px solid #bbb;
background-color: $addition-bg;
border-bottom-left-radius: $border-radius;
border-bottom-right-radius: $border-radius;
> .nav-item > .nav-link {
border-radius: 0;
padding: 0.7143rem 0;
color: $text-color;
&:hover {
background-color: $gray-200;
color: $text-color;
}
}
> .nav-item > .nav-link.active {
&,
&:hover {
background-color: $white;
color: $text-color;
font-weight: $font-weight-bold;
}
}
> .nav-item:first-child > a {
border-bottom-left-radius: $border-radius;
}
> .nav-item:last-child > a {
border-bottom-right-radius: $border-radius;
}
}
.map svg {
height: 100%;
width: 100%;
}