File tree Expand file tree Collapse file tree 2 files changed +27
-27
lines changed Expand file tree Collapse file tree 2 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 101
101
chrome:
102
102
" https://chrome.google.com/webstore/detail/premid/agjnjboanicjcpenljmaaigopkgdnihi" ,
103
103
firefox: " https://dl.premid.app/PreMiD.xpi" ,
104
- safari: " https://github. com/PreMiD/Extension-Safari "
104
+ safari: " https://testflight.apple. com/join/HwTAFdBj "
105
105
}
106
106
};
107
107
},
Original file line number Diff line number Diff line change 132
132
<span >Firefox</span >
133
133
</div >
134
134
135
- <div class =" download-card download-card--disabled" >
135
+ <div
136
+ :class =" { 'current-platform': browser.key == 'safari' }"
137
+ class =" download-card"
138
+ @click =" open('safari', 'Extension')"
139
+ >
136
140
<i class =" fa-safari fab" ></i >
137
141
<span >Safari</span >
138
- <div class =" coming-soon " >
139
- {{ $t("downloads.notice.browsers.comingSoon ") }}
142
+ <div class =" beta-tag " >
143
+ {{ $t("downloads.notice.browsers.beta ") }}
140
144
</div >
141
145
</div >
142
146
</div >
750
754
min-width : 120px ;
751
755
cursor : pointer ;
752
756
transition : all 0.2s ease ;
757
+ position : relative ;
758
+ overflow : hidden ;
753
759
754
760
& :hover {
755
761
background : rgba (114 , 137 , 218 , 0.15 );
756
762
transform : translateY (-2px );
763
+
764
+ .beta-tag {
765
+ transform : none ;
766
+ }
757
767
}
758
768
759
769
& .current-platform {
772
782
color : #7289da ;
773
783
}
774
784
775
- & --disabled {
776
- opacity : 0.5 ;
777
- cursor : not-allowed ;
778
- position : relative ;
779
- overflow : hidden ;
780
-
781
- & :hover {
782
- background : rgba (114 , 137 , 218 , 0.1 );
783
- transform : none ;
784
- }
785
-
786
- .coming-soon {
787
- position : absolute ;
788
- bottom : 0 ;
789
- left : 0 ;
790
- right : 0 ;
791
- background : rgba (114 , 137 , 218 , 0.3 );
792
- color : white ;
793
- font-size : 0.8rem ;
794
- padding : 0.2rem ;
795
- text-align : center ;
796
- font-weight : 500 ;
797
- }
785
+ .beta-tag {
786
+ position : absolute ;
787
+ bottom : 0 ;
788
+ left : 0 ;
789
+ right : 0 ;
790
+ background : rgba (255 , 171 , 0 , 0.3 );
791
+ color : #ffab00 ;
792
+ font-size : 0.8rem ;
793
+ padding : 0.2rem ;
794
+ text-align : center ;
795
+ font-weight : 500 ;
796
+ transition : transform 0.2s ease ;
797
+ transform : translateY (0 );
798
798
}
799
799
}
800
800
}
You can’t perform that action at this time.
0 commit comments