@zzish/math-rich-input 0.1.32 → 0.1.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,924 @@
1
+ *,
2
+ :after,
3
+ :before {
4
+ -webkit-box-sizing: border-box;
5
+ -moz-box-sizing: border-box;
6
+ box-sizing: border-box;
7
+ }
8
+
9
+ .MathRichInput-Container {
10
+ width: 100%;
11
+ border-radius: 5px;
12
+ }
13
+
14
+ .MathRichInput-Container:focus-within {
15
+ background-color: white !important;
16
+ outline: 0px;
17
+ border: 1px solid #663676;
18
+ }
19
+
20
+ .MathRichInput-scrollview {
21
+ position: relative;
22
+ display: flex;
23
+ border-radius: 5px;
24
+ }
25
+
26
+ .MathRichInput p {
27
+ padding: 0px;
28
+ margin: 0px;
29
+ }
30
+
31
+ .MathRichInput {
32
+ font-size: 18px;
33
+ padding: 10px;
34
+ width: 100%;
35
+ border-radius: 5px;
36
+ background-color: #fff;
37
+ overflow-x: scroll;
38
+ overflow: overlay;
39
+ }
40
+
41
+ .MathRichInput:empty::before {
42
+ content: attr(data-placeholder);
43
+ color: #acb6c0;
44
+ font-size: 15px;
45
+ }
46
+ .MathRichInput:empty:focus::before {
47
+ content: "";
48
+ }
49
+
50
+ .MathRichInput:focus {
51
+ outline: 0;
52
+ }
53
+
54
+ .MathRichInput .katex {
55
+ border: 0px;
56
+ }
57
+
58
+ .MathRichInput .base {
59
+ /* Combine the katex and base class name to ensure the whole equation is surrounded */
60
+ background-color: #f0f0f0;
61
+ border: 0px;
62
+ border: 1px dotted #d0d0d0;
63
+ border-radius: 5px;
64
+ padding: 2px;
65
+ margin: 0px 2px;
66
+ }
67
+
68
+ .katex .mathnormal {
69
+ font-family: KaTeX_Math;
70
+ font-style: italic;
71
+ }
72
+
73
+ .MathRichInput .katex-error {
74
+ background-color: #f0f0f0;
75
+ border: 0px;
76
+ border: 1px dotted #ff8080;
77
+ border-radius: 5px;
78
+ padding: 2px;
79
+ margin: 0px 2px;
80
+ }
81
+ /* Note that the top left position of the toolbar is set programatically in componentDidMount */
82
+
83
+ .Toolbar {
84
+ position: absolute;
85
+ z-index: 1;
86
+ display: flex;
87
+ height: 42px;
88
+ background-color: white;
89
+ border: 1px solid #d0d0d0;
90
+ border-radius: 5px;
91
+ box-shadow: 1px 1px 5px #a0a0a0;
92
+ animation: 0.5s fadeIn1;
93
+ animation-fill-mode: forwards;
94
+ }
95
+
96
+ @keyframes fadeIn1 {
97
+ 0% {
98
+ opacity: 0;
99
+ }
100
+ 100% {
101
+ opacity: 1;
102
+ }
103
+ }
104
+
105
+ .Toolbar-button {
106
+ font-family: sans-serif;
107
+ font-size: 16px;
108
+ width: 40px;
109
+ height: 36px;
110
+ background-color: white;
111
+ border-radius: 5px;
112
+ border: 0px;
113
+ padding: 1px;
114
+ margin: 2px;
115
+ }
116
+
117
+ .Toolbar-button:hover {
118
+ color: white;
119
+ background: #663676;
120
+ cursor: pointer;
121
+ }
122
+
123
+ .Toolbar-button:active {
124
+ background: #808080;
125
+ color: white;
126
+ cursor: pointer;
127
+ }
128
+
129
+ .TB-narrow {
130
+ width: 30px;
131
+ }
132
+
133
+ .TB-wide {
134
+ width: 46px;
135
+ }
136
+
137
+ .TB-selected {
138
+ background: #d0d0d0;
139
+ color: black;
140
+ cursor: pointer;
141
+ animation: 0.2s TB-fadeIn;
142
+ animation-fill-mode: forwards;
143
+ }
144
+
145
+ .TB-selected:hover {
146
+ color: white;
147
+ background: #663676;
148
+ cursor: pointer;
149
+ }
150
+
151
+ @keyframes TB-fadeIn {
152
+ 00% {
153
+ background: white;
154
+ }
155
+ 100% {
156
+ background: #d0d0d0;
157
+ }
158
+ }
159
+
160
+ /* Tooltip text */
161
+ .Toolbar-button .tooltiptext {
162
+ font-weight: normal;
163
+ visibility: hidden;
164
+ width: 100px;
165
+ background-color: #222;
166
+ color: #fff;
167
+ /*font-weight: bold;*/
168
+ font-size: 12px;
169
+ text-align: center;
170
+ padding: 4px 10px;
171
+ border-radius: 6px;
172
+
173
+ /* Position the tooltip text - see examples below! */
174
+ position: absolute;
175
+ z-index: 2;
176
+ top: -90%; /* Must leave a small gap between tooltip and button */
177
+ left: 50px;
178
+
179
+ /* transform: translate (50%,0%); */
180
+ }
181
+
182
+ /* Show the tooltip text when you mouse over the tooltip container */
183
+ .Toolbar-button:hover .tooltiptext {
184
+ animation: 0.8s fadeIn2;
185
+ animation-fill-mode: forwards;
186
+ visibility: visible;
187
+ /* width: 100px; */
188
+ /* top: -90%; */ /* Must leave a small gap between tooltip and button */
189
+ /* left: 20%; */
190
+ /* margin-left: -50px; */
191
+ }
192
+
193
+ @keyframes fadeIn2 {
194
+ 00% {
195
+ opacity: 0;
196
+ }
197
+ 70% {
198
+ opacity: 0;
199
+ }
200
+ 100% {
201
+ visibility: visible;
202
+ opacity: 0.9;
203
+ }
204
+ }
205
+
206
+ /* .tooltip {
207
+ position: relative;
208
+ display: inline-block;
209
+ border-bottom: 1px dotted black; /* If you want dots under the hoverable text
210
+ } */
211
+ .EquationEditorModal-background {
212
+ position: fixed;
213
+ top: 0;
214
+ left: 0;
215
+ width: 100%;
216
+ height: 100%;
217
+ background: black;
218
+ z-index: 99;
219
+ animation: 0.3s shade;
220
+ animation-fill-mode: forwards;
221
+ }
222
+
223
+ @keyframes shade {
224
+ 00% {
225
+ opacity: 0;
226
+ }
227
+ 100% {
228
+ opacity: 0.6;
229
+ }
230
+ }
231
+
232
+ .EquationEditorModal {
233
+ background: white;
234
+ border: 1px solid #808080;
235
+ border-radius: 10px;
236
+ box-shadow: 0px 2px 5px 1px #a0a0a0;
237
+ position: fixed;
238
+ max-width: 500px;
239
+ width: 98%;
240
+ top: 50%;
241
+ left: 50%;
242
+ /* transform: translate(-50%,-50%); */
243
+ z-index: 100;
244
+ animation: 0.3s rise;
245
+ animation-fill-mode: forwards;
246
+ }
247
+
248
+ @keyframes rise {
249
+ 00% {
250
+ transform: translate(-50%, 100%);
251
+ opacity: 0;
252
+ }
253
+ 100% {
254
+ transform: translate(-50%, -50%);
255
+ opacity: 1;
256
+ }
257
+ }
258
+
259
+ .EquationEditorModal-mobile {
260
+ background: white;
261
+ border: 1px solid #808080;
262
+ border-radius: 10px;
263
+ box-shadow: 0px 2px 5px 1px #a0a0a0;
264
+ position: fixed;
265
+ max-width: 500px;
266
+ width: 99%;
267
+ top: 0%;
268
+ left: 50%;
269
+ transform: translate(-50%, 1px);
270
+ z-index: 100;
271
+ }
272
+
273
+ .EquationEditorModal .title {
274
+ display: flex;
275
+ justify-content: space-between;
276
+ font-size: 14px;
277
+ color: #404040;
278
+ text-align: left;
279
+ background: #e0e0e0;
280
+ border: 0px;
281
+ border-radius: 5px 5px 0px 0px;
282
+ padding: 15px;
283
+ margin: 0px;
284
+ }
285
+
286
+ .EquationEditorModal-mobile .title {
287
+ display: flex;
288
+ justify-content: space-between;
289
+ font-size: 14px;
290
+ color: #404040;
291
+ text-align: left;
292
+ background: #e0e0e0;
293
+ border: 0px;
294
+ border-radius: 5px 5px 0px 0px;
295
+ height: 30px;
296
+ padding: 15px;
297
+ margin: 0px;
298
+ }
299
+
300
+ .EquationEditorModal .expertModeSwitch .switch {
301
+ margin-left: 10px;
302
+ }
303
+
304
+ /* The switch - the box around the slider */
305
+ .EquationEditorModal .switch {
306
+ position: relative;
307
+ display: inline-block;
308
+ width: 35px;
309
+ height: 22px;
310
+ }
311
+
312
+ /* Hide default HTML checkbox */
313
+ .EquationEditorModal .switch input {
314
+ opacity: 0;
315
+ width: 0;
316
+ height: 0;
317
+ }
318
+
319
+ /* The slider */
320
+ .EquationEditorModal .slider {
321
+ position: absolute;
322
+ cursor: pointer;
323
+ top: 0;
324
+ left: 0;
325
+ right: 0;
326
+ bottom: 0;
327
+ background-color: #ccc;
328
+ -webkit-transition: 0.4s;
329
+ transition: 0.4s;
330
+ }
331
+
332
+ .EquationEditorModal .slider:before {
333
+ position: absolute;
334
+ content: "";
335
+ height: 14px;
336
+ width: 14px;
337
+ left: 4px;
338
+ bottom: 4px;
339
+ background-color: white;
340
+ -webkit-transition: 0.4s;
341
+ transition: 0.4s;
342
+ }
343
+
344
+ .EquationEditorModal input:checked + .slider {
345
+ background-color: #663676;
346
+ }
347
+
348
+ .EquationEditorModal input:focus + .slider {
349
+ box-shadow: 0 0 1px #2196f3;
350
+ }
351
+
352
+ .EquationEditorModal input:checked + .slider:before {
353
+ -webkit-transform: translateX(13px);
354
+ -ms-transform: translateX(13px);
355
+ transform: translateX(13px);
356
+ }
357
+
358
+ /* Rounded sliders */
359
+ .EquationEditorModal .slider.round {
360
+ border-radius: 18px;
361
+ }
362
+
363
+ .EquationEditorModal .slider.round:before {
364
+ border-radius: 50%;
365
+ }
366
+ /* Note that the top left position of the accent bar is set programatically in componentDidMount */
367
+
368
+ .AccentBar {
369
+ position: absolute;
370
+ z-index: 1;
371
+ width: 360px;
372
+ background-color: #fff;
373
+ border: 1px solid #d0d0d0;
374
+ border-radius: 5px;
375
+ box-shadow: 1px 1px 5px #a0a0a0;
376
+ padding: 8px;
377
+ animation: 0.4s fadeIn1;
378
+ animation-fill-mode: forwards;
379
+ }
380
+
381
+ .AccentBar-compact {
382
+ display: flex;
383
+ position: absolute;
384
+ z-index: 1;
385
+ background-color: white;
386
+ border: 1px solid #d0d0d0;
387
+ border-radius: 5px;
388
+ box-shadow: 1px 1px 5px #a0a0a0;
389
+ padding: 5px;
390
+ animation: 0.4s fadeIn1;
391
+ animation-fill-mode: forwards;
392
+ }
393
+
394
+ .AccentBar-outerContainer {
395
+ overflow-y: scroll;
396
+ border-radius: 5px;
397
+ }
398
+
399
+ .AccentBar-innerContainer {
400
+ height: 350px;
401
+ }
402
+
403
+ @keyframes fadeIn1 {
404
+ 0% {
405
+ opacity: 0;
406
+ }
407
+ 100% {
408
+ opacity: 1;
409
+ }
410
+ }
411
+
412
+ .AccentBar .symbols-grid {
413
+ display: grid;
414
+ grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
415
+ grid-auto-rows: minmax(min-content, max-content);
416
+ grid-gap: 3px;
417
+ }
418
+
419
+ .AccentBar .insert-grid {
420
+ padding: 5px;
421
+ }
422
+
423
+ .AccentBar .type-a-letter {
424
+ grid-column: 1/-1;
425
+ color: #a0a0a0;
426
+ font-family: sans-serif;
427
+ font-size: 14px;
428
+ font-weight: bold;
429
+ height: 36px;
430
+ padding-top: 12px;
431
+ padding-left: 20px;
432
+ }
433
+
434
+ .AccentBar-button {
435
+ font-family: sans-serif;
436
+ font-size: 17px;
437
+ width: 40px;
438
+ height: 36px;
439
+ background: #f4f4f4;
440
+ border-radius: 5px;
441
+ border: 0px;
442
+ padding: 1px;
443
+ }
444
+
445
+ .AB-compact {
446
+ margin: 0px;
447
+ background: white;
448
+ }
449
+
450
+ .AB-narrow {
451
+ width: 36px;
452
+ }
453
+
454
+ .AccentBar-button:hover {
455
+ color: white;
456
+ background: #663676;
457
+ cursor: pointer;
458
+ box-shadow: 1px 1px 3px #808080;
459
+ animation: 2s grow;
460
+ animation-fill-mode: forwards;
461
+ }
462
+
463
+ @keyframes grow {
464
+ 00% {
465
+ transform: scale(1);
466
+ box-shadow: 0px 0px 0px #808080;
467
+ }
468
+ 10% {
469
+ transform: scale(1.3);
470
+ box-shadow: 1px 1px 3px #808080;
471
+ }
472
+ 90% {
473
+ transform: scale(1.3);
474
+ box-shadow: 1px 1px 3px #808080;
475
+ }
476
+ 100% {
477
+ transform: scale(1.8);
478
+ box-shadow: 1px 1px 3px #808080;
479
+ }
480
+ }
481
+
482
+ .AccentBar-button:active {
483
+ background: #808080;
484
+ color: white;
485
+ cursor: pointer;
486
+ }
487
+
488
+ .AccentBar .tabBar {
489
+ background: white;
490
+ text-align: left;
491
+ border: 0px;
492
+ padding: 10px 0;
493
+ }
494
+
495
+ .AccentBar .tab {
496
+ font-size: 14px;
497
+ font-weight: bold;
498
+ color: #404040;
499
+ text-align: left;
500
+ border: 0px;
501
+ height: 30px;
502
+ padding: 2px 5px 2px 5px;
503
+ margin: 2px;
504
+ border-bottom: 4px solid #d0d0d0;
505
+ }
506
+
507
+ .AccentBar .tab:hover {
508
+ cursor: pointer;
509
+ }
510
+
511
+ .AccentBar .tab-selected {
512
+ font-size: 14px;
513
+ font-weight: bold;
514
+ color: #404040;
515
+ text-align: left;
516
+ border: 0px;
517
+ height: 30px;
518
+ padding: 2px 5px 2px 5px;
519
+ margin: 2px;
520
+ border-bottom: 4px solid #663676;
521
+ }
522
+
523
+ .AccentBar .section-label {
524
+ grid-column: 1/-1;
525
+ font-size: 13px;
526
+ font-weight: bold;
527
+ color: #663676;
528
+ margin-top: 8px;
529
+ margin-left: 8px;
530
+ margin-bottom: 4px;
531
+ }
532
+
533
+ .AccentBar .replace-section {
534
+ min-height: 70px;
535
+ }
536
+
537
+ .AccentBar .tabArea {
538
+ animation: 0.4s fadeIn1;
539
+ animation-fill-mode: forwards;
540
+ }
541
+ .EquationEditor {
542
+ height: auto;
543
+ text-align: center;
544
+ }
545
+
546
+ .EquationEditor .editableAndCursorButtonsWrapper {
547
+ display: flex;
548
+ align-items: center;
549
+ justify-content: center;
550
+ }
551
+
552
+ .EquationEditor .editableWrapper {
553
+ overflow: auto;
554
+ width: 100%;
555
+ }
556
+
557
+ .EquationEditor .cursorButton {
558
+ font-size: 14px;
559
+ font-weight: bold;
560
+ color: #663676;
561
+ background: white;
562
+ text-align: center;
563
+ border: 1px solid #663676;
564
+ border-radius: 5px;
565
+ min-width: 40px;
566
+ width: auto;
567
+ height: 40px;
568
+ padding: 0px;
569
+ margin-top: 10px;
570
+ margin-left: 15px;
571
+ margin-right: 15px;
572
+ /* transition: all .2s ease-in-out; */
573
+ }
574
+
575
+ .EquationEditor .centerBox {
576
+ display: inline-block;
577
+ text-align: center;
578
+ }
579
+
580
+ .EquationEditor .editable {
581
+ /* width:auto; */
582
+ text-align: left;
583
+ min-height: 26px;
584
+ min-width: 150px;
585
+ font-size: 20px;
586
+ color: #404040;
587
+ border: 1px solid #b0b0b0;
588
+ border-radius: 5px;
589
+ /* height:36px; */
590
+ padding: 7px 10px 7px 10px;
591
+ margin-top: 6px;
592
+ margin-bottom: 5px;
593
+ }
594
+
595
+ .EquationEditor .editable-placeholder {
596
+ position: absolute;
597
+ z-index: -1;
598
+ min-height: 26px;
599
+ min-width: 150px;
600
+ font-size: 15px;
601
+ color: grey;
602
+ /* Note the x translation needs to be updatad programatically if the modal width changes */
603
+ transform: translate(-12px, -36px);
604
+ }
605
+
606
+ .EquationEditor .editable:focus-within {
607
+ border-radius: 5px;
608
+ border: 1px solid #663676 !important;
609
+ box-shadow: 0px 0px 0px white;
610
+ /* box-shadow: inset 1px 1px 5px #a0a0a0; */
611
+ }
612
+
613
+ .latexInputAreaWrapper {
614
+ width: auto;
615
+ }
616
+
617
+ .EquationEditor .katexRenderedInput {
618
+ text-align: left;
619
+ min-height: 30px;
620
+ width: 90%;
621
+ font-size: 16px;
622
+ color: #404040;
623
+ border: 0px solid #b0b0b0;
624
+ border-radius: 5px;
625
+ /* height:36px; */
626
+ padding: 7px 10px 4px 10px;
627
+ margin: 5px 15px;
628
+ }
629
+
630
+ .EquationEditor .latexInput {
631
+ text-align: left;
632
+ height: 88px;
633
+ width: 90%;
634
+ font-size: 16px;
635
+ /* color: #202020; */
636
+ /* background-color: #e0e0e0; */
637
+ /* color: #00ff00;
638
+ background-color: #202020; */
639
+ color: #007000;
640
+ background-color: #e0e0e0;
641
+ border: 1px solid #b0b0b0;
642
+ border-radius: 5px;
643
+ padding: 7px 10px 5px 10px;
644
+ margin-top: 10px;
645
+ }
646
+
647
+ .EquationEditor .latexInput:focus {
648
+ border: 1px solid #663676 !important;
649
+ outline: 0;
650
+ /* outline: 2px solid #663676!important; */ /* Has square corners */
651
+ /* box-shadow: inset 1px 1px 5px #a0a0a0, 0px 0px 3px #663676; */
652
+ }
653
+
654
+ .EquationEditor .insertButton {
655
+ font-size: 14px;
656
+ color: white;
657
+ background: #663676;
658
+ text-align: left;
659
+ border: 0px;
660
+ border-radius: 5px;
661
+ height: 36px;
662
+ padding: 0px 30px;
663
+ margin-top: 5px;
664
+ margin-bottom: 5px;
665
+ margin-left: 5px;
666
+ margin-right: 5px;
667
+ }
668
+
669
+ .EquationEditor .cancelButton {
670
+ font-size: 14px;
671
+ background: white;
672
+ color: #663676;
673
+ text-align: left;
674
+ border: 1px solid #663676;
675
+ border-radius: 5px;
676
+ height: 36px;
677
+ padding: 0px 30px;
678
+ margin-bottom: 10px;
679
+ margin-left: 5px;
680
+ margin-right: 5px;
681
+ }
682
+
683
+ .EquationEditor .insertButton:hover {
684
+ color: white;
685
+ background: #461656;
686
+ cursor: pointer;
687
+ }
688
+
689
+ .EquationEditor .recentSymbols-recentText-active {
690
+ font-size: 14px;
691
+ font-weight: bold;
692
+ color: #404040;
693
+ margin-right: 10px;
694
+ }
695
+
696
+ .EquationEditor .recentSymbols-recentText-not-active {
697
+ font-size: 14px;
698
+ font-weight: bold;
699
+ color: #808080;
700
+ margin-top: 10px;
701
+ margin-bottom: 10px;
702
+ }
703
+
704
+ .EquationEditor .tabBar {
705
+ background: white;
706
+ text-align: left;
707
+ border: 0px;
708
+ padding: 10px 10px 5px 20px;
709
+ margin: 5px;
710
+ }
711
+
712
+ @media (max-width: 500px) {
713
+ .EquationEditor .tabBar {
714
+ padding: 5px 0;
715
+ }
716
+ }
717
+
718
+ .EquationEditor .tab {
719
+ font-size: 14px;
720
+ font-weight: bold;
721
+ color: #404040;
722
+ text-align: left;
723
+ border: 0px;
724
+ height: 30px;
725
+ padding: 5px 10px;
726
+ margin: 5px;
727
+ border-bottom: 6px solid #d0d0d0;
728
+ }
729
+
730
+ .EquationEditor .tab:hover {
731
+ cursor: pointer;
732
+ }
733
+ .EquationEditor .tab-selected {
734
+ font-size: 14px;
735
+ font-weight: bold;
736
+ color: #404040;
737
+ text-align: left;
738
+ border: 0px;
739
+ height: 30px;
740
+ padding: 5px 10px;
741
+ margin: 5px;
742
+ border-bottom: 6px solid #663676;
743
+ }
744
+
745
+ .EquationEditor .recentSymbolsButtonArea {
746
+ display: flex;
747
+ justify-content: flex-start;
748
+ width: 486px;
749
+ padding: 2px;
750
+ margin: 5px;
751
+ margin-left: 15px;
752
+ }
753
+
754
+ .EquationEditor .symbolButtonAreasOuterContainer {
755
+ overflow-x: auto;
756
+ }
757
+
758
+ .EquationEditor .symbolButtonAreasInnerContainer {
759
+ display: flex;
760
+ width: 2330px;
761
+ }
762
+
763
+ .EquationEditor .symbolButtonArea {
764
+ display: grid;
765
+ grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
766
+ grid-auto-rows: minmax(min-content, max-content);
767
+ grid-gap: 1.5px;
768
+ padding: 12px;
769
+ margin: 0px;
770
+ }
771
+
772
+ .EquationEditor .symbolButtonArea-1 {
773
+ width: 66px;
774
+ }
775
+
776
+ .EquationEditor .symbolButtonArea-2 {
777
+ width: 108px;
778
+ }
779
+
780
+ .EquationEditor .symbolButtonArea-3 {
781
+ width: 150px;
782
+ }
783
+
784
+ .EquationEditor .symbolButtonArea-4 {
785
+ width: 192px;
786
+ }
787
+
788
+ .EquationEditor .symbolButtonArea-5 {
789
+ width: 234px;
790
+ }
791
+
792
+ .EquationEditor .symbolButtonArea-6 {
793
+ width: 276px;
794
+ }
795
+ /* Fixes is a katex bug where horizontal lines are not rendering */
796
+ /* .frac-line {
797
+ background-color: #404040;
798
+ height:0.03em;
799
+ }
800
+ .overline-line {
801
+ background-color: #404040;
802
+ height:0.03em;
803
+ } */
804
+
805
+ .SymbolButton {
806
+ display: inline-block;
807
+ overflow: hidden; /* Important to fix a bug where katex renders parts of the equation outside the box */
808
+ font-size: 14px;
809
+ font-weight: bold;
810
+ color: #202020;
811
+ background: #e0e0e0;
812
+ text-align: center;
813
+ border: 0px;
814
+ border-radius: 5px;
815
+ width: 36px;
816
+ height: 36px;
817
+ padding: 1px;
818
+ margin: 3px;
819
+ margin-bottom: auto;
820
+ /* transition: all .2s ease-in-out; */
821
+ }
822
+
823
+ .SymbolButton:hover {
824
+ filter: saturate(2);
825
+ color: black;
826
+ /* transform: scale(1.3); */
827
+ cursor: pointer;
828
+ box-shadow: 1px 1px 3px #808080;
829
+ animation: 2s grow;
830
+ animation-fill-mode: forwards;
831
+ }
832
+
833
+ @keyframes grow {
834
+ 00% {
835
+ transform: scale(1);
836
+ box-shadow: 0px 0px 0px #808080;
837
+ }
838
+ 10% {
839
+ transform: scale(1.3);
840
+ box-shadow: 1px 1px 3px #808080;
841
+ }
842
+ 90% {
843
+ transform: scale(1.3);
844
+ box-shadow: 1px 1px 3px #808080;
845
+ }
846
+ 100% {
847
+ transform: scale(1.8);
848
+ box-shadow: 1px 1px 3px #808080;
849
+ }
850
+ }
851
+
852
+ .SymbolButton:active {
853
+ background: #808080;
854
+ color: white;
855
+ transform: scale(1.3);
856
+ cursor: pointer;
857
+ }
858
+
859
+ .SymbolButton-fadeIn {
860
+ opacity: 1;
861
+ width: 100px;
862
+ height: 100px;
863
+ transition: width 0.5s, height 0.5s, opacity 0.5s 0.5s;
864
+ }
865
+
866
+ .highlight-0 {
867
+ background: #ebc9eb;
868
+ /* background: #80e0e0; */
869
+ }
870
+ /*
871
+ .highlight-1{
872
+ background: #c0e0e0;
873
+ }
874
+ /* .highlight-2{
875
+ background: #c0e0e0;
876
+ } */
877
+
878
+ .highlight-operators {
879
+ background: #f8e8d8;
880
+ }
881
+
882
+ .highlight-angles {
883
+ background: #cceded;
884
+ }
885
+
886
+ .highlight-greeklower {
887
+ background: #f8e8d8;
888
+ }
889
+
890
+ .highlight-greekupper {
891
+ background: #cceded;
892
+ }
893
+
894
+ .highlight-misc {
895
+ background: #f8e8d8;
896
+ }
897
+
898
+ .highlight-sets {
899
+ background: #cceded;
900
+ }
901
+
902
+ .highlight-chemistry {
903
+ background: #f8e8d8;
904
+ }
905
+
906
+ .highlight-elements {
907
+ background: #cceded;
908
+ }
909
+
910
+ .highlight-physics2 {
911
+ background: #f8e8d8;
912
+ }
913
+
914
+ .highlight-physics3 {
915
+ background: #cceded;
916
+ }
917
+
918
+ .highlight-expert {
919
+ background: #f4d6f5;
920
+ }
921
+
922
+ .highlight-matrices {
923
+ background: #f4d6f5;
924
+ }