mirror of
https://github.com/Coldsmiles/infstarweb.git
synced 2026-04-23 02:30:41 +08:00
feat: Add video embedding functionality and update facilities data structure
This commit is contained in:
@@ -453,6 +453,27 @@
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
|
||||
}
|
||||
|
||||
/* Video Embed */
|
||||
.video-embed-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-bottom: 56.25%; /* 16:9 aspect ratio */
|
||||
margin: 12px 0 20px;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
background: #000;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.video-embed-wrapper iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.no-results-message {
|
||||
text-align: center;
|
||||
padding: 60px;
|
||||
@@ -999,6 +1020,11 @@
|
||||
color: #1565c0;
|
||||
}
|
||||
|
||||
.badge-video {
|
||||
background: #fce4ec;
|
||||
color: #c62828;
|
||||
}
|
||||
|
||||
.sortable-item .item-content {
|
||||
flex: 1;
|
||||
border: 1px solid rgba(0,0,0,0.06) !important;
|
||||
|
||||
Reference in New Issue
Block a user