view-page.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. @use '@/styles/variables.scss' as *;
  2. .info-container__header {
  3. display: flex;
  4. flex-direction: column;
  5. width: 100%;
  6. }
  7. .title {
  8. font-size: 20px;
  9. font-weight: 600;
  10. color: rgba($text-color, 0.85);
  11. margin-bottom: 18px;
  12. overflow: hidden;
  13. text-overflow: ellipsis;
  14. white-space: nowrap;
  15. }
  16. .notice {
  17. display: flex;
  18. gap: 370px;
  19. margin-bottom: 16px;
  20. }
  21. .info-item {
  22. color: rgba($text-color, 0.85);
  23. }
  24. .info-content,
  25. .content {
  26. color: rgba($text-color, 0.65);
  27. }
  28. .content {
  29. white-space: pre-wrap;
  30. word-break: break-word;
  31. }
  32. .divider {
  33. width: 100%;
  34. height: 1px;
  35. background-color: #979797;
  36. opacity: 0.26;
  37. margin-top: 18px;
  38. margin-bottom: 18px;
  39. }
  40. .file {
  41. margin-top: 18px;
  42. a {
  43. font-size: 14px;
  44. color: $primary-color;
  45. cursor: pointer;
  46. }
  47. }
  48. .file-list {
  49. display: flex;
  50. flex-wrap: wrap;
  51. gap: 10px;
  52. margin-top: 10px;
  53. }
  54. .file-item {
  55. display: flex;
  56. flex-direction: column;
  57. justify-content: space-between;
  58. width: 220px;
  59. height: 81px;
  60. padding: 16px 10px;
  61. background: #eee;
  62. border-radius: 8px;
  63. cursor: pointer;
  64. transition: all 0.3s ease;
  65. &:hover {
  66. background: #ddd;
  67. box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  68. }
  69. &--name {
  70. width: 100%;
  71. font-size: 14px;
  72. color: #333;
  73. overflow: hidden;
  74. text-overflow: ellipsis;
  75. white-space: nowrap;
  76. }
  77. &--footer {
  78. @include flex-center;
  79. justify-content: space-between;
  80. font-size: 14px;
  81. .info {
  82. @include flex-center;
  83. gap: 2px;
  84. img {
  85. width: 16px;
  86. height: 16px;
  87. }
  88. span {
  89. color: #999;
  90. }
  91. }
  92. }
  93. }