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 4.4 kB

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