Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17239

Remove Depreciated small-icon Rules From buttons.css

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 3.3.11
    • Styles

      There is a chunk of depreciated 'small-icon' code at the bottom of the 'buttons.css' file.

       

      Several bits of depreciated code have been removed over the years so this may as well be removed too as it is just wasting space.

       

      File: buttons.css

       

      Delete:

      /* Deprecated as of version 3.2
      -------------------------------------------------*/
      .small-icon {
          background-position: 0 50%;
          background-repeat: no-repeat;
          background-image: none;
      }
       
      .dropdown .small-icon {
          background-position: 5px 50%;
          padding: 5px;
      }
       
      .small-icon > a {
          padding: 0 0 0 18px;
      }
       
      ul.linklist.bulletin > li.small-icon:before {
          display: none;
      }
       
      .dropdown .small-icon > a {
          display: block;
      }
       
      .rtl .small-icon {
          background-position: 100% 50%;
      }
       
      .rtl .small-icon > a {
          padding-left: 0;
          padding-right: 19px;
      } 

            Unassigned Unassigned
            ForumFlair ForumFlair
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: