| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- /* 我的资产页面样式 */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- margin: 0;
- padding: 0;
- height: 100vh;
- overflow: hidden;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
- "Noto Sans", sans-serif;
- }
- .assets-root {
- display: flex;
- flex-direction: row;
- width: 100%;
- height: 100vh;
- background: linear-gradient(135deg, #fdfcfb 0%, #f7f7f8 50%, #fdfcfb 100%);
- overflow: hidden;
- }
- /* 左侧:网盘管理 */
- .assets-left {
- flex: 0 0 400px;
- display: flex;
- flex-direction: column;
- height: 100%;
- background: #ffffff;
- border-right: 2px solid rgba(139, 92, 246, 0.1);
- box-shadow: 2px 0 16px rgba(0, 0, 0, 0.05);
- overflow: hidden;
- }
- .assets-left iframe {
- width: 100%;
- height: 100%;
- border: none;
- display: block;
- }
- /* 右侧:动画预览器 */
- .assets-right {
- flex: 1;
- display: flex;
- flex-direction: column;
- height: 100%;
- overflow: hidden;
- min-width: 0;
- }
- .assets-right iframe {
- width: 100%;
- height: 100%;
- border: none;
- display: block;
- }
- /* 响应式设计 */
- @media (max-width: 1200px) {
- .assets-left {
- flex: 0 0 350px;
- }
- }
- @media (max-width: 768px) {
- .assets-root {
- flex-direction: column;
- }
- .assets-left {
- flex: 0 0 50%;
- border-right: none;
- border-bottom: 2px solid rgba(139, 92, 246, 0.1);
- box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
- }
- .assets-right {
- flex: 0 0 50%;
- }
- }
|