AJAYKASU commited on
Commit
978dc7e
·
verified ·
1 Parent(s): 75d7cfc

Feature: IPO Discount, Greenshoe, & Ownership Logic

Browse files
Files changed (1) hide show
  1. static/style.css +46 -0
static/style.css CHANGED
@@ -200,4 +200,50 @@ td {
200
  to {
201
  transform: rotate(360deg);
202
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  }
 
200
  to {
201
  transform: rotate(360deg);
202
  }
203
+ }
204
+
205
+ /* Toggle Switch */
206
+ .switch {
207
+ position: relative;
208
+ display: inline-block;
209
+ width: 40px;
210
+ height: 20px;
211
+ }
212
+
213
+ .switch input {
214
+ opacity: 0;
215
+ width: 0;
216
+ height: 0;
217
+ }
218
+
219
+ .slider {
220
+ position: absolute;
221
+ cursor: pointer;
222
+ top: 0;
223
+ left: 0;
224
+ right: 0;
225
+ bottom: 0;
226
+ background-color: #333;
227
+ transition: .4s;
228
+ border-radius: 34px;
229
+ }
230
+
231
+ .slider:before {
232
+ position: absolute;
233
+ content: "";
234
+ height: 14px;
235
+ width: 14px;
236
+ left: 3px;
237
+ bottom: 3px;
238
+ background-color: white;
239
+ transition: .4s;
240
+ border-radius: 50%;
241
+ }
242
+
243
+ input:checked+.slider {
244
+ background-color: var(--primary-gold);
245
+ }
246
+
247
+ input:checked+.slider:before {
248
+ transform: translateX(20px);
249
  }