File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -628,33 +628,46 @@ onMounted(() => {
628628
629629.button-group {
630630 display : flex ;
631- gap : 0.5 rem ;
631+ gap : 8 px ;
632632}
633633
634- .edit- button , .save-button , .cancel- button {
634+ .button-group button {
635635 display : flex ;
636636 align-items : center ;
637- gap : 0.25rem ;
638- padding : 0.5rem 0.75rem ;
639- border-radius : 4px ;
640- font-size : 0.875rem ;
641- cursor : pointer ;
637+ gap : 4px ;
638+ padding : 8px 16px ;
642639 border : none ;
640+ border-radius : 8px ;
641+ font-size : 14px ;
642+ cursor : pointer ;
643+ transition : background-color 0.2s ;
643644}
644645
645646.edit-button {
646- background : #1a73e8 ;
647+ background-color : #007bff ;
647648 color : white ;
648649}
649650
651+ .edit-button :hover {
652+ background-color : #0056b3 ;
653+ }
654+
650655.save-button {
651- background : #28a745 ;
656+ background-color : #28a745 ;
652657 color : white ;
653658}
654659
660+ .save-button :hover {
661+ background-color : #218838 ;
662+ }
663+
655664.cancel-button {
656- background : #6c757d ;
657- color : white ;
665+ background-color : #f0f0f0 ;
666+ color : #666 ;
667+ }
668+
669+ .cancel-button :hover {
670+ background-color : #e0e0e0 ;
658671}
659672
660673.post-info {
Original file line number Diff line number Diff line change @@ -197,43 +197,39 @@ onMounted(() => {
197197
198198.button-group {
199199 display : flex ;
200- gap : 1 rem ;
200+ gap : 12 px ;
201201}
202202
203- .cancel-button ,
204- .submit-button {
203+ .button-group button {
205204 display : flex ;
206205 align-items : center ;
207- gap : 0.5rem ;
208- padding : 0.5rem 1rem ;
209- border-radius : 4px ;
210- cursor : pointer ;
211- font-size : 0.9rem ;
206+ gap : 4px ;
207+ padding : 8px 16px ;
212208 border : none ;
209+ border-radius : 8px ;
210+ font-size : 14px ;
211+ cursor : pointer ;
212+ transition : background-color 0.2s ;
213213}
214214
215215.cancel-button {
216- background-color : #6c757d ;
217- color : white ;
216+ background-color : #f0f0f0 ;
217+ color : #666 ;
218+ }
219+
220+ .cancel-button :hover {
221+ background-color : #e0e0e0 ;
218222}
219223
220224.submit-button {
221225 background-color : #007bff ;
222226 color : white ;
223227}
224228
225- .cancel-button :hover {
226- background-color : #5a6268 ;
227- }
228-
229229.submit-button :hover {
230230 background-color : #0056b3 ;
231231}
232232
233- .material-icons {
234- font-size : 1.1rem ;
235- }
236-
237233.form-group {
238234 position : relative ;
239235 margin-bottom : 20px ;
You can’t perform that action at this time.
0 commit comments