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

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