12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001 |
- /*******************************************************************************
- * *
- * Fonts *
- * *
- ******************************************************************************/
- @font-face {
- src: url('opensans_regular.ttf');
- }
- @font-face {
- src: url('opensans_semibold.ttf');
- }
- @font-face {
- src: url('opensans_bold.ttf');
- }
- /*******************************************************************************
- * *
- * Root Styling & Colors *
- * *
- ******************************************************************************/
- .root {
- PRIMARY_D2: #2D4D2E;
- PRIMARY_D1: #407F41;
- PRIMARY: #49B04A;
- PRIMARY_L1: #66CC68;
- PRIMARY_L2: #EBF5EB;
- SECONDARY: #008A7B;
- GRAY_0: #1F2122;
- GRAY_1: #35393B;
- GRAY_2: #494E51;
- GRAY_3: #585E62;
- GRAY_4: #71797E;
- GRAY_5: #8E989E;
- GRAY_6: #9FAAB1;
- GRAY_7: #BEC9CF;
- GRAY_8: #D3DCE1;
- GRAY_9: #EDF3F7;
- GREEN_3: PRIMARY_D1;
- GREEN_5: PRIMARY;
- RED_5: #E74C3C;
- ORANGE_5: #E67E22;
- YELLOW_5: #F1C40F;
- MAIN_BG: GRAY_1;
- MUTED_BG: GRAY_3;
- TEXT_FILL: GRAY_9;
- TEXT_FILL_HIGHLIGHTED: PRIMARY;
- TEXT_FILL_MUTED: GRAY_5;
- TITLE_BG: linear-gradient(to bottom, GRAY_2, GRAY_1);
- TITLE_TEXT_FILL: PRIMARY;
- CONTROL_BORDER_NORMAL: GRAY_3;
- CONTROL_BORDER_FOCUSED: GRAY_5;
- CONTROL_BORDER_DISABLED: GRAY_2;
- CONTROL_BG_NORMAL: GRAY_0;
- CONTROL_BG_HOVER: GRAY_1;
- CONTROL_BG_ARMED: GRAY_2;
- CONTROL_BG_DISABLED: GRAY_1;
- CONTROL_BG_SELECTED: GRAY_1;
- CONTROL_PRIMARY_BORDER_NORMAL: PRIMARY;
- CONTROL_PRIMARY_BORDER_ARMED: PRIMARY_L1;
- CONTROL_PRIMARY_BORDER_FOCUSED: SECONDARY;
- CONTROL_PRIMARY_BG_NORMAL: PRIMARY;
- CONTROL_PRIMARY_BG_ARMED: PRIMARY_L1;
- SCROLL_BAR_THUMB_NORMAL: GRAY_3;
- SCROLL_BAR_THUMB_HOVER: GRAY_4;
- PROGRESS_INDICATOR_BEGIN: GRAY_7;
- PROGRESS_INDICATOR_END: GRAY_5;
- PROGRESS_BAR_BG: GRAY_2;
- -fx-background-color: MAIN_BG;
- -fx-text-fill: TEXT_FILL;
- -fx-font-family: 'Open Sans';
- }
- /*******************************************************************************
- * *
- * Labels *
- * *
- ******************************************************************************/
- .label {
- -fx-text-fill: TEXT_FILL;
- }
- .label-muted {
- -fx-text-fill: TEXT_FILL_MUTED;
- }
- .label-extra-large {
- -fx-font-family: 'Open Sans SemiBold';
- -fx-font-size: 1.5em;
- }
- .label-large {
- -fx-font-family: 'Open Sans SemiBold';
- -fx-font-size: 1.2em;
- }
- .label-small {
- -fx-font-size: 0.8em;
- }
- .label-extra-small {
- -fx-font-size: 0.64em;
- }
- .label-red {
- -fx-text-fill: RED_5;
- }
- .text-flow > * {
- -fx-fill: TEXT_FILL;
- }
- /*******************************************************************************
- * *
- * Glyph Icons *
- * *
- ******************************************************************************/
- .glyph-icon {
- -fx-fill: TEXT_FILL;
- }
- .glyph-icon-primary,
- .glyph-icon.glyph-icon-primary,
- .list-cell .glyph-icon.glyph-icon-primary,
- .list-cell:selected .glyph-icon.glyph-icon-primary {
- -fx-fill: PRIMARY;
- }
- .glyph-icon-muted,
- .glyph-icon.glyph-icon-muted,
- .list-cell .glyph-icon.glyph-icon-muted,
- .list-cell:selected .glyph-icon.glyph-icon-muted {
- -fx-fill: TEXT_FILL_MUTED;
- }
- .glyph-icon-white,
- .glyph-icon.glyph-icon-white,
- .list-cell .glyph-icon.glyph-icon-white,
- .list-cell:selected .glyph-icon.glyph-icon-white {
- -fx-fill: white;
- }
- .glyph-icon-red,
- .glyph-icon.glyph-icon-red,
- .list-cell .glyph-icon.glyph-icon-red,
- .list-cell:selected .glyph-icon.glyph-icon-red {
- -fx-fill: RED_5;
- }
- .glyph-icon-orange,
- .glyph-icon.glyph-icon-orange,
- .list-cell .glyph-icon.glyph-icon-orange,
- .list-cell:selected .glyph-icon.glyph-icon-orange {
- -fx-fill: ORANGE_5;
- }
- /*******************************************************************************
- * *
- * Main Window *
- * *
- ******************************************************************************/
- /* windows needs an explicit border: */
- .main-window.os-windows {
- -fx-border-color: TITLE_BG;
- -fx-border-width: 1px;
- }
- .main-window .title {
- -fx-background-color: CONTROL_BORDER_NORMAL, TITLE_BG;
- -fx-background-insets: 0, 0 0 1px 0;
- }
- .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: GRAY_8;
- }
- .main-window .update-indicator {
- -fx-background-color: white, RED_5;
- -fx-background-insets: 1px, 2px;
- -fx-background-radius: 6px, 5px;
- -fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.8), 2, 0, 0, 0);
- }
- /*******************************************************************************
- * *
- * TabPane *
- * *
- ******************************************************************************/
- .tab-pane {
- -fx-tab-min-height: 2em;
- }
- .tab-pane > .tab-header-area {
- -fx-padding: 0 12px;
- -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
- -fx-background-insets: 0, 0 0 3px 0;
- }
- .tab-pane .tab {
- -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
- -fx-background-insets: 0, 0 0 3px 0;
- -fx-padding: 6px 12px;
- }
- .tab-pane .tab:selected {
- -fx-background-color: PRIMARY, CONTROL_BG_SELECTED;
- }
- .tab-pane .tab .tab-label {
- -fx-text-fill: TEXT_FILL_MUTED;
- -fx-alignment: CENTER;
- }
- .tab-pane .tab .glyph-icon {
- -fx-fill: TEXT_FILL_MUTED;
- }
- .tab-pane .tab:selected .glyph-icon {
- -fx-fill: PRIMARY;
- }
- .tab-pane .tab:selected .tab-label {
- -fx-text-fill: TEXT_FILL_HIGHLIGHTED;
- }
- /*******************************************************************************
- * *
- * 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, CONTROL_BG_SELECTED;
- -fx-background-insets: 0, 0 0 0 3px;
- }
- .list-cell:selected {
- -fx-background-color: CONTROL_BG_SELECTED;
- }
- .list-cell .glyph-icon {
- -fx-fill: TEXT_FILL_MUTED;
- }
- .list-cell .header-label {
- -fx-font-family: 'Open Sans SemiBold';
- -fx-font-size: 1.0em;
- }
- .list-cell .detail-label {
- -fx-text-fill: TEXT_FILL_MUTED;
- -fx-font-size: 0.8em;
- }
- .list-cell:selected .glyph-icon {
- -fx-fill: PRIMARY;
- }
- .list-cell:selected .header-label {
- -fx-text-fill: TEXT_FILL_HIGHLIGHTED;
- }
- .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;
- }
- .vault-list-box {
- -fx-background-color: CONTROL_BG_NORMAL;
- }
- .add-vault-btn {
- -fx-background-color: CONTROL_BG_NORMAL;
- }
- .add-vault-btn .icon {
- -fx-fill: TEXT_FILL_MUTED;
- }
- .add-vault-btn-label {
- -fx-font-family: 'Open Sans SemiBold';
- -fx-font-size: 1.0em;
- }
- .preferences-btn {
- -fx-background-color: MAIN_BG;
- -fx-border-color: CONTROL_BORDER_NORMAL transparent transparent transparent;
- -fx-border-width: 1px 0 0 0;
- }
- /*******************************************************************************
- * *
- * NotificationBar *
- * *
- ******************************************************************************/
- .notification-label {
- -fx-text-fill: white;
- -fx-font-weight: bold;
- }
- .notification-debug {
- -fx-min-height:24px;
- -fx-max-height:24px;
- -fx-background-color: RED_5;
- }
- .notification-update {
- -fx-min-height:24px;
- -fx-max-height:24px;
- -fx-background-color: YELLOW_5;
- }
- .notification-support {
- -fx-min-height:24px;
- -fx-max-height:24px;
- -fx-background-color: PRIMARY;
- }
- /*******************************************************************************
- * *
- * 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: white;
- -fx-background-color: PRIMARY;
- }
- .badge-muted {
- -fx-text-fill: white;
- -fx-background-color: MUTED_BG;
- }
- /* Note: These values below are kinda random such that it looks ok. I'm pretty sure there is room for improvement. Additionally, fx-text-fill does not work*/
- .badge-debug {
- -fx-font-family: 'Open Sans Bold';
- -fx-font-size: 1.0em;
- -fx-background-radius: 8px;
- -fx-padding: 0.3em 0.55em 0.3em 0.55em;
- -fx-background-color: RED_5;
- -fx-background-radius: 2em;
- }
- /*******************************************************************************
- * *
- * Password Strength Indicator *
- * *
- ******************************************************************************/
- .password-strength-indicator .segment {
- -fx-background-color: CONTROL_BORDER_NORMAL;
- }
- .password-strength-indicator.strength-0 .segment.active {
- -fx-background-color: RED_5;
- }
- .password-strength-indicator.strength-1 .segment.active {
- -fx-background-color: ORANGE_5;
- }
- .password-strength-indicator.strength-2 .segment.active {
- -fx-background-color: YELLOW_5;
- }
- .password-strength-indicator.strength-3 .segment.active {
- -fx-background-color: GREEN_5;
- }
- .password-strength-indicator.strength-4 .segment.active {
- -fx-background-color: GREEN_3;
- }
- /*******************************************************************************
- * *
- * 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;
- -fx-prompt-text-fill: TEXT_FILL_MUTED;
- -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_MUTED;
- -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_MUTED;
- -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;
- -fx-prompt-text-fill: TEXT_FILL_MUTED;
- -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: 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_ARMED, CONTROL_PRIMARY_BG_ARMED;
- }
- .button:disabled,
- .button:default:disabled {
- -fx-text-fill: TEXT_FILL_MUTED;
- -fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
- }
- .button:disabled .glyph-icon {
- -fx-fill: TEXT_FILL_MUTED;
- }
- .button:default .glyph-icon {
- -fx-fill: white;
- }
- .button:default:disabled .glyph-icon {
- -fx-fill: TEXT_FILL_MUTED;
- }
- .button:default .label {
- -fx-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-underline {
- -fx-underline: true;
- }
- .hyperlink.hyperlink-muted {
- -fx-text-fill: TEXT_FILL_MUTED;
- }
- .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_MUTED;
- }
- .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;
- }
- .check-box:selected:disabled > .box > .mark {
- -fx-background-color: TEXT_FILL_MUTED;
- }
- /*******************************************************************************
- * *
- * 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_MUTED;
- }
- .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_MUTED;
- }
- .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_MUTED;
- }
- .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;
- }
- /*******************************************************************************
- * *
- * Add Vault - MenuItem *
- * *
- ******************************************************************************/
- .add-vault-menu-item {
- -fx-padding: 4px 8px;
- }
- /*******************************************************************************
- * *
- * 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: 1em 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;
- }
- /*******************************************************************************
- * *
- * I/O Statistics *
- * *
- ******************************************************************************/
- .cache-arc-background {
- -fx-fill: transparent;
- -fx-stroke: MUTED_BG;
- -fx-stroke-type: centered;
- -fx-stroke-width: 12;
- -fx-stroke-line-cap: butt;
- }
- .cache-arc-foreground {
- -fx-fill: transparent;
- -fx-stroke: PRIMARY;
- -fx-stroke-type: centered;
- -fx-stroke-width: 12;
- -fx-stroke-line-cap: butt;
- }
- .chart.io-stats {
- -fx-padding: 10px;
- -fx-horizontal-grid-lines-visible: false;
- -fx-horizontal-zero-line-visible: false;
- -fx-vertical-grid-lines-visible: false;
- -fx-vertical-zero-line-visible: false;
- }
- .axis.io-stats {
- -fx-tick-mark-visible: false;
- -fx-minor-tick-visible: false;
- -fx-tick-labels-visible: false;
- }
- .chart-plot-background {
- -fx-background-color: transparent;
- }
- .chart-vertical-zero-line,
- .chart-horizontal-zero-line,
- .chart-alternative-row-fill {
- -fx-stroke: transparent;
- -fx-stroke-width: 0;
- }
- .default-color0.chart-series-area-line {
- -fx-stroke: PRIMARY;
- }
- .default-color0.chart-series-area-fill {
- -fx-fill: linear-gradient(to bottom, PRIMARY, transparent);
- -fx-stroke: transparent;
- }
- /*******************************************************************************
- * *
- * Drag and Drop *
- * *
- ******************************************************************************/
- .drag-n-drop-border {
- -fx-border-color: SECONDARY;
- -fx-border-width: 3px;
- }
- .button.drag-n-drop {
- -fx-background-color: CONTROL_BG_NORMAL;
- -fx-background-insets: 0;
- -fx-padding: 1.4em 1em 1.4em 1em;
- -fx-text-fill: TEXT_FILL_MUTED;
- -fx-font-size: 0.8em;
- -fx-border-color: CONTROL_BORDER_NORMAL;
- -fx-border-radius: 4px;
- -fx-border-style: dashed inside;
- -fx-border-width: 1px;
- }
- .button.drag-n-drop:focused {
- -fx-border-color: CONTROL_BORDER_FOCUSED;
- }
- .button.drag-n-drop:armed {
- -fx-background-color: CONTROL_BG_ARMED;
- }
- .button.drag-n-drop.active {
- -fx-border-color: SECONDARY;
- -fx-border-style: solid inside;
- -fx-border-width: 1px;
- }
- /*******************************************************************************
- * *
- * Separator *
- * *
- ******************************************************************************/
- .separator {
- -fx-padding: 0.5px;
- -fx-background-color: CONTROL_BORDER_NORMAL;
- }
- /*******************************************************************************
- * *
- * Ad box *
- * *
- ******************************************************************************/
- .ad-box {
- -fx-padding: 12px;
- -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
- -fx-background-insets: 0, 1px;
- -fx-background-radius: 4px;
- }
|