forked from Alpyg/inf8808e-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
98 lines (85 loc) · 1.59 KB
/
styles.css
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
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
font-family: Arial, sans-serif;
display: flex;
margin: 0;
height: 100vh;
}
.sidebar {
width: 200px;
background-color: #333;
padding: 20px;
display: flex;
flex-direction: column;
}
.sidebar button {
background-color: #444;
color: white;
border: none;
padding: 15px;
margin: 5px 0;
cursor: pointer;
text-align: left;
}
.sidebar button:hover {
background-color: #555;
}
.content {
flex: 1;
padding: 20px;
}
#svg-container-ventes {
position: relative;
overflow: visible; /* Allow overflow */
}
#content-ventes {
overflow: visible; /* Allow overflow */
}
.legend-container-ventes {
position: absolute;
margin-left: 55%;
}
.tooltip {
position: absolute;
text-align: center;
width: auto;
height: auto;
padding: 8px;
font: 12px sans-serif;
background: rgba(0, 0, 0, 0.8);
border: 0;
border-radius: 4px;
pointer-events: none;
color: white;
}
header {
justify-content: flex-start;
align-items: center;
text-align: center;
margin-left: 25px;
margin-top: 60px;
}
h1 {
align-items: center;
text-align: center;
}
#controls {
margin-top: -100px;
}
#controls {
margin-top: -100px;
}
#controlsVentes {
margin-top: 3.25%;
margin-right: 20%;
}
#messageSvg {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-40%, -50%);
pointer-events: none; /* Prevents interaction with other elements /
z-index: 1000; / Ensures it appears on top of other elements */
}