neon_arch commited on
Commit
6bfdc75
1 Parent(s): c4935f2

✨ feat: add & change styling for the error-box & the navbar (#185)

Browse files
Files changed (1) hide show
  1. public/static/themes/simple.css +58 -9
public/static/themes/simple.css CHANGED
@@ -89,17 +89,71 @@ body {
89
  width: 40rem;
90
  }
91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
 
 
 
 
 
93
 
94
  /* styles for the footer and header */
95
 
96
- header {
97
- background: var(--background-color);
98
  width: 100%;
 
99
  display: flex;
100
- justify-content: right;
101
- align-items: center;
102
  padding: 1rem;
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  }
104
 
105
  header ul,
@@ -142,13 +196,8 @@ footer div {
142
  }
143
 
144
  footer {
145
- background: var(--background-color);
146
- width: 100%;
147
- padding: 1rem;
148
- display: flex;
149
  flex-direction: column;
150
  justify-content: center;
151
- align-items: center;
152
  }
153
 
154
  /* Styles for the search page */
 
89
  width: 40rem;
90
  }
91
 
92
+ /* styles for the error box */
93
+ .error_box .error_box_toggle_button {
94
+ background: var(--foreground-color);
95
+ }
96
+
97
+ .error_box .dropdown_error_box {
98
+ position: absolute;
99
+ display: none;
100
+ flex-direction: column;
101
+ background: var(--background-color);
102
+ border-radius: 0;
103
+ margin-left: 2rem;
104
+ min-height: 20rem;
105
+ min-width: 22rem;
106
+ }
107
+ .error_box .dropdown_error_box.show {
108
+ display: flex;
109
+ }
110
+ .error_box .dropdown_error_box .error_item,
111
+ .error_box .dropdown_error_box .no_errors {
112
+ display: flex;
113
+ align-items: center;
114
+ color: var(--foreground-color);
115
+ letter-spacing: 0.1rem;
116
+ padding: 1rem;
117
+ font-size: 1.2rem;
118
+ }
119
+ .error_box .dropdown_error_box .error_item {
120
+ justify-content: space-between;
121
+ }
122
+ .error_box .dropdown_error_box .no_errors {
123
+ min-height: 18rem;
124
+ justify-content: center;
125
+ }
126
+
127
+ .error_box .dropdown_error_box .error_item:hover {
128
+ box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1);
129
+ }
130
 
131
+ .error_box .error_item .severity_color {
132
+ width: 1.2rem;
133
+ height: 1.2rem;
134
+ }
135
 
136
  /* styles for the footer and header */
137
 
138
+ header,
139
+ footer {
140
  width: 100%;
141
+ background: var(--background-color);
142
  display: flex;
 
 
143
  padding: 1rem;
144
+ align-items: center;
145
+ }
146
+
147
+ header {
148
+ justify-content: space-between;
149
+ }
150
+
151
+ header h1 a {
152
+ text-transform: capitalize;
153
+ text-decoration: none;
154
+ color: var(--foreground-color);
155
+ letter-spacing: 0.1rem;
156
+ margin-left: 1rem;
157
  }
158
 
159
  header ul,
 
196
  }
197
 
198
  footer {
 
 
 
 
199
  flex-direction: column;
200
  justify-content: center;
 
201
  }
202
 
203
  /* Styles for the search page */