]> cat aescling's git repositories - mastodon.git/commit
Fix end-user-facing uses of inline CSS (#13438)
authorThibG <thib@sitedethib.com>
Tue, 28 Apr 2020 08:16:55 +0000 (10:16 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Apr 2020 08:16:55 +0000 (10:16 +0200)
commit0e362b7678e75cb71ce207fd45dd4dc0d955fdca
tree40043794ab5c4ad1809410f3eb8adc3f304cd803
parentad9c7aefe6618a70c69991b7daf100573a7e27b9
Fix end-user-facing uses of inline CSS (#13438)

* Move some inline styles to CSS files

* Move default_account_display_name span to fix useless tags with duplicate id

* Change handling of public pages spoiler text from inline CSS to dataset attribute

* Use the `dir` HTML attribute instead of inline CSS

* Move status action bar inline CSS to CSS file

* Hide logo resources from CSS file, not inline CSS

Fixes #11601

* Move translation prompt styling from inline CSS to CSS file

* Move “invited by” styling on registration form from inline to CSS file

* Use the progress tag to display poll results in JS fallback

* Fix poll results JS-less fallback when the user has voted for an option

* Change account public page “moved” notice to use img tags instead of inline CSS

* Move OTP hint inline CSS to SCSS file

* Hide JS-less fallback vote progressbars from accessibility tools

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
20 files changed:
app/javascript/packs/public.js
app/javascript/styles/mastodon/about.scss
app/javascript/styles/mastodon/basics.scss
app/javascript/styles/mastodon/components.scss
app/javascript/styles/mastodon/forms.scss
app/javascript/styles/mastodon/polls.scss
app/javascript/styles/mastodon/statuses.scss
app/views/about/show.html.haml
app/views/accounts/_moved.html.haml
app/views/application/_card.html.haml
app/views/auth/registrations/new.html.haml
app/views/auth/sessions/two_factor.html.haml
app/views/directories/index.html.haml
app/views/layouts/application.html.haml
app/views/layouts/embedded.html.haml
app/views/settings/preferences/appearance/show.html.haml
app/views/settings/profiles/show.html.haml
app/views/statuses/_detailed_status.html.haml
app/views/statuses/_poll.html.haml
app/views/statuses/_simple_status.html.haml