@@ -486,19 +486,21 @@ input:checked + .slider:before {
486486 overflow-y : hidden;
487487 padding-bottom : 10px ; /* Add some padding for the scrollbar */
488488 align-items : center; /* Vertically center items */
489- min- height: 150 px ; /* Give the container some height */
489+ height : 112 px ; /* Set fixed height to match buttons */
490490}
491491.frame-item {
492492 display : flex;
493493 flex-direction : column; /* Stack image, name, duration vertically */
494494 align-items : center; /* Center content horizontally */
495+ justify-content : space-around; /* Distribute space vertically within the frame item */
495496 gap : 4px ;
496497 padding : 4px ;
497- border : 1px solid # f0f0f0 ;
498- border-radius : 8px ;
499- background : # fafafa ;
498+ border : 1px solid # f0f0f0 ; /* Default border */
499+ border-radius : 8px ; /* Requested border-radius */
500+ background : transparent; /* Remove default background */
500501 max-width : 132px ;
501502 flex-shrink : 0 ; /* Prevent shrinking */
503+ height : 100% ; /* Make frame item fill the height of its container */
502504}
503505.frame-thumb {
504506 width : 65px ;
@@ -590,6 +592,8 @@ input {
590592 font-style : normal;
591593 font-weight : 400 ;
592594 color : # 2C353A ;
595+ border-radius : 4px ;
596+ border : 1px solid#C9D2D2;
593597}
594598
595599/* Cell Slider */
@@ -771,26 +775,29 @@ input {
771775 border-color : rgba (0 , 129 , 132 , 0.4 );
772776}
773777.add-frame-btn {
774- display : block;
775- margin : 12px auto 0 ; /* Top margin, centered horizontally */
776- width : 32px ; /* Adjusted to match other icon buttons */
777- height : 32px ; /* Adjusted to match other icon buttons */
778- border-radius : 8px ; /* Changed to 8px as requested */
779- background : rgba (0 , 129 , 132 , 0.2 ); /* Same as stop button */
780- border : none; /* Remove default border from buttons */
778+ margin-left : 8px ; /* Add 8px to the existing 8px gap for a total of 16px */
779+ width : 32px ;
780+ height : 32px ;
781+ border-radius : 8px ;
782+ background : rgba (0 , 129 , 132 , 0.2 );
783+ border : none;
781784 cursor : pointer;
782- box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.2 ); /* Subtle shadow */
785+ box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.2 );
783786 transition : background 0.3s ease;
784- display : flex; /* To center the image */
787+ display : flex;
785788 align-items : center;
786789 justify-content : center;
787790}
788791.add-frame-btn : hover {
789792 background : rgba (0 , 129 , 132 , 0.3 ); /* Slightly darker on hover */
790793}
791794.add-frame-btn img {
792- width : 16px ; /* Icon size */
793- height : 16px ; /* Icon size */
795+ width : 16px ;
796+ height : 16px ;
797+ }
798+
799+ .frame-item : hover {
800+ cursor : pointer;
794801}
795802
796803.frame-name , .frame-duration {
@@ -806,9 +813,9 @@ input {
806813 text-overflow : ellipsis;
807814}
808815.modal {
809- display : none;
810- position : fixed;
811- z-index : 1001 ;
816+ display : none;
817+ position : fixed;
818+ z-index : 1001 ;
812819 left : 0 ;
813820 top : 0 ;
814821 width : 100% ;
@@ -841,3 +848,18 @@ input {
841848# global-frame-inputs {
842849 display : none;
843850}
851+
852+ @media (max-width : 700px ) {
853+ .grid {
854+ grid-template-columns : repeat (13 , 20px );
855+ grid-auto-rows : 20px ;
856+ gap : 3px ; /* Half the original gap for smaller cells */
857+ width : calc (13 * 20px + 12 * 3px + 32px ); /* 13 cells * 20px + 12 gaps * 3px + 2*16px padding */
858+ padding : 16px ; /* Keep padding consistent, or adjust as needed */
859+ }
860+ .cell {
861+ width : 20px ;
862+ height : 20px ;
863+ }
864+ }
865+
0 commit comments