Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2016
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. <constants>
  2. @c_my_window: $AB8778;
  3. @c_my_border: $391506;
  4. @c_my_button: $552916;
  5. </constants>
  6. <styles>
  7. overlay:
  8. {
  9. width: max;
  10. height: max;
  11. background: $000000;
  12. background-alpha: 0.5;
  13. }
  14. center-container:
  15. {
  16. center: true;
  17. width: max;
  18. height: min;
  19. }
  20. window:
  21. {
  22. background: @c_my_window;
  23. border-size: 3;
  24. border-color: @c_my_border;
  25. center: true;
  26. width: 300;
  27. height: max;
  28. }
  29. close:
  30. {
  31.  
  32. }
  33.  
  34. input:
  35. {
  36. width: max;
  37. font: @f_text;
  38. background: $FFFFFF;
  39. height: min;
  40. margin: 10;
  41. height: 40;
  42.  
  43. password:
  44. {
  45. password: true;
  46. }
  47. }
  48. title:
  49. {
  50. font: @f_title;
  51. }
  52. button:
  53. {
  54. margin: 10;
  55. background: @c_my_button;
  56. border-color: @c_my_border;
  57. border-size: 3;
  58. color: $FFFFFF;
  59. width: max;
  60. height: 48;
  61. font: @f_text;
  62. }
  63. </styles>
  64. <layout>
  65. <canvas style[overlay]>
  66. <canvas style[window]>
  67. <container style[center-container]>
  68. <label style[title] name[login.error]>LOGIN</label>
  69. <textbox style[input] name[login.username] />
  70. <textbox style[input, input.password] name[login.password] />
  71. <button style[button] name[login.login]>Login</button>
  72. <button style[button] name[login.register]>Register</button>
  73. <button style[close] name[login.close]></button>
  74. </container>
  75. </canvas>
  76. </canvas>
  77. </layout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement