light_theme.css 26 KB

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