fb83f8e3a5
We need to use a lighter/ highlight color for hover so we then be able to use darker backgrounds for disabled status and even pressed status (active) Also this automatically fixes the hover status for on/off switchers on the toolbar (e.g.:sidebar trigger). Now they also react onmouseover With this change Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: I5efc41e3e7d13c10cf2d714acefee08f99e6af1a
50 lines
1.7 KiB
CSS
50 lines
1.7 KiB
CSS
:root {
|
|
/*LibreOffice Colors: https://wiki.documentfoundation.org/Marketing/Branding#Colors
|
|
----------------------------------[to do]*/
|
|
--blue1-txt-primary-color: 3, 105, 163;
|
|
--green0-txt-primary-color: 16, 104, 2; /*green1 lacks contrast against white*/
|
|
--orange1-txt-primary-color: 163, 62, 3;
|
|
--yellow0-txt-primary-color: 135, 105, 0; /*yellow1 lacks contrast against white*/
|
|
|
|
--color-main-text: #333333;
|
|
--color-text-dark: #333333; /* select */
|
|
--color-text-darker: #000; /* hover */
|
|
--color-text-lighter: #696969; /* secondard text, disabled */
|
|
|
|
--color-main-background: #F8F9FA;
|
|
--color-background-dark: #e8e8e8; /* select */
|
|
--color-background-darker: #c0bfbc; /* todo: apply to pressed (active), li:hover(top menu on classic mode)*/
|
|
--color-background-lighter: #fff; /* hover, toolbar, dialog, disabled */
|
|
--color-overlay: #1c5fa814;
|
|
|
|
--color-primary: #0b87e7; /* border-color */
|
|
--color-primary-text: #fff; /* text color when primary-lighter is background */
|
|
--color-primary-dark: #0063b1;
|
|
--color-primary-darker: #004b86;
|
|
--color-primary-lighter: #83beec; /* background-color */
|
|
|
|
--color-border: #b6b6b6;
|
|
--color-border-dark: #cecece; /* select */
|
|
--color-border-darker: #c0bfbc; /* hover */
|
|
--color-border-lighter: #f1f1f1; /* disabled */
|
|
|
|
--color-btn-border: #b6b6b6;
|
|
--color-btn-border-dis: #c0bfbc;
|
|
|
|
--color-error: #e9322d;
|
|
--color-warning: #eca700;
|
|
--color-success: #46ba61;
|
|
|
|
--color-box-shadow: rgba(77, 77, 77, 0.5);
|
|
--border-radius: 4px; /* buttons, widgets */
|
|
--border-radius-large: 10px; /* dialog */
|
|
|
|
--default-font-size: 12px;
|
|
--header-font-size: 16px;
|
|
|
|
--default-height: 24px;
|
|
--header-height: 38px;
|
|
|
|
/* Annotations */
|
|
--annotation-input-size: 240px;
|
|
}
|