style.scss 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. $base_fontSize: 100;
  2. @function rem($px) {
  3. @return $px / $base_fontSize * 1rem;
  4. }
  5. .nav-wrap {
  6. width: 100%;
  7. height: 100%;
  8. // background: linear-gradient(0deg, #000000 0%, #132037 100%);
  9. // #020712
  10. background: linear-gradient(0deg, #020712 0%, #020712 100%);
  11. overflow: hidden;
  12. position: relative;
  13. .top {
  14. position: relative;
  15. z-index: 101;
  16. padding-top: rem(67);
  17. .lfet-right {
  18. padding: 0 rem(100) 0 rem(100);
  19. display: flex;
  20. justify-content: space-between;
  21. text-align: center;
  22. position: relative;
  23. top: rem(-50);
  24. .tenantName {
  25. color: RGBA(254, 254, 254, 1);
  26. padding: 0 rem(20);
  27. height: rem(49);
  28. line-height: rem(49);
  29. font-size: rem(20);
  30. box-sizing: border-box;
  31. border: 1px solid RGBA(71, 81, 98, 1);
  32. border-radius: rem(10);
  33. margin-right: rem(20);
  34. cursor: pointer;
  35. }
  36. }
  37. }
  38. .logo {
  39. width: rem(120);
  40. height: rem(36);
  41. background: url(../../assets/img/nav/logo.png);
  42. background-size: 100% 100%;
  43. z-index: 11;
  44. }
  45. .logout {
  46. width: rem(49);
  47. height: rem(49);
  48. background: url(../../assets/img/btn_switch.png);
  49. background-size: 100% 100%;
  50. z-index: 11;
  51. }
  52. .top_png {
  53. width: 100%;
  54. width: rem(1200);
  55. margin: auto;
  56. height: rem(58);
  57. // transform: translateX(-50%);
  58. animation-name: opacityAni;
  59. background: url(../../assets/img/nav/bg_top.png) center no-repeat;
  60. background-size: cover;
  61. opacity: 0;
  62. animation-delay: 0.668s;
  63. animation-duration: 0.834s;
  64. animation-fill-mode: forwards;
  65. p {
  66. font-size: rem(24);
  67. font-family: PingFang SC;
  68. font-weight: 600;
  69. color: #ffffff;
  70. background: linear-gradient(1deg, #a8c4f5 0%, #ffffff 100%);
  71. -webkit-background-clip: text;
  72. -webkit-text-fill-color: transparent;
  73. position: relative;
  74. top: rem(12);
  75. text-align: center;
  76. }
  77. }
  78. .bottom_png {
  79. position: absolute;
  80. z-index: 100;
  81. bottom: 0;
  82. width: 100%;
  83. height: rem(83);
  84. // height: 4.3vw;
  85. // background: #010305;
  86. & > span {
  87. display: block;
  88. width: 100%;
  89. height: rem(1);
  90. // height: 4.3vw;
  91. animation-name: opacityAni;
  92. // border: 1px solid #3e414a;
  93. background: url(../../assets/img/nav/bg_bottom.png);
  94. background-size: cover;
  95. opacity: 0;
  96. animation-delay: 0.668s;
  97. animation-duration: 0.834s;
  98. animation-fill-mode: forwards;
  99. }
  100. }
  101. .bg-earth {
  102. position: absolute;
  103. width: rem(1500);
  104. height: rem(600);
  105. top: 50%;
  106. left: 50%;
  107. transform: translate(-50%, -50%);
  108. overflow-y: auto;
  109. &::-webkit-scrollbar {
  110. display: none;
  111. }
  112. }
  113. .nav-title {
  114. position: absolute;
  115. display: flex;
  116. justify-content: center;
  117. align-items: center;
  118. flex-direction: column;
  119. width: rem(381);
  120. height: rem(153);
  121. img {
  122. width: rem(150);
  123. height: rem(40);
  124. }
  125. .dot_icon {
  126. display: flex;
  127. justify-content: center;
  128. align-items: center;
  129. flex-direction: row;
  130. margin-top: rem(10);
  131. p {
  132. font-size: rem(36);
  133. font-weight: 600;
  134. font-family: PingFang SC;
  135. color: #ffffff;
  136. text-align: center;
  137. }
  138. .icon-blue-rect {
  139. display: inline-block;
  140. margin: 0 rem(10);
  141. width: rem(6);
  142. height: rem(6);
  143. background: linear-gradient(-80deg, #2a68e6 0%, #2887f2 100%);
  144. border-radius: rem(6);
  145. vertical-align: super;
  146. }
  147. }
  148. }
  149. .nav-content {
  150. display: grid;
  151. // 左右距离30 一列3等分
  152. row-gap: rem(30);
  153. column-gap: rem(30);
  154. grid-template-columns: repeat(5, minmax(0, 1fr));
  155. .item {
  156. // width: rem(480);
  157. // height: rem(180);
  158. width: rem(276);
  159. height: rem(280);
  160. background: RGBA(32, 40, 57, 1);
  161. border-radius: rem(10);
  162. border: 1px solid transparent;
  163. position: relative;
  164. cursor: pointer;
  165. display: flex;
  166. justify-content: space-between;
  167. &:hover {
  168. border-color: #ffffff;
  169. .left-label {
  170. opacity: 1;
  171. }
  172. .item-cenText .contents {
  173. opacity: 1;
  174. .subtitle {
  175. // color: #0eaeff;
  176. color: #0be5f0;
  177. }
  178. }
  179. .right-img {
  180. opacity: 0.7;
  181. }
  182. .img {
  183. display: none;
  184. }
  185. .imghover {
  186. display: block;
  187. }
  188. }
  189. .imghover {
  190. display: none;
  191. }
  192. .item-cenText {
  193. // margin: rem(43) 0 0 rem(56);
  194. margin: rem(54) 0 0 rem(96);
  195. display: flex;
  196. .img,
  197. .imghover {
  198. width: rem(82);
  199. height: rem(80);
  200. }
  201. .contents {
  202. // margin-left: rem(48);
  203. width: rem(300);
  204. font-size: rem(24);
  205. font-family: Microsoft YaHei;
  206. font-weight: bold;
  207. color: #ffffff;
  208. opacity: 0.8;
  209. position: absolute;
  210. left: 50%;
  211. top: 70%;
  212. transform: translate(-50%, -50%);
  213. text-align: center;
  214. .subtitle {
  215. font-size: rem(12);
  216. margin-top: rem(10);
  217. color: #748ba8;
  218. white-space: nowrap;
  219. }
  220. }
  221. }
  222. .right-img {
  223. background: url('../../assets/img/nav/img6.png') no-repeat;
  224. background-size: cover;
  225. width: rem(90);
  226. height: rem(180);
  227. opacity: 0.2;
  228. }
  229. .left-label {
  230. width: rem(6);
  231. height: rem(50);
  232. background: #ffffff;
  233. opacity: 0.3;
  234. border-radius: 0px rem(4) rem(4) 0px;
  235. position: absolute;
  236. left: 0;
  237. top: 50%;
  238. transform: translateY(-50%);
  239. }
  240. }
  241. .item.unOwner {
  242. opacity: 0.3;
  243. cursor: no-drop;
  244. animation-name: opacityAni2;
  245. &:hover {
  246. border-color: transparent;
  247. .left-label {
  248. opacity: 0.3;
  249. }
  250. .item-cenText .contents {
  251. opacity: 0.8;
  252. .subtitle {
  253. color: #748ba8;
  254. }
  255. }
  256. .right-img {
  257. opacity: 0.2;
  258. }
  259. .img {
  260. display: block;
  261. }
  262. .imghover {
  263. display: none;
  264. }
  265. }
  266. }
  267. }
  268. }
  269. @keyframes opacityAni {
  270. 0% {
  271. opacity: 0;
  272. }
  273. 100% {
  274. opacity: 1;
  275. }
  276. }
  277. @keyframes opacityAni2 {
  278. 0% {
  279. opacity: 0;
  280. }
  281. 100% {
  282. opacity: 0.3;
  283. }
  284. }