From 796d6659137ec72d4ec697cf05a5bd1c510c146e Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Mon, 27 Feb 2017 15:07:19 +0100 Subject: [PATCH] update grid colours --- .../src/less/components/umb-grid.less | 119 ++++++++---------- 1 file changed, 53 insertions(+), 66 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/components/umb-grid.less b/src/Umbraco.Web.UI.Client/src/less/components/umb-grid.less index 7ea202b09d..3551d9d31a 100644 --- a/src/Umbraco.Web.UI.Client/src/less/components/umb-grid.less +++ b/src/Umbraco.Web.UI.Client/src/less/components/umb-grid.less @@ -14,7 +14,7 @@ // sortable-helper .umb-grid .ui-sortable-helper { position: absolute !important; - background-color: @blue !important; + background-color: @turquoise !important; height: 42px !important; width: 42px !important; overflow: hidden; @@ -28,7 +28,7 @@ line-height: 42px; font-size: 22px; content: "\e126"; - color: #ffffff; + color: @white; } * { @@ -46,7 +46,7 @@ position: absolute; left: 0; right: 0; - background-color: @blue; + background-color: @turquoise; height: 2px; margin-bottom: 20px; @@ -55,7 +55,7 @@ top: -9px; font-family: "icomoon"; font-size: 18px; - color: @blue; + color: @turquoise; } &:before { @@ -158,14 +158,14 @@ transition: border-color 100ms linear; &:hover { - border-color: @blue; + border-color: @turquoise; cursor: pointer; } } .umb-grid .umb-cell-content.-has-editors { padding-top: 38px; - background-color: #ffffff; + background-color: @white; border-width: 1px; border-style: solid; border-color: @gray-8; @@ -179,30 +179,24 @@ padding-top: 10px; } - - .umb-grid .cell-tools { position: absolute; top: 10px; right: 10px; - color: @gray; + color: @gray-3; font-size: 16px; } - .umb-grid .cell-tool { cursor: pointer; float: right; - &:hover { - color: @blueDark; + color: @turquoise-d1; } } - .umb-grid .cell-tools-add { - color: @blue; - + color: @turquoise-d1; &:focus, &:hover { text-decoration: none; } @@ -213,7 +207,7 @@ top: 50%; left: 50%; transform: translate(-50%, -50%); - color: @blue; + color: @turquoise-d1; } .umb-grid .cell-tools-add.-bar { @@ -221,7 +215,7 @@ background: @gray-10; text-align: center; padding: 5px; - border: 1px dashed #ccc; + border: 1px dashed @gray-7; margin: 10px; } @@ -251,7 +245,7 @@ z-index: 10; top: 0; left: 0; - background: #ffffff; + background: @white; opacity: 0.9; width: 100%; height: 100%; @@ -302,7 +296,7 @@ } .umb-control-collapsed:hover { - border-color: @blue; + border-color: @turquoise; } .umb-grid .umb-control-click-overlay { @@ -314,15 +308,13 @@ left: 0; opacity: 0; cursor: pointer; - &:hover { + background-color: @turquoise; opacity: 0.1; - background-color: @blue; transition: opacity 0.1s; } } - .umb-grid .umb-row-title-bar { display: flex; padding-left: 10px; @@ -335,7 +327,6 @@ font-size: 15px; font-weight: bold; color: @black; - margin-right: 6px; } @@ -343,7 +334,7 @@ display: inline-block; margin-left: 10px; font-size: 18px; - color: @gray; + color: @gray-3; } .umb-grid .row-tool { @@ -371,12 +362,12 @@ opacity: 0.7; text-align: left; padding: 5px; - border: 1px solid rgba(182, 182, 182, 0.3); + border: 1px solid @gray-9; height: 20px; } .umb-grid .umb-control-placeholder:hover .placeholder { - border: 1px solid rgba(182, 182, 182, 0.8); + border: 1px solid @gray-7; } @@ -410,7 +401,7 @@ // Row states .umb-grid .umb-row.-active { - background-color: @blue; + background-color: @turquoise-d1; .umb-row-title-bar { cursor: move; @@ -418,7 +409,7 @@ .row-tool, .umb-row-title { - color: #fff; + color: @white; } .umb-grid-has-config { @@ -445,7 +436,7 @@ } .umb-row-title { - color: @gray; + color: @gray-3; } .row-tool { @@ -473,7 +464,7 @@ .umb-cell-content.-has-editors { box-shadow: 3px 3px 6px rgba(0, 0, 0, .07); - border-color: @blue; + border-color: @turquoise; } } @@ -517,15 +508,11 @@ width: auto; padding: 6px 15px; border-style: solid; - font-size: 12px; font-weight: bold; - display: inline-block; - margin: 10px auto 20px; - - border-color: #E2E2E2; + border-color: @gray-9; &:hover { cursor: pointer; @@ -542,10 +529,10 @@ display: block; overflow: hidden; border: none; - background: #fff; + background: @white; outline: none; resize: none; - color: @gray; + color: @gray-3; } .umb-grid .umb-cell-rte textarea { @@ -556,7 +543,7 @@ display: block; overflow: hidden; border: none; - background: #fff; + background: @white; outline: none; width: 98%; resize: none; @@ -584,14 +571,14 @@ display: inline-block; cursor: pointer; border-radius: 200px; - background: rgba(255,255,255, 1); - border: 1px solid rgb(182, 182, 182); + background: @gray-10; + border: 1px solid @gray-7; margin: 2px; &:hover, &:hover * { - background: @blue !important; - color: white !important; - border-color: @blue !important; + background: @turquoise !important; + color: @white !important; + border-color: @turquoise !important; text-decoration: none; } } @@ -608,7 +595,7 @@ .umb-grid .iconBox a:hover { text-decoration: none; - color: white !important; + color: @white !important; } .umb-grid .iconBox.selected { @@ -626,7 +613,7 @@ .umb-grid .iconBox i { font-size: 16px !important; - color: #5F5F5F; + color: @gray-3 ; display: block; } @@ -655,7 +642,7 @@ } .umb-grid .mce-toolbar { - border-bottom: 1px solid rgba(207, 207, 207, 0.7); + border-bottom: 1px solid @gray-8; background-color: rgba(250, 250, 250, 1); display: none; } @@ -697,7 +684,7 @@ font-size: 10px; padding: 0; margin: 5px 5px 0 0; - color: #808080; + color: @gray-5; } @@ -711,7 +698,7 @@ } .umb-grid .umb-control.-active { - border-color: @blue; + border-color: @turquoise; } .umb-grid .umb-templates-columns { @@ -724,10 +711,10 @@ .umb-grid .umb-control-bar { opacity: 0; - background: @blue; + background: @turquoise; padding: 2px 5px; - color: #ffffff; - font-size: 10px; + color: @white; + font-size: 12px; height: 0; display: flex; transition: height 80ms linear, opacity 80ms linear; @@ -737,6 +724,7 @@ .umb-grid .umb-control-title { display: flex; align-items: center; + font-weight: bold; } .umb-grid .umb-control.-active .umb-control-bar { @@ -776,7 +764,7 @@ } .umb-grid .umb-templates-template a.tb:hover { - border: 5px solid @blue; + border: 5px solid @turquoise; } .umb-grid .umb-templates-template .tb { @@ -806,7 +794,7 @@ .umb-grid a.umb-templates-column:hover, .umb-grid a.umb-templates-column.selected { - background-color: @blue; + background-color: @turquoise; } @@ -856,7 +844,7 @@ } &:hover { - border-color: @blue; + border-color: @turquoise; cursor: pointer; } @@ -935,7 +923,7 @@ top: 0; box-sizing: border-box; left: 0; - border: 3px solid white; + border: 3px solid @white; } } @@ -944,9 +932,8 @@ .umb-grid .umb-grid-has-config { display: inline; - - font-size: 12px; - color: fade(@black, 44); + font-size: 13px; + color: @gray-5; } .umb-grid .umb-cell { @@ -965,7 +952,7 @@ width: 360px; height: 380px; overflow: auto; - border: 1px solid #ccc; + border: 1px solid @gray-8; margin-top: -270px; margin-left: -150px; background: @white; @@ -977,8 +964,8 @@ } .umb-grid .cell-tools-menu h5 { - border-bottom: 1px solid #d9d9d9; - color: #999; + border-bottom: 1px solid @gray-8; + color: @gray-5; padding: 10px; margin-top: 0; } @@ -999,20 +986,20 @@ font-size: 12px; &:hover, &:hover * { - background: #2e8aea; + background: @turquoise; color: @white; } } .umb-grid .elements a { - color: #222; + color: @gray-1; text-decoration: none; } .umb-grid .elements i { font-size: 30px; line-height: 50px; - color: #999; + color: @gray-6; display: block; } @@ -1055,7 +1042,7 @@ display: block; float: left; margin-left: -1px; - border: 1px white solid !important; + border: 1px @white solid !important; background: @gray-8; } @@ -1067,7 +1054,7 @@ text-align: center; font-size: 20px; line-height: 70px; - color: #ccc; + color: @gray-8; text-decoration: none; background: @white; }