@@ -112,25 +112,37 @@ <h3 class="box-title">Project code preview</h3>
112112 </ div >
113113 </ main >
114114 < div class ="frames-section-bottom ">
115- < div class ="controls-section-left ">
116- < div class ="sidebar-header ">
117- < h3 style ="margin:0;font-size:0.9rem;color:#666 "> Frames (auto-saved)</ h3 >
118- < button id ="new-frame " title ="Create new frame "> +</ button >
119- < button id ="play-animation "> Play Animation</ button >
120- </ div >
121- < div >
122- < label > < input type ="radio " name ="mode " value ="frames " checked > Frames</ label >
123- < label > < input type ="radio " name ="mode " value ="anim "> Animations</ label >
124- </ div >
125- < div id ="anim-controls ">
126- < input id ="anim-name " placeholder ="Animation name " />
115+ < div class ="animation-section ">
116+ < div class ="animation-header ">
117+ < h3 style ="margin:0;font-size:0.9rem;color:#666 "> Animation</ h3 >
118+ < div class ="animation-main-controls ">
119+ < button id ="play-animation "> < img src ="img/play-icon.svg " alt ="Play " style ="width: 14px; height: 14px; "> </ button >
120+ < button id ="stop-animation "> < img src ="img/stop-icon.svg " alt ="Stop " style ="width: 14px; height: 14px; "> </ button >
121+ </ div >
127122 </ div >
128- <!-- Frame name goes above the list of frames and below animation name (if present) -->
129- < div >
130- < input id ="name " placeholder ="Frame name (optional) " />
131- < input id ="duration " type ="number " min ="0 " step ="10 " value ="1000 " title ="Duration in ms " />
123+ < div class ="animation-body ">
124+ < div class ="animation-sidebar ">
125+ < button id ="copy-frame "> < img src ="img/copy.svg " alt ="Copy " style ="width: 14px; height: 14px; "> </ button >
126+ < button id ="delete-frame "> < img src ="img/trash.svg " alt ="Delete " style ="width: 14px; height: 14px; "> </ button >
127+ < hr class ="animation-separator ">
128+ < button id ="duration-button "> < img src ="img/duration.svg " alt ="Duration " style ="width: 14px; height: 14px; "> </ button >
129+ </ div >
130+ < div class ="animation-content ">
131+ < div id ="frames " class ="frames "> </ div >
132+ < div id ="anim-controls ">
133+ < input id ="anim-name " placeholder ="Animation name " />
134+ </ div >
135+ < div >
136+ < input id ="name " placeholder ="Frame name (optional) " />
137+ < input id ="duration " type ="number " min ="0 " step ="10 " value ="1000 " title ="Duration in ms " />
138+ </ div >
139+ < div >
140+ < label > < input type ="radio " name ="mode " value ="frames " checked > Frames</ label >
141+ < label > < input type ="radio " name ="mode " value ="anim "> Animations</ label >
142+ < button id ="new-frame " title ="Create new frame "> +</ button >
143+ </ div >
144+ </ div >
132145 </ div >
133- < div id ="frames " class ="frames "> </ div >
134146 </ div >
135147 </ div >
136148 < div id ="error-container " class ="error-message " style ="display: none; "> </ div >
0 commit comments