Skip to content
Snippets Groups Projects
Commit 032f1dba authored by Sébastien Blin's avatar Sébastien Blin Committed by Albert Babí Oller
Browse files

chatview: UI color revision

- use configurable color for incoming messages and send file container
- use dark-blue for action-buttons (windows)

Change-Id: Ib6fe82c44b37aa60bf62032bcf26206f1bdb4eee
parent 5e225e51
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--textarea-max-height: 150px; --textarea-max-height: 150px;
--placeholder-text-color: #d3d3d3; --placeholder-text-color: #d3d3d3;
/* button properties */ /* button properties */
--action-icon-color: #00; --action-icon-color: var(--jami-dark-blue);
--deactivated-icon-color: #bebebe; --deactivated-icon-color: #bebebe;
--action-icon-hover-color: #ededed; --action-icon-hover-color: #ededed;
--action-critical-icon-hover-color: rgba(211, 77, 59, 0.3); /* complementary color of jami light blue */ --action-critical-icon-hover-color: rgba(211, 77, 59, 0.3); /* complementary color of jami light blue */
...@@ -69,10 +69,6 @@ body { ...@@ -69,10 +69,6 @@ body {
margin: 0px 10px 0px 10px; margin: 0px 10px 0px 10px;
} }
.message_in .message_wrapper {
background-color: #cfebf5;
}
.message_in .sender_image, .message_in .sender_image,
.message_out .sender_image { .message_out .sender_image {
visibility: hidden; visibility: hidden;
......
...@@ -440,7 +440,7 @@ a:hover { ...@@ -440,7 +440,7 @@ a:hover {
border: 3px solid rgba(255,255,255,0); border: 3px solid rgba(255,255,255,0);
padding: 30px; padding: 30px;
border-radius: 20px; border-radius: 20px;
background-color: white; background-color: var(--message-in-bg);
display: inline-block; display: inline-block;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
...@@ -477,12 +477,13 @@ a:hover { ...@@ -477,12 +477,13 @@ a:hover {
margin-right: 2em; margin-right: 2em;
top: 8%; top: 8%;
left: 1px; left: 1px;
fill: var(--message-in-txt);
} }
.file_wrapper .svg-icon path, .file_wrapper .svg-icon path,
.file_wrapper .svg-icon polygon, .file_wrapper .svg-icon polygon,
.file_wrapper .svg-icon rect { .file_wrapper .svg-icon rect {
fill: #000000; fill: var(--message-in-txt);
} }
.file_wrapper .svg-icon circle { .file_wrapper .svg-icon circle {
...@@ -494,6 +495,7 @@ a:hover { ...@@ -494,6 +495,7 @@ a:hover {
position: absolute; position: absolute;
top: 30%; top: 30%;
left: 7%; left: 7%;
color: var(--message-in-txt);
} }
#back_to_bottom_button_container { #back_to_bottom_button_container {
...@@ -684,8 +686,8 @@ div.last_message > span { ...@@ -684,8 +686,8 @@ div.last_message > span {
.message_in .message_wrapper { .message_in .message_wrapper {
border-top-left-radius: 0; border-top-left-radius: 0;
transform-origin: top left; transform-origin: top left;
background-color: var(--message-out-bg); background-color: var(--message-in-bg);
color: var(--message-out-txt); color: var(--message-in-txt);
} }
@-webkit-keyframes fade-in { @-webkit-keyframes fade-in {
...@@ -1284,4 +1286,4 @@ video { ...@@ -1284,4 +1286,4 @@ video {
-webkit-transform: scale(1.05); -webkit-transform: scale(1.05);
transform: scale(1.05); transform: scale(1.05);
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment