Skip to content

Commit

Permalink
UI/setting split page bg color from main bg color (ILIAS-eLearning#7998)
Browse files Browse the repository at this point in the history
  • Loading branch information
catenglaender authored Aug 29, 2024
1 parent 0db0149 commit faceabc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions templates/default/010-settings/_settings_color-palette.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ $il-neutral-light-color: #737373 !default;

//** Base Background Color, e.g. applied to Meta Bar and Breadcrumbs in Default, but also to panels in main content area.
$il-main-bg: white !default;
//** Page background color
$il-page-bg: $il-main-bg !default;
//** Title area of various components such as Panels. Used as e.g. in containers as bg. Used to be $il-secondary-bg
$il-main-dark-bg: #f9f9f9 !default;
//** Background of subelements like subforms. Used mainly on the main-dark-bg.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ grid-based layout

// main grid without slates
.il-layout-page {
background: $il-main-bg;
background: $il-page-bg;
display: grid;
grid-gap: 0px;
grid-template-columns: auto 1fr;
Expand Down Expand Up @@ -231,7 +231,7 @@ footer {
@media only screen and (max-width: $il-grid-float-breakpoint-max) {
// main grid without slates
.il-layout-page {
background: $il-main-bg;
background: $il-page-bg;
display: block;
overflow: initial;
width: 100%;
Expand Down

0 comments on commit faceabc

Please sign in to comment.