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

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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. padding-top: 15px;
  134. padding-bottom: 10px;
  135. border-bottom: 1px dashed #aaaaaa;
  136. }
  137. .ui.grid > .row {
  138. align-items: center;
  139. }
  140. .title {
  141. font-size: 16px;
  142. font-weight: bold;
  143. margin: 0 6px;
  144. }
  145. .directory-seperator {
  146. padding: 0 4px;
  147. }
  148. }
  149. .dataset-list {
  150. .octicon-check {
  151. padding-right: 8px;
  152. }
  153. .hide {
  154. display: none;
  155. }
  156. }
  157. .ui.dataset.list {
  158. .item {
  159. padding-bottom: 25px;
  160. &:not(:first-child) {
  161. border-top: 1px solid #eeeeee;
  162. padding-top: 25px;
  163. }
  164. .ui.header {
  165. font-size: 1.3rem;
  166. padding-bottom: 10px;
  167. .name {
  168. word-break: break-all;
  169. }
  170. .metas {
  171. color: #888888;
  172. font-size: 14px;
  173. font-weight: normal;
  174. span:not(:last-child) {
  175. margin-right: 5px;
  176. }
  177. }
  178. }
  179. .time {
  180. font-size: 12px;
  181. color: #808080;
  182. }
  183. .ui.tags {
  184. margin-bottom: 1em;
  185. }
  186. .ui.avatar.image {
  187. width: 24px;
  188. height: 24px;
  189. }
  190. }
  191. }