-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
183 lines (158 loc) · 3.84 KB
/
style.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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
body {
font-family: 'Dosis', sans-serif;
background-color: #f4f4f9;
color: #333;
margin: 0;
padding: 20px;
}
header {
background-color: #005f73;
color: #fff;
padding: 10px 20px;
text-align: center;
}
header h2 {
margin: 0;
}
main {
margin-top: 20px;
}
label, select, input[type="text"], input[type="datetime-local"] {
display: block;
margin: 10px 0;
font-size: 16px;
}
select, input[type="text"], input[type="datetime-local"] {
width: 100%;
padding: 8px;
border: 2px solid #ddd;
border-radius: 4px;
}
#dataSource {
display: flex;
flex-direction: row;
}
#databaseElements,
#deviceElements {
flex-grow: 1; /* Allow both children to grow equally */
flex-basis: 0; /* Make sure the width is distributed proportionally */
min-width: 200px; /* Set a minimum width for responsiveness */
}
#retrieve {
width: 220px;
height: 100px;
background-color: #00b4d8;
color: #ffffff;
border: none;
padding: 10px 20px;
margin-top: 10px;
border-radius: 7px;
cursor: pointer;
transition: background-color 0.3s ease;
font-size: 30px;
}
#retrieve:hover {
background-color: #0077b6;
}
#dataOptions {
display: flex;
gap: 20px;
}
/* For the collapse button */
.collapse-btn {
background: none;
border: none;
font-size: 1.2rem;
cursor: pointer;
text-align: center;
margin: 10px 0;
padding: 5px;
display: block; /* Ensure it spans the full width for better click target */
}
/* Adjusted layout for module options */
.moduleDataOptions {
display: flex; /* Use flexbox to arrange children horizontally */
gap: 20px; /* Add space between the children */
margin-bottom: 10px; /* Add space below the options for visual clarity */
}
.sensorsContainer,
.readingsContainer {
flex: 1; /* Make each container take up equal space */
display: flex; /* Optional: Flexbox within each container if you want finer control */
flex-direction: column; /* Keep label and select in vertical alignment */
}
.moduleBottomOptions {
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
background-color: #f4f4f4;
margin-top: 10px;
display: none; /* Initially hidden */
}
.plot {
height: 300px;
background-color: #fff;
border: 1px solid #ccc;
margin-top: 10px; /* Spacing between the top options and the plot */
}
/* Maintain flexbox styling for module layout */
#modulesContainer {
display: flex;
flex-direction: column;
flex-wrap: wrap;
gap: 20px;
}
.soundModule {
background-color: #e0e0e0;
padding: 12px;
border-radius: 8px;
flex: 1 1 45%;
box-sizing: border-box;
}
.moduleOptions {
display: flex;
justify-content: space-between;
}
.moduleOptions > * {
flex-grow: 1; /* Allow children to grow and fill the available space */
margin: 0 10px; /* Optional: Add some margin between the children */
}
#play {
width: 60px;
height: 60px;
background-image: url('images/play.png'); /* Use relative path */
background-size: cover;
background-repeat: no-repeat;
background-position: center;
border: none;
cursor: pointer;
padding: 0;
}
#stop {
width: 60px;
height: 60px;
background-image: url('images/stop-button.png'); /* Use relative path */
background-size: cover;
background-repeat: no-repeat;
background-position: center;
border: none;
cursor: pointer;
padding: 0;
}
#play:hover, #stop:hover {
filter: brightness(0.8);
}
#playbackContainer {
display: flex;
justify-content: center;
gap: 20px;
margin: 30px;
}
#bpmText {
font-size: 20px; /* Adjust the font size as needed */
font-weight: bold; /* Optional: make the text bold */
}
#bpmLabel {
font-size: 20px; /* Adjust the font size as needed */
font-weight: bold; /* Optional: make the text bold */
}