MDL-65417 themes : small visual fixes

* region main border radius if sass var $enable-rounded is true (in
classic)
* white background for dashboard on classic where blocks are gray
* frontpage sitetopic margin and padding left removed to align with
courses content
This commit is contained in:
Bas Brands 2019-04-25 10:07:32 +02:00
parent a411b499b9
commit db91972458
5 changed files with 28 additions and 0 deletions

View File

@ -9,6 +9,9 @@ $bg-inverse-link-color: #fff !default;
overflow-x: auto;
overflow-y: visible;
border: $card-border-width solid $card-border-color;
@if $enable-rounded {
@include border-radius($card-border-radius);
}
padding: $card-spacer-x;
background-color: $body-bg;
}

View File

@ -42,6 +42,13 @@
margin: 0;
}
body:not(.editing) .sitetopic ul.section {
padding-left: 0;
.label .mod-indent-outer {
padding-left: 0;
}
}
.course-content ul.section {
margin: $spacer;
}

View File

@ -11705,6 +11705,11 @@ table.calendartable caption {
.sitetopic ul.section {
margin: 0; }
body:not(.editing) .sitetopic ul.section {
padding-left: 0; }
body:not(.editing) .sitetopic ul.section .label .mod-indent-outer {
padding-left: 0; }
.course-content ul.section {
margin: 1rem; }

View File

@ -101,6 +101,10 @@ $theme-colors: map-merge((
.block {
background-color: $gray-100;
}
#page-my-index {
background-color: $white;
}
// Reset the default styling back to the bootstrap defaults for
// the secondary outline button because gray-200 is much too light
// for an outline button.

View File

@ -9030,6 +9030,7 @@ input[disabled] {
overflow-x: auto;
overflow-y: visible;
border: 1px solid rgba(0, 0, 0, 0.125);
border-radius: 0.25rem;
padding: 1.25rem;
background-color: #fff; }
@ -11946,6 +11947,11 @@ table.calendartable caption {
.sitetopic ul.section {
margin: 0; }
body:not(.editing) .sitetopic ul.section {
padding-left: 0; }
body:not(.editing) .sitetopic ul.section .label .mod-indent-outer {
padding-left: 0; }
.course-content ul.section {
margin: 1rem; }
@ -16981,6 +16987,9 @@ span[data-flexitour="container"][x-placement="right"], span[data-flexitour="cont
.block {
background-color: #f8f9fa; }
#page-my-index {
background-color: #fff; }
.btn-outline-secondary {
color: #868e96;
background-color: transparent;