1
0

responsive.bootstrap4.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. table.dataTable.dtr-inline.collapsed > tbody > tr > td.child,
  2. table.dataTable.dtr-inline.collapsed > tbody > tr > th.child,
  3. table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty {
  4. cursor: default !important;
  5. }
  6. table.dataTable.dtr-inline.collapsed > tbody > tr > td.child:before,
  7. table.dataTable.dtr-inline.collapsed > tbody > tr > th.child:before,
  8. table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty:before {
  9. display: none !important;
  10. }
  11. table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child,
  12. table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child {
  13. position: relative;
  14. padding-left: 30px;
  15. cursor: pointer;
  16. }
  17. table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
  18. table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
  19. top: 12px;
  20. left: 4px;
  21. height: 14px;
  22. width: 14px;
  23. display: block;
  24. position: absolute;
  25. color: white;
  26. border: 2px solid white;
  27. border-radius: 14px;
  28. box-shadow: 0 0 3px #444;
  29. box-sizing: content-box;
  30. text-align: center;
  31. text-indent: 0 !important;
  32. font-family: 'Courier New', Courier, monospace;
  33. line-height: 14px;
  34. content: '+';
  35. background-color: #0275d8;
  36. }
  37. table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before,
  38. table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {
  39. content: '-';
  40. background-color: #d33333;
  41. }
  42. table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td:first-child,
  43. table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th:first-child {
  44. padding-left: 27px;
  45. }
  46. table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td:first-child:before,
  47. table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th:first-child:before {
  48. top: 5px;
  49. left: 4px;
  50. height: 14px;
  51. width: 14px;
  52. border-radius: 14px;
  53. line-height: 14px;
  54. text-indent: 3px;
  55. }
  56. table.dataTable.dtr-column > tbody > tr > td.control,
  57. table.dataTable.dtr-column > tbody > tr > th.control {
  58. position: relative;
  59. cursor: pointer;
  60. }
  61. table.dataTable.dtr-column > tbody > tr > td.control:before,
  62. table.dataTable.dtr-column > tbody > tr > th.control:before {
  63. top: 50%;
  64. left: 50%;
  65. height: 16px;
  66. width: 16px;
  67. margin-top: -10px;
  68. margin-left: -10px;
  69. display: block;
  70. position: absolute;
  71. color: white;
  72. border: 2px solid white;
  73. border-radius: 14px;
  74. box-shadow: 0 0 3px #444;
  75. box-sizing: content-box;
  76. text-align: center;
  77. text-indent: 0 !important;
  78. font-family: 'Courier New', Courier, monospace;
  79. line-height: 14px;
  80. content: '+';
  81. background-color: #0275d8;
  82. }
  83. table.dataTable.dtr-column > tbody > tr.parent td.control:before,
  84. table.dataTable.dtr-column > tbody > tr.parent th.control:before {
  85. content: '-';
  86. background-color: #d33333;
  87. }
  88. table.dataTable > tbody > tr.child {
  89. padding: 0.5em 1em;
  90. }
  91. table.dataTable > tbody > tr.child:hover {
  92. background: transparent !important;
  93. }
  94. table.dataTable > tbody > tr.child ul.dtr-details {
  95. display: inline-block;
  96. list-style-type: none;
  97. margin: 0;
  98. padding: 0;
  99. }
  100. table.dataTable > tbody > tr.child ul.dtr-details > li {
  101. border-bottom: 1px solid #efefef;
  102. padding: 0.5em 0;
  103. }
  104. table.dataTable > tbody > tr.child ul.dtr-details > li:first-child {
  105. padding-top: 0;
  106. }
  107. table.dataTable > tbody > tr.child ul.dtr-details > li:last-child {
  108. border-bottom: none;
  109. }
  110. table.dataTable > tbody > tr.child span.dtr-title {
  111. display: inline-block;
  112. min-width: 75px;
  113. font-weight: bold;
  114. }
  115. div.dtr-modal {
  116. position: fixed;
  117. box-sizing: border-box;
  118. top: 0;
  119. left: 0;
  120. height: 100%;
  121. width: 100%;
  122. z-index: 100;
  123. padding: 10em 1em;
  124. }
  125. div.dtr-modal div.dtr-modal-display {
  126. position: absolute;
  127. top: 0;
  128. left: 0;
  129. bottom: 0;
  130. right: 0;
  131. width: 50%;
  132. height: 50%;
  133. overflow: auto;
  134. margin: auto;
  135. z-index: 102;
  136. overflow: auto;
  137. background-color: #f5f5f7;
  138. border: 1px solid black;
  139. border-radius: 0.5em;
  140. box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  141. }
  142. div.dtr-modal div.dtr-modal-content {
  143. position: relative;
  144. padding: 1em;
  145. }
  146. div.dtr-modal div.dtr-modal-close {
  147. position: absolute;
  148. top: 6px;
  149. right: 6px;
  150. width: 22px;
  151. height: 22px;
  152. border: 1px solid #eaeaea;
  153. background-color: #f9f9f9;
  154. text-align: center;
  155. border-radius: 3px;
  156. cursor: pointer;
  157. z-index: 12;
  158. }
  159. div.dtr-modal div.dtr-modal-close:hover {
  160. background-color: #eaeaea;
  161. }
  162. div.dtr-modal div.dtr-modal-background {
  163. position: fixed;
  164. top: 0;
  165. left: 0;
  166. right: 0;
  167. bottom: 0;
  168. z-index: 101;
  169. background: rgba(0, 0, 0, 0.6);
  170. }
  171. @media screen and (max-width: 767px) {
  172. div.dtr-modal div.dtr-modal-display {
  173. width: 95%;
  174. }
  175. }
  176. div.dtr-bs-modal table.table tr:first-child td {
  177. border-top: none;
  178. }