-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
121 lines (112 loc) · 2.37 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
body {
font-family: Arial, sans-serif;
}
#form {
margin: auto;
width: 300px;
}
input[type="text"],
select {
display: block;
margin-bottom: .5em;
font-size: 1rem;
border: 1px solid blueviolet;
border-radius: 4px;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
padding-bottom: 0.5em;
}
textarea {
display: block;
padding: 1em;
font-size: 1rem;
width: 100%;
border: 1px solid blueviolet;
border-radius: 4px;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}
input[type="button"] {
background-color: #9595bd;
color: white;
padding: 1em 2em;
border: none;
border-radius: 4px;
cursor: pointer;
margin-bottom: 1em;
transition: background-color 0.2s ease, transform 0.1s ease;
}
input[type="button"]:active {
background-color: #7a7aad;
transform: translateY(2px);
}
/* Spinner styles */
.spinner {
display: none; /* Hidden by default */
width: 30px;
height: 30px;
border: 4px solid rgba(150, 150, 189, 0.3); /* Light grey */
border-top: 4px solid #9595bd; /* Darker grey */
border-radius: 50%;
animation: spin 1s linear infinite;
margin-top: 1em;
}
/* Keyframes for spin animation */
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
#response {
margin: auto;
padding: 1em;
width: 675px;
white-space: pre-wrap;
background-color: bisque;
border: 1px solid blueviolet;
}
/* left navigation stuff */
.container {
display: flex;
height: 100vh;
width: 100%;
}
.sidebar {
width: 200px;
background-color: #333;
color: white;
padding: 15px;
}
.sidebar ul {
list-style-type: none;
padding: 0;
}
.sidebar ul li {
margin-bottom: 10px;
}
.sidebar ul li a {
color: white;
text-decoration: none;
display: block;
padding: 10px;
border-radius: 4px;
transition: background-color 0.3s;
}
.sidebar ul li a:hover {
background-color: #575757;
}
.main-content {
flex-grow: 1;
padding: 20px;
}
.spinner {
display: none;
width: 30px;
height: 30px;
border: 4px solid rgba(150, 150, 189, 0.3);
border-top: 4px solid #9595bd;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-top: 1em;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}