datalist.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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: #ffffff;
  11. border-style: solid;
  12. border-width: 0 0 1px 0;
  13. border-color: #ddd;
  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: #444;
  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: #ddd;
  88. }
  89. .m-list li>a:hover {
  90. background: #E6E6E6;
  91. color: #444;
  92. }
  93. .m-list .m-list-group {
  94. padding: 0 4px;
  95. }