xmpp.chapril.org-conversejs/sass/_variables.scss
JC Brand 90bf42a002 HTML and CSS improvements for listed items in the controlbox
Fixes #1348

Tried to get the unread messages indicator to line up properly with the
text and icons in a room list item.

Also tried to reuse styles where appropriate, specifically
`.list-container` and `.list-toggle`.
2018-12-07 11:37:51 +01:00

231 lines
7.7 KiB
SCSS

$mobile_landscape_height: 450px !default;
$mobile_portrait_length: 480px !default;
$font-path: "webfonts/icomoon/fonts/" !default;
#conversejs, .converse-content {
--subdued-color: #A8ABA1;
--subdued-color-lighten-25-percent: #e6e7e4; // lighten(#A8ABA1, 25%)
--chat-status-online: #3AA569; // $green
--chat-status-busy: #E77051; // $red
--chat-status-away: #E7A151; // $orange
--brand-heading-color: #387592; // $blue
--completion-light-color: #FFB9A7; // $lightest-red
--completion-normal-color: #E77051; // $red
--completion-dark-color: #D24E2B; // $dark-red
--link-color: #578EA9; // $light-blue
--link-color-darken-20-percent: #345566; // darken($light-blue, 20%)
--link-color-lighten-10-percent: #79a5ba; // lighten($light-blue, 10%)
--dark-link-color: #206485; // $dark-blue
--global-background-color: #578EA9; // $light-blue
--inverse-link-color: white;
--text-shadow-color: #FAFAFA;
--text-color: #666;
--text-color-lighten-15-percent: #8c8c8c; // lighten(#666, 15%)
--message-text-color: #555;
--message-receipt-color: #3AA569; // $green
--save-button-color: #3AA569; // $green
--chat-textarea-color: #666;
--chat-textarea-background-color: white;
--chat-textarea-height: 60px;
--send-button-height: 27px;
--send-button-margin: 3px;
--roster-height: 194px;
--flyout-padding: 1.2em;
--chat-head-color: #3AA569; // $green
--chat-head-color-lighten-50-percent: #e7f7ee; // lighten($green, 50%)
--chat-head-text-color: white;
--chat-correcting-color: var(--chat-head-color-lighten-50-percent);
--chat-topic-display: block;
--chat-info-display: block;
--highlight-color: #DCF9F6;
--primary-color: #578EA9; // blue
--primary-color-dark: #397491;
--secondary-color: #818479; // gray
--secondary-color-dark: #585B51;
--warning-color: #E7A151; // orange
--warning-color-dark: #D2842B;
--danger-color: #D24E2B; // dark-red
--danger-color-dark: #A93415; // darker red
--light-background-color: #FCFDFD;
--error-color: #D24E2B; // dark-red
--info-color: #1E9652; // $dark-green
--button-border-radius: 5px;
--chatbox-border-radius: 4px;
--controlbox-width: 250px;
--controlbox-head-color: #578EA9; // $light-blue
--controlbox-head-color-lighten-45-percent: #eff4f7; // lighten($light-blue, 45%)
--controlbox-pane-background-color: white;
--controlbox-heading-color: inherit;
--controlbox-heading-font-weight: normal;
--chat-gutter: 0.5em;
--minimized-chats-width: 130px;
--mobile-chat-width: 100%;
--mobile-chat-height: 400px;
// TODO: figure out a way to concatenate custom properties with strings.
// --font-path: "webfonts/icomoon/fonts/";
--normal-font: "Helvetica", "Arial", sans-serif;
--heading-font: futura, 'Century Gothic', 'URW Gothic L', Verdana, sans-serif;
--heading-display: block;
--heading-color: white;
--chatroom-head-color: #E77051; // $red
--chatroom-head-color-lighten-25-percent: #f6ccc1; // lighten($red, 25%)
--chatroom-head-button-color: var(--chatroom-head-color);
--chatroom-head-title-font-weight: normal;
--chatroom-head-title-padding-right: 0px;
--chatroom-head-description-color: var(--chatroom-head-color-lighten-25-percent);
--chatroom-head-description-link-color: white;
--chatroom-head-description-display: block;
--chatroom-head-description-border-left: 0px;
--chatroom-head-description-padding-left: 0px;
--chatroom-head-border-bottom: 0px;
--chatroom-width: 400px;
--chatroom-correcting-color: #fadfd7; // lighten($red, 30%)
--headline-head-color: #E7A151; // $orange
--headline-message-color: #D2842B; // $dark-orange
--chatbox-button-size: 14px;
--fullpage-chatbox-button-size: 16px;
--font-size-tiny: 10px;
--font-size-small: 12px;
--font-size: 14px;
--font-size-large: 16px;
--font-size-huge: 20px;
--message-font-size: var(--font-size);
--separator-text-color: var(--message-text-color);
--chat-separator-border-bottom: 2px solid var(--chat-head-color);
--chatroom-separator-border-bottom: 2px solid var(--chatroom-head-color);
--message-input-border-top: 4px solid var(--chatroom-head-color);
--message-input-color: var(--chatroom-head-color);
--line-height-small: 14px;
--line-height: 16px;
--line-height-large: 20px;
--line-height-huge: 27px;
--occupants-padding: 1em;
--occupants-background-color: white;
--occupants-max-width: inherit;
--occupants-border-left: 1px solid var(--text-color);
--occupants-border-bottom: 1px solid lightgrey;
--occupants-features-display: block;
--embedded-emoji-picker-height: 200px;
--avatar-border-radius: 10%;
--avatar-border: 1px solid lightgrey;
--avatar-background-color: white;
--fullpage-chat-head-height: 62px;
--fullpage-chat-height: 100vh;
--fullpage-chat-width: 100%;
--fullpage-emoji-picker-height: 200px;
--fullpage-max-chat-textarea-height: 15em;
--overlayed-chat-head-height: 55px;
--overlayed-chat-height: 450px;
--overlayed-chat-width: 250px;
--overlayed-chatbox-hover-height: 1em;
--overlayed-emoji-picker-height: 100px;
--overlayed-max-chat-textarea-height: 200px;
--overlayed-badge-color: #818479; // $gray-color
--list-toggle-color: #818479; // $gray-color
--list-toggle-hover-color: #585B51; // $dark-gray-color
--list-toggle-font-weight: normal;
--list-item-action-color: #e3eef3; // lighten($lightest-blue, 25%)
--list-item-link-color: inherit;
--list-item-link-hover-color: var(--dark-link-color);
--list-item-open-color: var(--controlbox-head-color);
--list-item-open-hover-color: var(--controlbox-head-color);
--list-circle-color: #89d6ab; // lighten($green, 25%)
--list-minus-circle-color: #f0a794; // lighten($red, 15%)
--list-dot-circle-color: #f6dec1; // lighten($orange, 25%)
}
#conversejs.theme-concord {
--avatar-border-radius: 100%;
--avatar-border: 0px;
--avatar-background-color: none;
--controlbox-pane-background-color: #333;
--controlbox-heading-color: #777;
--controlbox-heading-font-weight: bold;
--chat-topic-display: none;
--chat-info-display: none;
--chat-textarea-background-color: #F6F6F6;
--chat-correcting-color: #FFFFC0;
--chat-head-text-color: #999;
--chatbox-border-radius: 0px;
--heading-display: inline;
--heading-color: #4F545C;
--chatroom-head-color: white;
--chatroom-head-color-lighten-25-percent: blue;
--chatroom-head-button-color: #999;
--chatroom-head-title-font-weight: bold;
--chatroom-head-title-padding-right: 12px;
--chatroom-head-description-color: black;
--chatroom-head-description-link-color: #00b3f4;
--chatroom-head-description-display: inline;
--chatroom-head-description-border-left: 1px solid #DDD;
--chatroom-head-description-padding-left: 12px;
--chatroom-head-border-bottom: 1px solid #EEE;
--chatroom-correcting-color: #FFFFC0;
--occupants-background-color: #F3F3F3;
/* TODO: find a way to allow that and reflow the chat-area properly.
* --occupants-max-width: 240px; */
--occupants-border-left: 0px;
--occupants-border-bottom: 0px;
--occupants-features-display: none;
--separator-text-color: #AAA;
--chat-separator-border-bottom: 1px solid #AAA;
--chatroom-separator-border-bottom: 1px solid #AAA;
--message-input-border-top: 1px solid #CCC;
--message-input-color: #CCC;
--fullpage-chat-head-height: 40px;
--fullpage-chatbox-button-size: 24px;
--list-toggle-font-weight: bold;
--list-item-link-color: #F1F1F1;
--list-item-link-hover-color: #DDD;
--list-item-open-color: #444;
--list-item-open-hover-color: #444;
}