2017-09-05 21:53:18 +00:00
|
|
|
/**
|
|
|
|
* This theme file is applied after the operating system theme
|
|
|
|
* It provides sane defaults for things that are very Dino-specific.
|
|
|
|
*/
|
|
|
|
|
2019-01-27 14:24:58 +00:00
|
|
|
window.dino-main .dino-header-right {
|
|
|
|
background: @theme_base_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .dino-header-left {
|
|
|
|
background: @insensitive_bg_color;
|
|
|
|
}
|
|
|
|
|
2017-09-05 21:53:18 +00:00
|
|
|
window.dino-main headerbar.dino-left label.title {
|
|
|
|
opacity: 0;
|
|
|
|
font-size: 0;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
2018-04-24 12:59:28 +00:00
|
|
|
window.dino-main .dino-conversation {
|
|
|
|
background: @theme_base_color;
|
|
|
|
}
|
|
|
|
|
2019-10-21 23:23:43 +00:00
|
|
|
window.dino-main .dino-conversation undershoot,
|
|
|
|
window.dino-main .dino-conversation viewport /* Some themes set this */ {
|
2018-04-24 12:59:28 +00:00
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2018-07-25 18:41:51 +00:00
|
|
|
@keyframes highlight {
|
|
|
|
from { background: alpha(@warning_color, 0.5) }
|
|
|
|
to { background: transparent }
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .dino-conversation .highlight-once {
|
|
|
|
animation-duration: 3s;
|
|
|
|
animation-timing-function: ease-out;
|
|
|
|
animation-iteration-count: 1;
|
|
|
|
animation-name: highlight;
|
|
|
|
}
|
|
|
|
|
2019-06-01 14:00:21 +00:00
|
|
|
window.dino-main .dino-conversation .message-box:hover {
|
|
|
|
background: alpha(@theme_fg_color, 0.04);
|
|
|
|
}
|
|
|
|
|
2020-07-06 19:33:48 +00:00
|
|
|
window.dino-main .unread-count-notify {
|
2020-03-02 20:10:36 +00:00
|
|
|
background-color: alpha(@theme_fg_color, 0.8);
|
|
|
|
color: @theme_base_color;
|
|
|
|
font-family: monospace;
|
|
|
|
border-radius: 999em;
|
|
|
|
padding: .2em .41em;
|
|
|
|
}
|
|
|
|
|
2020-07-06 19:33:48 +00:00
|
|
|
window.dino-main .unread-count-notify:backdrop {
|
|
|
|
background-color: alpha(@theme_unfocused_fg_color, 0.8);
|
|
|
|
color: @theme_unfocused_base_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .unread-count {
|
|
|
|
background-color: alpha(@theme_fg_color, 0.1);
|
|
|
|
color: @theme_fg_color;
|
|
|
|
font-family: monospace;
|
|
|
|
border-radius: 999em;
|
|
|
|
padding: .2em .41em;
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .unread-count:backdrop {
|
|
|
|
background-color: alpha(@theme_unfocused_fg_color, 0.1);
|
|
|
|
color: @theme_unfocused_fg_color;
|
|
|
|
}
|
|
|
|
|
2018-08-01 13:20:56 +00:00
|
|
|
window.dino-main .dino-sidebar > frame {
|
2018-07-04 21:38:28 +00:00
|
|
|
background: @insensitive_bg_color;
|
|
|
|
border-left: 1px solid @borders;
|
2018-07-29 21:24:53 +00:00
|
|
|
border-bottom: 1px solid @borders;
|
2018-07-04 21:38:28 +00:00
|
|
|
}
|
|
|
|
|
2019-07-18 00:03:42 +00:00
|
|
|
.message-box {
|
|
|
|
transition: background .05s ease;
|
|
|
|
}
|
|
|
|
|
2022-01-08 20:33:57 +00:00
|
|
|
window.dino-main .circular-button {
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 1000px;
|
|
|
|
}
|
|
|
|
|
2020-04-03 20:49:59 +00:00
|
|
|
window.dino-main .dino-conversation .message-box.edit-mode {
|
|
|
|
background: alpha(@theme_selected_bg_color, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .dino-conversation .message-box.edit-mode:hover {
|
|
|
|
background: alpha(@theme_selected_bg_color, 0.12);
|
|
|
|
}
|
|
|
|
|
2021-08-14 18:22:52 +00:00
|
|
|
window.dino-main .dino-conversation .message-box.error {
|
|
|
|
background: alpha(@error_color, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .dino-conversation .message-box.error:hover {
|
|
|
|
background: alpha(@error_color, 0.12);
|
|
|
|
}
|
|
|
|
|
2021-03-19 22:09:56 +00:00
|
|
|
window.dino-main .file-box-outer,
|
|
|
|
window.dino-main .call-box-outer {
|
2019-07-18 00:03:42 +00:00
|
|
|
background: @theme_base_color;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid alpha(@theme_fg_color, 0.1);
|
|
|
|
}
|
|
|
|
|
2021-03-19 22:09:56 +00:00
|
|
|
window.dino-main .file-box,
|
|
|
|
window.dino-main .call-box {
|
2020-03-13 23:24:41 +00:00
|
|
|
margin: 12px 16px 12px 12px;
|
2019-07-18 00:03:42 +00:00
|
|
|
}
|
|
|
|
|
2022-01-09 13:28:17 +00:00
|
|
|
window.dino-main .file-image-widget {
|
|
|
|
border: 1px solid alpha(@theme_fg_color, 0.1);
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .file-image-widget .file-box-outer {
|
|
|
|
color: #eee;
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .file-image-widget .file-box-outer button {
|
|
|
|
color: #eee;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .file-image-widget .file-box-outer button:hover {
|
|
|
|
background: rgba(100, 100, 100, 0.5);
|
|
|
|
}
|
|
|
|
|
2021-03-19 22:09:56 +00:00
|
|
|
window.dino-main .call-box-outer.incoming {
|
|
|
|
border-color: alpha(@theme_selected_bg_color, 0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .incoming-call-box {
|
|
|
|
background: alpha(@theme_selected_bg_color, 0.1);
|
|
|
|
}
|
|
|
|
|
2021-11-04 16:35:11 +00:00
|
|
|
window.dino-main .multiparty-participants {
|
|
|
|
border-top: 1px solid alpha(@theme_fg_color, 0.05);
|
|
|
|
background: alpha(@theme_fg_color, 0.04)
|
|
|
|
}
|
|
|
|
|
2018-08-01 13:20:56 +00:00
|
|
|
window.dino-main .dino-sidebar > frame.collapsed {
|
2018-07-04 21:38:28 +00:00
|
|
|
border-bottom: 1px solid @borders;
|
|
|
|
}
|
|
|
|
|
2018-08-01 13:20:56 +00:00
|
|
|
window.dino-main .dino-sidebar frame.auto-complete {
|
|
|
|
background: @theme_base_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .dino-sidebar frame.auto-complete list > row {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
2020-04-22 13:44:12 +00:00
|
|
|
window.dino-main .dino-white-overlay {
|
|
|
|
background: @theme_base_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main .dino-file-overlay {
|
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid alpha(black, 0.2);
|
|
|
|
box-shadow: 0 2px 3px alpha(black, 0.1);
|
|
|
|
}
|
|
|
|
|
2017-09-05 21:53:18 +00:00
|
|
|
window.dino-main .dino-chatinput frame box {
|
2018-08-01 13:20:56 +00:00
|
|
|
background: transparent;
|
2017-09-05 21:53:18 +00:00
|
|
|
}
|
|
|
|
|
2019-08-02 01:15:12 +00:00
|
|
|
window.dino-main button.dino-attach-button {
|
|
|
|
min-width: 24px; /* Make button the same with as avatars */
|
|
|
|
}
|
|
|
|
|
2017-09-05 21:53:18 +00:00
|
|
|
window.dino-main button.dino-chatinput-button {
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
min-height: 0;
|
|
|
|
padding: 7px 5px;
|
|
|
|
color: alpha(@theme_fg_color, 0.6);
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main button.dino-chatinput-button:hover {
|
|
|
|
color: @theme_selected_bg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main button.dino-chatinput-button:backdrop {
|
|
|
|
color: alpha(@theme_unfocused_fg_color, 0.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main button.dino-chatinput-button:active,
|
|
|
|
window.dino-main button.dino-chatinput-button:checked {
|
|
|
|
color: alpha(@theme_selected_bg_color, 0.8);
|
|
|
|
}
|
|
|
|
|
|
|
|
window.dino-main button.dino-chatinput-button:checked:backdrop {
|
|
|
|
color: alpha(@theme_unfocused_selected_bg_color, 0.8);
|
|
|
|
}
|
2019-08-02 01:15:12 +00:00
|
|
|
|
|
|
|
|
2020-04-03 20:49:59 +00:00
|
|
|
.dino-chatinput,
|
|
|
|
.dino-chatinput textview,
|
|
|
|
.dino-chatinput textview text {
|
2019-11-23 20:50:59 +00:00
|
|
|
background-color: @theme_base_color;
|
2019-08-02 01:15:12 +00:00
|
|
|
}
|
|
|
|
|
2019-11-23 20:50:59 +00:00
|
|
|
|
2019-08-02 01:15:12 +00:00
|
|
|
/*Chat input warning*/
|
|
|
|
|
|
|
|
box.dino-input-warning frame border {
|
|
|
|
border-color: @warning_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
box.dino-input-warning frame separator {
|
|
|
|
background-color: @warning_color;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
box.dino-input-warning label {
|
|
|
|
color: mix(@warning_color, @theme_fg_color, 0.5);
|
|
|
|
}
|
|
|
|
|
2019-11-23 20:50:59 +00:00
|
|
|
|
2019-08-02 01:15:12 +00:00
|
|
|
/*Chat input error*/
|
|
|
|
|
|
|
|
box.dino-input-error frame border {
|
|
|
|
border-color: @error_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
box.dino-input-error frame separator {
|
|
|
|
background-color: @error_color;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
box.dino-input-error label {
|
|
|
|
color: @error_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes input-error-highlight {
|
|
|
|
0% { color: mix(@error_color, @theme_fg_color, 0.3);}
|
|
|
|
30% { color: @error_color; text-shadow: 0px 0px 2px alpha(@error_color, 0.4); }
|
|
|
|
100% { color: mix(@error_color, @theme_fg_color, 0.3); }
|
|
|
|
}
|
|
|
|
|
|
|
|
box.dino-input-error label.input-status-highlight-once {
|
|
|
|
animation-duration: 1s;
|
|
|
|
animation-timing-function: linear;
|
|
|
|
animation-iteration-count: 1;
|
|
|
|
animation-name: input-error-highlight;
|
|
|
|
}
|
2021-03-19 22:09:56 +00:00
|
|
|
|
|
|
|
/* Call window */
|
|
|
|
|
|
|
|
.dino-call-window .titlebar {
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dino-call-window headerbar, .call-button {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dino-call-window .titlebutton.close:hover {
|
|
|
|
background: rgba(255,255,255,0.15);
|
|
|
|
border-color: rgba(255,255,255,0);
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dino-call-window button.call-button {
|
|
|
|
outline: 0;
|
|
|
|
border-radius: 1000px;
|
|
|
|
}
|
2021-04-08 10:07:04 +00:00
|
|
|
|
2021-03-19 22:09:56 +00:00
|
|
|
.dino-call-window button.white-button {
|
|
|
|
color: #1d1c1d;
|
2021-04-08 10:07:04 +00:00
|
|
|
background: rgba(255,255,255,0.85);
|
2021-03-19 22:09:56 +00:00
|
|
|
border: lightgrey;
|
|
|
|
}
|
2021-04-08 10:07:04 +00:00
|
|
|
.dino-call-window button.white-button:hover {
|
|
|
|
background: rgba(255,255,255,1);
|
|
|
|
}
|
2021-03-19 22:09:56 +00:00
|
|
|
|
|
|
|
.dino-call-window button.transparent-white-button {
|
|
|
|
color: white;
|
|
|
|
background: rgba(255,255,255,0.15);
|
|
|
|
border: none;
|
|
|
|
}
|
2021-04-08 10:07:04 +00:00
|
|
|
.dino-call-window button.transparent-white-button:hover {
|
|
|
|
background: rgba(255,255,255,0.25);
|
|
|
|
}
|
2021-03-19 22:09:56 +00:00
|
|
|
|
|
|
|
.dino-call-window button.call-mediadevice-settings-button {
|
|
|
|
border-radius: 1000px;
|
|
|
|
min-height: 0;
|
|
|
|
min-width: 0;
|
|
|
|
padding: 3px;
|
|
|
|
margin: 2px;
|
|
|
|
transition-duration: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dino-call-window button.call-mediadevice-settings-button:hover,
|
|
|
|
.dino-call-window button.call-mediadevice-settings-button:checked { /* Effect that makes the button slightly larger on hover :) */
|
|
|
|
border-radius: 1000px;
|
|
|
|
min-height: 0;
|
|
|
|
min-width: 0;
|
|
|
|
padding: 5px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-11-04 16:35:11 +00:00
|
|
|
.dino-call-window .black-element {
|
2021-04-08 10:07:04 +00:00
|
|
|
color: rgba(255,255,255,0.7);
|
2021-03-19 22:09:56 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
background: rgba(0,0,0,0.5);
|
2021-04-08 10:07:04 +00:00
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2021-11-04 16:35:11 +00:00
|
|
|
.dino-call-window label.black-element {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dino-call-window button.black-element {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dino-call-window button.black-element.unencrypted {
|
2021-04-08 10:07:04 +00:00
|
|
|
color: @error_color;
|
|
|
|
}
|
|
|
|
|
2021-11-04 16:35:11 +00:00
|
|
|
.dino-call-window .black-element:hover {
|
2021-04-08 10:07:04 +00:00
|
|
|
background: rgba(20,20,20,0.5);
|
2021-03-19 22:09:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.dino-call-window .call-header-bar {
|
|
|
|
background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0));
|
|
|
|
border: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2021-11-04 16:35:11 +00:00
|
|
|
.dino-call-window .call-header-bar {
|
2021-03-19 22:09:56 +00:00
|
|
|
color: #ededec;
|
|
|
|
}
|
|
|
|
|
2021-11-04 16:35:11 +00:00
|
|
|
.dino-call-window .call-header-bar button image {
|
|
|
|
color: alpha(white, 0.7);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dino-call-window .call-header-bar button:hover image {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dino-call-window .participant-title-button {
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2021-03-19 22:09:56 +00:00
|
|
|
.dino-call-window .call-bottom-bar {
|
|
|
|
background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.3));
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2021-11-04 16:35:11 +00:00
|
|
|
.dino-call-window {
|
2021-03-19 22:09:56 +00:00
|
|
|
background-color: #212121;
|
|
|
|
}
|
|
|
|
|
2021-11-04 16:35:11 +00:00
|
|
|
.dino-call-window .participant-name {
|
|
|
|
color: white;
|
|
|
|
text-shadow: black;
|
|
|
|
}
|
|
|
|
|
2021-03-19 22:09:56 +00:00
|
|
|
.dino-call-window .text-no-controls {
|
2021-11-04 16:35:11 +00:00
|
|
|
color: black;
|
2021-03-19 22:09:56 +00:00
|
|
|
background: white;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 5px 10px;
|
2021-11-04 16:35:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.dino-call-window .own-video {
|
|
|
|
box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
|
2021-03-19 22:09:56 +00:00
|
|
|
}
|