styles_default.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "name": "默认样式",
  3. "view": {
  4. "container" : {
  5. "height" : "100%",
  6. "overflow" : "auto",
  7. "font-size": "14px"
  8. },
  9. "table": {
  10. "margin-bottom": "20px",
  11. "width": "100%"
  12. },
  13. "titleTr":{ //viewTitleTrNode viewTitleLineNode
  14. "line-height": "40px",
  15. "height": "40px",
  16. "color": "#666666",
  17. "background-color": "#EEE"
  18. },
  19. "titleTd":{ //viewTitleColumnNode viewTitleCellNode
  20. "font-weight": "bold",
  21. "padding": "0px 10px",
  22. "border-bottom": "1px solid #CCC",
  23. "background" : "inherit"
  24. },
  25. "contentTr" : {
  26. "background": "#ffffff"
  27. },
  28. "contentSelectedTr" : {
  29. "background": "#ecf5ff"
  30. },
  31. "contentTd": {
  32. "height": "30px",
  33. "line-height": "30px",
  34. "padding": "5px 5px",
  35. "border-bottom": "1px solid #CCC"
  36. },
  37. "zebraContentTd": {
  38. "height": "30px",
  39. "line-height": "30px",
  40. "padding": "5px 5px",
  41. "border-bottom": "1px solid #CCC"
  42. },
  43. "contentGroupTd": {
  44. "padding": "5px 5px",
  45. "border-bottom": "1px solid #CCC",
  46. "font-weight": "bold",
  47. "background-color": "#F6F6F6",
  48. "cursor": "pointer"
  49. },
  50. "groupCollapseNode": {
  51. "height": "30px",
  52. "line-height": "30px",
  53. "padding-left" : "20px",
  54. "background-image": "url(../x_component_query_ViewDesigner/$View/default/icon/right.png)",
  55. "background-repeat" : "no-repeat",
  56. "background-position": "left center"
  57. },
  58. "groupExpandNode": {
  59. "height": "30px",
  60. "line-height": "30px",
  61. "padding-left" : "20px",
  62. "background-image": "url(../x_component_query_ViewDesigner/$View/default/icon/down.png)",
  63. "background-repeat" : "no-repeat",
  64. "background-position": "left center"
  65. },
  66. "checkboxNode" : {
  67. "background-image": "url(../x_component_query_Query/$Viewer/default/icon/checkbox.png)",
  68. "background-repeat" : "no-repeat",
  69. "background-position": "center center"
  70. },
  71. "checkedCheckboxNode" : {
  72. "background-image": "url(../x_component_query_Query/$Viewer/default/icon/checkbox_checked.png)",
  73. "background-repeat" : "no-repeat",
  74. "background-position": "center center"
  75. },
  76. "radioNode" : {
  77. "background-image": "url(../x_component_query_Query/$Viewer/default/icon/radiobox.png)",
  78. "background-repeat" : "no-repeat",
  79. "background-position": "center center"
  80. },
  81. "checkedRadioNode" : {
  82. "background-image": "url(../x_component_query_Query/$Viewer/default/icon/radiobox_checked.png)",
  83. "background-repeat" : "no-repeat",
  84. "background-position": "center center"
  85. },
  86. "noDataTextNode" : {
  87. "height" : "50px",
  88. "font-size" : "16px",
  89. "margin" : "20px auto",
  90. "text-align" : "center"
  91. },
  92. "tableProperties": {
  93. "width": "100%",
  94. "border": "0",
  95. "cellpadding": "0",
  96. "cellspacing": "0"
  97. }
  98. },
  99. "actionbar": {
  100. "style": "xform_blue_simple",
  101. "customIconStyle" : "",
  102. "forceStyles" : {
  103. "container" : {
  104. "width" : "100%",
  105. "border-top" : "0px",
  106. "border-bottom" : "1px solid #4a90e2"
  107. }
  108. }
  109. },
  110. "paging" : {
  111. "style" : "blue_round",
  112. "style_rect" : "default",
  113. "style_round" : "blue_round"
  114. }
  115. }