Light83

Default GSS (OpenComputer LanteaCraft)

Apr 19th, 2017
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. /* default style for gml gui library */
  2.  
  3. * {
  4. fill-ch: " ";
  5.  
  6. border: false;
  7. border-top: false;
  8. border-bottom: false;
  9. border-left: false;
  10. border-right: false;
  11.  
  12. border-color-fg: 0xffffff;
  13. border-color-bg: 0xb4b4b4;
  14. border-ch-top: U+2550;
  15. border-ch-bottom: U+2550;
  16. border-ch-left: U+2551;
  17. border-ch-right: U+2551;
  18. border-ch-topleft: U+2554;
  19. border-ch-bottomleft: U+255a;
  20. border-ch-topright: U+2557;
  21. border-ch-bottomright: U+255d;
  22.  
  23. }
  24.  
  25.  
  26. gui {
  27. border: true;
  28. border-top: true;
  29. border-bottom: true;
  30. border-left: true;
  31. border-right: true;
  32.  
  33. fill-color-fg: 0xffffff;
  34. fill-color-bg: 0xb4b4b4;
  35. fill-ch: " ";
  36.  
  37. border-color-fg: 0xffffff;
  38. border-color-bg: 0xb4b4b4;
  39. border-ch-top: U+2550;
  40. border-ch-bottom: U+2550;
  41. border-ch-left: U+2551;
  42. border-ch-right: U+2551;
  43. border-ch-topleft: U+2554;
  44. border-ch-bottomleft: U+255a;
  45. border-ch-topright: U+2557;
  46. border-ch-bottomright: U+255d;
  47. }
  48.  
  49. label {
  50. text-color: 0x000000;
  51. text-background: 0xb4b4b4;
  52. }
  53.  
  54. label.error {
  55. text-color: 0xff0000;
  56. }
  57.  
  58. label.error!1 {
  59. text-color:0x000000;
  60. text-background: 0xffffff
  61. }
  62.  
  63. button {
  64. text-color: 0xffffff;
  65. text-background: 0x000080;
  66. fill-color-fg: 0xb4b4b4;
  67. fill-color-bg: 0x000080;
  68. border: false;
  69. border-left: false;
  70. border-right: false;
  71. border-top: false;
  72. border-bottom: false;
  73. border-color-bg: 0x000080;
  74. border-color-fg: 0xb4b4b4;
  75. border-ch-left: "[";
  76. border-ch-right: "]";
  77. }
  78.  
  79. button:focus {
  80. text-color: 0xffffff;
  81. text-background: 0x0000ff;
  82. fill-color-fg: 0xffffff;
  83. fill-color-bg: 0x0000ff;
  84. border-color-bg: 0x0000ff;
  85. border-color-fg: 0xffffff;
  86. border: true;
  87. border-left: true;
  88. border-right: true;
  89. }
  90.  
  91. textfield, textbox {
  92. selected-color: 0xffffff;
  93. selected-background: 0x0000ff;
  94. text-color: 0xffffff;
  95. text-background: 0x5a5a5a;
  96. }
  97.  
  98.  
  99. textbox:focus, textfield:focus {
  100. text-color: 0xffffff;
  101. text-background: 0x000000;
  102. }
  103.  
  104.  
  105. scrollbar {
  106. button-color-fg: 0xffffff;
  107. button-color-bg: 0x0000ff;
  108. button-ch-up: U+25b2;
  109. button-ch-down: U+25bc;
  110. button-ch-left: U+25c4;
  111. button-ch-right: U+25ba;
  112. grip-ch-v: U+2261;
  113. grip-ch-h: "|";
  114. bar-ch: U+2592;
  115. bar-color-fg: 0xffffff;
  116. bar-color-bg: 0x000080;
  117. grip-color-fg: 0xffffff;
  118. grip-color-bg: 0x000080;
  119. }
  120.  
  121. listbox {
  122. border:true;
  123. border-top:true;
  124. border-left:true;
  125. border-bottom:true;
  126. border-color-fg: 0xffffff;
  127. border-color-bg: 0x000080;
  128. }
  129.  
  130. listbox:focus {
  131. border-color-fg: 0xffffff;
  132. border-color-bg: 0x0000FF;
  133.  
  134. }
  135.  
  136. label.listbox:selected {
  137. text-color: 0xffffff;
  138. text-background: 0x0000ff;
  139.  
  140. }
  141.  
  142.  
  143. /*one-bit styles*/
  144. *!1 {
  145. text-color:0xffffff;
  146. text-background:0x000000;
  147.  
  148. border-color-fg: 0;
  149. border-color-bg: 0xffffff;
  150.  
  151. fill-color-fg: 0xffffff;
  152. fill-color-bg: 0x000000;
  153.  
  154. button-color-fg: 0x000000;
  155. button-color-bg: 0xffffff;
  156. bar-color-fg: 0xffffff;
  157. bar-color-bg: 0x000000;
  158. grip-color-fg: 0x000000;
  159. grip-color-bg: 0xffffff;
  160.  
  161. }
  162.  
  163. listbox!1 {
  164. border-color-fg: 0xffffff;
  165. border-color-bg: 0x000000;
  166. }
  167. listbox:focus!1 {
  168. border-color-fg: 0x000000;
  169. border-color-bg: 0xffffff;
  170. }
  171.  
  172. textfield!1 {
  173. text-color: 0x000000;
  174. text-background: 0xffffff;
  175. }
  176.  
  177. textfield:focus!1 {
  178. selected-color: 0x0;
  179. selected-background: 0xffffff;
  180. text-color: 0xffffff;
  181. text-background: 0x000000;
  182. }
  183.  
  184. button!1 {
  185. text-color:0x000000;
  186. text-background:0xffffff;
  187.  
  188. border-color-fg: 0;
  189. border-color-bg: 0xffffff;
  190.  
  191. fill-color-fg: 0x000000;
  192. fill-color-bg: 0xffffff;
  193. }
  194.  
  195. label.listbox:selected!1 {
  196. text-color: 0x000000;
  197. text-background: 0xffffff;
  198.  
  199. }
Add Comment
Please, Sign In to add comment