@@ -17,28 +17,37 @@ function copy() {
1717 </script >
1818
1919<template >
20- <div style =" width : 100% ;margin-top :12px ; background : #e1e5e8 " >
20+ <div style =" width : 100% ;margin-top :12px ; background : #2A2A2A " >
2121 <details >
22- <summary style =" user-select :none ;cursor :pointer ;height :30px ;background :linear-gradient (to right , #e1e5e8 , white );line-height :24px ;font-size :24px ;padding :12px ;" >
23- <slot name =" title" ></slot >
22+ <summary style =" user-select :none ;cursor :pointer ;height :30px ;background :linear-gradient (to right , #2A2A2A , #1A1A1A );line-height :24px ;font-size :24px ;padding :12px ;" >
23+ <span style =" color :#42d392 " >
24+ <slot name =" title" ></slot >
25+ </span >
2426 </summary >
2527 <div style =" display : flex ; flex-direction :column ;" >
2628 <button class =" btn" @click =" showConfig = !showConfig" >
2729 Config   ; <span v-if =" showConfig" >< ; </span ><span v-else >> ; </span >
2830 </button >
2931 <br >
32+ <small style =" margin-left : 24px ; margin-bottom : 12px ; color : #AAAAAA " v-if =" showConfig" >Click to copy</small >
3033 <code :class =" {cde: true, wow: isCopying}" v-if =" showConfig" @click =" copy" >
3134 <slot name =" config" ></slot >
3235 </code >
3336 </div >
34- <div style =" display : flex ;flex-direction :row ; gap :12px ; align-items :center ;justify-content :center ;background :#e1e5e8 ;padding :12px " >
37+ <div style =" display : flex ;flex-direction :row ; gap :12px ; align-items :center ;justify-content :center ;background :#2A2A2A ;padding :12px " >
3538 <div style =" width :100% ;padding :12px ;" >
36- <div style =" width :100% ;text-align :center " >DEV</div >
37- <slot name =" dev" ></slot >
39+ <div style =" width :100% ;text-align :center ;color : #ff6400 ;margin-bottom :12px " >DEV</div >
40+
41+ <div style =" resize :both ;overflow : auto ; border : 1px solid #ff6400 ; padding : 12px ; border-radius : 6px " >
42+ <slot name =" dev" ></slot >
43+ </div >
3844 </div >
3945 <div style =" width :100% ;padding :12px " >
40- <div style =" width :100% ;text-align :center " >PRODUCTION</div >
41- <slot name =" prod" ></slot >
46+ <div style =" width :100% ;text-align :center ;color : #42d392 ;margin-bottom :12px " >PRODUCTION</div >
47+
48+ <div style =" resize :both ;overflow : auto ; border : 1px solid #42d392 ; padding : 12px ;border-radius : 6px " >
49+ <slot name =" prod" ></slot >
50+ </div >
4251 </div >
4352 </div >
4453 </details >
@@ -50,13 +59,18 @@ function copy() {
5059 border : none ;
5160 width : 100px ;
5261 height : 40px ;
53- background : #fafafa ;
62+ background : linear-gradient (to bottom right , #42d392 , #42d392AA );
63+ font-weight : bold ;
5464 cursor : pointer ;
55- border : 1px solid #CCCCCC ;
5665 border-radius : 6px ;
5766 margin-top : 24px ;
5867 margin-left : 24px ;
5968 box-shadow : 0 6px 12px -6px rgba (0 , 0 ,0 ,0.6 );
69+ color : white ;
70+ }
71+
72+ .btn :hover {
73+ background : linear-gradient (to top left , #42d392 , #42d392AA );
6074}
6175.cde {
6276 background : rgba (0 ,0 ,0 ,0.8 );
@@ -66,7 +80,11 @@ function copy() {
6680 padding : 12px ;
6781 border-radius : 6px ;
6882 cursor : copy ;
69- outline : 2px solid greenyellow ;
83+ outline : 2px solid #42d392 ;
84+ }
85+
86+ summary ::marker {
87+ color : #A6A6A6 ;
7088}
7189.wow {
7290 animation : wow 0.2s ease-in-out ;
0 commit comments