-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalytics.css
132 lines (114 loc) · 2.38 KB
/
analytics.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
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
/* analytics.css */
/* Variables */
:root {
--primary-color: #007bff;
--secondary-color: #343a40;
--background-color: #f8f9fa;
--text-color: #212529;
--card-bg: white;
--box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: var(--background-color);
overflow-x: hidden;
}
header {
background-color: var(--primary-color);
color: white;
padding: 15px 20px;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: var(--box-shadow);
}
header h1 {
margin: 0;
}
header nav {
display: flex;
align-items: center;
}
nav a {
color: white;
margin-right: 15px;
text-decoration: none;
}
.logout-btn {
background: red;
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
.logout-btn:hover {
background: #c82333;
}
.metrics {
display: flex;
justify-content: space-around;
margin: 20px;
}
.metric {
background-color: var(--card-bg);
padding: 20px;
border-radius: 5px;
box-shadow: var(--box-shadow);
text-align: center;
flex: 1;
margin: 0 10px;
}
.metric:hover {
transform: scale(1.04);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.charts {
margin: 20px;
}
canvas {
margin: 20px auto;
width: 100%;
height: 400px;
max-width: 800px;
max-height: 500px;
}
/* Footer Styles */
footer {
background-color: var(--primary-color);
padding: 20px;
text-align: center;
color: white;
position: relative;
bottom: 0;
width: 100%;
font-size: 18px;
box-shadow: var(--box-shadow);
}
footer p {
margin: 0;
font-family: 'Courier New', Courier, monospace;
font-size: 1.2rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.additional-metrics {
display: flex;
justify-content: space-around;
margin: 20px;
}
.additional-metrics .metric {
background-color: var(--card-bg);
padding: 20px;
border-radius: 5px;
box-shadow: var(--box-shadow);
text-align: center;
flex: 1;
margin: 0 10px;
transition: transform 0.3s;
}
.additional-metrics .metric:hover {
transform: scale(1.05);
}