You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
2.4 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. .row {
  2. @include clear-fix-after();
  3. &:before {
  4. clear:both;
  5. content:'';
  6. }
  7. margin:0 -15px;
  8. }
  9. @for $i from 1 to 13 {
  10. .col-sm-#{$i},
  11. .col-xs-#{$i},
  12. .col-md-#{$i},
  13. .col-lg-#{$i}{
  14. float:left;
  15. min-height:1px;
  16. width: ( $i / 12 * 100% );
  17. padding:0 15px;
  18. }
  19. }
  20. .grid {
  21. margin:0;
  22. padding:0;
  23. position:relative;
  24. background:transparent;
  25. border:0px;
  26. table {
  27. border-collapse: collapse;
  28. border-spacing: 0;
  29. border: 0 none;
  30. width: 100%;
  31. height: 100%;
  32. thead {
  33. tr {
  34. -webkit-user-select: none;
  35. -moz-user-select: none;
  36. -ms-user-select: none;
  37. user-select: none;
  38. margin: 0;
  39. padding: 0;
  40. position: relative;
  41. overflow: hidden;
  42. background-color: #fafafa;
  43. border: 0px none;
  44. color: #282828;
  45. th {
  46. box-sizing: border-box;
  47. overflow: hidden;
  48. position: relative;
  49. padding: 5px;
  50. text-align:center;
  51. border:1px solid #ddd;
  52. font-weight:400;
  53. font-size:12px;
  54. line-height:(16em / 12);
  55. }
  56. }
  57. }
  58. tbody {
  59. tr {
  60. border-bottom: 0 none;
  61. background:transparent;
  62. &.active {
  63. td {
  64. background-color:#fafafa;
  65. }
  66. }
  67. td {
  68. padding:5px 10px;
  69. background-color:#fff;
  70. border:1px solid #ddd;
  71. font-weight:300;
  72. font-size:12px;
  73. line-height:(16em / 12);
  74. &.empty {
  75. height:300px;
  76. vertical-align: middle;
  77. text-align:center;
  78. }
  79. }
  80. }
  81. }
  82. tfoot {
  83. tr {
  84. -webkit-user-select: none;
  85. -moz-user-select: none;
  86. -ms-user-select: none;
  87. user-select: none;
  88. margin: 0;
  89. padding: 0;
  90. position: relative;
  91. overflow: hidden;
  92. background-color: #f9f9f9;
  93. border:1px solid #ddd;
  94. color: #282828;
  95. td {
  96. box-sizing: border-box;
  97. overflow: hidden;
  98. position: relative;
  99. padding: 10px;
  100. border:1px solid #ddd;
  101. height:38px;
  102. text-align:center;
  103. &:last-child {
  104. border-right:0px;
  105. }
  106. }
  107. &:last-child {
  108. td {
  109. border-bottom:0px;
  110. }
  111. }
  112. }
  113. }
  114. }
  115. }
  116. .grid-wrapper {
  117. position:relative;
  118. .grid-container {
  119. height:100%;
  120. }
  121. }