Skip to content
Snippets Groups Projects
  1. Apr 23, 2017
    • Stephen Burgess's avatar
      Replace inline styles with CSS classes (BEM) (#2338) · cca41ea5
      Stephen Burgess authored
      * 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
      cca41ea5
    • Matt Jankowski's avatar
      Clean up flash display in views (#2336) · 532bec6e
      Matt Jankowski authored
      * Add flashes partial to DRY up admin/auth layouts
      
      * Further consolidate flash messages
      532bec6e
    • Matt Jankowski's avatar
      Move force_ssl check to production config (#2165) · ee82d8a8
      Matt Jankowski authored
      The force_ssl method from controllers does not add all of the options that the
      sitewide configuration in a config block does. For example, HSTS enforcement is
      not added by the controller method, but is added by this style.
      ee82d8a8
  2. Apr 22, 2017
  3. Apr 21, 2017
Loading