https://bugzilla.wikimedia.org/show_bug.cgi?id=68406

            Bug ID: 68406
           Summary: Duplicate css rules
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: jrob...@wikimedia.org
                CC: dh...@wikimedia.org, ebernhard...@wikimedia.org,
                    mpinc...@wikimedia.org, pandiculat...@gmail.com,
                    sp...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

We should use more generic classes to capture these concepts:

{.mw-ui-field:not(.ie8WillIgnoreThis) .mw-ui-field-icon} AND
{.mw-ui-field:not(.ie8WillIgnoreThis) .mw-ui-field-icon:before} share 6
declarations
  - -moz-box-sizing: border-box
  - -webkit-box-sizing: border-box
  - box-sizing: border-box
  - pointer-events: none
  - text-align: center
  - width: 2em
{.flow-timestamp-ago,.flow-timestamp-now} AND
{.mw-ui-field:not(.ie8WillIgnoreThis) .mw-ui-field-icon:before} share 4
declarations
  - -moz-box-sizing: border-box
  - -webkit-box-sizing: border-box
  - box-sizing: border-box
  - line-height: 1em
{.flow-board-header,.flow-board} AND {.mw-ui-field:not(.ie8WillIgnoreThis)
.mw-ui-field-icon:before} share 4 declarations
  - -moz-box-sizing: border-box
  - -webkit-box-sizing: border-box
  - box-sizing: border-box
  - font-size: 1em
{.flow-topic-navigator} AND {.mw-ui-input} share 4 declarations
  - -moz-box-sizing: border-box
  - -webkit-backface-visibility: hidden
  - -webkit-box-sizing: border-box
  - box-sizing: border-box
{.flow-board .flow-topic-navigation} AND {.flow-board-header,.flow-board} share
4 declarations
  - -moz-box-sizing: border-box
  - -webkit-box-sizing: border-box
  - box-sizing: border-box
  - font-size: .875em
{.flow-board-header,.flow-board}, {.flow-reply-count .flow-reply-count-number},
{.flow-ui-tooltip-block}, {.mw-ui-fieldtype-text,.mw-ui-fieldtag-textarea} AND
{.mw-ui-input} share 4 declarations
  - -moz-box-sizing: border-box
  - -webkit-box-sizing: border-box
  - box-sizing: border-box
  - width: 100%
{.flow-reply-count .flow-reply-count-number},
{.mw-ui-field:not(.ie8WillIgnoreThis) .mw-ui-field-icon} AND
{.mw-ui-field:not(.ie8WillIgnoreThis) .mw-ui-field-icon:before} share 4
declarations
  - -moz-box-sizing: border-box
  - -webkit-box-sizing: border-box
  - box-sizing: border-box
  - text-align: center
{.flow-board .flow-topic-navigation}, {.flow-board-header,.flow-board},
{.flow-reply-count .flow-reply-count-number}, {.flow-timestamp},
{.flow-timestamp-ago,.flow-timestamp-now}, {.flow-topic-navigator},
{.flow-ui-tooltip-block}, {.mw-ui-field:not(.ie8WillIgnoreThis)
.mw-ui-field-icon}, {.mw-ui-field:not(.ie8WillIgnoreThis)
.mw-ui-field-icon:before}, {.mw-ui-fieldtype-text,.mw-ui-fieldtag-textarea} AND
{.mw-ui-input} share 3 declarations
  - -moz-box-sizing: border-box
  - -webkit-box-sizing: border-box
  - box-sizing: border-box
{.flow-ui-tooltip.flow-ui-tooltip-down .flow-ui-tooltip-triangle} AND
{.flow-ui-tooltip.flow-ui-tooltip-up .flow-ui-tooltip-triangle} share 3
declarations
  - height: 1em
  - margin-left: -1em
  - width: 2em
{.flow-ui-tooltip.flow-ui-tooltip-left .flow-ui-tooltip-triangle} AND
{.flow-ui-tooltip.flow-ui-tooltip-right .flow-ui-tooltip-triangle} share 3
declarations
  - height: 2em
  - margin-top: -1em
  - width: 1em
{.flow-post .flow-author} AND {.flow-ui-tooltip} share 3 declarations
  - color: #222
  - font-size: .875em
  - word-wrap: break-word
{.flow-moderated-topic-title,.flow-topic-title} AND {.flow-post} share 2
declarations
  - padding: 0
  - word-wrap: break-word
{.mw-ui-fieldtag-input:not(.ie8WillIgnoreThis)
.mw-ui-radio:before,.mw-ui-fieldtag-input:not(.ie8WillIgnoreThis)
.mw-ui-checkbox:before} AND {.wikiglyph} share 2 declarations
  - -webkit-font-smoothing: antialiased
  - vertical-align: text-bottom
{.flow-content-preview} AND {.flow-moderated-topic-title,.flow-topic-title}
share 2 declarations
  - word-break: break-word
  - word-wrap: break-word
{.flow-ui-tooltip} AND {.flow-ui-tooltip .flow-ui-tooltip-triangle:after} share
2 declarations
  - *background: #fafafa
  - background: #fff
{.flow-board .flow-topic-navigation} AND {.flow-ui-tooltip} share 2
declarations
  - border-radius: 3px
  - font-size: .875em
{.flow-board-header,.flow-board} AND {.flow-post .flow-author} share 2
declarations
  - font-size: .875em
  - line-height: 1.2em
{.mw-ui-field:not(.ie8WillIgnoreThis) .mw-ui-field-icon:before} AND
{.mw-ui-fieldtag-input:not(.ie8WillIgnoreThis)
.mw-ui-radio:before,.mw-ui-fieldtag-input:not(.ie8WillIgnoreThis)
.mw-ui-checkbox:before} share 2 declarations
  - -webkit-font-smoothing: antialiased
  - font-family: 'glyphicons halflings'
{.flow-content-preview} AND {.flow-post .flow-post-content} share 2
declarations
  - overflow: auto
  - word-break: break-word
{.flow-post .flow-replies.flow-preview} AND {.flow-post
.flow-replies.flow-preview .flow-post-main} share 2 declarations
  - border-left-width: 0
  - padding-left: 0
{.client-js div > .flow-menu ul} AND {.flow-board-navigation} share 2
declarations
  - font-size: 1em
  - padding: 0
{.flow-reply-count .flow-reply-count-number} AND
{.flow-topic-navigation-footer} share 2 declarations
  - color: #666
  - text-align: center
{.flow-board .flow-topic-navigation li} AND {.flow-menu li} share 2
declarations
  - list-style: none
  - margin: 0
{.flow-post .flow-author}, {.mw-ui-fieldtag-input:not(.ie8WillIgnoreThis)
.mw-ui-radio:before,.mw-ui-fieldtag-input:not(.ie8WillIgnoreThis)
.mw-ui-checkbox:before} AND {.mw-ui-input} share 2 declarations
  - font-size: inherit
  - line-height: inherit
{.mw-ui-input:-moz-placeholder}, {.mw-ui-input:-ms-input-placeholder},
{.mw-ui-input::-moz-placeholder} AND {.mw-ui-input::-webkit-input-placeholder}
share 2 declarations
  - font-style: italic
  - font-weight: normal
{.client-js div > .flow-menu ul}, {.flow-board .flow-topic-navigation li} AND
{.flow-menu ul} share 2 declarations
  - margin: 0
  - padding: 0
{.flow-post}, {.flow-post .flow-author} AND {.flow-ui-tooltip} share 2
declarations
  - color: #222
  - word-wrap: break-word
{.flow-topic-watchlist a}, {.flow-topic-watchlist a.flow-ui-active
.wikiglyph-star}, {.flow-topic-watchlist a.flow-ui-active:hover
.wikiglyph-unstar} AND {.flow-topic-watchlist a:hover .wikiglyph-star} share 2
declarations
  - *display: inline
  - zoom: 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to