css.wcss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "contentNode": {
  3. "width": "100%",
  4. "height": "100%",
  5. "overflow": "hidden",
  6. "background-color": "#2a2a2a"
  7. },
  8. "gameNode":{
  9. "width": "360px",
  10. "height": "420px",
  11. "margin": "4px auto 10px auto",
  12. "border": "3px solid #666",
  13. "border-radius": "3px"
  14. },
  15. "inforNode":{
  16. "width": "360px",
  17. "height": "30px",
  18. "margin": "auto",
  19. "line-height": "30px",
  20. "color": "#EEE",
  21. "font-family": "Cooper Black",
  22. "font-size": "16px"
  23. },
  24. "scoreNode": {
  25. "float": "left",
  26. "line-height": "30px"
  27. },
  28. "levelNode": {
  29. "float": "right",
  30. "line-height": "30px"
  31. },
  32. "logoNode":{
  33. "margin": "80px auto 40px auto" ,
  34. "width": "251px",
  35. "height": "82px",
  36. "background-image": "url("+"/x_component_Snake/$Main/default/snake_bg.png)"
  37. },
  38. "beginNode": {
  39. "margin": "20px auto 20px auto",
  40. "width": "180px",
  41. "height": "40px",
  42. "color": "#EEE",
  43. "text-align": "center",
  44. "line-height": "40px",
  45. "font-size": "36px",
  46. "font-family": "Cooper Black",
  47. "cursor": "pointer"
  48. },
  49. "timerNode": {
  50. "font-size": "48px",
  51. "color": "#EEE",
  52. "font-family": "Cooper Black",
  53. "width": "80px",
  54. "height": "80px",
  55. "line-height": "80px",
  56. "text-align": "center",
  57. "position": "absolute"
  58. },
  59. "eatPointNode": {
  60. "width": "8px",
  61. "height": "8px",
  62. "border": "1px solid #2a2a2a",
  63. "background-color": "#ff5353",
  64. "font-size": "8px",
  65. "line-height": "8px",
  66. "position": "absolute"
  67. },
  68. "snakePointNode": {
  69. "width": "8px",
  70. "height": "8px",
  71. "border": "1px solid #2a2a2a",
  72. "background-color": "#EEE",
  73. "position": "absolute"
  74. },
  75. "pauseMarkNode": {
  76. "width": "360px",
  77. "height": "420px",
  78. "opacity": 0.7,
  79. "background-color": "#000",
  80. "position": "absolute"
  81. },
  82. "playNode": {
  83. "width": "72px",
  84. "height": "72px",
  85. "background": "url("+"/x_component_Snake/$Main/default/pause.png) no-repeat center center",
  86. "position": "absolute",
  87. "cursor": "pointer"
  88. },
  89. "gemeOverMarkNode": {
  90. "width": "360px",
  91. "height": "420px",
  92. "opacity": 0.7,
  93. "background-color": "#000",
  94. "position": "absolute"
  95. },
  96. "gameOverNode": {
  97. "width": "300px",
  98. "height": "70px",
  99. "position": "absolute",
  100. "font-size": "42px",
  101. "color": "#FFF",
  102. "font-family": "Cooper Black",
  103. "text-align": "center"
  104. },
  105. "replayNode": {
  106. "width": "300px",
  107. "height": "70px",
  108. "line-height": "70px",
  109. "position": "absolute",
  110. "font-size": "32px",
  111. "color": "#EEE",
  112. "font-family": "Cooper Black",
  113. "text-align": "center",
  114. "cursor": "pointer"
  115. }
  116. }