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.

home_dataset.tmpl 2.5 kB

3 years ago
3 years ago
3 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <style>
  2. .homedataset {
  3. padding-top: 4em;
  4. padding-bottom: 4em;
  5. }
  6. .home-dataset-list {
  7. position: relative;
  8. z-index: 9;
  9. padding: 0em 1em 3em;
  10. overflow: hidden;
  11. }
  12. .home-dataset-list .swiper-slide {
  13. padding-top: 5px;
  14. }
  15. .home-dataset-list .dataset-card {
  16. height: 130px;
  17. width: 130px;
  18. border: 1px solid rgba(157, 197, 226, 0.4);
  19. box-shadow: rgb(157 197 226 / 20%) 0px 5px 10px 0px;
  20. color: rgb(16, 16, 16);
  21. border-radius: 6px;
  22. display:flex;
  23. justify-content: center;
  24. align-items: center;
  25. flex-direction: column;
  26. transition: all 0.1s;
  27. }
  28. .home-dataset-list .dataset-card:hover {
  29. transform: translateY(-3px);
  30. }
  31. .home-dataset-list .dataset-card>div {
  32. width:100%;
  33. display: flex;
  34. justify-content: center;
  35. }
  36. .home-dataset-list .dataset-card .content {
  37. width:100%;
  38. overflow: hidden;
  39. text-overflow: ellipsis;
  40. white-space: nowrap;
  41. text-align: center;
  42. padding: 0 10px;
  43. }
  44. .home-dataset-list .dataset-card .icon-c {
  45. font-size: 14px;
  46. color: #101010;
  47. display:flex;
  48. justify-content: center;
  49. align-items: center;
  50. margin-bottom: 8px;
  51. }
  52. .home-dataset-list .dataset-card .label {
  53. font-size: 14px;
  54. color: #101010;
  55. margin-bottom: 8px;
  56. }
  57. .home-dataset-list .dataset-card .svg.fill:not([stroke]) {
  58. fill: url(#ila93em9ydx6bi61,1,rs,1,f000f000,f0rsf000,f000,00e6msqtrs,dw4hjuqlrs,ri00exmcrs);
  59. }
  60. .home-dataset-list .dataset-card .svg.fill:not([fill]) {
  61. fill: url(#ila93em9ydx6bi61,1,rs,1,f000f000,f0rsf000,f000,00e6msqtrs,dw4hjuqlrs,ri00exmcrs);
  62. }
  63. .home-dataset-list .dataset-card .count {
  64. font-size:12px;
  65. color:rgb(136,136,136);
  66. }
  67. .home-dataset-list .swiper-pagination-bullet-active {
  68. width: 40px;
  69. border-radius: 4px;
  70. }
  71. </style>
  72. <div class="ui container homedataset _hm-container">
  73. <div class="ui stackable grid">
  74. <div class="sixteen wide tablet four wide computer column mobile-text-align-center">
  75. <h2>{{.i18n.Tr "home.search_dataset"}}</h2>
  76. <p><span class="ui text grey">{{.i18n.Tr "home.datasets_descr"}}&nbsp;</span><a href="/explore/datasets">{{.i18n.Tr "home.search_dataset"}}</a></p>
  77. </div>
  78. <div class="sixteen wide tablet twelve wide computer column">
  79. <div class="home-dataset-list">
  80. <div class="swiper-wrapper" id="home_dataset"></div>
  81. <div class="swiper-pagination"></div>
  82. </div>
  83. </div>
  84. </div>
  85. </div>