@@ -142,7 +142,7 @@ input:checked + .slider:before {
142142.main-content {
143143 display : flex;
144144 gap : 20px ;
145- align-items : stretch; /* Changed to stretch */
145+ align-items : stretch;
146146}
147147
148148.left-sidebar {
@@ -190,7 +190,7 @@ input:checked + .slider:before {
190190}
191191
192192/*
193- * Styles for specific components required by Anomaly Detection
193+ * Styles for specific components required LED matrix
194194 */
195195
196196.legend {
@@ -239,33 +239,33 @@ input:checked + .slider:before {
239239 border-radius : 8px ;
240240 width : 100% ;
241241 display : flex;
242- flex-direction : column; /* Changed from row */
243- gap : 16px ; /* Adjusted gap */
242+ flex-direction : column;
243+ gap : 16px ;
244244}
245245
246246.animation-controls-body {
247247 display : flex;
248- flex-direction : row; /* Changed to row */
249- gap : 16px ; /* Gap between options and main controls */
248+ flex-direction : row;
249+ gap : 16px ;
250250}
251251
252252.animation-options {
253253 display : flex;
254254 flex-direction : column;
255255 gap : 8px ;
256- align-items : center; /* Center buttons in the column */
256+ align-items : center;
257257}
258258
259259.anim-option-btn {
260260 border : 1px solid # C9D2D2 ;
261261 border-radius : 8px ;
262262 padding : 6px ;
263- background-color : transparent; /* Assuming transparent background */
263+ background-color : transparent;
264264 cursor : pointer;
265265 display : flex;
266266 align-items : center;
267267 justify-content : center;
268- color : # 2C353A ; /* Updated icon color */
268+ color : # 2C353A ;
269269}
270270
271271.anim-option-btn : hover {
@@ -281,14 +281,14 @@ input:checked + .slider:before {
281281 width : 100% ;
282282 height : 1px ;
283283 background-color : # C9D2D2 ;
284- margin : 4px 0 ; /* Vertical margin for spacing */
284+ margin : 4px 0 ;
285285}
286286
287287.animation-controls-main {
288288 display : flex;
289289 flex-direction : column;
290290 gap : 12px ;
291- flex : 1 ; /* Allow this to take remaining space */
291+ flex : 1 ;
292292}
293293
294294.row {
@@ -372,14 +372,14 @@ input:checked + .slider:before {
372372 }
373373
374374 .left-sidebar {
375- max-width : 100% ; /* Allow left-sidebar to take full width */
376- flex-direction : row; /* Arrange children side-by-side */
377- flex-wrap : wrap; /* Allow children to wrap */
375+ max-width : 100% ;
376+ flex-direction : row;
377+ flex-wrap : wrap;
378378 }
379379
380380 .tools-box , .transform-box {
381- flex : 1 ; /* Allow boxes to grow and shrink */
382- min-width : 250px ; /* Ensure a minimum width for the boxes */
381+ flex : 1 ;
382+ min-width : 250px ;
383383 }
384384
385385 .arduino-text {
@@ -402,14 +402,14 @@ input:checked + .slider:before {
402402/* Grid and cells */
403403.grid {
404404 display : grid;
405- grid-template-columns : repeat (13 , 40px ); /* Updated to 40px */
406- grid-auto-rows : 40px ; /* Updated to 40px */
405+ grid-template-columns : repeat (13 , 40px );
406+ grid-auto-rows : 40px ;
407407 gap : 6px ;
408- margin : 16px auto; /* Centered horizontally */
408+ margin : 16px auto;
409409 background-color : # 374146 ;
410410 padding : 16px ;
411- border-radius : 8px ; /* Add a radius to match other containers */
412- width : 624px ; /* Fixed width, updated for 40px cells */
411+ border-radius : 8px ;
412+ width : 624px ;
413413}
414414.cell {
415415 width : 40px ;
@@ -436,27 +436,27 @@ input:checked + .slider:before {
436436 display : flex;
437437 gap : 8px ;
438438 justify-content : space-between;
439- align-items : center; /* Added for vertical alignment */
439+ align-items : center;
440440}
441441
442442.anim-buttons {
443443 display : flex;
444- gap : 8px ; /* Space between play and stop buttons */
444+ gap : 8px ;
445445}
446446
447447/* Styling for the new icon-only buttons */
448448.anim-buttons button {
449- padding : 6px ; /* Smaller padding for icon buttons */
450- width : 32px ; /* Fixed width for square buttons */
451- height : 32px ; /* Fixed height for square buttons */
449+ padding : 6px ;
450+ width : 32px ;
451+ height : 32px ;
452452 display : flex;
453453 align-items : center;
454454 justify-content : center;
455- border-radius : 8px ; /* Changed to 8px as requested */
456- color : white; /* For the SVG fill */
455+ border-radius : 8px ;
456+ color : white;
457457 border : none;
458458 cursor : pointer;
459- box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.2 ); /* Subtle shadow */
459+ box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.2 );
460460 transition : background 0.3s ease;
461461}
462462
@@ -465,11 +465,11 @@ input:checked + .slider:before {
465465}
466466
467467# play-animation : disabled {
468- background : # 006567 ; /* Darken background when animation is running */
468+ background : # 006567 ;
469469}
470470
471471# stop-animation {
472- background : rgba (0 , 129 , 132 , 0.2 ); /* #008184 with 20% alpha */
472+ background : rgba (0 , 129 , 132 , 0.2 );
473473}
474474
475475
@@ -483,31 +483,29 @@ input:checked + .slider:before {
483483}
484484.frames {
485485 display : flex;
486- flex-direction : row; /* Horizontal layout */
487- flex-wrap : wrap; /* Allow frames to wrap to the next line */
486+ flex-direction : row;
487+ flex-wrap : wrap;
488488 gap : 8px ;
489- /* Removed overflow-x: auto as horizontal scrolling is no longer needed */
490- /* Changed height to auto to allow the container to expand vertically */
491489 height : auto;
492- align-items : flex-start; /* Align items to the start of the cross axis (top) */
490+ align-items : flex-start;
493491 align-items : center;
494492}
495493.frame-item {
496494 display : flex;
497- flex-direction : column; /* Stack image, name, duration vertically */
498- justify-content : space-around; /* Distribute space vertically within the frame item */
495+ flex-direction : column;
496+ justify-content : space-around;
499497 gap : 4px ;
500498 padding : 4px ;
501- border : 1px solid # f0f0f0 ; /* Default border */
502- border-radius : 8px ; /* Requested border-radius */
503- background : transparent; /* Remove default background */
499+ border : 1px solid # f0f0f0 ;
500+ border-radius : 8px ;
501+ background : transparent;
504502 width : 120px ;
505- flex-shrink : 0 ; /* Prevent shrinking */
503+ flex-shrink : 0 ;
506504}
507505.frame-thumb {
508506 width : 112px ;
509507 height : 69px ;
510- background : # 374146 ; /* Changed to match original matrix background */
508+ background : # 374146 ;
511509 border : 1px solid # ddd ;
512510 display : grid;
513511 grid-template-columns : repeat (13 , 1fr );
@@ -520,10 +518,10 @@ input:checked + .slider:before {
520518}
521519
522520.frame-actions {
523- display : flex; /* Keep actions in a row */
521+ display : flex;
524522 gap : 6px ;
525- justify-content : flex-end; /* Push actions to the right */
526- width : 100% ; /* Take full width of parent */
523+ justify-content : flex-end;
524+ width : 100% ;
527525}
528526.frame-item .dragging {
529527 opacity : 0.5 ;
@@ -539,7 +537,7 @@ input:checked + .slider:before {
539537}
540538.frame-item .selected {
541539 background-color : rgba (0 , 129 , 132 , 0.2 ) !important ;
542- border : 1px solid # 008184 !important ; /* Requested solid border color */
540+ border : 1px solid # 008184 !important ;
543541}
544542
545543/* General button and input styles */
@@ -585,10 +583,10 @@ input {
585583 box-sizing : border-box;
586584 overflow : auto;
587585 padding : 8px ;
588- background : # DAE3E3 ; /* New background color */
589- border : 1px solid # ddd ; /* Keep existing border */
586+ background : # DAE3E3 ;
587+ border : 1px solid # ddd ;
590588 height : auto;
591- font-family : "Open Sans" ; /* New text styling */
589+ font-family : "Open Sans" ;
592590 font-size : 10px ;
593591 font-style : normal;
594592 font-weight : 400 ;
@@ -603,7 +601,7 @@ input {
603601 background : # fff ;
604602 border : 1px solid # ddd ;
605603 border-radius : 6px ;
606- display : none; /* This was originally an inline style, so it should be present in CSS for initial state */
604+ display : none;
607605 position : fixed;
608606 z-index : 1000 ;
609607 align-items : center;
@@ -615,7 +613,7 @@ input {
615613 width : 1px ;
616614 height : 35px ;
617615 background-color : # 7F8C8D ;
618- vertical-align : middle; /* To vertically align with other elements in the header */
616+ vertical-align : middle;
619617}
620618
621619.tool-controls {
@@ -657,7 +655,7 @@ input {
657655 left : 0 ;
658656 right : 0 ;
659657 display : none;
660- box-shadow : 0px 4px 8px rgba (0 , 0 , 0 , 0.1 ); /* Subtle shadow instead of border */
658+ box-shadow : 0px 4px 8px rgba (0 , 0 , 0 , 0.1 );
661659 border-radius : 0 0 8px 8px ;
662660 background : # fff ;
663661 z-index : 2 ;
@@ -667,7 +665,7 @@ input {
667665 display : flex;
668666 align-items : center;
669667 gap : 8px ;
670- padding : 12px 8px ; /* Adjusted padding */
668+ padding : 12px 8px ;
671669 cursor : pointer;
672670}
673671
@@ -709,7 +707,7 @@ input {
709707# brightness-alpha-slider {
710708 -webkit-appearance : none;
711709 width : 100% ;
712- background : transparent; /* Changed from #008184 to transparent */
710+ background : transparent;
713711 outline : none;
714712 -webkit-transition : .2s ;
715713 transition : opacity .2s ;
@@ -718,29 +716,29 @@ input {
718716
719717/* Mouse-over effects */
720718# brightness-alpha-slider : hover {
721- opacity : 1 ; /* Fully shown on mouse-over */
719+ opacity : 1 ;
722720}
723721
724722/* The slider thumb (webKit) */
725723# brightness-alpha-slider ::-webkit-slider-thumb {
726- -webkit-appearance : none; /* Hides the default slider thumb */
724+ -webkit-appearance : none;
727725 appearance : none;
728- width : 16px ; /* Set a specific slider handle width */
729- height : 16px ; /* Slider handle height */
730- border-radius : 50% ; /* Make it a circle */
731- background : # 008184 !important ; /* Green background */
732- cursor : pointer; /* Cursor on hover */
733- margin-top : -5px ; /* Adjust this to center the thumb vertically on the track */
726+ width : 16px ;
727+ height : 16px ;
728+ border-radius : 50% ;
729+ background : # 008184 !important ;
730+ cursor : pointer;
731+ margin-top : -5px ;
734732 filter : drop-shadow (0 0 6px rgba (0 , 0 , 0 , 0.25 ));
735733}
736734
737735/* The slider thumb (Firefox) */
738736# brightness-alpha-slider ::-moz-range-thumb {
739- width : 16px ; /* Set a specific slider handle width */
740- height : 16px ; /* Slider handle height */
741- border-radius : 50% ; /* Make it a circle */
742- background : # 008184 !important ; /* Green background */
743- cursor : pointer; /* Cursor on hover */
737+ width : 16px ;
738+ height : 16px ;
739+ border-radius : 50% ;
740+ background : # 008184 !important ;
741+ cursor : pointer;
744742 margin-top : -5px ;
745743 filter : drop-shadow (0 0 6px rgba (0 , 0 , 0 , 0.25 ));
746744}
@@ -749,15 +747,15 @@ input {
749747# brightness-alpha-slider ::-webkit-slider-runnable-track {
750748 width : 100% ;
751749 height : 6px ;
752- background : # 008184 !important ; /* Green background */
750+ background : # 008184 !important ;
753751 border-radius : 30px ;
754752}
755753
756754/* The slider track (Firefox) */
757755# brightness-alpha-slider ::-moz-range-track {
758756 width : 100% ;
759757 height : 6px ;
760- background : # 008184 !important ; /* Green background */
758+ background : # 008184 !important ;
761759 border-radius : 30px ;
762760}
763761
@@ -776,7 +774,7 @@ input {
776774 border-color : rgba (0 , 129 , 132 , 0.4 );
777775}
778776.add-frame-btn {
779- margin-left : 8px ; /* Add 8px to the existing 8px gap for a total of 16px */
777+ margin-left : 8px ;
780778 width : 32px ;
781779 height : 32px ;
782780 border-radius : 8px ;
@@ -790,7 +788,7 @@ input {
790788 justify-content : center;
791789}
792790.add-frame-btn : hover {
793- background : rgba (0 , 129 , 132 , 0.3 ); /* Slightly darker on hover */
791+ background : rgba (0 , 129 , 132 , 0.3 );
794792}
795793.add-frame-btn img {
796794 width : 16px ;
@@ -807,7 +805,7 @@ input {
807805 font-size : 12px ;
808806 font-style : normal;
809807 font-weight : 600 ;
810- line-height : 160% ; /* 19.2px */
808+ line-height : 160% ;
811809 letter-spacing : 0.12px ;
812810 white-space : nowrap;
813811 overflow : hidden;
@@ -832,11 +830,11 @@ input {
832830 width : 80% ;
833831 max-width : 400px ;
834832 border-radius : 8px ;
835- text-align : left; /* Changed to left */
833+ text-align : left;
836834}
837835
838836# all-frames-duration {
839- margin-top : 16px ; /* Add space above the input */
837+ margin-top : 16px ;
840838 width : 100% ;
841839 box-sizing : border-box;
842840}
0 commit comments