From 4892fab9ae8be7e1a5f454df0004b634b200d5e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=B0=8F=E7=9F=A2?= Date: Mon, 9 Dec 2024 10:20:52 +0800 Subject: [PATCH 1/2] Update admin-imgtc.css --- admin-imgtc.css | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/admin-imgtc.css b/admin-imgtc.css index 554fcd43f..05d333d6a 100644 --- a/admin-imgtc.css +++ b/admin-imgtc.css @@ -299,15 +299,11 @@ body { position: relative; justify-content: center; align-items: center; - max-height: 256px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; } .video-card{ - height: 100%; - display: flex; - flex-direction: column; background: linear-gradient(135deg, rgba(178, 107, 255, 0.85) 0%, rgba(138, 180, 255, 0.85) 100%); } @@ -327,26 +323,11 @@ body { padding: 12px; color: white; width: 100%; - height: 100%; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; } -.video-content{ - display: flex; - flex-direction: column; -} - -.video-content video { - flex: 1; - width: 100%; - height: calc(100% - 60px); - object-fit: cover; - border-radius: 8px; - background: rgba(0, 0, 0, 0.1); -} - .audio-header { display: flex; align-items: center; From cffa6a17321079b597f51320189fa892eeb75651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=B0=8F=E7=9F=A2?= Date: Mon, 9 Dec 2024 10:41:41 +0800 Subject: [PATCH 2/2] Update admin-imgtc.css --- admin-imgtc.css | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/admin-imgtc.css b/admin-imgtc.css index 05d333d6a..c50704f5c 100644 --- a/admin-imgtc.css +++ b/admin-imgtc.css @@ -304,15 +304,16 @@ body { } .video-card{ - background: linear-gradient(135deg, rgba(178, 107, 255, 0.85) 0%, rgba(138, 180, 255, 0.85) 100%); + background-color: #8EC5FC; + background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%); } -.audio-card.selected { - background: linear-gradient(135deg, rgba(138, 75, 255, 0.85) 0%, rgba(255, 215, 228, 0.85) 100%); +.video-card .el-card__body{ + padding: 0 !important; } -.video-card.selected { - background: linear-gradient(135deg, rgba(186, 104, 255, 0.85) 0%, rgba(111, 163, 252, 0.85) 100%); +.audio-card.selected, .video-card.selected { + background: linear-gradient(135deg, rgba(138, 75, 255, 0.85) 0%, rgba(255, 215, 228, 0.85) 100%); } .video-card:hover, .audio-card:hover { @@ -328,6 +329,13 @@ body { text-overflow: ellipsis; } +.video-content{ + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + .audio-header { display: flex; align-items: center; @@ -364,6 +372,7 @@ body { margin-bottom: 4px; } .video-title{ + margin: 6px 0; font-size: 0.9em; } .audio-subtitle {