light_theme.css 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964
  1. /*******************************************************************************
  2. * *
  3. * Fonts *
  4. * *
  5. ******************************************************************************/
  6. @font-face {
  7. src: url('opensans_regular.ttf');
  8. }
  9. @font-face {
  10. src: url('opensans_semibold.ttf');
  11. }
  12. @font-face {
  13. src: url('opensans_bold.ttf');
  14. }
  15. /*******************************************************************************
  16. * *
  17. * Root Styling & Colors *
  18. * *
  19. ******************************************************************************/
  20. .root {
  21. PRIMARY_D2: #2D4D2E;
  22. PRIMARY_D1: #407F41;
  23. PRIMARY: #49B04A;
  24. PRIMARY_L1: #66CC68;
  25. PRIMARY_L2: #EBF5EB;
  26. SECONDARY: #008A7B;
  27. GRAY_0: #222222;
  28. GRAY_1: #3B3B3B;
  29. GRAY_2: #515151;
  30. GRAY_3: #626262;
  31. GRAY_4: #7E7E7E;
  32. GRAY_5: #9E9E9E;
  33. GRAY_6: #B1B1B1;
  34. GRAY_7: #CFCFCF;
  35. GRAY_8: #E1E1E1;
  36. GRAY_9: #F7F7F7;
  37. GREEN_3: PRIMARY_D1;
  38. GREEN_5: PRIMARY;
  39. RED_5: #E74C3C;
  40. ORANGE_5: #E67E22;
  41. YELLOW_5: #F1C40F;
  42. MAIN_BG: GRAY_9;
  43. MUTED_BG: GRAY_5;
  44. TEXT_FILL: GRAY_0;
  45. TEXT_FILL_HIGHLIGHTED: PRIMARY;
  46. TEXT_FILL_MUTED: GRAY_5;
  47. TITLE_BG: PRIMARY;
  48. TITLE_TEXT_FILL: white;
  49. CONTROL_BORDER_NORMAL: GRAY_7;
  50. CONTROL_BORDER_FOCUSED: GRAY_5;
  51. CONTROL_BORDER_DISABLED: GRAY_8;
  52. CONTROL_BG_NORMAL: white;
  53. CONTROL_BG_HOVER: GRAY_9;
  54. CONTROL_BG_ARMED: GRAY_8;
  55. CONTROL_BG_DISABLED: GRAY_9;
  56. CONTROL_BG_SELECTED: PRIMARY_L2;
  57. CONTROL_PRIMARY_BORDER_NORMAL: PRIMARY_D1;
  58. CONTROL_PRIMARY_BORDER_ARMED: PRIMARY_D2;
  59. CONTROL_PRIMARY_BORDER_FOCUSED: SECONDARY;
  60. CONTROL_PRIMARY_BG_NORMAL: PRIMARY;
  61. CONTROL_PRIMARY_BG_ARMED: PRIMARY_D1;
  62. SCROLL_BAR_THUMB_NORMAL: GRAY_7;
  63. SCROLL_BAR_THUMB_HOVER: GRAY_6;
  64. PROGRESS_INDICATOR_BEGIN: GRAY_2;
  65. PROGRESS_INDICATOR_END: GRAY_4;
  66. PROGRESS_BAR_BG: GRAY_8;
  67. -fx-background-color: MAIN_BG;
  68. -fx-text-fill: TEXT_FILL;
  69. -fx-font-family: 'Open Sans';
  70. }
  71. /*******************************************************************************
  72. * *
  73. * Labels *
  74. * *
  75. ******************************************************************************/
  76. .label {
  77. -fx-text-fill: TEXT_FILL;
  78. }
  79. .label-muted {
  80. -fx-text-fill: TEXT_FILL_MUTED;
  81. }
  82. .label-extra-large {
  83. -fx-font-family: 'Open Sans SemiBold';
  84. -fx-font-size: 1.5em;
  85. }
  86. .label-large {
  87. -fx-font-family: 'Open Sans SemiBold';
  88. -fx-font-size: 1.2em;
  89. }
  90. .label-small {
  91. -fx-font-size: 0.8em;
  92. }
  93. .label-extra-small {
  94. -fx-font-size: 0.64em;
  95. }
  96. .label-red {
  97. -fx-text-fill: RED_5;
  98. }
  99. .text-flow > * {
  100. -fx-fill: TEXT_FILL;
  101. }
  102. /*******************************************************************************
  103. * *
  104. * Glyph Icons *
  105. * *
  106. ******************************************************************************/
  107. .glyph-icon {
  108. -fx-fill: TEXT_FILL;
  109. }
  110. .glyph-icon-primary,
  111. .glyph-icon.glyph-icon-primary,
  112. .list-cell .glyph-icon.glyph-icon-primary,
  113. .list-cell:selected .glyph-icon.glyph-icon-primary {
  114. -fx-fill: PRIMARY;
  115. }
  116. .glyph-icon-muted,
  117. .glyph-icon.glyph-icon-muted,
  118. .list-cell .glyph-icon.glyph-icon-muted,
  119. .list-cell:selected .glyph-icon.glyph-icon-muted {
  120. -fx-fill: TEXT_FILL_MUTED;
  121. }
  122. .glyph-icon-white,
  123. .glyph-icon.glyph-icon-white,
  124. .list-cell .glyph-icon.glyph-icon-white,
  125. .list-cell:selected .glyph-icon.glyph-icon-white {
  126. -fx-fill: white;
  127. }
  128. .glyph-icon-red,
  129. .glyph-icon.glyph-icon-red,
  130. .list-cell .glyph-icon.glyph-icon-red,
  131. .list-cell:selected .glyph-icon.glyph-icon-red {
  132. -fx-fill: RED_5;
  133. }
  134. .glyph-icon-orange,
  135. .glyph-icon.glyph-icon-orange,
  136. .list-cell .glyph-icon.glyph-icon-orange,
  137. .list-cell:selected .glyph-icon.glyph-icon-orange {
  138. -fx-fill: ORANGE_5;
  139. }
  140. /*******************************************************************************
  141. * *
  142. * Main Window *
  143. * *
  144. ******************************************************************************/
  145. /* windows needs an explicit border: */
  146. .main-window.os-windows {
  147. -fx-border-color: CONTROL_BORDER_NORMAL;
  148. -fx-border-width: 1px 0 0 0;
  149. }
  150. .main-window .button-bar {
  151. -fx-min-height:42px;
  152. -fx-max-height:42px;
  153. -fx-background-color: MAIN_BG;
  154. -fx-border-color: CONTROL_BORDER_NORMAL transparent transparent transparent;
  155. -fx-border-width: 1px 0 0 0;
  156. }
  157. .main-window .button-bar .button-left {
  158. -fx-border-color: CONTROL_BORDER_NORMAL;
  159. -fx-border-width: 0 1px 0 0;
  160. -fx-background-color: MAIN_BG;
  161. -fx-background-radius: 0px;
  162. -fx-min-height: 42px;
  163. -fx-max-height: 42px;
  164. }
  165. .main-window .button-bar .button-right {
  166. -fx-border-color: CONTROL_BORDER_NORMAL;
  167. -fx-border-width: 0 0 0 1px;
  168. -fx-background-color: MAIN_BG;
  169. -fx-background-radius: 0px;
  170. -fx-min-height: 42px;
  171. -fx-max-height: 42px;
  172. }
  173. .main-window .button-bar .button-left:armed {
  174. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED;
  175. }
  176. .main-window .button-bar .button-right:armed {
  177. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED;
  178. }
  179. /*******************************************************************************
  180. * *
  181. * TabPane *
  182. * *
  183. ******************************************************************************/
  184. .tab-pane {
  185. -fx-tab-min-height: 2em;
  186. }
  187. .tab-pane > .tab-header-area {
  188. -fx-padding: 0 12px;
  189. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
  190. -fx-background-insets: 0, 0 0 3px 0;
  191. }
  192. .tab-pane .tab {
  193. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
  194. -fx-background-insets: 0, 0 0 3px 0;
  195. -fx-padding: 6px 12px;
  196. }
  197. .tab-pane .tab:selected {
  198. -fx-background-color: PRIMARY, CONTROL_BG_SELECTED;
  199. }
  200. .tab-pane .tab .tab-label {
  201. -fx-text-fill: TEXT_FILL_MUTED;
  202. -fx-alignment: CENTER;
  203. }
  204. .tab-pane .tab .glyph-icon {
  205. -fx-fill: TEXT_FILL_MUTED;
  206. }
  207. .tab-pane .tab:selected .glyph-icon {
  208. -fx-fill: PRIMARY;
  209. }
  210. .tab-pane .tab:selected .tab-label {
  211. -fx-text-fill: TEXT_FILL_HIGHLIGHTED;
  212. }
  213. /*******************************************************************************
  214. * *
  215. * SplitPane *
  216. * *
  217. ******************************************************************************/
  218. .split-pane > .split-pane-divider {
  219. -fx-padding: 0px 1px;
  220. }
  221. .split-pane:horizontal > .split-pane-divider {
  222. -fx-background-color: MAIN_BG, CONTROL_BORDER_NORMAL;
  223. -fx-background-insets: 0, 0 1 0 0;
  224. }
  225. /*******************************************************************************
  226. * *
  227. * Vault List *
  228. * *
  229. ******************************************************************************/
  230. .list-view {
  231. -fx-background-color: CONTROL_BG_NORMAL;
  232. }
  233. .list-view:focused .list-cell:selected {
  234. -fx-background-color: PRIMARY, CONTROL_BG_SELECTED;
  235. -fx-background-insets: 0, 0 0 0 3px;
  236. }
  237. .list-cell:selected {
  238. -fx-background-color: CONTROL_BG_SELECTED;
  239. }
  240. .list-cell .glyph-icon {
  241. -fx-fill: TEXT_FILL_MUTED;
  242. }
  243. .list-cell .header-label {
  244. -fx-font-family: 'Open Sans SemiBold';
  245. -fx-font-size: 1.0em;
  246. }
  247. .list-cell .detail-label {
  248. -fx-text-fill: TEXT_FILL_MUTED;
  249. -fx-font-size: 0.8em;
  250. }
  251. .list-cell:selected .glyph-icon {
  252. -fx-fill: PRIMARY;
  253. }
  254. .list-cell:selected .header-label {
  255. -fx-text-fill: TEXT_FILL_HIGHLIGHTED;
  256. }
  257. .list-cell.drop-above {
  258. -fx-border-color: CONTROL_BG_ARMED transparent transparent transparent;
  259. -fx-border-width: 3px 0 0 0;
  260. }
  261. .list-cell.drop-below {
  262. -fx-border-color: transparent transparent CONTROL_BG_ARMED transparent;
  263. -fx-border-width: 0 0 3px 0;
  264. }
  265. .onboarding-overlay-arc {
  266. -fx-stroke: TEXT_FILL;
  267. -fx-fill: transparent;
  268. }
  269. /*******************************************************************************
  270. * *
  271. * NotificationBar *
  272. * *
  273. ******************************************************************************/
  274. .notification-label {
  275. -fx-text-fill: white;
  276. -fx-font-weight: bold;
  277. }
  278. .notification-debug {
  279. -fx-min-height:24px;
  280. -fx-max-height:24px;
  281. -fx-background-color: RED_5;
  282. }
  283. .notification-update {
  284. -fx-min-height:24px;
  285. -fx-max-height:24px;
  286. -fx-background-color: YELLOW_5;
  287. }
  288. .notification-support {
  289. -fx-min-height:24px;
  290. -fx-max-height:24px;
  291. -fx-background-color: PRIMARY;
  292. }
  293. .notification-debug:hover .notification-label,
  294. .notification-update:hover .notification-label,
  295. .notification-support:hover .notification-label {
  296. -fx-underline:true;
  297. }
  298. /*******************************************************************************
  299. * *
  300. * ScrollBar *
  301. * *
  302. ******************************************************************************/
  303. .scroll-bar > .thumb {
  304. -fx-background-color: SCROLL_BAR_THUMB_NORMAL;
  305. -fx-background-insets: 1px;
  306. -fx-background-radius: 2px;
  307. }
  308. .scroll-bar > .thumb:hover {
  309. -fx-background-color: SCROLL_BAR_THUMB_HOVER;
  310. }
  311. .scroll-bar:horizontal > .increment-button,
  312. .scroll-bar:horizontal > .decrement-button {
  313. -fx-padding: 3 0 3 0;
  314. }
  315. .scroll-bar:vertical > .increment-button,
  316. .scroll-bar:vertical > .decrement-button {
  317. -fx-padding: 0 3 0 3;
  318. }
  319. /*******************************************************************************
  320. * *
  321. * Badge *
  322. * *
  323. ******************************************************************************/
  324. .badge {
  325. -fx-font-family: 'Open Sans Bold';
  326. -fx-font-size: 0.8em;
  327. -fx-background-radius: 4px;
  328. -fx-padding: 0.2em 0.4em 0.2em 0.4em;
  329. }
  330. .badge-pill {
  331. -fx-background-radius: 1em;
  332. }
  333. .badge-primary {
  334. -fx-text-fill: white;
  335. -fx-background-color: PRIMARY;
  336. }
  337. .badge-muted {
  338. -fx-text-fill: white;
  339. -fx-background-color: MUTED_BG;
  340. }
  341. /*******************************************************************************
  342. * *
  343. * Password Strength Indicator *
  344. * *
  345. ******************************************************************************/
  346. .password-strength-indicator .segment {
  347. -fx-background-color: CONTROL_BORDER_NORMAL;
  348. }
  349. .password-strength-indicator.strength-0 .segment.active {
  350. -fx-background-color: RED_5;
  351. }
  352. .password-strength-indicator.strength-1 .segment.active {
  353. -fx-background-color: ORANGE_5;
  354. }
  355. .password-strength-indicator.strength-2 .segment.active {
  356. -fx-background-color: YELLOW_5;
  357. }
  358. .password-strength-indicator.strength-3 .segment.active {
  359. -fx-background-color: GREEN_5;
  360. }
  361. .password-strength-indicator.strength-4 .segment.active {
  362. -fx-background-color: GREEN_3;
  363. }
  364. /*******************************************************************************
  365. * *
  366. * Tooltip *
  367. * *
  368. ******************************************************************************/
  369. .tooltip {
  370. -fx-font-family: 'Open Sans';
  371. -fx-text-fill: TEXT_FILL;
  372. -fx-font-size: 0.8em;
  373. -fx-background-color: CONTROL_BG_NORMAL;
  374. -fx-padding: 0.2em 0.4em 0.2em 0.4em;
  375. -fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.5), 2, 0, 0, 0);
  376. }
  377. /*******************************************************************************
  378. * *
  379. * Text Fields *
  380. * *
  381. ******************************************************************************/
  382. .text-input {
  383. -fx-cursor: text;
  384. -fx-text-fill: TEXT_FILL;
  385. -fx-highlight-fill: PRIMARY;
  386. -fx-prompt-text-fill: TEXT_FILL_MUTED;
  387. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
  388. -fx-background-insets: 0, 1px;
  389. -fx-background-radius: 4px;
  390. -fx-padding: 0.3em 0.5em 0.3em 0.5em;
  391. }
  392. .text-input:focused {
  393. -fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
  394. }
  395. .text-input:disabled {
  396. -fx-text-fill: TEXT_FILL_MUTED;
  397. -fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
  398. }
  399. .nice-secure-password-field .secure-password-field {
  400. -fx-padding: 0.3em 48px 0.3em 0.5em;
  401. }
  402. .nice-secure-password-field .icons {
  403. -fx-width: 42px;
  404. -fx-padding: 4px 6px 4px 0;
  405. }
  406. /*******************************************************************************
  407. * *
  408. * Text Areas *
  409. * *
  410. ******************************************************************************/
  411. .text-area {
  412. -fx-cursor: default;
  413. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
  414. -fx-background-insets: 0, 1px;
  415. -fx-background-radius: 4px;
  416. -fx-padding: 0;
  417. }
  418. .text-input:focused {
  419. -fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
  420. }
  421. .text-input:disabled {
  422. -fx-text-fill: TEXT_FILL_MUTED;
  423. -fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
  424. }
  425. .text-area > .scroll-pane > .scroll-bar {
  426. -fx-padding: 2px;
  427. }
  428. .text-area .content {
  429. -fx-padding: 0.2em 0.5em 0.2em 0.5em;
  430. -fx-cursor: text;
  431. -fx-text-fill: TEXT_FILL;
  432. -fx-highlight-fill: PRIMARY;
  433. -fx-prompt-text-fill: TEXT_FILL_MUTED;
  434. -fx-background-color: null;
  435. }
  436. /*******************************************************************************
  437. * *
  438. * Buttons *
  439. * *
  440. ******************************************************************************/
  441. .button {
  442. -fx-text-fill: TEXT_FILL;
  443. -fx-alignment: CENTER;
  444. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
  445. -fx-background-insets: 0, 1px;
  446. -fx-background-radius: 4px;
  447. -fx-padding: 0.3em 1em 0.3em 1em;
  448. -fx-graphic-text-gap: 6px;
  449. }
  450. .button:focused {
  451. -fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
  452. }
  453. .button:armed {
  454. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED;
  455. }
  456. .button:default {
  457. -fx-text-fill: white;
  458. -fx-background-color: CONTROL_PRIMARY_BORDER_NORMAL, CONTROL_PRIMARY_BG_NORMAL;
  459. }
  460. .button:default:focused {
  461. -fx-background-color: CONTROL_PRIMARY_BORDER_FOCUSED, CONTROL_PRIMARY_BG_NORMAL;
  462. }
  463. .button:default:armed {
  464. -fx-background-color: CONTROL_PRIMARY_BORDER_ARMED, CONTROL_PRIMARY_BG_ARMED;
  465. }
  466. .button:disabled,
  467. .button:default:disabled {
  468. -fx-text-fill: TEXT_FILL_MUTED;
  469. -fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
  470. }
  471. .button:disabled .glyph-icon {
  472. -fx-fill: TEXT_FILL_MUTED;
  473. }
  474. .button:default .glyph-icon {
  475. -fx-fill: white;
  476. }
  477. .button:default:disabled .glyph-icon {
  478. -fx-fill: TEXT_FILL_MUTED;
  479. }
  480. .button:default .label {
  481. -fx-text-fill: white;
  482. }
  483. .button-large {
  484. -fx-font-size: 1.25em;
  485. -fx-padding: 0.6em 1.5em 0.6em 1.5em;
  486. -fx-graphic-text-gap: 9px;
  487. }
  488. /*******************************************************************************
  489. * *
  490. * Hyperlinks *
  491. * *
  492. ******************************************************************************/
  493. .hyperlink {
  494. -fx-text-fill: TEXT_FILL;
  495. -fx-graphic-text-gap: 6px;
  496. }
  497. .hyperlink.hyperlink-underline {
  498. -fx-underline: true;
  499. }
  500. .hyperlink.hyperlink-muted {
  501. -fx-text-fill: TEXT_FILL_MUTED;
  502. }
  503. .hyperlink-hover-icon {
  504. -fx-content-display: text-only;
  505. }
  506. .hyperlink-hover-icon:hover {
  507. -fx-content-display: right;
  508. }
  509. /*******************************************************************************
  510. * *
  511. * CheckBox *
  512. * *
  513. ******************************************************************************/
  514. .check-box {
  515. -fx-text-fill: TEXT_FILL;
  516. -fx-label-padding: 0 0 0 6px;
  517. -fx-padding: 4px 0 4px 0;
  518. }
  519. .check-box:disabled {
  520. -fx-text-fill: TEXT_FILL_MUTED;
  521. }
  522. .check-box > .box {
  523. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
  524. -fx-background-insets: 0, 1px;
  525. -fx-background-radius: 4px;
  526. -fx-padding: 0.3em;
  527. }
  528. .check-box:focused > .box {
  529. -fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
  530. }
  531. .check-box:disabled > .box {
  532. -fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
  533. }
  534. .check-box > .box > .mark {
  535. -fx-background-color: transparent;
  536. -fx-padding: 0.4em;
  537. -fx-shape: "M-1,4, L-1,5.5 L3.5,8.5 L9,0 L9,-1 L7,-1 L3,6 L1,4 Z";
  538. }
  539. .check-box:selected > .box > .mark {
  540. -fx-background-color: TEXT_FILL;
  541. }
  542. .check-box:selected:disabled > .box > .mark {
  543. -fx-background-color: TEXT_FILL_MUTED;
  544. }
  545. /*******************************************************************************
  546. * *
  547. * RadioButton *
  548. * *
  549. ******************************************************************************/
  550. .radio-button {
  551. -fx-text-fill: TEXT_FILL;
  552. -fx-label-padding: 0 0 0 6px;
  553. -fx-padding: 4px 0 4px 0;
  554. }
  555. .radio-button > .radio {
  556. -fx-border-color: CONTROL_BORDER_NORMAL;
  557. -fx-border-radius: 1em; /* large value to make sure this remains circular */
  558. -fx-background-color: CONTROL_BG_NORMAL;
  559. -fx-background-radius: 1em;
  560. -fx-padding: 0.3em; /* padding from outside edge to the inner black dot */
  561. }
  562. .radio-button:focused > .radio {
  563. -fx-border-color: CONTROL_BORDER_FOCUSED;
  564. }
  565. .text-input:disabled > .radio {
  566. -fx-border-color: CONTROL_BORDER_DISABLED;
  567. -fx-background-color: CONTROL_BG_DISABLED;
  568. }
  569. .radio-button > .radio > .dot {
  570. -fx-background-color: transparent;
  571. -fx-background-radius: 1em; /* large value to make sure this remains circular */
  572. -fx-padding: 0.2em; /* radius of the inner black dot when selected */
  573. }
  574. .radio-button:selected > .radio > .dot {
  575. -fx-background-color: TEXT_FILL;
  576. }
  577. /*******************************************************************************
  578. * *
  579. * ChoiceBox *
  580. * *
  581. ******************************************************************************/
  582. .choice-box {
  583. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
  584. -fx-background-insets: 0, 1px;
  585. -fx-background-radius: 4px;
  586. -fx-padding: 0.3em 0.5em 0.3em 0.5em;
  587. }
  588. .choice-box:focused {
  589. -fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
  590. }
  591. .choice-box:disabled {
  592. -fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
  593. }
  594. .choice-box > .label {
  595. -fx-text-fill: TEXT_FILL;
  596. }
  597. .choice-box:disabled > .label {
  598. -fx-text-fill: TEXT_FILL_MUTED;
  599. }
  600. .choice-box > .open-button {
  601. -fx-padding: 0 0 0 0.3em;
  602. }
  603. .choice-box > .open-button > .arrow {
  604. -fx-background-color: transparent, TEXT_FILL;
  605. -fx-background-insets: 0 0 -1 0, 0;
  606. -fx-padding: 0.15em 0.3em 0.15em 0.3em;
  607. -fx-shape: "M 0 0 h 7 l -3.5 4 z";
  608. }
  609. .choice-box:disabled > .open-button > .arrow {
  610. -fx-background-color: transparent, TEXT_FILL_MUTED;
  611. }
  612. .choice-box .context-menu {
  613. -fx-translate-x: -1.4em;
  614. }
  615. /*******************************************************************************
  616. * *
  617. * ContextMenu *
  618. * *
  619. ******************************************************************************/
  620. .context-menu {
  621. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
  622. -fx-background-insets: 0, 1px;
  623. -fx-background-radius: 4px;
  624. -fx-padding: 0.2em 0 0.2em 0;
  625. -fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.2), 8, 0, 0, 0);
  626. }
  627. /*******************************************************************************
  628. * *
  629. * MenuItem *
  630. * *
  631. ******************************************************************************/
  632. .menu-item {
  633. -fx-padding: 0.2em 0.4em 0.2em 0.4em;
  634. }
  635. .menu-item:focused {
  636. -fx-background-color: transparent, CONTROL_BG_ARMED;
  637. -fx-background-insets: 0, 0 1px 0 1px;
  638. }
  639. .menu-item:disabled {
  640. -fx-background-color: transparent;
  641. }
  642. .menu-item > .left-container {
  643. -fx-padding: 0.5em 0.25em 0.5em 0.5em;
  644. }
  645. .menu-item > .label {
  646. -fx-padding: 1px 0.5em 1px 0.5em;
  647. }
  648. .menu-item:disabled > .label {
  649. -fx-text-fill: TEXT_FILL_MUTED;
  650. }
  651. .radio-menu-item:checked > .left-container > .radio {
  652. -fx-background-color: TEXT_FILL;
  653. -fx-shape: "M-1,4, L-1,5.5 L3.5,8.5 L9,0 L9,-1 L7,-1 L3,6 L1,4 Z";
  654. -fx-scale-shape: false;
  655. }
  656. /*******************************************************************************
  657. * *
  658. * Add Vault - MenuItem *
  659. * *
  660. ******************************************************************************/
  661. .add-vault-menu-item {
  662. -fx-padding: 4px 8px;
  663. }
  664. /*******************************************************************************
  665. * *
  666. * ProgressBar *
  667. * *
  668. ******************************************************************************/
  669. .progress-bar {
  670. -fx-indeterminate-bar-length: 100;
  671. -fx-indeterminate-bar-escape: true;
  672. -fx-indeterminate-bar-flip: true;
  673. -fx-indeterminate-bar-animation-time: 2;
  674. }
  675. .progress-bar > .bar {
  676. -fx-background-color: CONTROL_PRIMARY_BG_NORMAL;
  677. -fx-background-radius: 4px;
  678. -fx-padding: 1em 0.5em;
  679. }
  680. .progress-bar:indeterminate > .bar {
  681. -fx-background-color: linear-gradient(to left, transparent, CONTROL_PRIMARY_BG_NORMAL);
  682. }
  683. .progress-bar > .track {
  684. -fx-background-color: PROGRESS_BAR_BG;
  685. -fx-background-radius: 4px;
  686. }
  687. /*******************************************************************************
  688. * *
  689. * I/O Statistics *
  690. * *
  691. ******************************************************************************/
  692. .cache-arc-background {
  693. -fx-fill: transparent;
  694. -fx-stroke: MUTED_BG;
  695. -fx-stroke-type: centered;
  696. -fx-stroke-width: 12;
  697. -fx-stroke-line-cap: butt;
  698. }
  699. .cache-arc-foreground {
  700. -fx-fill: transparent;
  701. -fx-stroke: PRIMARY;
  702. -fx-stroke-type: centered;
  703. -fx-stroke-width: 12;
  704. -fx-stroke-line-cap: butt;
  705. }
  706. .chart.io-stats {
  707. -fx-padding: 10px;
  708. -fx-horizontal-grid-lines-visible: false;
  709. -fx-horizontal-zero-line-visible: false;
  710. -fx-vertical-grid-lines-visible: false;
  711. -fx-vertical-zero-line-visible: false;
  712. }
  713. .axis.io-stats {
  714. -fx-tick-mark-visible: false;
  715. -fx-minor-tick-visible: false;
  716. -fx-tick-labels-visible: false;
  717. }
  718. .chart-plot-background {
  719. -fx-background-color: transparent;
  720. }
  721. .chart-vertical-zero-line,
  722. .chart-horizontal-zero-line,
  723. .chart-alternative-row-fill {
  724. -fx-stroke: transparent;
  725. -fx-stroke-width: 0;
  726. }
  727. .default-color0.chart-series-area-line {
  728. -fx-stroke: PRIMARY;
  729. }
  730. .default-color0.chart-series-area-fill {
  731. -fx-fill: linear-gradient(to bottom, PRIMARY, transparent);
  732. -fx-stroke: transparent;
  733. }
  734. /*******************************************************************************
  735. * *
  736. * Drag and Drop *
  737. * *
  738. ******************************************************************************/
  739. .drag-n-drop-border {
  740. -fx-border-color: SECONDARY;
  741. -fx-border-width: 3px;
  742. }
  743. .button.drag-n-drop {
  744. -fx-background-color: CONTROL_BG_NORMAL;
  745. -fx-background-insets: 0;
  746. -fx-padding: 1.4em 1em 1.4em 1em;
  747. -fx-text-fill: TEXT_FILL_MUTED;
  748. -fx-font-size: 0.8em;
  749. -fx-border-color: CONTROL_BORDER_NORMAL;
  750. -fx-border-radius: 4px;
  751. -fx-border-style: dashed inside;
  752. -fx-border-width: 1px;
  753. }
  754. .button.drag-n-drop:focused {
  755. -fx-border-color: CONTROL_BORDER_FOCUSED;
  756. }
  757. .button.drag-n-drop:armed {
  758. -fx-background-color: CONTROL_BG_ARMED;
  759. }
  760. .button.drag-n-drop.active {
  761. -fx-border-color: SECONDARY;
  762. -fx-border-style: solid inside;
  763. -fx-border-width: 1px;
  764. }
  765. /*******************************************************************************
  766. * *
  767. * Separator *
  768. * *
  769. ******************************************************************************/
  770. .separator {
  771. -fx-padding: 0.5px;
  772. -fx-background-color: CONTROL_BORDER_NORMAL;
  773. }
  774. /*******************************************************************************
  775. * *
  776. * Ad box *
  777. * *
  778. ******************************************************************************/
  779. .ad-box {
  780. -fx-padding: 12px;
  781. -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
  782. -fx-background-insets: 0, 1px;
  783. -fx-background-radius: 4px;
  784. }