Merge "RCFilters: Correct unbalanced margins in active filters display"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 23 Jun 2017 00:12:02 +0000 (00:12 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 23 Jun 2017 00:12:02 +0000 (00:12 +0000)
1  2 
resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterTagMultiselectWidget.less

                border-bottom: 0;
                background-color: #f8f9fa;
                border-radius: 2px 2px 0 0;
-               padding: 0.3em 0.6em 0.6em 0.6em;
+               padding: 0.6em;
                margin-top: 1.6em;
        }
  
 -      .mw-rcfilters-ui-table {
 -              margin-top: 0.3em;
 +      &-wrapper {
 +              .mw-rcfilters-ui-table {
 +                      margin-top: 0.3em;
 +              }
 +
 +              &-content {
 +                      &-title {
 +                              font-weight: bold;
 +                              color: #54595d;
 +                      }
 +
 +                      &-savedQueryTitle {
 +                              color: #72777d;
 +                              margin-left: 1em;
 +                      }
 +              }
        }
  
 -      &-wrapper-content {
 -              &-title {
 -                      font-weight: bold;
 -                      color: #54595d;
 +      &-views {
 +              &-input {
 +                      width: 100%;
                }
  
 -              &-savedQueryTitle {
 -                      color: #72777d;
 -                      margin-left: 1em;
 +              &-select {
 +                      width: 1em;
 +
 +                      &-widget.oo-ui-widget {
 +                              display: block;
 +                              text-align: right;
 +
 +                              // Override OOUI rules
 +                              &.oo-ui-buttonSelectWidget .oo-ui-buttonOptionWidget:first-child a.oo-ui-buttonElement-button,
 +                              .oo-ui-buttonOptionWidget a.oo-ui-buttonElement-button {
 +                                      border-radius: 0;
 +                                      border-left: 0;
 +                              }
 +
 +                              &.oo-ui-buttonSelectWidget .oo-ui-buttonOptionWidget:last-child a.oo-ui-buttonElement-button {
 +                                      border-radius: 0;
 +                              }
 +
 +                      }
                }
        }
  
  
        &-cell-filters {
                width: 100%;
+               div.oo-ui-tagMultiselectWidget-group {
+                       margin-top: 0.2em;
+                       display: block;
+               }
        }
  
        &-cell-reset {