fix safari ui issue
Some checks failed
buildbot/travis_bionic Build done.

This commit is contained in:
Muzahid 2022-02-15 15:39:20 +05:30
parent 79282eb4ce
commit ea8204989d
Signed by: cis-muzahid
GPG Key ID: 1DC85E7D3AB613EA

120
style.css
View File

@ -1,131 +1,147 @@
* { * {
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box;
text-transform: capitalize; text-transform: capitalize;
font-family: Verdana, Geneva, Tahoma, sans-serif; font-family: Verdana, Geneva, Tahoma, sans-serif;
font-weight: normal; font-weight: normal;
} }
body { body {
background: #fff; background: #fff;
overflow: hidden; overflow: hidden;
} }
.heading { .heading {
color: dimgrey; color: dimgrey;
font-size: 40px; font-size: 40px;
padding: 10px; padding: 10px;
} }
.container { .container {
display: -ms-grid;
display: grid; display: grid;
grid-template-columns: 2fr 1fr; -ms-grid-columns: 2fr 1fr;
grid-template-columns: 2fr 1fr;
gap: 15px; gap: 15px;
align-items: flex-start; -webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
padding: 5px 5%; padding: 5px 5%;
} }
.container .main-video { .container .main-video {
background: white; background: white;
border-radius: 5px; border-radius: 5px;
padding: 10px; padding: 10px;
} }
.container .main-video video { .container .main-video video {
width: 100%; width: 100%;
border-radius: 5px; border-radius: 5px;
} }
.container .main-video video .title { .container .main-video video .title {
color: grey; color: grey;
font-size: 23px; font-size: 23px;
padding-top: 15px; padding-top: 15px;
padding-bottom: 15px; padding-bottom: 15px;
} }
.container .video-list { .container .video-list {
background: white; background: white;
border-radius: 5px; border-radius: 5px;
height: 100vh; height: 100vh;
overflow-y: scroll; overflow-y: scroll;
} }
.container .video-list .vid video { .container .video-list .vid video {
width: 100%; width: 100%;
border-radius: 5px; border-radius: 5px;
} }
.container .main-video .title { .container .main-video .title {
color: grey; color: grey;
font-size: 23px; font-size: 23px;
padding-top: 15px; padding-top: 15px;
padding-bottom: 15px; padding-bottom: 15px;
} }
.container .video-list::-webkit-scrollbar { .container .video-list::-webkit-scrollbar {
width: 7px; width: 7px;
} }
.container .video-list::-webkit-scrollbar-track { .container .video-list::-webkit-scrollbar-track {
background: white; background: white;
border-radius: 50px; border-radius: 50px;
} }
.container .video-list::-webkit-scrollbar-thumb { .container .video-list::-webkit-scrollbar-thumb {
background: #ccc; background: #ccc;
border-radius: 50px; border-radius: 50px;
} }
.container .video-list .vid video { .container .video-list .vid video {
width: 100px; width: 100px;
border-radius: 5px; border-radius: 5px;
} }
.container .video-list .vid { .container .video-list .vid {
display: -webkit-box;
display: -ms-flexbox;
display: flex; display: flex;
gap: 15px; gap: 15px;
background: white; background: white;
border-radius: 5px; border-radius: 5px;
margin: 10px; margin: 10px;
padding: 10px; padding: 10px;
border: 1px solid rgba(0, 0, 0, .1); border: 1px solid rgba(0, 0, 0, 0.1);
cursor: pointer; cursor: pointer;
flex-direction: column; -webkit-box-orient: vertical;
} -webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.container .video-list .vid:hover { .container .video-list .vid:hover {
background: white; background: white;
} }
.container .video-list .vid.active { .container .video-list .vid.active {
background: #ccc; background: #ccc;
} }
.container .video-list .vid.active.title { .container .video-list .vid.active.title {
color: white; color: white;
} }
.container .video-list .vid .title { .container .video-list .vid .title {
color: grey; color: grey;
font-size: 17px; font-size: 17px;
} }
.container .video-list .vid video { .container .video-list .vid video {
width: 100%; width: 100%;
border-radius: 5px; border-radius: 5px;
} }
@media(max-width:994px) { @media (max-width: 994px) {
.container { .container {
grid-template-columns: 1.5fr 1fr; -ms-grid-columns: 1.5fr 1fr;
padding: 10px; grid-template-columns: 1.5fr 1fr;
padding: 10px;
} }
} }
@media(max-width:778px) { @media (max-width: 778px) {
.container { .container {
grid-template-columns: 1fr; -ms-grid-columns: 1fr;
padding: 10px; grid-template-columns: 1fr;
padding: 10px;
}
}
/*# sourceMappingURL=style.css.map */
.vid img{
width: 100%;
} }
}