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.1 kB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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. top: 30px;
  55. }
  56. }
  57. .upload-info {
  58. padding-top: 8px;
  59. }
  60. }
  61. #dataset-list {
  62. border-top: 1px solid #dddddd;
  63. margin-top: 20px;
  64. padding-top: 15px;
  65. > li {
  66. list-style: none;
  67. .meta,
  68. .detail {
  69. padding-top: 30px;
  70. padding-bottom: 40px;
  71. }
  72. .meta {
  73. text-align: right;
  74. position: relative;
  75. .tag:not(.icon) {
  76. display: block;
  77. margin-top: 15px;
  78. }
  79. .commit {
  80. display: block;
  81. margin-top: 10px;
  82. }
  83. }
  84. .detail {
  85. border-left: 1px solid #dddddd;
  86. .author {
  87. img {
  88. margin-bottom: -3px;
  89. }
  90. }
  91. .download {
  92. margin-top: 20px;
  93. > a {
  94. .svg {
  95. margin-left: 5px;
  96. margin-right: 5px;
  97. }
  98. }
  99. .list {
  100. padding-left: 0;
  101. border-top: 1px solid #eeeeee;
  102. li {
  103. list-style: none;
  104. display: block;
  105. padding-top: 8px;
  106. padding-bottom: 8px;
  107. border-bottom: 1px solid #eeeeee;
  108. a > .text.right {
  109. margin-right: 5px;
  110. }
  111. }
  112. }
  113. }
  114. .dot {
  115. width: 9px;
  116. height: 9px;
  117. background-color: #cccccc;
  118. z-index: 999;
  119. position: absolute;
  120. display: block;
  121. left: -5px;
  122. top: 40px;
  123. border-radius: 6px;
  124. border: 1px solid #ffffff;
  125. }
  126. }
  127. }
  128. }
  129. .item {
  130. padding-top: 15px;
  131. padding-bottom: 10px;
  132. border-bottom: 1px dashed #aaaaaa;
  133. }
  134. .ui.grid > .row {
  135. align-items: center;
  136. }
  137. .title {
  138. font-size: 16px;
  139. font-weight: bold;
  140. margin: 0 6px;
  141. }
  142. }
  143. .dataset-list {
  144. .octicon-check {
  145. padding-right: 8px;
  146. }
  147. .hide {
  148. display: none;
  149. }
  150. }
  151. .ui.dataset.list {
  152. .item {
  153. padding-bottom: 25px;
  154. &:not(:first-child) {
  155. border-top: 1px solid #eeeeee;
  156. padding-top: 25px;
  157. }
  158. .ui.header {
  159. font-size: 1.5rem;
  160. padding-bottom: 10px;
  161. .name {
  162. word-break: break-all;
  163. }
  164. .metas {
  165. color: #888888;
  166. font-size: 14px;
  167. font-weight: normal;
  168. span:not(:last-child) {
  169. margin-right: 5px;
  170. }
  171. }
  172. }
  173. .time {
  174. font-size: 12px;
  175. color: #808080;
  176. }
  177. .ui.tags {
  178. margin-bottom: 1em;
  179. }
  180. .ui.avatar.image {
  181. width: 24px;
  182. height: 24px;
  183. }
  184. }
  185. }