From f900ed8f6212bf36f9600385cb9afba74add7951 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Thu, 12 May 2016 04:33:01 +1000 Subject: [PATCH] Reshuffle the base color scheme again Restyle the component area in the CMS --- modules/backend/assets/css/october.css | 13 +-- .../assets/less/controls/sidenav-tree.less | 23 +++-- .../backend/assets/less/core/variables.less | 8 +- .../assets/less/layout/fancylayout.less | 2 +- .../backend/assets/less/layout/sidenav.less | 1 - modules/backend/layouts/_sidenav.htm | 2 +- modules/backend/models/BrandSettings.php | 6 +- .../backend/models/brandsettings/custom.less | 85 ++++++++++++------- .../backend/models/brandsettings/fields.yaml | 4 +- .../widgets/table/assets/less/table.less | 2 +- modules/cms/assets/css/october.components.css | 42 +++++---- .../cms/assets/less/october.components.less | 57 ++++++++----- .../components/partials/_formcomponents.htm | 2 +- modules/system/assets/css/styles.css | 8 +- modules/system/assets/ui/js/loader.stripe.js | 28 ++++-- modules/system/assets/ui/js/popup.js | 9 ++ modules/system/assets/ui/less/breadcrumb.less | 2 +- .../assets/ui/less/global.variables.less | 6 +- modules/system/assets/ui/less/list.less | 2 +- .../system/assets/ui/less/list.variables.less | 3 +- modules/system/assets/ui/less/loader.less | 15 +--- modules/system/assets/ui/less/popover.less | 2 +- modules/system/assets/ui/less/popup.less | 2 +- modules/system/assets/ui/storm-min.js | 27 +++--- modules/system/assets/ui/storm.css | 68 +++++++-------- modules/system/partials/_system_sidebar.htm | 2 +- 26 files changed, 249 insertions(+), 172 deletions(-) diff --git a/modules/backend/assets/css/october.css b/modules/backend/assets/css/october.css index 8a8b77a3a..edf5bae35 100644 --- a/modules/backend/assets/css/october.css +++ b/modules/backend/assets/css/october.css @@ -141,11 +141,11 @@ .control-simplelist.is-divided li .heading,.control-simplelist.is-selectable li .heading{font-size:14px;font-weight:bold} .control-simplelist.is-divided li:last-child,.control-simplelist.is-selectable li:last-child{border-bottom:none} .control-simplelist.is-selectable li a{padding:5px 10px;margin:-5px -10px;display:block;color:#333333} -.control-simplelist.is-selectable li:hover{background:#4da7e8;cursor:pointer} +.control-simplelist.is-selectable li:hover{background:#4ea5e0;cursor:pointer} .control-simplelist.is-selectable li:hover,.control-simplelist.is-selectable li:hover a{color:white} .control-simplelist.is-selectable li:hover a{text-decoration:none} .control-simplelist.is-selectable li.active a{background:#f0f0f0} -.control-simplelist.is-selectable li.active a:hover{background:#4da7e8} +.control-simplelist.is-selectable li.active a:hover{background:#4ea5e0} .list-preview .control-simplelist.is-selectable ul{margin-bottom:0} .drag-noselect{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none} .control-scrollbar{position:relative;overflow:hidden;height:100%;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)} @@ -267,14 +267,14 @@ .control-treelist li > div.record{margin:0;font-size:12px;margin-bottom:5px;position:relative;display:block} .control-treelist li > div.record:before{color:#bdc3c7;font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f111";font-size:6px;position:absolute;left:-18px;top:11px} .control-treelist li > div.record > a.move{display:inline-block;padding:7px 0 7px 10px;text-decoration:none;color:#bdc3c7} -.control-treelist li > div.record > a.move:hover{color:#4da7e8} +.control-treelist li > div.record > a.move:hover{color:#4ea5e0} .control-treelist li > div.record > a.move:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f0c9"} .control-treelist li > div.record > span{color:#666666;display:inline-block;padding:7px 15px 7px 5px} .control-treelist li.dragged{position:absolute;z-index:2000;width:auto !important;height:auto !important} -.control-treelist li.dragged > div.record{opacity:0.5;filter:alpha(opacity=50);background:#4da7e8 !important} +.control-treelist li.dragged > div.record{opacity:0.5;filter:alpha(opacity=50);background:#4ea5e0 !important} .control-treelist li.dragged > div.record > a.move:before,.control-treelist li.dragged > div.record > span{color:white} .control-treelist li.dragged > div.record:before{display:none} -.control-treelist li.placeholder{display:inline-block;position:relative;background:#4da7e8 !important;height:25px;margin-bottom:5px} +.control-treelist li.placeholder{display:inline-block;position:relative;background:#4ea5e0 !important;height:25px;margin-bottom:5px} .control-treelist li.placeholder:before{display:block;position:absolute;font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f053";color:#d35714;left:-10px;top:8px;z-index:2000} .control-treeview{margin-bottom:40px; } .control-treeview ol{margin:0;padding:0;list-style:none;background:#ffffff} @@ -428,7 +428,8 @@ .sidenav-tree ul.top-level > li > ul li a span.header{color:#ffffff;font-size:15px;margin-bottom:5px} .sidenav-tree ul.top-level > li > ul li a span.description{color:rgba(255,255,255,0.6);font-size:13px} .sidenav-tree ul.top-level > li > ul li:hover a,.sidenav-tree ul.top-level > li > ul li.active a{opacity:1;filter:alpha(opacity=100)} -.sidenav-tree ul.top-level > li > ul li.active a{color:rgba(255,255,255,0.91)} +.sidenav-tree ul.top-level > li > ul li.active{border-left:5px solid #3498db} +.sidenav-tree ul.top-level > li > ul li.active a{color:rgba(255,255,255,0.91);padding-right:20px} .sidenav-tree ul.top-level > li > ul li.active a span.header{color:#ffffff} .sidenav-tree ul.top-level > li > ul li.active a span.description{color:rgba(255,255,255,0.91)} .sidenav-tree ul.top-level > li > ul li:last-child a{border-bottom:none} diff --git a/modules/backend/assets/less/controls/sidenav-tree.less b/modules/backend/assets/less/controls/sidenav-tree.less index 62169731d..c5011f3c3 100644 --- a/modules/backend/assets/less/controls/sidenav-tree.less +++ b/modules/backend/assets/less/controls/sidenav-tree.less @@ -95,7 +95,7 @@ // Use two triangles to achieve the darkening effect &:before, &:after { - .triangle(down, 15px, 8px, @brand-secondary); + .triangle(down, 15px, 8px, @brand-primary); position: absolute; left: 15px; bottom: -8px; @@ -157,19 +157,24 @@ .opacity(1); } - &.active a { - //background: @color-sidebarnav-tree-active-bg; - color: @color-sidebarnav-tree-active-text; + &.active { + border-left: 5px solid @brand-accent; - span.header { - color: @color-sidebarnav-tree-active-header; - } - - span.description { + a { color: @color-sidebarnav-tree-active-text; + padding-right: 20px; + + span.header { + color: @color-sidebarnav-tree-active-header; + } + + span.description { + color: @color-sidebarnav-tree-active-text; + } } } + &:last-child a { border-bottom: none; } diff --git a/modules/backend/assets/less/core/variables.less b/modules/backend/assets/less/core/variables.less index ccf5abc5e..6a244a74f 100644 --- a/modules/backend/assets/less/core/variables.less +++ b/modules/backend/assets/less/core/variables.less @@ -31,7 +31,6 @@ @color-footer-text: #666666; @color-sidebarnav-active-text: #ffffff; -//@color-sidebarnav-active-bg: #1f99dc; @color-sidebarnav-active-icon: #ffffff; @color-sidebarnav-inactive-text: rgba(255,255,255,.6); @color-sidebarnav-inactive-icon: rgba(255,255,255,.6); @@ -45,9 +44,8 @@ @color-sidebarnav-tree-inactive-text: #ffffff; @color-sidebarnav-tree-active-header: #ffffff; @color-sidebarnav-tree-inactive-bg: transparent; -//@color-sidebarnav-tree-active-bg: #1F99DC; @color-sidebarnav-tree-active-text: rgba(255,255,255,.91); -@color-sidebarnav-tree-active-marker: #e67e22; +@color-sidebarnav-tree-active-marker: @brand-secondary; @color-sidebarnav-back-link-bg: #2b3e50; @color-sidebarnav-back-link-text: #bdc3c7; @@ -107,7 +105,7 @@ @color-fancy-primary-tabs-active-bg: #fafafa; @color-fancy-primary-tabs-inactive-bg: #d5d9d8; -@color-fancy-form-tabless-fields-bg: #e67e22; +@color-fancy-form-tabless-fields-bg: @brand-secondary; @color-fancy-form-label: rgba(255, 255, 255, .5); @color-fancy-form-text: #ffffff; @color-fancy-form-text-selection: #d35400; @@ -115,7 +113,7 @@ @color-fancy-form-inactive-tab: #b9530f; @color-sortable-caret: #999999; -@color-sortable-active: #e67e22; +@color-sortable-active: @brand-secondary; @color-report-widget-title: #7e8c8d; @color-report-widget-control-inactive: #b6b6b6; diff --git a/modules/backend/assets/less/layout/fancylayout.less b/modules/backend/assets/less/layout/fancylayout.less index 6b5b64a78..98abde23f 100644 --- a/modules/backend/assets/less/layout/fancylayout.less +++ b/modules/backend/assets/less/layout/fancylayout.less @@ -5,7 +5,7 @@ .tab-collapse-icon { position: absolute; - display: block; + display: block; text-decoration: none; outline: none; .opacity(0.6); diff --git a/modules/backend/assets/less/layout/sidenav.less b/modules/backend/assets/less/layout/sidenav.less index 96a4e7f59..3b9fc9b20 100644 --- a/modules/backend/assets/less/layout/sidenav.less +++ b/modules/backend/assets/less/layout/sidenav.less @@ -74,7 +74,6 @@ } &.active a { - //background: @color-sidebarnav-active-bg; .nav-label, .nav-icon { text-shadow: 0 -1px 0 rgba(0,0,0,.3); diff --git a/modules/backend/layouts/_sidenav.htm b/modules/backend/layouts/_sidenav.htm index 1e1b60a84..685863ef1 100644 --- a/modules/backend/layouts/_sidenav.htm +++ b/modules/backend/layouts/_sidenav.htm @@ -11,7 +11,7 @@