-
Notifications
You must be signed in to change notification settings - Fork 0
/
style1.css
165 lines (145 loc) · 3.41 KB
/
style1.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
/* Additional styling for body and html */
body, html {
font-family: 'Open Sans', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
}
/* Adjustments for header and footer */
header, footer {
background-color:#36016b;
color: white;
padding: 10px 20px;
text-align: center;
}
/* Adjustments for container */
.container {
width: 90%;
margin: auto;
padding: 20px;
display: flex; /* Add flex display to container */
flex-wrap: wrap; /* Allow container to wrap children */
position: relative; /* Set position to relative */
}
/* Adjustments for tables */
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
text-align: left;
padding: 8px;
border: 1px solid #ccc;
}
th {
background-color: #36016b;
color: white;
}
/* Adjustments for form elements */
select, input, button {
margin: 10px 0;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
/* Additional styling for search container and buttons */
.search-container {
flex: 1 1 calc(60% - 20px); /* Make search container flexible to take available space, leaving room for chart */
margin-right: 20px; /* Add margin to separate from chart */
}
.search-container input[type="text"],
.search-container button {
background-color: #36016b; /* Use primary color variable */
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
margin-right: 10px;
display: block;
margin-bottom: 10px;
}
/* Adjustments for positioning the Pie Chart */
#PieChart {
position: absolute; /* Set position to fixed */
top: 50px; /* Align to top */
right: 50px; /* Align to right */
width: 60%; /* Set width of the chart */
z-index: 999; /* Ensure the chart is on top of other content */
}
nav {
text-align: right;
margin-top: 15px;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: inline-block;
}
nav ul li {
display: inline-block;
margin-left: 20px;
position: relative; /* Add this line to position the dropdown menu */
}
nav ul li a {
color: #fff;
text-decoration: none;
font-size: 1.2rem;
}
.dropdown {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
background-color: #fff;
border: 1px solid #ddd;
padding: 10px;
display: none;
<!--text-align: center;-->
}
.dropdown li {
margin-bottom: 10px;
display: block;
}
.dropdown li a {
color: #333;
text-decoration: none;
font-size: 0.9rem;
}
.dropdown li a:hover {
background-color: #f0f0f0;
}
nav ul li:hover >.dropdown {
display: block;
}
.content {
padding: 50px 0;
text-align: justify;
}
/* Button styling */
.button-container button {
background-color: #36016b; /* Use secondary color variable */
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
margin-right: 10px;
transition: background-color 0.3s;
}
/* Button hover effect */
.button-container button:hover {
background-color: var(--tertiary-color); /* Use tertiary color variable */
}
/* Button active state */
.button-container button:active {
background-color: var(--tertiary-color); /* Use tertiary color variable */
}
.primary-button {
background-color: #36016b; /* Use primary color variable */
color: white;
}