You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/assets/javascripts/components
Stephen Burgess cca41ea544 Replace inline styles with CSS classes (BEM) (#2338)
* fix(classnames): Status icon style classnames

Take out inline css and put into classnames for the following components: account, avatar, icon button, status action bar, notification.

* fix(status): Move styles from inline to classes for statuses

Move styles to classnames in components.scss for the following components:

display name
media gallery
status
status content
video player

* fix(classnames): Add classnames to rest of components

Take out inline styles and apply them to classnames in the sass for the following components:

button
column back button
slim column back button
collapsable column
dropdown menu
loading indicator
status list

* fix(classnames): Remove all non-dynamic inline styles

Components affected:

autosuggested
permalink
action bar
header
character counter
compose form
emoji dropdown
privacy dropdown
reply indicator
upload form
account auth
followers
getting started
column settings
mutes
settings
reblogs
status checkbox
report
action bar
status
card
boost modal
media modal
video modal

* fix(permalink): Do not lose classname

* fix(tests): Add space back in display name

* fix(status__wrapper): Remove duplicate css name

Remove incorrect style attribute. Remove style attribute all together. Cursor defaults to "auto" when not specified as 'default'.

* fix(nl): do not lose translations
8 years ago
..
actions Add hasMore field to account timeline (#2066) 9 years ago
components Replace inline styles with CSS classes (BEM) (#2338) 8 years ago
containers Remove deprecated features at React v15.5 (#1905) 9 years ago
features Replace inline styles with CSS classes (BEM) (#2338) 8 years ago
locales Replace inline styles with CSS classes (BEM) (#2338) 8 years ago
middleware Add eslint-plugin-jsx-a11y (#1651) 9 years ago
reducers Put space before image (#1735) 9 years ago
selectors Avoid re-loading already loaded relationships. Also fixes issue where wrong 9 years ago
store Replace howler.js with simple <audio />, will hopefully resolve 9 years ago
.gitkeep
api.jsx Fix #1491 - Fix broken notifications, broken Link header parsing for exclude_types (#1548) 9 years ago
emoji.jsx Improve emojis - use SVGs where possible 9 years ago
is_mobile.jsx Try to detect iOS and *not* autoplay any videos 9 years ago
link_header.jsx Add eslint-plugin-jsx-a11y (#1651) 9 years ago
rtl.jsx Fix #186 - Add RTL support to the compose form textarea and statuses output 9 years ago
stream.jsx Send initial state in a <script type="application/json"> tag (#1806) 9 years ago