dark_theme.css 27 KB

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