FoodTimelineItem.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. .food_timeline_item {
  2. margin-bottom: 60px;
  3. display: flex;
  4. flex-direction: row;
  5. }
  6. .tags {
  7. margin-left: 45px;
  8. width: 164px;
  9. display: flex;
  10. flex-direction: column;
  11. font-size: 24px;
  12. align-items: center;
  13. box-sizing: border-box;
  14. position: relative;
  15. height: 304px;
  16. }
  17. .food_timeline_item_day{
  18. font-size: 36px;
  19. line-height: 36px;
  20. color: #fff;
  21. font-weight: bold;
  22. // margin-bottom: 12px;
  23. margin-bottom: -8px;
  24. }
  25. .tag-item{
  26. height: 48px;
  27. box-sizing: border-box;
  28. border-radius: 24px;
  29. border: solid 2px #ffffff66;
  30. padding-left: 24px;
  31. padding-right: 24px;
  32. display: flex;
  33. align-items: center;
  34. justify-content: center;
  35. margin-top: 20px;
  36. }
  37. .more_tag{
  38. position: absolute;
  39. left: 0;
  40. right: 0;
  41. bottom: 0;
  42. height: 72px;
  43. width: 100%;
  44. line-height: 72px;
  45. text-align: center;
  46. color: #fff;
  47. font-size: 20px;
  48. opacity: 0.4;
  49. // background-color: red;
  50. }
  51. .thumb_bg {
  52. position: relative;
  53. width: 304px;
  54. height: 304px;
  55. border-radius: 36px;
  56. background-color: #1c1c1c;
  57. overflow: hidden;
  58. }
  59. .thumb {
  60. width: 304px;
  61. height: 304px;
  62. border-radius: 36px;
  63. }
  64. .food_desc {
  65. position: absolute;
  66. left: 0;
  67. right: 0;
  68. bottom: 0;
  69. height: 72px;
  70. border-bottom-left-radius: 36px;
  71. border-bottom-right-radius: 36px;
  72. backdrop-filter: blur(20px);
  73. display: flex;
  74. flex-direction: row;
  75. align-items: center;
  76. justify-content: center;
  77. color: #fff;
  78. }
  79. .food_desc_text {
  80. color: #fff;
  81. opacity: 0.8;
  82. font-size: 24px;
  83. line-height: 26px;
  84. text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  85. font-weight: bold;
  86. }
  87. .food_item_date {
  88. color: #fff;
  89. }
  90. .food_share {
  91. margin-top: 24px;
  92. width: 72px;
  93. height: 72px;
  94. display: flex;
  95. flex-direction: column;
  96. align-items: center;
  97. position: relative;
  98. margin-left: 36px;
  99. }
  100. .food_share_btn {
  101. position: absolute;
  102. left: 0;
  103. top: 0;
  104. right: 0;
  105. bottom: 0;
  106. opacity: 0;
  107. }
  108. .food_share_text {
  109. font-size: 20px;
  110. line-height: 24px;
  111. color: #fff;
  112. opacity: 0.4;
  113. margin-top: 12px;
  114. }
  115. .food_item_point{
  116. width: 16px;
  117. height: 16px;
  118. border-radius: 8px;
  119. margin-left: -9px;
  120. margin-right: 12px;
  121. }
  122. .food_item_score{
  123. font-size: 28px;
  124. line-height: 40px;
  125. font-weight: bold;
  126. }
  127. .food_timeline_more{
  128. position: absolute;
  129. right: 22px;
  130. width: 48px;
  131. height: 48px;
  132. top: 36px;
  133. }
  134. .center_line3{
  135. position: absolute;
  136. left: 374px;
  137. width: 2px;
  138. top: 0;
  139. bottom: 0;
  140. background-color: #fff;
  141. opacity: 0.2;
  142. z-index: -1;
  143. }