From a3d5f1b15ddf52f2cb4d0ea875d8ab3ee1e3566e Mon Sep 17 00:00:00 2001 From: Andre Fremaux <anj@hotmail.co.nz> Date: Wed, 20 Jan 2016 16:56:38 +1300 Subject: [PATCH] Made changes to widget backgrounds. --- .../stylesheets/dataTable/_dataTable.less | 4 ++-- plugins/Dashboard/stylesheets/widget.less | 17 +++++++++++++++-- plugins/Live/stylesheets/live.less | 4 ++-- .../Morpheus/stylesheets/theme-advanced.less | 3 +++ 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/plugins/CoreHome/stylesheets/dataTable/_dataTable.less b/plugins/CoreHome/stylesheets/dataTable/_dataTable.less index 4b5f8321b2..861e628f33 100644 --- a/plugins/CoreHome/stylesheets/dataTable/_dataTable.less +++ b/plugins/CoreHome/stylesheets/dataTable/_dataTable.less @@ -292,7 +292,7 @@ div.dataTable, div.dataTable > .dataTableWrapper { margin-bottom: -1px; margin-left: auto; margin-right: auto; - background-color: @theme-color-background-base; + background-color: @theme-color-widget-background; border: 1px solid @theme-color-background-tinyContrast; height: 9px; width: 70px; @@ -336,7 +336,7 @@ div.dataTable, div.dataTable > .dataTableWrapper { margin-top: 0px; margin-left: auto; margin-right: auto; - background-color: @theme-color-background-base; + background-color: @theme-color-widget-background; border: 1px solid @theme-color-background-tinyContrast; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; diff --git a/plugins/Dashboard/stylesheets/widget.less b/plugins/Dashboard/stylesheets/widget.less index 09357f7784..c6743eb559 100644 --- a/plugins/Dashboard/stylesheets/widget.less +++ b/plugins/Dashboard/stylesheets/widget.less @@ -1,7 +1,7 @@ .widget { .font-default(13px, 18px); - background: @theme-color-background-base; - border: 1px solid @color-silver-l85; + background: @theme-color-widget-background; + border: 1px solid @theme-color-widget-border; box-shadow: 0 1px 1px rgba(204,204,204,.5); overflow: hidden; z-index: 1; @@ -54,6 +54,7 @@ padding-left: 50px; right: 8px; display: none; + color: @theme-color-widget-title-text; background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, @theme-color-widget-title-background 45px); background: -webkit-linear-gradient(left,rgba(255,255,255,0) 0%, @theme-color-widget-title-background 45px); background: linear-gradient(to right, rgba(255,255,255,0) 0%, @theme-color-widget-title-background 45px); @@ -115,3 +116,15 @@ display:none; } } + +.widget table.dataTable tr td { + background-color: @theme-color-widget-background; +} + +.dataTable table.dataTable tr td { + background-color: @theme-color-widget-background; +} + +.bar-graph-colors[data-name=grid-background] { + color: @theme-color-widget-background !important; +} diff --git a/plugins/Live/stylesheets/live.less b/plugins/Live/stylesheets/live.less index d9de48963a..7bbdde4044 100644 --- a/plugins/Live/stylesheets/live.less +++ b/plugins/Live/stylesheets/live.less @@ -41,7 +41,7 @@ } #visitsLive .settings { - background: @theme-color-background-base none repeat scroll 0 0; + background: @theme-color-widget-background none repeat scroll 0 0; } #visitsLive .settings a { @@ -322,4 +322,4 @@ a.visitor-log-visitor-profile-link { } .segmentedlog:hover { background-image: url('plugins/Live/images/visitorlog-hover.png'); -} \ No newline at end of file +} diff --git a/plugins/Morpheus/stylesheets/theme-advanced.less b/plugins/Morpheus/stylesheets/theme-advanced.less index 82efdbb571..31e91e6cd8 100644 --- a/plugins/Morpheus/stylesheets/theme-advanced.less +++ b/plugins/Morpheus/stylesheets/theme-advanced.less @@ -8,3 +8,6 @@ @theme-color-code: #F3F3F3; @theme-color-code-background: #4D4D4D; + +@theme-color-widget-background: @theme-color-background-base; +@theme-color-widget-border: @color-silver-l85; -- GitLab