MDL-88148 theme_boost: Fix drawers buttons icon styles

This commit is contained in:
Mikel Martín
2026-03-10 14:13:13 +01:00
parent 6600befb62
commit 3776d95c8f
4 changed files with 8 additions and 17 deletions
+2 -5
View File
@@ -88,13 +88,10 @@
top: calc(#{$navbar-height} + 1rem);
z-index: 2;
.btn {
padding: 8px;
margin: auto 16px;
background-color: $gray-300;
.icon {
width: auto;
height: auto;
}
width: $icon-medium-width;
height: $icon-medium-width; // Using the same value for width and height to make the button square.
&:focus {
box-shadow: $input-btn-focus-box-shadow;
}
+2 -5
View File
@@ -39505,13 +39505,10 @@ body.tox-fullscreen .tox.tox-tinymce-aux {
z-index: 2;
}
.drawer-toggles .drawer-toggler .btn {
padding: 8px;
margin: auto 16px;
background-color: #dee2e6;
}
.drawer-toggles .drawer-toggler .btn .icon {
width: auto;
height: auto;
width: 40px;
height: 40px;
}
.drawer-toggles .drawer-toggler .btn:focus {
box-shadow: 0 0 0 0.25rem rgba(15, 108, 191, 0.75);
@@ -107,7 +107,7 @@
{{#courseindex}}
<div class="drawer-toggler drawer-left-toggle open-nav d-print-none">
<button
class="btn icon-no-margin"
class="btn btn-icon icon-size-3"
data-toggler="drawers"
data-action="toggle"
data-target="theme_boost-drawers-courseindex"
@@ -124,7 +124,7 @@
{{#hasblocks}}
<div class="drawer-toggler drawer-right-toggle ms-auto d-print-none">
<button
class="btn icon-no-margin"
class="btn btn-icon icon-size-3"
data-toggler="drawers"
data-action="toggle"
data-target="theme_boost-drawers-blocks"
+2 -5
View File
@@ -39439,13 +39439,10 @@ body.tox-fullscreen .tox.tox-tinymce-aux {
z-index: 2;
}
.drawer-toggles .drawer-toggler .btn {
padding: 8px;
margin: auto 16px;
background-color: #dee2e6;
}
.drawer-toggles .drawer-toggler .btn .icon {
width: auto;
height: auto;
width: 40px;
height: 40px;
}
.drawer-toggles .drawer-toggler .btn:focus {
box-shadow: 0 0 0 0.25rem rgba(15, 108, 191, 0.75);