anotherim-desktop/main/data/style.css

448 lines
10 KiB
CSS
Raw Normal View History

/**
* This theme file is applied after the operating system theme
* It provides sane defaults for things that are very Dino-specific.
*/
statuspage {
opacity: 0.5;
}
window.dino-main .dino-header-right {
background: @theme_base_color;
}
window.dino-main .dino-header-left {
background: @insensitive_bg_color;
}
window.dino-main headerbar.dino-left label.title {
opacity: 0;
font-size: 0;
color: transparent;
}
window.dino-main .dino-conversation {
background: @theme_base_color;
}
window.dino-main .dino-conversation undershoot,
window.dino-main .dino-conversation viewport /* Some themes set this */ {
background: none;
}
@keyframes highlight {
2022-02-14 13:55:59 +00:00
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;
}
2022-02-14 13:55:59 +00:00
window.dino-main .dino-conversation .message-box.highlight {
2023-01-08 20:40:09 +00:00
background: @window_bg_color;
}
2022-02-14 13:55:59 +00:00
window.dino-main .dino-conversation .message-box {
2022-07-27 17:41:05 +00:00
padding: 6px 15px 6px 15px;
2022-02-14 13:55:59 +00:00
}
window.dino-main .dino-conversation .message-box:not(.has-skeleton) {
padding-left: 58px;
}
window.dino-main .unread-count-notify {
background-color: alpha(@theme_fg_color, 0.8);
color: @theme_base_color;
font-family: monospace;
border-radius: 999em;
2022-05-14 12:45:59 +00:00
padding: 0 .35em;
}
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;
}
window.dino-main .dino-sidebar > frame {
2018-07-04 21:38:28 +00:00
background: @insensitive_bg_color;
border-left: 1px solid @borders;
border-bottom: 1px solid @borders;
2018-07-04 21:38:28 +00:00
}
2022-10-11 11:37:48 +00:00
/* Message */
.message-box {
transition: background .05s ease;
}
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);
}
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);
}
window.dino-main .dino-quote {
border-left: 3px solid alpha(@theme_fg_color, 0.2);
background: alpha(@theme_fg_color, 0.05);
border-color: alpha(@theme_fg_color, 0.2);
padding: 10px;
}
window.dino-main .dino-quote:hover {
background: alpha(@theme_fg_color, 0.08);
}
2023-01-08 20:40:09 +00:00
/* Overlay Toolbar */
2022-10-11 11:37:48 +00:00
2023-01-08 20:40:09 +00:00
.dino-main .overlay-toolbar {
padding: 2px;
border-radius: 6px;
border-spacing: 0;
2022-10-11 11:37:48 +00:00
}
2023-01-08 20:40:09 +00:00
.dino-main .overlay-toolbar > * {
margin-top: 0;
margin-bottom: 0;
2022-10-11 11:37:48 +00:00
}
2023-01-08 20:41:10 +00:00
/* File Widget */
2022-10-11 11:37:48 +00:00
2021-03-19 22:09:56 +00:00
window.dino-main .file-box-outer,
window.dino-main .call-box-outer {
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 {
margin: 12px 16px 12px 12px;
}
window.dino-main .file-image-widget {
border: 1px solid alpha(@theme_fg_color, 0.1);
2023-01-08 20:41:10 +00:00
border-radius: 6px;
}
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);
}
2023-01-08 20:41:10 +00:00
.dino-main .file-image-widget picture {
border-radius: 6px;
}
2022-10-11 11:37:48 +00:00
/* Call widget */
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);
2022-02-14 13:55:59 +00:00
background: alpha(@theme_fg_color, 0.04);
2021-11-04 16:35:11 +00:00
}
2022-10-11 11:37:48 +00:00
/* Reactions */
2023-01-08 20:40:09 +00:00
.dino-main .reaction-grid button {
min-height: 16px;
min-width: 30px;
padding: 4px;
2022-10-11 15:56:50 +00:00
}
2023-01-08 20:40:09 +00:00
.dino-main .reaction-grid button.own-reaction,
.dino-main .reaction-grid .own-reaction button {
background-color: alpha(@accent_bg_color, 0.1);
border: 1px solid @accent_bg_color;
padding: 3px;
color: @accent_color;
2022-10-11 11:37:48 +00:00
}
2023-01-08 20:40:09 +00:00
.dino-main .reaction-grid button.own-reaction:hover,
.dino-main .reaction-grid .own-reaction button:hover {
background-color: alpha(@accent_bg_color, 0.2);
2022-10-11 11:37:48 +00:00
}
/* Sidebar */
window.dino-main .dino-sidebar > frame.collapsed {
2018-07-04 21:38:28 +00:00
border-bottom: 1px solid @borders;
}
window.dino-main .dino-sidebar frame.auto-complete {
background: @theme_base_color;
}
window.dino-main .dino-sidebar frame.auto-complete list > row {
transition: none;
}
2022-10-11 11:37:48 +00:00
/* File overlay */
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);
}
2022-10-11 11:37:48 +00:00
/* Chat Input*/
window.dino-main .dino-chatinput frame box {
background: transparent;
}
2022-02-14 13:55:59 +00:00
window.dino-main .dino-attach-button {
min-width: 24px; /* Make button the same width as avatars */
2019-08-02 01:15:12 +00:00
}
2022-02-14 13:55:59 +00:00
window.dino-main .dino-attach-button,
window.dino-main .dino-chatinput-button button {
border: none;
background: transparent;
box-shadow: none;
min-height: 0;
padding: 7px 5px;
2022-02-14 13:55:59 +00:00
color: alpha(@theme_fg_color, 0.7);
outline: none;
}
2022-02-14 13:55:59 +00:00
window.dino-main .dino-attach-button:hover,
window.dino-main .dino-chatinput-button button:hover {
color: @theme_selected_bg_color;
}
2022-02-14 13:55:59 +00:00
window.dino-main .dino-attach-button:backdrop,
window.dino-main .dino-chatinput-button button:backdrop {
color: alpha(@theme_unfocused_fg_color, 0.6);
}
2022-02-14 13:55:59 +00:00
window.dino-main .dino-attach-button:active,
window.dino-main .dino-attach-button:checked,
window.dino-main .dino-chatinput-button button:active,
window.dino-main .dino-chatinput-button button:checked {
color: alpha(@theme_selected_bg_color, 0.8);
}
2022-08-20 18:46:03 +00:00
window.dino-main .dino-attach-button:checked:backdrop,
2022-02-14 13:55:59 +00:00
window.dino-main .dino-chatinput-button button:checked:backdrop {
color: alpha(@theme_unfocused_selected_bg_color, 0.8);
}
2019-08-02 01:15:12 +00:00
.dino-chatinput,
.dino-chatinput textview,
.dino-chatinput textview text {
background-color: @theme_base_color;
2019-08-02 01:15:12 +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-08-02 01:15:12 +00:00
/*Chat input error*/
box.dino-input-error frame {
2019-08-02 01:15:12 +00:00
border-color: @error_color;
}
box.dino-input-error frame separator {
background-color: @error_color;
border: none;
}
box.dino-input-error .chat-input-status {
2019-08-02 01:15:12 +00:00
color: @error_color;
}
@keyframes input-error-highlight {
0% { transform: translate(0,0); }
25% { transform: translate(-10px,0); }
75% { transform: translate(10px,0); }
100% { transform: translate(0,0); }
2019-08-02 01:15:12 +00:00
}
box.dino-input-error .chat-input-status.input-status-highlight-once {
animation-duration: 0.5s;
animation-timing-function: ease-in-out;
2019-08-02 01:15:12 +00:00
animation-iteration-count: 1;
animation-name: input-error-highlight;
}
2021-03-19 22:09:56 +00:00
/* Call window */
.dino-call-window decoration {
border-radius: 0;
}
2021-03-19 22:09:56 +00:00
.dino-call-window .titlebar {
min-height: 0;
}
.dino-call-window headerbar, .call-button {
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
2022-05-14 12:45:59 +00:00
.dino-call-window menubutton.call-mediadevice-settings-button button.toggle {
2021-03-19 22:09:56 +00:00
border-radius: 1000px;
min-height: 0;
min-width: 0;
padding: 3px;
margin: 2px;
transition-duration: 0;
}
2022-05-14 12:45:59 +00:00
.dino-call-window menubutton.call-mediadevice-settings-button button.toggle:hover,
.dino-call-window menubutton.call-mediadevice-settings-button button.toggle:checked { /* Effect that makes the button slightly larger on hover :) */
2021-03-19 22:09:56 +00:00
border-radius: 1000px;
min-height: 0;
min-width: 0;
padding: 5px;
margin: 0;
}
2022-05-14 12:45:59 +00:00
.dino-call-window .participant-header-bar .titles {
background: none;
border: none;
border-radius: 0;
color: #ededec;
text-shadow: 0 0 2px black;
}
2023-04-22 17:47:32 +00:00
.dino-call-window .participant-header-bar {
2021-03-19 22:09:56 +00:00
background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0));
border: 0;
border-radius: 0;
}
2023-04-22 17:47:32 +00:00
.dino-call-window .participant-header-bar button:hover:not(.close) {
background: rgba(255,255,255,0.15);
border-color: rgba(255,255,255,0);
box-shadow: none;
2021-11-04 16:35:11 +00:00
}
.dino-call-window .participant-header-bar button image {
color: alpha(white, 0.7);
-gtk-icon-shadow: none;
2021-11-04 16:35:11 +00:00
}
.dino-call-window .participant-header-bar button:hover image {
color: white;
2021-11-04 16:35:11 +00:00
}
2022-02-12 19:51:31 +00:00
.dino-call-window .participant-header-bar button.unencrypted image {
color: @error_color;
}
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;
2022-02-14 13:55:59 +00:00
text-shadow: 1px 1px 2px black;
2021-11-04 16:35:11 +00:00
}
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);
}
.qrcode-container > contents {
background: white; /* Color of the quiet zone. MUST have the same "reflectance" as light modules of the QR code. */
}