-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
164 lines (139 loc) · 2.93 KB
/
styles.css
File metadata and controls
164 lines (139 loc) · 2.93 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
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
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
width: 85%;
max-width: 680px;
}
h1 {
color: #333;
}
form {
display: block;
margin-bottom: 20px;
padding: 10px;
max-width: 600px;
width: 100%;
margin-left: auto;
margin-right: auto;
}
.form-group {
margin-bottom: 5px;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
label {
margin-right: 10px;
font-size: 14px;
white-space: nowrap; /* Prevent text from wrapping to the next line */
}
input[type="date"],
input[type="checkbox"],
input[type="number"] {
margin-right: 10px;
margin-bottom: 5px;
max-width: 200px; /* Keep inputs from stretching too wide */
}
input[type="number"] {
width: 60px;
}
.gif-options {
display: flex;
justify-content: center;
align-items: center;
}
button {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
width: auto;
}
button:hover {
background-color: #0056b3;
}
/* Media query for small screens (phones) */
@media (max-width: 600px) {
form {
padding: 5px;
}
.form-group {
/*flex-direction: column; !* Stack fields vertically on small screens *!*/
align-items: center; /* Center fields */
}
label {
margin-right: 0;
margin-bottom: 5px;
white-space: nowrap; /* Prevent label text from wrapping */
}
/* Ensure checkbox and label stay inline on small screens */
.form-group input[type="checkbox"] {
margin-right: 5px;
margin-left: 0;
}
/* Align checkbox and label horizontally */
.form-group label[for="geocentric"],
.form-group label[for="gif"] {
display: inline-flex; /* Align label and checkbox horizontally */
align-items: center;
}
.gif-options {
flex-direction: column; /* Stack the GIF options vertically */
}
input[type="number"] {
width: 40px;
}
}
.plot-container {
margin-top: 20px;
}
.muted-text {
font-size: 0.8em;
color: #6c757d;
}
.helper-text {
font-size: 14px;
color: #555;
margin-bottom: 10px;
display: none; /* Initially hidden */
}
.info-text {
list-style-type: none;
padding: 0;
font-size: 0.8em;
color: #6c757d;
}
.error-text {
color: red;
font-weight: bold;
display: none; /* Initially hidden */
margin-top: 10px;
}
.angulardrag {
pointer-events: none !important;
}
.plot-container {
width: 100%;
max-width: 100%;
height: auto;
margin-top: 20px;
}
#plot {
height: auto; /* Maintain aspect ratio */
}