44 <slot />
55 </astar-icon-base >
66 <template v-if =" width >= screenSize .sm " >
7- {{ $t('connect') }}
7+ <span class =" text--connect" >
8+ {{ $t('connect') }}
9+ </span >
810 </template >
911 </button >
1012</template >
@@ -37,44 +39,83 @@ export default defineComponent({
3739 align-items : center ;
3840 padding : 8px 16px 8px 16px ;
3941 background : transparent ;
40- border : 1px solid $navy-3 ;
4142 border-radius : 16px ;
4243 margin-left : 8px ;
4344 transition : all 0.3s ease 0s ;
45+ border : 1px solid $gray-4 ;
46+
47+ @media (min-width : $lg ) {
48+ border : 1px solid $navy-3 ;
49+ }
50+
51+ @media (min-width : $sm ) {
52+ margin-left : 16px ;
53+ }
4454}
4555.btn--connect :hover {
46- background : #fff ;
56+ background : $astar-blue !important ;
57+ border : 1px solid transparent ;
58+ .iconbase {
59+ color : $gray-1 ;
60+ }
61+ @media (min-width : $lg ) {
62+ background : transparent !important ;
63+ border : 1px solid $gray-4 ;
64+ .iconbase {
65+ color : $gray-5 ;
66+ }
67+ }
4768}
4869
4970.m-btn--connect {
5071 padding-left : 10px ;
5172 width : 32px ;
5273 height : 32px ;
53- border : 1px solid $navy-3 ;
74+ background : transparent ;
75+ border : 1px solid $gray-4 ;
5476 border-radius : 16px ;
5577 margin-left : 16px ;
5678 transition : all 0.3s ease 0s ;
79+ @media (min-width : $lg ) {
80+ border : 1px solid $navy-3 ;
81+ }
5782}
5883.m-btn--connect :hover {
59- background : #fff ;
84+ background : $astar-blue ;
85+ border : 1px solid transparent ;
86+ @media (min-width : $lg ) {
87+ background : #fff ;
88+ }
89+ .iconbase {
90+ color : $gray-1 ;
91+ }
6092}
6193.iconbase {
62- color : $navy-3 ;
94+ color : $gray-4 ;
6395 width : rem (20 );
6496 height : rem (20 );
6597 margin-left : -4px ;
6698 margin-right : 4px ;
6799 transition : all 0.3s ease 0s ;
68100}
69101
102+ .text--connect {
103+ font-weight : 400 ;
104+ font-size : 14px ;
105+ color : $gray-1 ;
106+ @media (min-width : $lg ) {
107+ color : $navy-1 ;
108+ }
109+ }
110+
70111.body--dark {
71112 .btn--connect {
72113 background : transparent ;
73114 color : #fff ;
74115 border : 1px solid $gray-4 ;
75116 }
76117 .btn--connect :hover {
77- background : $astar-blue ;
118+ background : $astar-blue !important ;
78119 border : 1px solid transparent ;
79120 .iconbase {
80121 color : $gray-1 ;
@@ -96,5 +137,8 @@ export default defineComponent({
96137 color : $gray-1 ;
97138 }
98139 }
140+ .text--connect {
141+ color : $gray-1 ;
142+ }
99143}
100144 </style >
0 commit comments