MDL-85659 theme_boost: Fix editor generated tables styles
This commit is contained in:
@@ -1,2 +1,19 @@
|
||||
/* Give editor access to all of bootstrap. */
|
||||
@import "bootstrap/bootstrap";
|
||||
|
||||
/**
|
||||
* Reset the Bootstrap _reboot.scss styles for tables.
|
||||
* That reboot is breaking non-BS tables in the editor.
|
||||
*/
|
||||
table:not(.table) {
|
||||
thead,
|
||||
tbody,
|
||||
tfoot,
|
||||
tr,
|
||||
td,
|
||||
th {
|
||||
border-color: $table-border-color;
|
||||
border-style: solid;
|
||||
border-width: $table-border-width;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -238,3 +238,20 @@ $allow-reset-style: true !default;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset the Bootstrap _reboot.scss styles for tables.
|
||||
* That reboot mainly affects tables added by the tiny editor.
|
||||
*/
|
||||
table:not(.table) {
|
||||
thead,
|
||||
tbody,
|
||||
tfoot,
|
||||
tr,
|
||||
td,
|
||||
th {
|
||||
border-color: $table-border-color;
|
||||
border-style: solid;
|
||||
border-width: $table-border-width;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38292,6 +38292,21 @@ body.reset-style .btn:not(.btn-icon) {
|
||||
border-radius: 0.6rem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset the Bootstrap _reboot.scss styles for tables.
|
||||
* That reboot mainly affects tables added by the tiny editor.
|
||||
*/
|
||||
table:not(.table) thead,
|
||||
table:not(.table) tbody,
|
||||
table:not(.table) tfoot,
|
||||
table:not(.table) tr,
|
||||
table:not(.table) td,
|
||||
table:not(.table) th {
|
||||
border-color: var(--bs-border-color);
|
||||
border-style: solid;
|
||||
border-width: var(--bs-border-width);
|
||||
}
|
||||
|
||||
body.behat-site .fixed-top {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
@@ -38226,6 +38226,21 @@ body:not(.jsenabled) .langmenu:hover > .dropdown-menu,
|
||||
* - Make the content region flex grow so it pushes things like the
|
||||
* next activity selector to the bottom of the page.
|
||||
*/
|
||||
/**
|
||||
* Reset the Bootstrap _reboot.scss styles for tables.
|
||||
* That reboot mainly affects tables added by the tiny editor.
|
||||
*/
|
||||
table:not(.table) thead,
|
||||
table:not(.table) tbody,
|
||||
table:not(.table) tfoot,
|
||||
table:not(.table) tr,
|
||||
table:not(.table) td,
|
||||
table:not(.table) th {
|
||||
border-color: var(--bs-border-color);
|
||||
border-style: solid;
|
||||
border-width: var(--bs-border-width);
|
||||
}
|
||||
|
||||
body.behat-site .fixed-top {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user