app.wxss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. @import 'static/colorui/icon.wxss';
  2. @import 'static/colorui/colorui.wxss';
  3. @import 'dever/package/wxParse/wxParse.wxss';
  4. .nav-list {
  5. display: flex;
  6. flex-wrap: wrap;
  7. padding: 0px 20px 0px;
  8. justify-content: space-between;
  9. }
  10. .nav-li {
  11. color: #666;
  12. padding: 15px;
  13. border-radius: 6px;
  14. width: 45%;
  15. margin: 0 2.5% 20px;
  16. background-image: url(https://image.weilanwl.com/color2.0/cardBg.png);
  17. background-size: cover;
  18. background-position: center;
  19. position: relative;
  20. z-index: 1;
  21. }
  22. .nav-li::after {
  23. content: "";
  24. position: absolute;
  25. z-index: -1;
  26. background-color: inherit;
  27. width: 100%;
  28. height: 100%;
  29. left: 0;
  30. bottom: -10%;
  31. border-radius: 5px;
  32. opacity: 0.2;
  33. transform: scale(0.9, 0.9);
  34. }
  35. .nav-li.cur {
  36. color: #fff;
  37. background: rgb(94, 185, 94);
  38. box-shadow: 2px 2px 3px rgba(94, 185, 94, 0.4);
  39. }
  40. .nav-title {
  41. font-size: 16px;
  42. font-weight: 300;
  43. }
  44. .nav-title::first-letter {
  45. font-size: 20px;
  46. margin-right: 2px;
  47. }
  48. .nav-name {
  49. font-size: 14px;
  50. text-transform: Capitalize;
  51. margin-top: 10px;
  52. position: relative;
  53. }
  54. .nav-name::before {
  55. content: "";
  56. position: absolute;
  57. display: block;
  58. width: 20px;
  59. height: 3px;
  60. background: #fff;
  61. bottom: 0;
  62. right: 0;
  63. opacity: 0.5;
  64. }
  65. .nav-name::after {
  66. content: "";
  67. position: absolute;
  68. display: block;
  69. width: 50px;
  70. height: 1px;
  71. background: #fff;
  72. bottom: 0;
  73. right: 20px;
  74. opacity: 0.3;
  75. }
  76. .nav-name::first-letter {
  77. font-weight: bold;
  78. font-size: 18px;
  79. margin-right: 1px;
  80. }
  81. .nav-li icon {
  82. position: absolute;
  83. right: 15px;
  84. top: 15px;
  85. font-size: 26px;
  86. width: 30px;
  87. height: 30px;
  88. text-align: center;
  89. line-height: 30px;
  90. }
  91. .text-light {
  92. font-weight: 300;
  93. }
  94. @keyframes show {
  95. 0% {
  96. transform: translateY(-50px);
  97. }
  98. 60% {
  99. transform: translateY(20px);
  100. }
  101. 100% {
  102. transform: translateY(0px);
  103. }
  104. }
  105. @-webkit-keyframes show {
  106. 0% {
  107. transform: translateY(-50px);
  108. }
  109. 60% {
  110. transform: translateY(20px);
  111. }
  112. 100% {
  113. transform: translateY(0px);
  114. }
  115. }