137 lines
2.5 KiB
CSS
137 lines
2.5 KiB
CSS
|
|
body {
|
|
background-color: #121212;
|
|
color: #FFFFFF;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
overflow: hidden;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
margin: 0;
|
|
}
|
|
|
|
.app-container {
|
|
height: 100vh;
|
|
width: 100%;
|
|
max-width: 480px; /* Mobile-first constraint */
|
|
margin: 0 auto;
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-left: 1px solid #1F1F1F;
|
|
border-right: 1px solid #1F1F1F;
|
|
}
|
|
|
|
.video-feed {
|
|
height: 100%;
|
|
width: 100%;
|
|
scroll-snap-type: y mandatory;
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
scrollbar-width: none; /* Firefox */
|
|
}
|
|
|
|
.video-feed::-webkit-scrollbar {
|
|
display: none; /* Chrome, Safari, Opera */
|
|
}
|
|
|
|
.video-slide {
|
|
height: 100%;
|
|
width: 100%;
|
|
scroll-snap-align: start;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.video-slide video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.video-overlay {
|
|
position: absolute;
|
|
bottom: 70px; /* Above bottom nav */
|
|
left: 0;
|
|
width: 100%;
|
|
padding: 16px;
|
|
background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
|
|
color: #fff;
|
|
}
|
|
|
|
.video-overlay .username {
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.video-overlay .caption {
|
|
font-size: 0.9rem;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.video-actions {
|
|
position: absolute;
|
|
bottom: 90px;
|
|
right: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.video-actions .action-btn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.video-actions .action-btn i {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.video-actions .action-btn .bi-heart-fill {
|
|
color: #FF3B6C;
|
|
}
|
|
|
|
.bottom-nav {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 60px;
|
|
background-color: #000000;
|
|
border-top: 1px solid #1F1F1F;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
|
|
.bottom-nav .nav-item {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
font-size: 0.7rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.bottom-nav .nav-item.active {
|
|
opacity: 1;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.bottom-nav .nav-item i {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.bottom-nav .upload-btn i {
|
|
font-size: 2.2rem;
|
|
color: #FF3B6C;
|
|
}
|