assets.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /* 我的资产页面样式 */
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. }
  7. body {
  8. margin: 0;
  9. padding: 0;
  10. height: 100vh;
  11. overflow: hidden;
  12. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
  13. "Noto Sans", sans-serif;
  14. }
  15. .assets-root {
  16. display: flex;
  17. flex-direction: row;
  18. width: 100%;
  19. height: 100vh;
  20. background: linear-gradient(135deg, #fdfcfb 0%, #f7f7f8 50%, #fdfcfb 100%);
  21. overflow: hidden;
  22. }
  23. /* 左侧:网盘管理 */
  24. .assets-left {
  25. flex: 0 0 400px;
  26. display: flex;
  27. flex-direction: column;
  28. height: 100%;
  29. background: #ffffff;
  30. border-right: 2px solid rgba(139, 92, 246, 0.1);
  31. box-shadow: 2px 0 16px rgba(0, 0, 0, 0.05);
  32. overflow: hidden;
  33. }
  34. .assets-left iframe {
  35. width: 100%;
  36. height: 100%;
  37. border: none;
  38. display: block;
  39. }
  40. /* 右侧:动画预览器 */
  41. .assets-right {
  42. flex: 1;
  43. display: flex;
  44. flex-direction: column;
  45. height: 100%;
  46. overflow: hidden;
  47. min-width: 0;
  48. }
  49. .assets-right iframe {
  50. width: 100%;
  51. height: 100%;
  52. border: none;
  53. display: block;
  54. }
  55. /* 响应式设计 */
  56. @media (max-width: 1200px) {
  57. .assets-left {
  58. flex: 0 0 350px;
  59. }
  60. }
  61. @media (max-width: 768px) {
  62. .assets-root {
  63. flex-direction: column;
  64. }
  65. .assets-left {
  66. flex: 0 0 50%;
  67. border-right: none;
  68. border-bottom: 2px solid rgba(139, 92, 246, 0.1);
  69. box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  70. }
  71. .assets-right {
  72. flex: 0 0 50%;
  73. }
  74. }