app.wxss 1.9 KB

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