1
0
Fork 1
forked from fedi/mastodon
mastodon/app/assets/javascripts/components/features
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
2017-04-23 04:26:55 +02:00
..
account/components Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
account_timeline Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
blocks Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
community_timeline Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
compose Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
favourited_statuses Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
favourites Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
follow_requests Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
followers Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
following Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
generic_not_found Add "not found" component to UI 2017-01-10 13:50:59 +01:00
getting_started Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
hashtag_timeline Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
home_timeline Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
mutes Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
notifications Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
public_timeline Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
reblogs Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
report Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
status Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
ui Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00