Improve noscript message and style (#4315)
parent
9244f6b628
commit
3a3b556065
|
@ -3723,10 +3723,24 @@ button.icon-button.active i.fa-retweet {
|
||||||
noscript {
|
noscript {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
div {
|
img {
|
||||||
font-size: 20px;
|
width: 200px;
|
||||||
margin: 20px 0;
|
opacity: 0.5;
|
||||||
|
animation: flicker 4s infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div {
|
||||||
|
font-size: 14px;
|
||||||
|
margin: 30px auto;
|
||||||
|
color: $ui-secondary-color;
|
||||||
|
max-width: 400px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes flicker {
|
||||||
|
0% { opacity: 1; }
|
||||||
|
30% { opacity: 0.75; }
|
||||||
|
100% { opacity: 1; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1024px) and (max-height: 400px) {
|
@media screen and (max-width: 1024px) and (max-height: 400px) {
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
||||||
%noscript
|
%noscript
|
||||||
= image_tag asset_pack_path('logo.svg')
|
= image_tag asset_pack_path('logo.svg'), alt: 'Mastodon'
|
||||||
|
|
||||||
%div
|
%div
|
||||||
= t('errors.noscript')
|
= t('errors.noscript')
|
||||||
|
|
|
@ -272,7 +272,7 @@ en:
|
||||||
content: Security verification failed. Are you blocking cookies?
|
content: Security verification failed. Are you blocking cookies?
|
||||||
title: Security verification failed
|
title: Security verification failed
|
||||||
'429': Throttled
|
'429': Throttled
|
||||||
noscript: To use Mastodon, please enable JavaScript.
|
noscript: To use the Mastodon web application, please enable JavaScript. Alternatively, find a native app for Mastodon for your platform.
|
||||||
exports:
|
exports:
|
||||||
blocks: You block
|
blocks: You block
|
||||||
csv: CSV
|
csv: CSV
|
||||||
|
|
Loading…
Reference in New Issue