MDL-55074 boost: Fixing issues reported by stylelint

This commit is contained in:
David Monllao 2016-10-24 12:40:40 +08:00
parent 48f43096e0
commit 947970fc49
3 changed files with 9 additions and 9 deletions

View File

@ -9,7 +9,7 @@ body.behat-site {
// We need more spacing in action menus so behat does not click on the wrong menu item.
.dropdown-item {
margin-top: 4px ! important;
margin-top: 4px !important; /* stylelint-disable declaration-no-important */
}
}

View File

@ -7,8 +7,8 @@ $drawer-padding-y: 20px;
$drawer-offscreen-gutter: 20px;
:target {
padding-top: ($fixed-header-y + 30px) ! important; /* negative fixed header height */
margin-top: -$fixed-header-y ! important; /* negative fixed header height */
padding-top: ($fixed-header-y + 30px) !important; /* stylelint-disable declaration-no-important */
margin-top: -$fixed-header-y !important; /* negative fixed header height */
}
.pagelayout-embedded :target {
padding-top: initial;
@ -36,12 +36,12 @@ $drawer-bg: $gray-lighter !default;
z-index: $zindex-dropdown - 1;
background-color: $drawer-bg;
-webkit-transition: right 0.5s ease, left 0.5s ease;
-moz-transition: right 0.5s ease, left 0.5s ease;
transition: right 0.5s ease, left 0.5s ease;
-moz-transition: right 0.5s ease, left 0.5s ease;
transition: right 0.5s ease, left 0.5s ease;
}
#nav-drawer {
right: auto;
left: 0px;
left: 0;
}
#page {
margin-top: $fixed-header-y;
@ -51,8 +51,8 @@ $drawer-bg: $gray-lighter !default;
}
body.drawer-ease {
-webkit-transition: margin-left 0.5s ease, margin-right 0.5s ease;
-moz-transition: margin-left 0.5s ease, margin-right 0.5s ease;
transition: margin-left 0.5s ease, margin-right 0.5s ease;
-moz-transition: margin-left 0.5s ease, margin-right 0.5s ease;
transition: margin-left 0.5s ease, margin-right 0.5s ease;
}
body.drawer-open-left {

View File

@ -38,5 +38,5 @@ a:first-of-type > .icon {
}
[data-action=toggle-drawer] .icon {
margin: 0px;
margin: 0;
}