Blocks
@@ -150,9 +152,11 @@ matTooltipPosition='right' matTooltipHideDelay="100" [matTooltipDisabled]="IS_OPEN_SIDEBAR"> - - offline_bolt - +Fulfillment
@@ -165,9 +169,11 @@ matTooltipPosition='right' matTooltipHideDelay="100" [matTooltipDisabled]="IS_OPEN_SIDEBAR"> - - - +{{'Rules' | translate}}
@@ -180,9 +186,11 @@ matTooltipPosition='right' matTooltipHideDelay="100" [matTooltipDisabled]="IS_OPEN_SIDEBAR"> - - settings - +Settings
diff --git a/src/app/chatbot-design-studio/cds-dashboard/cds-sidebar/cds-sidebar.component.scss b/src/app/chatbot-design-studio/cds-dashboard/cds-sidebar/cds-sidebar.component.scss index 5742f608..b3c62256 100644 --- a/src/app/chatbot-design-studio/cds-dashboard/cds-sidebar/cds-sidebar.component.scss +++ b/src/app/chatbot-design-studio/cds-dashboard/cds-sidebar/cds-sidebar.component.scss @@ -167,7 +167,6 @@ li > a { /// .content { - margin-top: 20px; width: 100%; display: flex; //display: none; @@ -195,12 +194,12 @@ li > a { justify-content: center; align-items: center; // margin-bottom: 10px; - padding: 5px 12px; + // padding: 0px 12px; // border-radius: 4px; transition: all .3s; width: 100%; cursor: pointer; - height: 60px; + height: $sidebar-base-width; .item-label { margin-bottom: 0px; @@ -209,19 +208,26 @@ li > a { } .item-icon { - color: $icon-color; + color: $blu-light-02; + fill: $blu-light-02; } } .section:hover { - background-color: $icon-color-background; + background-color: $blu; + .item-icon { + color: white; + fill: white; + } } .is_active { - background-color: $icon-active-background; - + // background-color: $icon-active-background; .item-icon { - color: $icon-active-color; + color: $blu; + fill: $blu; + stroke-width: 25px; + stroke: $blu; } } \ No newline at end of file diff --git a/src/assets/images/channel_icons/whatsapp-logo_green.svg b/src/assets/images/channel_icons/whatsapp-logo_green.svg new file mode 100755 index 00000000..3b197726 --- /dev/null +++ b/src/assets/images/channel_icons/whatsapp-logo_green.svg @@ -0,0 +1,12 @@ + diff --git a/src/assets/logos/bot-white.svg b/src/assets/logos/bot-white.svg new file mode 100644 index 00000000..0d2ae188 --- /dev/null +++ b/src/assets/logos/bot-white.svg @@ -0,0 +1,14 @@ + diff --git a/src/assets/sass/cds/_variables.scss b/src/assets/sass/cds/_variables.scss index 31858161..ba152228 100644 --- a/src/assets/sass/cds/_variables.scss +++ b/src/assets/sass/cds/_variables.scss @@ -72,8 +72,6 @@ $brown-85: #6c6859d9; // Typography elements -$mdb-font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif !default; -$mdb-font-family-poppins: "Poppins", "Roboto", Arial, sans-serif !default; $font-size-base: 14px; $height-header: 25px; @@ -140,4 +138,21 @@ $azure-01:rgb(220, 233, 255); $accent-blue: rgb(62, 169, 245); $base-blue: rgb(58, 107, 147); $red: #ff4000; -$icon-bckgrnd-color: #e4e6eb; \ No newline at end of file +$icon-bckgrnd-color: #e4e6eb; + + + + +/* CDS NEW v2 +/* ******************************* */ +$mdb-font-family-poppins: 'Poppins', 'Roboto', Arial, sans-serif !default; +$mdb-font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif !default; + +$blu: rgb(80, 100, 147); +$blu-02: rgb(91, 114, 167); +$blu-light-01: rgb(244, 246, 251); +$blu-light-02: rgb(182, 194, 223); + +$header-height: 60px; +$sidebar-base-width: 60px; +$btn-border-radius: 16px; \ No newline at end of file diff --git a/src/assets/sass/cds/styles.scss b/src/assets/sass/cds/styles.scss index 70ad0bba..e9df07ab 100644 --- a/src/assets/sass/cds/styles.scss +++ b/src/assets/sass/cds/styles.scss @@ -23,15 +23,25 @@ svg { vertical-align: unset; } +.btn-group{ + margin: 0; +} .input-group{ position: relative; - display: table; + display: flex; border-collapse: separate; } .input-group { // may be in or outside of form-group .input-group-btn { padding: 0 12px; // match addon spacing + + position: relative; + font-size: 0; + white-space: nowrap; + + display: table-cell; + vertical-align: middle; } .input-group-addon { @@ -360,19 +370,27 @@ color: white; } .btn.btn-primary.cds-blue-button { - background: $light-blue; - color: $light-black; + background: $blu-02; + color: white; box-shadow: none; font-weight: 500; font-family: "Poppins", Roboto, Arial, sans-serif; text-transform: capitalize; font-size: 14px; padding: 6px 12px; + border-radius: $btn-border-radius; &:hover { - background: rgba(138, 180, 248, 0.8); + background: rgba($blu-02, 0.8); } } appdashboard-cds-dashboard a { text-decoration: none; } + +.cds-title{ + font-size: 18px; + position: relative; + color: $blu; + font-weight: 600; +} diff --git a/src/assets/sass/demo.scss b/src/assets/sass/demo.scss index 28fa54f1..3fbfa07c 100755 --- a/src/assets/sass/demo.scss +++ b/src/assets/sass/demo.scss @@ -1656,19 +1656,6 @@ footer ul { // border: 1px solid #e5effe !important; } -.btn.btn-primary.cds-blue-button { - background: $light-blue; - color: $light-black; - box-shadow: none; - font-weight: 500; - font-family: "Poppins", Roboto, Arial, sans-serif; - text-transform: capitalize; - font-size: 14px; - padding: 6px 12px; - &:hover { - background: rgba(138, 180, 248, 0.8); - } -} // Badge in app store appdashboard-app-store > div > div > div > div > div > div.card-content > div.available-from-b-plan-badge {