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>
Showing
- app/javascript/packs/public.js 7 additions, 9 deletionsapp/javascript/packs/public.js
- app/javascript/styles/mastodon/about.scss 5 additions, 0 deletionsapp/javascript/styles/mastodon/about.scss
- app/javascript/styles/mastodon/basics.scss 4 additions, 0 deletionsapp/javascript/styles/mastodon/basics.scss
- app/javascript/styles/mastodon/components.scss 12 additions, 0 deletionsapp/javascript/styles/mastodon/components.scss
- app/javascript/styles/mastodon/forms.scss 21 additions, 0 deletionsapp/javascript/styles/mastodon/forms.scss
- app/javascript/styles/mastodon/polls.scss 30 additions, 0 deletionsapp/javascript/styles/mastodon/polls.scss
- app/javascript/styles/mastodon/statuses.scss 17 additions, 0 deletionsapp/javascript/styles/mastodon/statuses.scss
- app/views/about/show.html.haml 3 additions, 3 deletionsapp/views/about/show.html.haml
- app/views/accounts/_moved.html.haml 4 additions, 2 deletionsapp/views/accounts/_moved.html.haml
- app/views/application/_card.html.haml 0 additions, 1 deletionapp/views/application/_card.html.haml
- app/views/auth/registrations/new.html.haml 2 additions, 2 deletionsapp/views/auth/registrations/new.html.haml
- app/views/auth/sessions/two_factor.html.haml 1 addition, 1 deletionapp/views/auth/sessions/two_factor.html.haml
- app/views/directories/index.html.haml 0 additions, 1 deletionapp/views/directories/index.html.haml
- app/views/layouts/application.html.haml 1 addition, 1 deletionapp/views/layouts/application.html.haml
- app/views/layouts/embedded.html.haml 1 addition, 1 deletionapp/views/layouts/embedded.html.haml
- app/views/settings/preferences/appearance/show.html.haml 2 additions, 2 deletionsapp/views/settings/preferences/appearance/show.html.haml
- app/views/settings/profiles/show.html.haml 1 addition, 1 deletionapp/views/settings/profiles/show.html.haml
- app/views/statuses/_detailed_status.html.haml 3 additions, 3 deletionsapp/views/statuses/_detailed_status.html.haml
- app/views/statuses/_poll.html.haml 5 additions, 3 deletionsapp/views/statuses/_poll.html.haml
- app/views/statuses/_simple_status.html.haml 6 additions, 6 deletionsapp/views/statuses/_simple_status.html.haml
Please register or sign in to comment