From e90a52a849ca57c1a5fad5ca484608e1f19ee6f3 Mon Sep 17 00:00:00 2001 From: pero1203 Date: Sun, 27 Mar 2022 18:58:21 +0200 Subject: [PATCH] Redesign - urejanje ankete - popravek toolbox barve --- public/css/admin_new.css | 28 +++++++++------ .../admin_new/pages/survey_edit/toolbox.scss | 36 ++++++++++++------- 2 files changed, 40 insertions(+), 24 deletions(-) diff --git a/public/css/admin_new.css b/public/css/admin_new.css index a1b57f74d..f860cb2c3 100644 --- a/public/css/admin_new.css +++ b/public/css/admin_new.css @@ -11722,22 +11722,14 @@ div#general_popup div.popup_content.publish.qr { left: 0; top: 220px; background-color: #F2F2F2; + border-top: 1px #E5E5E5 solid; + border-right: 1px #E5E5E5 solid; + border-bottom: 1px #E5E5E5 solid; } .toolbox_holder .toolbox { cursor: pointer; display: flex; flex-direction: column; - /*&#toolbox_basic { - - .toolbox_item.new_if, - .toolbox_item.new_block{ - background-color: $dark-gray2 !important; - - &:hover{ - background-color: $dark-gray !important; - } - } - }*/ } .toolbox_holder .toolbox .toolbox_item { display: flex; @@ -11745,6 +11737,20 @@ div#general_popup div.popup_content.publish.qr { border-bottom: 1px #E5E5E5 solid; transition: 0.2s; } +.toolbox_holder .toolbox .toolbox_item.open_lib, .toolbox_holder .toolbox .toolbox_item.new_if, .toolbox_holder .toolbox .toolbox_item.new_block { + background-color: #EEF7FF; + border-bottom: 1px #CCE4F9 solid; +} +.toolbox_holder .toolbox .toolbox_item.open_lib:hover, .toolbox_holder .toolbox .toolbox_item.new_if:hover, .toolbox_holder .toolbox .toolbox_item.new_block:hover { + background-color: #CCE4F9; +} +.toolbox_holder .toolbox .toolbox_item.user_access_locked { + background-color: #FFF0C5; + border-bottom: 1px #FFE59C solid; +} +.toolbox_holder .toolbox .toolbox_item.user_access_locked:hover { + background-color: #FFE59C; +} .toolbox_holder .toolbox .toolbox_item .item_icon { width: 40px; line-height: 40px; diff --git a/resources/sass/admin_new/pages/survey_edit/toolbox.scss b/resources/sass/admin_new/pages/survey_edit/toolbox.scss index 676597948..a81b3b687 100644 --- a/resources/sass/admin_new/pages/survey_edit/toolbox.scss +++ b/resources/sass/admin_new/pages/survey_edit/toolbox.scss @@ -13,7 +13,9 @@ top: 220px; background-color: $light-gray2; - + border-top: 1px $gray solid; + border-right: 1px $gray solid; + border-bottom: 1px $gray solid; // Posamezni toolbox .toolbox{ @@ -30,6 +32,26 @@ transition: 0.2s; + &.open_lib, + &.new_if, + &.new_block{ + background-color: $medium-blue; + border-bottom: 1px #CCE4F9 solid; + + &:hover{ + background-color: #CCE4F9; + } + } + + &.user_access_locked{ + background-color: #FFF0C5; + border-bottom: 1px #FFE59C solid; + + &:hover{ + background-color: #FFE59C; + } + } + .item_icon{ width: 40px; line-height: 40px; @@ -125,18 +147,6 @@ } } } - - /*&#toolbox_basic { - - .toolbox_item.new_if, - .toolbox_item.new_block{ - background-color: $dark-gray2 !important; - - &:hover{ - background-color: $dark-gray !important; - } - } - }*/ }