123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872 |
- /*******************************************************************************
- * *
- * Fonts *
- * *
- ******************************************************************************/
- @font-face {
- src: url('opensans-regular.ttf');
- }
- @font-face {
- src: url('opensans-semibold.ttf');
- }
- @font-face {
- src: url('opensans-bold.ttf');
- }
- @font-face {
- src: url('dosis-bold.ttf');
- }
- /*******************************************************************************
- * *
- * Root Styling & Colors *
- * *
- ******************************************************************************/
- .root {
- GREEN_0: #373B30;
- GREEN_1: #384D14;
- GREEN_2: #476611;
- GREEN_3: #598016;
- GREEN_4: #699917;
- GREEN_5: #79B01A;
- GREEN_6: #91C734;
- GREEN_7: #B9E070;
- GREEN_8: #D7E7BA;
- GREEN_9: #F3F5F0;
- GRAY_0: #222222;
- GRAY_1: #3B3B3B;
- GRAY_2: #515151;
- GRAY_3: #626262;
- GRAY_4: #7E7E7E;
- GRAY_5: #9E9E9E;
- GRAY_6: #B1B1B1;
- GRAY_7: #CFCFCF;
- GRAY_8: #E1E1E1;
- GRAY_9: #F7F7F7;
- RED_5: #E74C3C;
- ORANGE_5: #E67E22;
- YELLOW_5: #F1C40F;
- PRIMARY_BG: GREEN_5;
- SECONDARY_BG: GRAY_5;
- MAIN_BG: GRAY_9;
- TEXT_FILL: GRAY_0;
- TEXT_FILL_PRIMARY: GREEN_4;
- TEXT_FILL_SECONDARY: GRAY_4;
- TEXT_FILL_WHITE: white;
- CONTROL_BORDER_NORMAL: GRAY_7;
- CONTROL_BORDER_FOCUSED: GRAY_5;
- CONTROL_BORDER_DISABLED: GRAY_8;
- CONTROL_BG_NORMAL: white;
- CONTROL_BG_HOVER: GRAY_9;
- CONTROL_BG_ARMED: GRAY_8;
- CONTROL_BG_DISABLED: GRAY_9;
- CONTROL_PRIMARY_BORDER_NORMAL: GREEN_3;
- CONTROL_PRIMARY_BORDER_FOCUSED: GREEN_1;
- CONTROL_PRIMARY_BORDER_DISABLED: GREEN_5;
- CONTROL_PRIMARY_BG_NORMAL: GREEN_5;
- CONTROL_PRIMARY_BG_ARMED: GREEN_4;
- CONTROL_PRIMARY_BG_DISABLED: GREEN_6;
- CONTROL_PRIMARY_LIGHT_BG_NORMAL: GREEN_9;
- CONTROL_WHITE_BG_ARMED: GRAY_8;
- SCROLL_BAR_THUMB_NORMAL: GRAY_7;
- SCROLL_BAR_THUMB_HOVER: GRAY_6;
- INDICATOR_BG: RED_5;
- PROGRESS_INDICATOR_BEGIN: GRAY_2;
- PROGRESS_INDICATOR_END: GRAY_4;
- PROGRESS_BAR_BG: GRAY_8;
- PASSWORD_STRENGTH_INDICATOR_BG: GRAY_5;
- PASSWORD_STRENGTH_INDICATOR_BG_STRENGTH_0: RED_5;
- PASSWORD_STRENGTH_INDICATOR_BG_STRENGTH_1: ORANGE_5;
- PASSWORD_STRENGTH_INDICATOR_BG_STRENGTH_2: YELLOW_5;
- PASSWORD_STRENGTH_INDICATOR_BG_STRENGTH_3: GREEN_6;
- PASSWORD_STRENGTH_INDICATOR_BG_STRENGTH_4: GREEN_5;
- -fx-background-color: MAIN_BG;
- -fx-text-fill: TEXT_FILL;
- -fx-font-family: 'Open Sans';
- }
- /*******************************************************************************
- * *
- * Labels *
- * *
- ******************************************************************************/
- .label {
- -fx-text-fill: TEXT_FILL;
- }
- .label-secondary {
- -fx-text-fill: TEXT_FILL_SECONDARY;
- }
- .label-large {
- -fx-font-family: 'Open Sans SemiBold';
- -fx-font-size: 1.5em;
- }
- .label-small {
- -fx-font-size: 0.8em;
- }
- .text-flow > * {
- -fx-fill: TEXT_FILL;
- }
- /*******************************************************************************
- * *
- * Glyph Icons *
- * *
- ******************************************************************************/
- .glyph-icon {
- -fx-fill: TEXT_FILL;
- }
- .glyph-icon-primary {
- -fx-fill: PRIMARY_BG;
- }
- .glyph-icon-secondary {
- -fx-fill: SECONDARY_BG;
- }
- .glyph-icon-white {
- -fx-fill: white;
- }
- .glyph-icon-red {
- -fx-fill: RED_5;
- }
- /*******************************************************************************
- * *
- * Main Window *
- * *
- ******************************************************************************/
- .main-window .title {
- -fx-background-color: PRIMARY_BG;
- }
- .main-window .title .label {
- -fx-font-family: 'Dosis';
- -fx-font-size: 21px;
- -fx-font-style: normal;
- -fx-font-weight: 700;
- -fx-text-fill: white;
- }
- .main-window .title .button {
- -fx-pref-height: 30px;
- -fx-pref-width: 30px;
- -fx-background-color: none;
- -fx-padding: 0;
- }
- .main-window .title .button .glyph-icon {
- -fx-fill: white;
- }
- .main-window .title .button:armed .glyph-icon {
- -fx-fill: CONTROL_WHITE_BG_ARMED;
- }
- .main-window .resizer {
- -fx-background-color: linear-gradient(to bottom right,
- transparent 50%,
- CONTROL_BORDER_NORMAL 51%,
- CONTROL_BORDER_NORMAL 60%,
- transparent 61%,
- transparent 70%,
- CONTROL_BORDER_NORMAL 71%,
- CONTROL_BORDER_NORMAL 80%,
- transparent 81%
- );
- -fx-cursor: nw_resize;
- }
- .main-window .update-indicator {
- -fx-background-color: PRIMARY_BG, white, INDICATOR_BG;
- -fx-background-insets: 0, 1px, 2px;
- -fx-background-radius: 6px, 5px, 4px;
- -fx-translate-x: -1px;
- -fx-translate-y: 1px;
- }
- .main-window .drag-n-drop-indicator {
- -fx-border-color: INDICATOR_BG;
- -fx-border-width: 3px;
- }
- .main-window .drag-n-drop-indicator .drag-n-drop-header {
- -fx-background-color: INDICATOR_BG;
- -fx-padding: 3px;
- }
- /*******************************************************************************
- * *
- * TabPane *
- * *
- ******************************************************************************/
- .tab-pane {
- -fx-tab-min-height: 2em;
- }
- .tab-pane > .tab-header-area {
- -fx-padding: 6px 12px 0 12px;
- -fx-background-color: CONTROL_BORDER_FOCUSED, MAIN_BG;
- -fx-background-insets: 0, 0 0 1px 0;
- }
- .tab-pane > .tab-header-area > .headers-region > .tab {
- -fx-background-color: CONTROL_BORDER_NORMAL, MAIN_BG;
- -fx-background-insets: 0 0 1px 0, 1px;
- -fx-background-radius: 4px 4px 0 0;
- -fx-padding: 0.2em 1em 0.2em 1em;
- }
- .tab-pane > .tab-header-area > .headers-region > .tab:selected {
- -fx-background-color: CONTROL_BORDER_FOCUSED, MAIN_BG;
- -fx-background-insets: 0, 1px 1px 0 1px;
- }
- .tab-pane > .tab-header-area > .headers-region > .tab > .tab-container > .tab-label {
- -fx-text-fill: TEXT_FILL;
- -fx-alignment: CENTER;
- }
- .tab-pane > .tab-header-area > .headers-region > .tab .glyph-icon {
- -fx-fill: SECONDARY_BG;
- }
- .tab-pane > .tab-header-area > .headers-region > .tab:selected .glyph-icon {
- -fx-fill: TEXT_FILL;
- }
- /*******************************************************************************
- * *
- * SplitPane *
- * *
- ******************************************************************************/
- .split-pane > .split-pane-divider {
- -fx-padding: 0px 1px;
- }
- .split-pane:horizontal > .split-pane-divider {
- -fx-background-color: MAIN_BG, CONTROL_BORDER_NORMAL;
- -fx-background-insets: 0, 0 1 0 0;
- }
- /*******************************************************************************
- * *
- * Vault List *
- * *
- ******************************************************************************/
- .list-view {
- -fx-background-color: CONTROL_BG_NORMAL;
- }
- .list-view:focused .list-cell:selected {
- -fx-background-color: PRIMARY_BG, CONTROL_PRIMARY_LIGHT_BG_NORMAL;
- -fx-background-insets: 0, 0 0 0 3px;
- }
- .list-cell:selected {
- -fx-background-color: CONTROL_PRIMARY_LIGHT_BG_NORMAL;
- }
- .list-cell .glyph-icon {
- -fx-fill: SECONDARY_BG;
- }
- .list-cell .header-label {
- -fx-font-family: 'Open Sans SemiBold';
- -fx-font-size: 1.0em;
- }
- .list-cell .detail-label {
- -fx-text-fill: TEXT_FILL_SECONDARY;
- -fx-font-size: 0.8em;
- }
- .list-cell:selected .glyph-icon {
- -fx-fill: PRIMARY_BG;
- }
- .list-cell:selected .header-label {
- -fx-text-fill: TEXT_FILL_PRIMARY;
- }
- .list-cell.drop-above {
- -fx-border-color: CONTROL_BG_ARMED transparent transparent transparent;
- -fx-border-width: 3px 0 0 0;
- }
- .list-cell.drop-below {
- -fx-border-color: transparent transparent CONTROL_BG_ARMED transparent;
- -fx-border-width: 0 0 3px 0;
- }
- .onboarding-overlay-arc {
- -fx-stroke: TEXT_FILL;
- -fx-fill: transparent;
- }
- .button.toolbar-button {
- -fx-min-height: 40px;
- -fx-background-color: transparent;
- -fx-background-insets: 0;
- -fx-background-radius: 0;
- -fx-border-color: CONTROL_BORDER_NORMAL transparent transparent transparent;
- -fx-border-width: 1px 0 0 0;
- -fx-padding: 0;
- }
- .button.toolbar-button:focused {
- -fx-background-color: CONTROL_BORDER_FOCUSED, MAIN_BG;
- -fx-background-insets: 0, 2px 1px 1px 1px;
- }
- .button.toolbar-button:armed {
- -fx-background-color: CONTROL_BG_ARMED;
- }
- /*******************************************************************************
- * *
- * ScrollBar *
- * *
- ******************************************************************************/
- .scroll-bar > .thumb {
- -fx-background-color: SCROLL_BAR_THUMB_NORMAL;
- -fx-background-insets: 1px;
- -fx-background-radius: 2px;
- }
- .scroll-bar > .thumb:hover {
- -fx-background-color: SCROLL_BAR_THUMB_HOVER;
- }
- .scroll-bar:horizontal > .increment-button,
- .scroll-bar:horizontal > .decrement-button {
- -fx-padding: 3 0 3 0;
- }
- .scroll-bar:vertical > .increment-button,
- .scroll-bar:vertical > .decrement-button {
- -fx-padding: 0 3 0 3;
- }
- /*******************************************************************************
- * *
- * Badge *
- * *
- ******************************************************************************/
- .badge {
- -fx-font-family: 'Open Sans Bold';
- -fx-font-size: 0.8em;
- -fx-background-radius: 4px;
- -fx-padding: 0.2em 0.4em 0.2em 0.4em;
- }
- .badge-pill {
- -fx-background-radius: 1em;
- }
- .badge-primary {
- -fx-text-fill: TEXT_FILL_WHITE;
- -fx-background-color: PRIMARY_BG;
- }
- .badge-secondary {
- -fx-text-fill: TEXT_FILL_WHITE;
- -fx-background-color: SECONDARY_BG;
- }
- /*******************************************************************************
- * *
- * Password Strength Indicator *
- * *
- ******************************************************************************/
- .password-strength-indicator .segment {
- -fx-background-color: PASSWORD_STRENGTH_INDICATOR_BG;
- }
- .password-strength-indicator.strength-0 .segment.active {
- -fx-background-color: PASSWORD_STRENGTH_INDICATOR_BG_STRENGTH_0;
- }
- .password-strength-indicator.strength-1 .segment.active {
- -fx-background-color: PASSWORD_STRENGTH_INDICATOR_BG_STRENGTH_1;
- }
- .password-strength-indicator.strength-2 .segment.active {
- -fx-background-color: PASSWORD_STRENGTH_INDICATOR_BG_STRENGTH_2;
- }
- .password-strength-indicator.strength-3 .segment.active {
- -fx-background-color: PASSWORD_STRENGTH_INDICATOR_BG_STRENGTH_3;
- }
- .password-strength-indicator.strength-4 .segment.active {
- -fx-background-color: PASSWORD_STRENGTH_INDICATOR_BG_STRENGTH_4;
- }
- /*******************************************************************************
- * *
- * Tooltip *
- * *
- ******************************************************************************/
- .tooltip {
- -fx-font-family: 'Open Sans';
- -fx-text-fill: TEXT_FILL;
- -fx-font-size: 0.8em;
- -fx-background-color: CONTROL_BG_NORMAL;
- -fx-padding: 0.2em 0.4em 0.2em 0.4em;
- -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.5), 2, 0, 0, 0);
- }
- /*******************************************************************************
- * *
- * Text Fields *
- * *
- ******************************************************************************/
- .text-input {
- -fx-cursor: text;
- -fx-text-fill: TEXT_FILL;
- -fx-highlight-fill: PRIMARY_BG;
- -fx-prompt-text-fill: TEXT_FILL_SECONDARY;
- -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
- -fx-background-insets: 0, 1px;
- -fx-background-radius: 4px;
- -fx-padding: 0.3em 0.5em 0.3em 0.5em;
- }
- .text-input:focused {
- -fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
- }
- .text-input:disabled {
- -fx-text-fill: TEXT_FILL_SECONDARY;
- -fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
- }
- .nice-secure-password-field .secure-password-field {
- -fx-padding: 0.3em 48px 0.3em 0.5em;
- }
- .nice-secure-password-field .icons {
- -fx-width: 42px;
- -fx-padding: 4px 6px 4px 0;
- }
- /*******************************************************************************
- * *
- * Text Areas *
- * *
- ******************************************************************************/
- .text-area {
- -fx-cursor: default;
- -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
- -fx-background-insets: 0, 1px;
- -fx-background-radius: 4px;
- -fx-padding: 0;
- }
- .text-input:focused {
- -fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
- }
- .text-input:disabled {
- -fx-text-fill: TEXT_FILL_SECONDARY;
- -fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
- }
- .text-area > .scroll-pane > .scroll-bar {
- -fx-padding: 2px;
- }
- .text-area .content {
- -fx-padding: 0.2em 0.5em 0.2em 0.5em;
- -fx-cursor: text;
- -fx-text-fill: TEXT_FILL;
- -fx-highlight-fill: PRIMARY_BG;
- -fx-prompt-text-fill: TEXT_FILL_SECONDARY;
- -fx-background-color: null;
- }
- /*******************************************************************************
- * *
- * Buttons *
- * *
- ******************************************************************************/
- .button {
- -fx-text-fill: TEXT_FILL;
- -fx-alignment: CENTER;
- -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
- -fx-background-insets: 0, 1px;
- -fx-background-radius: 4px;
- -fx-padding: 0.3em 1em 0.3em 1em;
- -fx-graphic-text-gap: 6px;
- }
- .button:focused {
- -fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
- }
- .button:armed {
- -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED;
- }
- .button:default {
- -fx-text-fill: TEXT_FILL_WHITE;
- -fx-background-color: CONTROL_PRIMARY_BORDER_NORMAL, CONTROL_PRIMARY_BG_NORMAL;
- }
- .button:default:focused {
- -fx-background-color: CONTROL_PRIMARY_BORDER_FOCUSED, CONTROL_PRIMARY_BG_NORMAL;
- }
- .button:default:armed {
- -fx-background-color: CONTROL_PRIMARY_BORDER_NORMAL, CONTROL_PRIMARY_BG_ARMED;
- }
- .button:disabled,
- .button:default:disabled {
- -fx-text-fill: TEXT_FILL_SECONDARY;
- -fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
- }
- .button:disabled .glyph-icon {
- -fx-fill: TEXT_FILL_SECONDARY;
- }
- .button:default .glyph-icon {
- -fx-fill: TEXT_FILL_WHITE;
- }
- .button:default .label {
- -fx-text-fill: TEXT_FILL_WHITE;
- }
- .button-large {
- -fx-font-size: 1.25em;
- -fx-padding: 0.6em 1.5em 0.6em 1.5em;
- -fx-graphic-text-gap: 9px;
- }
- /*******************************************************************************
- * *
- * Hyperlinks *
- * *
- ******************************************************************************/
- .hyperlink {
- -fx-text-fill: TEXT_FILL;
- -fx-graphic-text-gap: 6px;
- }
- .hyperlink.hyperlink-secondary {
- -fx-text-fill: TEXT_FILL_SECONDARY;
- }
- .hyperlink-hover-icon {
- -fx-content-display: text-only;
- }
- .hyperlink-hover-icon:hover {
- -fx-content-display: right;
- }
- /*******************************************************************************
- * *
- * CheckBox *
- * *
- ******************************************************************************/
- .check-box {
- -fx-text-fill: TEXT_FILL;
- -fx-label-padding: 0 0 0 6px;
- -fx-padding: 4px 0 4px 0;
- }
- .check-box:disabled {
- -fx-text-fill: TEXT_FILL_SECONDARY;
- }
- .check-box > .box {
- -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
- -fx-background-insets: 0, 1px;
- -fx-background-radius: 4px;
- -fx-padding: 0.3em;
- }
- .check-box:focused > .box {
- -fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
- }
- .check-box:disabled > .box {
- -fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
- }
- .check-box > .box > .mark {
- -fx-background-color: transparent;
- -fx-padding: 0.4em;
- -fx-shape: "M-1,4, L-1,5.5 L3.5,8.5 L9,0 L9,-1 L7,-1 L3,6 L1,4 Z";
- }
- .check-box:selected > .box > .mark {
- -fx-background-color: TEXT_FILL;
- }
- /*******************************************************************************
- * *
- * RadioButton *
- * *
- ******************************************************************************/
- .radio-button {
- -fx-text-fill: TEXT_FILL;
- -fx-label-padding: 0 0 0 6px;
- -fx-padding: 4px 0 4px 0;
- }
- .radio-button > .radio {
- -fx-border-color: CONTROL_BORDER_NORMAL;
- -fx-border-radius: 1em; /* large value to make sure this remains circular */
- -fx-background-color: CONTROL_BG_NORMAL;
- -fx-background-radius: 1em;
- -fx-padding: 0.3em; /* padding from outside edge to the inner black dot */
- }
- .radio-button:focused > .radio {
- -fx-border-color: CONTROL_BORDER_FOCUSED;
- }
- .text-input:disabled > .radio {
- -fx-border-color: CONTROL_BORDER_DISABLED;
- -fx-background-color: CONTROL_BG_DISABLED;
- }
- .radio-button > .radio > .dot {
- -fx-background-color: transparent;
- -fx-background-radius: 1em; /* large value to make sure this remains circular */
- -fx-padding: 0.2em; /* radius of the inner black dot when selected */
- }
- .radio-button:selected > .radio > .dot {
- -fx-background-color: TEXT_FILL;
- }
- /*******************************************************************************
- * *
- * ChoiceBox *
- * *
- ******************************************************************************/
- .choice-box {
- -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
- -fx-background-insets: 0, 1px;
- -fx-background-radius: 4px;
- -fx-padding: 0.3em 0.5em 0.3em 0.5em;
- }
- .choice-box:focused {
- -fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
- }
- .choice-box:disabled {
- -fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
- }
- .choice-box > .label {
- -fx-text-fill: TEXT_FILL;
- }
- .choice-box:disabled > .label {
- -fx-text-fill: TEXT_FILL_SECONDARY;
- }
- .choice-box > .open-button {
- -fx-padding: 0 0 0 0.3em;
- }
- .choice-box > .open-button > .arrow {
- -fx-background-color: transparent, TEXT_FILL;
- -fx-background-insets: 0 0 -1 0, 0;
- -fx-padding: 0.15em 0.3em 0.15em 0.3em;
- -fx-shape: "M 0 0 h 7 l -3.5 4 z";
- }
- .choice-box:disabled > .open-button > .arrow {
- -fx-background-color: transparent, TEXT_FILL_SECONDARY;
- }
- .choice-box .context-menu {
- -fx-translate-x: -1.4em;
- }
- /*******************************************************************************
- * *
- * ContextMenu *
- * *
- ******************************************************************************/
- .context-menu {
- -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
- -fx-background-insets: 0, 1px;
- -fx-background-radius: 4px;
- -fx-padding: 0.2em 0 0.2em 0;
- -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.2), 8, 0, 0, 0);
- }
- /*******************************************************************************
- * *
- * MenuItem *
- * *
- ******************************************************************************/
- .menu-item {
- -fx-padding: 0.2em 0.4em 0.2em 0.4em;
- }
- .menu-item:focused {
- -fx-background-color: transparent, CONTROL_BG_ARMED;
- -fx-background-insets: 0, 0 1px 0 1px;
- }
- .menu-item:disabled {
- -fx-background-color: transparent;
- }
- .menu-item > .left-container {
- -fx-padding: 0.5em 0.25em 0.5em 0.5em;
- }
- .menu-item > .label {
- -fx-padding: 1px 0.5em 1px 0.5em;
- }
- .menu-item:disabled > .label {
- -fx-text-fill: TEXT_FILL_SECONDARY;
- }
- .radio-menu-item:checked > .left-container > .radio {
- -fx-background-color: TEXT_FILL;
- -fx-shape: "M-1,4, L-1,5.5 L3.5,8.5 L9,0 L9,-1 L7,-1 L3,6 L1,4 Z";
- -fx-scale-shape: false;
- }
- /*******************************************************************************
- * *
- * ProgressIndicator *
- * Derived from aquafx-project.com, (C) Claudine Zillmann, see NOTICE.md *
- * *
- ******************************************************************************/
- .progress-indicator {
- -fx-indeterminate-segment-count: 12;
- -fx-spin-enabled: true;
- }
- .progress-indicator:indeterminate > .spinner {
- -fx-padding: 0.083333em;
- }
- .progress-indicator:indeterminate .segment {
- -fx-background-color: PROGRESS_INDICATOR_BEGIN, PROGRESS_INDICATOR_END;
- -fx-background-insets: 0, 0.5;
- }
- .progress-indicator:indeterminate .segment0 {
- -fx-shape:"m 12.007729,4.9541827 c -0.49762,0.7596865 0.893181,1.6216808 1.327833,0.7666252 L 15.456199,2.0477574 C 15.942094,1.2061627 14.61426,0.43953765 14.128365,1.2811324 z";
- }
- .progress-indicator:indeterminate .segment1 {
- -fx-shape:"m 9.2224559,4.62535 c -0.051108,0.9067177 1.5843581,0.957826 1.5332501,0 l 0,-4.24127319 c 0,-0.9717899 -1.5332501,-0.9717899 -1.5332501,0 z";
- }
- .progress-indicator:indeterminate .segment2 {
- -fx-shape:"M 8.0465401,4.9030617 C 8.5441601,5.6627485 7.1533584,6.5247425 6.7187068,5.6696872 L 4.5980702,1.9966363 C 4.1121752,1.1550418 5.4400085,0.38841683 5.9259035,1.2300114 z";
- }
- .progress-indicator:indeterminate .segment3 {
- -fx-shape:"M 5.7330066,6.5305598 C 6.5579512,6.9103162 5.8366865,8.3790371 5.0144939,7.8850315 L 1.2677551,5.8974832 C 0.409277,5.4420823 1.1277888,4.0876101 1.9862674,4.5430105 z";
- }
- .progress-indicator:indeterminate .segment4 {
- -fx-shape:"m 0.42171041,9.2083842 c -0.90671825,-0.051108 -0.95782608,1.5843588 0,1.5332498 l 4.24127319,0 c 0.9717899,0 0.9717899,-1.5332498 0,-1.5332498 z";
- }
- .progress-indicator:indeterminate .segment5 {
- -fx-shape:"M 5.7330066,13.443113 C 6.5579512,13.063356 5.8366865,11.594635 5.0144939,12.088641 L 1.2677551,14.076189 C 0.409277,14.53159 1.1277888,15.886062 1.9862674,15.430662 z";
- }
- .progress-indicator:indeterminate .segment6 {
- -fx-shape:"M 8.0465401,15.070611 C 8.5441601,14.310924 7.1533584,13.44893 6.7187068,14.303985 l -2.1206366,3.673051 c -0.485895,0.841595 0.8419383,1.60822 1.3278333,0.766625 z";
- }
- .progress-indicator:indeterminate .segment7 {
- -fx-shape:"m 9.2224559,19.539943 c -0.051108,0.906718 1.5843581,0.957826 1.5332501,0 l 0,-4.241273 c 0,-0.97179 -1.5332501,-0.97179 -1.5332501,0 z";
- }
- .progress-indicator:indeterminate .segment8 {
- -fx-shape:"m 12.10997,15.070611 c -0.49762,-0.759687 0.893182,-1.621681 1.327834,-0.766626 l 2.120636,3.673051 c 0.485895,0.841595 -0.841938,1.60822 -1.327833,0.766625 z";
- }
- .progress-indicator:indeterminate .segment9 {
- -fx-shape:"m 14.423504,13.443113 c -0.824945,-0.379757 -0.10368,-1.848478 0.718512,-1.354472 l 3.746739,1.987548 c 0.858478,0.455401 0.139967,1.809873 -0.718512,1.354473 z";
- }
- .progress-indicator:indeterminate .segment10 {
- -fx-shape:"m 15.372451,9.2445322 c -0.906719,-0.051108 -0.957826,1.5843588 0,1.5332498 l 4.241273,0 c 0.97179,0 0.97179,-1.5332498 0,-1.5332498 z";
- }
- .progress-indicator:indeterminate .segment11 {
- -fx-shape:"m 14.321262,6.5816808 c -0.824944,0.3797564 -0.10368,1.8484772 0.718513,1.3544717 L 18.786514,5.9486042 C 19.644992,5.4932031 18.92648,4.1387308 18.068001,4.5941315 z";
- }
- /*******************************************************************************
- * *
- * ProgressBar *
- * *
- ******************************************************************************/
- .progress-bar {
- -fx-indeterminate-bar-length: 100;
- -fx-indeterminate-bar-escape: true;
- -fx-indeterminate-bar-flip: true;
- -fx-indeterminate-bar-animation-time: 2;
- }
- .progress-bar > .bar {
- -fx-background-color: CONTROL_PRIMARY_BG_NORMAL;
- -fx-background-radius: 4px;
- -fx-padding: 0.5em;
- }
- .progress-bar:indeterminate > .bar {
- -fx-background-color: linear-gradient(to left, transparent, CONTROL_PRIMARY_BG_NORMAL);
- }
- .progress-bar > .track {
- -fx-background-color: PROGRESS_BAR_BG;
- -fx-background-radius: 4px;
- }
|