Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Commit

Permalink
Update styles as per requested
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaDelBuono committed Jun 10, 2019
1 parent 4d3b56d commit ef28003
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion assets/javascript/hmcts-webchat.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function parseText(text) {
}

function webchat_init(customParams) {
const version = '0.1.17';
const version = '0.1.18';

const defaultParams = {
uuid: '',
Expand Down
28 changes: 14 additions & 14 deletions assets/sass/hmcts-webchat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ body {
height: 42px !important;

background-color: govuk-colour("black") !important;
padding: 4px 0 !important;
padding: 4px 20px !important;

.logo {
margin: 0px 5px 0 20px !important;
display: none;
margin: 0 5px 0 0 !important;
}

.title {
Expand Down Expand Up @@ -160,30 +161,30 @@ body {
right: 25px !important;

.actions {
background-color: govuk-colour("grey-4");
background-color: govuk-colour("grey-1");

.action {
background-color: $govuk-button-colour !important;
background-color: govuk-colour("grey-1") !important;
opacity: 1 !important;

&:hover {
opacity: .8 !important;
}

&.action-clear {
display: none;
}
}
}

.flag {
background-color: $govuk-button-colour !important;

&:hover {
opacity: .8 !important;
}
background-color: govuk-colour("grey-1") !important;
}
}

.message-content {
.chat-msg-sender {
color: $govuk-button-colour;
color: black;
font-size: inherit !important;
}
}
Expand Down Expand Up @@ -213,20 +214,19 @@ body {

.chat-incoming-msg,
.chat-outgoing-msg {
border: 1px solid black;
border-radius: 4px;
color: black;
padding: 6px 10px;
}

.chat-incoming-msg {
background-color: govuk-tint($govuk-button-colour, 85) !important;
border: 1px solid $govuk-button-colour;
background-color: govuk-tint(govuk-colour("blue"), 85) !important;
margin-right: 20%;
}

.chat-outgoing-msg {
background-color: govuk-tint(govuk-colour("blue"), 85) !important;
border: 1px solid govuk-colour("blue");
background-color: govuk-tint(govuk-colour("grey-3"), 50) !important;
margin-left: 20%;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ctsc-web-chat",
"version": "0.1.17",
"version": "0.1.18",
"description": "Assets to support HMCTS CTSC web chat",
"repository": {
"type": "git",
Expand Down

0 comments on commit ef28003

Please sign in to comment.