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

_dataset.less 5.3 kB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. .dataset {
  2. padding-top: 15px;
  3. .dataset-files {
  4. margin: 30px 0 !important;
  5. #dataset {
  6. .dz-preview {
  7. border-bottom: 1px solid rgb(218, 220, 224);
  8. min-height: 0;
  9. }
  10. .dz-preview.dz-file-preview,
  11. .dz-preview.dz-processing {
  12. display: flex;
  13. align-items: center;
  14. .dz-details {
  15. z-index: 1;
  16. opacity: 1 !important;
  17. display: flex;
  18. padding: 0 0 10px 0;
  19. min-width: 60%;
  20. max-width: 60%;
  21. position: relative;
  22. }
  23. .dz-success-mark {
  24. z-index: 0;
  25. position: relative;
  26. top: 0;
  27. left: auto;
  28. color: green;
  29. margin: 0 16px;
  30. }
  31. .dz-error-mark {
  32. z-index: 0;
  33. position: relative;
  34. top: 0;
  35. left: auto;
  36. color: red;
  37. margin: 0 16px;
  38. }
  39. .bar {
  40. background: #21ba45;
  41. }
  42. .dz-progress {
  43. left: 4px;
  44. background: grey;
  45. width: 70%;
  46. top: 20px;
  47. margin: 0;
  48. }
  49. .dz-file {
  50. margin-bottom: auto;
  51. }
  52. }
  53. .dz-preview .dz-error-message {
  54. background: none;
  55. }
  56. .dz-preview .dz-error-message::after {
  57. border: none !important;
  58. }
  59. }
  60. .upload-info {
  61. padding-top: 8px;
  62. }
  63. }
  64. #dataset-list {
  65. border-top: 1px solid #dddddd;
  66. margin-top: 20px;
  67. padding-top: 15px;
  68. > li {
  69. list-style: none;
  70. .meta,
  71. .detail {
  72. padding-top: 30px;
  73. padding-bottom: 40px;
  74. }
  75. .meta {
  76. text-align: right;
  77. position: relative;
  78. .tag:not(.icon) {
  79. display: block;
  80. margin-top: 15px;
  81. }
  82. .commit {
  83. display: block;
  84. margin-top: 10px;
  85. }
  86. }
  87. .detail {
  88. border-left: 1px solid #dddddd;
  89. .author {
  90. img {
  91. margin-bottom: -3px;
  92. }
  93. }
  94. .download {
  95. margin-top: 20px;
  96. > a {
  97. .svg {
  98. margin-left: 5px;
  99. margin-right: 5px;
  100. }
  101. }
  102. .list {
  103. padding-left: 0;
  104. border-top: 1px solid #eeeeee;
  105. li {
  106. list-style: none;
  107. display: block;
  108. padding-top: 8px;
  109. padding-bottom: 8px;
  110. border-bottom: 1px solid #eeeeee;
  111. a > .text.right {
  112. margin-right: 5px;
  113. }
  114. }
  115. }
  116. }
  117. .dot {
  118. width: 9px;
  119. height: 9px;
  120. background-color: #cccccc;
  121. z-index: 999;
  122. position: absolute;
  123. display: block;
  124. left: -5px;
  125. top: 40px;
  126. border-radius: 6px;
  127. border: 1px solid #ffffff;
  128. }
  129. }
  130. }
  131. }
  132. .item {
  133. border-bottom: 1px solid rgba(34,36,38,.15);
  134. }
  135. .ui.grid > .row {
  136. align-items: center;
  137. }
  138. .title {
  139. font-size: 16px;
  140. font-weight: bold;
  141. margin: 0 6px;
  142. }
  143. .directory-seperator {
  144. padding: 0 4px;
  145. }
  146. }
  147. .dataset-list {
  148. .octicon-check {
  149. padding-right: 8px;
  150. }
  151. .hide {
  152. display: none;
  153. }
  154. }
  155. .ui.dataset.list {
  156. .item {
  157. padding-bottom: 25px;
  158. &:not(:first-child) {
  159. border-top: 1px solid #eeeeee;
  160. padding-top: 25px;
  161. }
  162. .ui.header {
  163. font-size: 1.3rem;
  164. padding-bottom: 10px;
  165. .name {
  166. word-break: break-all;
  167. }
  168. .metas {
  169. color: #888888;
  170. font-size: 14px;
  171. font-weight: normal;
  172. span:not(:last-child) {
  173. margin-right: 5px;
  174. }
  175. }
  176. }
  177. .time {
  178. font-size: 12px;
  179. color: #808080;
  180. }
  181. .ui.tags {
  182. margin-bottom: 1em;
  183. }
  184. .ui.avatar.image {
  185. width: 24px;
  186. height: 24px;
  187. }
  188. }
  189. }