You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

342 lines
7.0 KiB

  1. .root {
  2. -fx-font-family: Roboto;
  3. src: "/resources/roboto/Roboto-Regular.ttf";
  4. }
  5. /* Burgers Demo */
  6. .jfx-hamburger {
  7. -fx-spacing: 5;
  8. -fx-cursor: hand;
  9. }
  10. .jfx-hamburger StackPane {
  11. -fx-pref-width: 40px;
  12. -fx-pref-height: 7px;
  13. -fx-background-color: #D63333;
  14. -fx-background-radius: 5px;
  15. }
  16. /* Input Demo */
  17. .text-field {
  18. -fx-max-width: 300;
  19. }
  20. .jfx-text-field, .jfx-password-field {
  21. -fx-background-color: WHITE;
  22. -fx-font-weight: BOLD;
  23. -fx-prompt-text-fill: #808080;
  24. -fx-alignment: top-left;
  25. -jfx-focus-color: #4059A9;
  26. -jfx-unfocus-color: #4d4d4d;
  27. -fx-max-width: 300;
  28. }
  29. .jfx-decorator {
  30. -fx-decorator-color: RED;
  31. }
  32. .jfx-decorator .jfx-decorator-buttons-container {
  33. -fx-background-color: -fx-decorator-color;
  34. }
  35. .jfx-decorator .resize-border {
  36. -fx-border-color: -fx-decorator-color;
  37. -fx-border-width: 0 4 4 4;
  38. }
  39. .jfx-text-area, .text-area {
  40. -fx-font-weight: BOLD;
  41. }
  42. .jfx-text-field:error, .jfx-password-field:error, .jfx-text-area:error {
  43. -jfx-focus-color: #D34336;
  44. -jfx-unfocus-color: #D34336;
  45. }
  46. .jfx-text-field .error-label, .jfx-password-field .error-label, .jfx-text-area .error-label {
  47. -fx-text-fill: #D34336;
  48. -fx-font-size: 0.75em;
  49. }
  50. .jfx-text-field .error-icon, .jfx-password-field .error-icon, .jfx-text-area .error-icon {
  51. -fx-text-fill: #D34336;
  52. -fx-font-size: 1em;
  53. }
  54. /* Progress Bar Demo */
  55. .progress-bar > .bar {
  56. -fx-min-width: 500;
  57. }
  58. .jfx-progress-bar > .bar {
  59. -fx-min-width: 500;
  60. }
  61. .jfx-progress-bar {
  62. -fx-progress-color: #0F9D58;
  63. -fx-stroke-width: 3;
  64. }
  65. /* Icons Demo */
  66. .icon {
  67. -fx-text-fill: #FE774D;
  68. -fx-padding: 10;
  69. -fx-cursor: hand;
  70. }
  71. .icons-rippler {
  72. -jfx-rippler-fill: BLUE;
  73. -jfx-mask-type: CIRCLE;
  74. }
  75. .icons-rippler:hover {
  76. -fx-cursor: hand;
  77. }
  78. .jfx-check-box {
  79. -fx-font-weight: BOLD;
  80. }
  81. .custom-jfx-check-box {
  82. -jfx-checked-color: RED;
  83. -jfx-unchecked-color: BLACK;
  84. }
  85. /* Button */
  86. .button {
  87. -fx-padding: 0.7em 0.57em;
  88. -fx-font-size: 14px;
  89. }
  90. .button-raised {
  91. -fx-padding: 0.7em 0.57em;
  92. -fx-font-size: 14px;
  93. -jfx-button-type: RAISED;
  94. -fx-background-color: rgb(77, 102, 204);
  95. -fx-pref-width: 200;
  96. -fx-text-fill: WHITE;
  97. }
  98. /* The main scrollbar **track** CSS class */
  99. .mylistview .scroll-bar:horizontal .track,
  100. .mylistview .scroll-bar:vertical .track {
  101. -fx-background-color: transparent;
  102. -fx-border-color: transparent;
  103. -fx-background-radius: 0em;
  104. -fx-border-radius: 2em;
  105. }
  106. /* The increment and decrement button CSS class of scrollbar */
  107. .mylistview .scroll-bar:horizontal .increment-button,
  108. .mylistview .scroll-bar:horizontal .decrement-button {
  109. -fx-background-color: transparent;
  110. -fx-background-radius: 0em;
  111. -fx-padding: 0 0 10 0;
  112. }
  113. /* The increment and decrement button CSS class of scrollbar */
  114. .mylistview .scroll-bar:vertical .increment-button,
  115. .mylistview .scroll-bar:vertical .decrement-button {
  116. -fx-background-color: transparent;
  117. -fx-background-radius: 0em;
  118. -fx-padding: 0 10 0 0;
  119. }
  120. .mylistview .scroll-bar .increment-arrow,
  121. .mylistview .scroll-bar .decrement-arrow {
  122. -fx-shape: " ";
  123. -fx-padding: 0;
  124. }
  125. /* The main scrollbar **thumb** CSS class which we drag every time (movable) */
  126. .mylistview .scroll-bar:horizontal .thumb,
  127. .mylistview .scroll-bar:vertical .thumb {
  128. -fx-background-color: derive(black, 90%);
  129. -fx-background-insets: 2, 0, 0;
  130. -fx-background-radius: 2em;
  131. }
  132. .jfx-list-cell-container {
  133. -fx-alignment: center-left;
  134. }
  135. .jfx-list-cell-container > .label {
  136. -fx-text-fill: BLACK;
  137. }
  138. .jfx-list-cell:odd:selected > .jfx-rippler > StackPane, .jfx-list-cell:even:selected > .jfx-rippler > StackPane {
  139. -fx-background-color: rgba(0, 0, 255, 0.2);
  140. }
  141. .jfx-list-cell {
  142. -fx-background-insets: 0.0;
  143. -fx-text-fill: BLACK;
  144. }
  145. .jfx-list-cell:odd, .jfx-list-cell:even {
  146. -fx-background-color: WHITE;
  147. }
  148. .jfx-list-cell:filled:hover {
  149. -fx-text-fill: black;
  150. }
  151. .jfx-list-cell .jfx-rippler {
  152. -jfx-rippler-fill: BLUE;
  153. }
  154. .jfx-list-view {
  155. -fx-background-insets: 0;
  156. -jfx-cell-horizontal-margin: 0.0;
  157. -jfx-cell-vertical-margin: 5.0;
  158. -jfx-vertical-gap: 10;
  159. -jfx-expanded: false;
  160. -fx-pref-width: 200;
  161. }
  162. .jfx-toggle-button {
  163. -jfx-toggle-color: RED;
  164. }
  165. .jfx-tool-bar {
  166. -fx-font-size: 20;
  167. -fx-font-weight: BOLD;
  168. -fx-background-color: #5264AE;
  169. -fx-pref-width: 100%;
  170. -fx-pref-height: 64px;
  171. }
  172. .jfx-tool-bar HBox {
  173. -fx-alignment: center;
  174. -fx-spacing: 25;
  175. -fx-padding: 0 10;
  176. }
  177. .jfx-tool-bar Label {
  178. -fx-text-fill: WHITE;
  179. }
  180. .jfx-popup-container {
  181. -fx-background-color: WHITE;
  182. }
  183. .jfx-snackbar-content {
  184. -fx-background-color: #323232;
  185. -fx-padding: 5;
  186. -fx-spacing: 5;
  187. }
  188. .jfx-snackbar-toast {
  189. -fx-text-fill: WHITE;
  190. }
  191. .jfx-snackbar-action {
  192. -fx-text-fill: #ff4081;
  193. }
  194. .jfx-list-cell-content-container {
  195. -fx-alignment: center-left;
  196. }
  197. .jfx-list-cell-container .label {
  198. -fx-text-fill: BLACK;
  199. }
  200. .combo-box-popup .list-view .jfx-list-cell:odd:selected .jfx-list-cell-container,
  201. .combo-box-popup .list-view .jfx-list-cell:even:selected .jfx-list-cell-container {
  202. -fx-background-color: rgba(0.0, 0.0, 255.0, 0.2);
  203. }
  204. .combo-box-popup .list-view .jfx-list-cell {
  205. -fx-background-insets: 0.0;
  206. -fx-text-fill: BLACK;
  207. }
  208. .combo-box-popup .list-view .jfx-list-cell:odd,
  209. .combo-box-popup .list-view .jfx-list-cell:even {
  210. -fx-background-color: WHITE;
  211. }
  212. .combo-box-popup .list-view .jfx-list-cell:filled:hover {
  213. -fx-text-fill: black;
  214. }
  215. /*.combo-box .combo-box-button-container{
  216. -fx-border-color:BLACK;-fx-border-width: 0 0 1 0;
  217. }
  218. .combo-box .combo-box-selected-value-container{
  219. -fx-border-color:BLACK;
  220. } */
  221. /*
  222. * TREE TABLE CSS
  223. */
  224. .tree-table-view {
  225. -fx-tree-table-color: rgba(255, 0, 0, 0.2);
  226. -fx-tree-table-rippler-color: rgba(255, 0, 0, 0.4);
  227. }
  228. .tree-table-view .jfx-text-field{
  229. -fx-background-color: transparent;
  230. }
  231. .animated-option-button {
  232. -fx-background-color: #F1F1F1;
  233. -fx-background-radius: 50px;
  234. -fx-pref-height: 50px;
  235. -fx-pref-width: 50px;
  236. -fx-min-width: -fx-pref-width;
  237. -fx-max-width: -fx-pref-width;
  238. -fx-min-height: -fx-pref-height;
  239. -fx-max-height: -fx-pref-height;
  240. -jfx-button-type: RAISED;
  241. }
  242. .animated-option-button .jfx-rippler{
  243. -jfx-rippler-fill: rgb(113, 118, 114);
  244. }
  245. .sub-icon{
  246. -fx-fill: rgb(113, 118, 114);
  247. }
  248. .main-button {
  249. -fx-pref-width: 60px;
  250. -fx-background-color: #0F9D58;
  251. -fx-background-radius: 60px;
  252. -fx-pref-height: 60px;
  253. -fx-min-width: -fx-pref-width;
  254. -fx-max-width: -fx-pref-width;
  255. -fx-min-height: -fx-pref-height;
  256. -fx-max-height: -fx-pref-height;
  257. -jfx-button-type: RAISED;
  258. }
  259. .main-button .jfx-rippler{
  260. -jfx-rippler-fill: rgba(255,255,255, .87);
  261. }
  262. .main-icon{
  263. -fx-fill: rgba(255,255,255, .87);
  264. }
  265. .animated-option-sub-button {
  266. -fx-background-color: #43609C;
  267. }
  268. .animated-option-sub-button2 {
  269. -fx-background-color: rgb(203, 104, 96);
  270. }
  271. .tree-table-view .menu-item:focused {
  272. -fx-background-color: -fx-tree-table-color;
  273. }
  274. .tree-table-view .menu-item .label {
  275. -fx-padding: 5 0 5 0;
  276. }