mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
MDL-55074 boost: Fixing issues reported by stylelint
This commit is contained in:
parent
48f43096e0
commit
947970fc49
@ -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 */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -38,5 +38,5 @@ a:first-of-type > .icon {
|
||||
}
|
||||
|
||||
[data-action=toggle-drawer] .icon {
|
||||
margin: 0px;
|
||||
margin: 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user