Skip to content

Commit

Permalink
Merge pull request getredash#7 from codygo-solutions/dashboard-backgr…
Browse files Browse the repository at this point in the history
…ound-color

Change dashboard page background color
  • Loading branch information
danikenan authored Aug 20, 2023
2 parents da90125 + 423c85f commit 4de1cbf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions client/app/assets/less/inc/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@
@white: #ffffff;
@white-100: #fbfdff;
@white-200: #f2f7fb;
@bg-50: #ffffff;
@bg-100: #fbfdff;
@bg-100A: #f8f9fa;
@bg-200: #f2f7fb;
@bg-300: #edf4fd;
@gray-50: #f2f3f6;
@gray-100: #e5e7ee;
@gray-200: #cad3e5;
Expand Down
1 change: 1 addition & 0 deletions client/app/pages/dashboards/DashboardPage.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
flex-grow: 1;
flex-direction: column;
width: 100%;
background-color: @bg-200;
}

#dashboard-container {
Expand Down
3 changes: 3 additions & 0 deletions client/app/pages/dashboards/PublicDashboardPage.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@import (reference, less) "~@/assets/less/inc/variables";

.public-dashboard-page {
width: 100%;
background-color: @bg-200;

.page-header-wrapper {
margin-top: 0;
Expand Down
3 changes: 2 additions & 1 deletion client/app/pages/dashboards/components/DashboardHeader.less
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
@import (reference, less) "~@/components/ApplicationArea/ApplicationLayout/index.less";
@import (reference, less) "~@/assets/less/inc/variables";

.dashboard-header {
display: flex;
flex-wrap: wrap;
align-items: stretch;
position: -webkit-sticky; // required for Safari
position: sticky;
background: #f6f7f9;
background-color: @bg-200;
z-index: 99;
width: 100%;
top: 0;
Expand Down

0 comments on commit 4de1cbf

Please sign in to comment.