_home.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .cat-list{
  2. width: calc(100% - 10px);
  3. height: 50px;
  4. margin-bottom: 20px;
  5. display: -webkit-inline-box;
  6. display: -ms-inline-flexbox;
  7. display: inline-flex;
  8. position: relative;
  9. &:after{
  10. position: absolute;
  11. bottom: 0;
  12. display: block;
  13. content: "";
  14. width: 0%;
  15. }
  16. & > ul{
  17. margin: auto 0 auto 10px;
  18. label{
  19. margin-right: 10px;
  20. opacity: 0;
  21. margin-left: -10px;
  22. a{
  23. &::after{
  24. position: absolute;
  25. content: " ";
  26. width: 5px;
  27. }
  28. &:hover, &.active{
  29. &::after{
  30. content: "\002022";
  31. }
  32. }
  33. }
  34. }
  35. }
  36. }
  37. #page-wrapper{
  38. padding-left: 10px;
  39. z-index: 1000;
  40. height: 100%;
  41. }
  42. .scroll{
  43. cursor: pointer;
  44. }
  45. .full-works{
  46. .card{
  47. opacity: 0;
  48. margin-top: 30px;
  49. }
  50. }
  51. .down{
  52. #start{
  53. margin-top: 90px;
  54. height: 100%;
  55. }
  56. .cat-list{
  57. &:after{
  58. width: 100%;
  59. height: 1px;
  60. background: black;
  61. }
  62. & > ul{
  63. label{
  64. opacity: 1;
  65. margin-left: 0;
  66. }
  67. }
  68. }
  69. .full-works{
  70. .card{
  71. opacity: 1;
  72. transition: 1.5s opacity 1s ease, 1.5s margin-top 1s ease;
  73. margin-top: 0;
  74. }
  75. }
  76. }
  77. .down{
  78. .cat-list{
  79. &:after{
  80. -webkit-transition: 2s 1.5s width ease;
  81. transition: 2s 1.5s width ease;
  82. }
  83. & > ul{
  84. label{
  85. -webkit-transition: 2s 1.5s all ease;
  86. transition: 2s 1.5s all ease;
  87. }
  88. }
  89. }
  90. }