datalist.css 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .datalist .datagrid-header {
  2. border-width: 0;
  3. }
  4. .datalist .datagrid-group,
  5. .m-list .m-list-group {
  6. height: 25px;
  7. line-height: 25px;
  8. font-weight: bold;
  9. overflow: hidden;
  10. background-color: #fafafa;
  11. border-style: solid;
  12. border-width: 0 0 1px 0;
  13. border-color: #ccc;
  14. }
  15. .datalist .datagrid-group-expander {
  16. display: none;
  17. }
  18. .datalist .datagrid-group-title {
  19. padding: 0 4px;
  20. }
  21. .datalist .datagrid-btable {
  22. width: 100%;
  23. table-layout: fixed;
  24. }
  25. .datalist .datagrid-row td {
  26. border-style: solid;
  27. border-left-color: transparent;
  28. border-right-color: transparent;
  29. border-bottom-width: 0;
  30. }
  31. .datalist-lines .datagrid-row td {
  32. border-bottom-width: 1px;
  33. }
  34. .datalist .datagrid-cell,
  35. .m-list li {
  36. width: auto;
  37. height: auto;
  38. padding: 2px 4px;
  39. line-height: 18px;
  40. position: relative;
  41. white-space: nowrap;
  42. text-overflow: ellipsis;
  43. overflow: hidden;
  44. }
  45. .datalist-link,
  46. .m-list li>a {
  47. display: block;
  48. position: relative;
  49. cursor: pointer;
  50. color: #000000;
  51. text-decoration: none;
  52. overflow: hidden;
  53. margin: -2px -4px;
  54. padding: 2px 4px;
  55. padding-right: 16px;
  56. line-height: 18px;
  57. white-space: nowrap;
  58. text-overflow: ellipsis;
  59. overflow: hidden;
  60. }
  61. .datalist-link::after,
  62. .m-list li>a::after {
  63. position: absolute;
  64. display: block;
  65. width: 8px;
  66. height: 8px;
  67. content: '';
  68. right: 6px;
  69. top: 50%;
  70. margin-top: -4px;
  71. border-style: solid;
  72. border-width: 1px 1px 0 0;
  73. -ms-transform: rotate(45deg);
  74. -moz-transform: rotate(45deg);
  75. -webkit-transform: rotate(45deg);
  76. -o-transform: rotate(45deg);
  77. transform: rotate(45deg);
  78. }
  79. .m-list {
  80. margin: 0;
  81. padding: 0;
  82. list-style: none;
  83. }
  84. .m-list li {
  85. border-style: solid;
  86. border-width: 0 0 1px 0;
  87. border-color: #ccc;
  88. }
  89. .m-list li>a:hover {
  90. background: #e2e2e2;
  91. color: #000000;
  92. }
  93. .m-list .m-list-group {
  94. padding: 0 4px;
  95. }