1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 06:48:28 +09:00
mastodon/app
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
..
assets Replace inline styles with CSS classes (BEM) (#2338) 2017-04-23 04:26:55 +02:00
controllers Move force_ssl check to production config (#2165) 2017-04-23 04:22:22 +02:00
helpers Clean up flash display in views (#2336) 2017-04-23 04:22:34 +02:00
lib [WIP] Html lang on statuses (#2297) 2017-04-22 04:26:25 +02:00
mailers Instance helper to replace site title helper (#2038) 2017-04-18 00:16:32 +02:00
models strip leading & trailing spaces from remote follow acct (#997) (#2321) 2017-04-22 15:08:30 +02:00
presenters Adds version to about/more and API (#2181) 2017-04-21 03:30:59 +02:00
services Improve bio compatibility (#2278) 2017-04-22 03:33:24 +02:00
validators Organize coverage dirs (#1695) 2017-04-13 16:00:31 +02:00
views Clean up flash display in views (#2336) 2017-04-23 04:22:34 +02:00
workers Quick best practice cleanup of views/helpers (#1546) 2017-04-12 18:24:18 +02:00