mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
215 lines
3.8 KiB
CSS
215 lines
3.8 KiB
CSS
/* if it is IE */
|
|
@media all and (-ms-high-contrast:none){
|
|
nav ul.items-container li:first-child {
|
|
display: block;
|
|
flex: 0 1 auto; /* Default */
|
|
}
|
|
}
|
|
|
|
#buttonMyNavbar{
|
|
display: none;
|
|
}
|
|
|
|
#mysearch.in,
|
|
#mysearch.collapsing {
|
|
display: block!important;
|
|
}
|
|
#myNavbar{
|
|
display: block;
|
|
}
|
|
#myNavbar.in,
|
|
#myNavbar.collapsing {
|
|
display: block!important;
|
|
}
|
|
#searchForm {
|
|
width: 100%;
|
|
margin-left: 5px;
|
|
white-space: nowrap;
|
|
}
|
|
#searchForm .btn {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
border-left-width: 0;
|
|
}
|
|
#searchForm input {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
border-right-width: 0;
|
|
}
|
|
|
|
#rightProfileButton{
|
|
padding: 0;
|
|
margin: 5px;
|
|
border: 0;
|
|
background: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
#rightLoginButton{
|
|
margin-left: 5px;
|
|
margin-right: 40px;
|
|
}
|
|
|
|
#navbarRegularButtons{
|
|
max-width: 70%;
|
|
/* remove the scroll because the dropsown menus does not work */
|
|
/*overflow-x: auto;*/
|
|
/*overflow-y: hidden;*/
|
|
}
|
|
|
|
#navbarRegularButtons span.hidden-mdx{
|
|
max-width: 15vw;
|
|
display: inline-block;
|
|
}
|
|
|
|
#navbarRegularButtons .btn{
|
|
overflow: hidden;
|
|
}
|
|
|
|
#navbarRegularButtons::-webkit-scrollbar {
|
|
height: 4px;
|
|
}
|
|
#lastItemOnMenu{
|
|
padding-right: 40px;
|
|
}
|
|
#mysearch{
|
|
height: auto !important;
|
|
}
|
|
#searchNavItem, #lastItemOnMenu{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
#lastItemOnMenu ul{
|
|
padding: 0;
|
|
}
|
|
|
|
@media (max-width : 992px) {
|
|
#searchForm input{
|
|
width: 100px;
|
|
}
|
|
}
|
|
@media (max-width : 767px) {
|
|
#searchForm {
|
|
padding-left: 10px;
|
|
}
|
|
#rightLoginButton, #rightProfileButton{
|
|
margin-right: 5px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
#searchForm > div{
|
|
width: 100%;
|
|
}
|
|
|
|
.mobilesecondnav {
|
|
position: absolute;
|
|
left: 40%;
|
|
right: 5px;
|
|
}
|
|
|
|
#buttonMyNavbar, #searchNavItem{
|
|
display: block;
|
|
}
|
|
|
|
#mysearch{
|
|
/* width: 100%; */
|
|
display: none;
|
|
position: absolute;
|
|
right: 0;
|
|
left: 0;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
background-color: #FFF;
|
|
|
|
}
|
|
|
|
#myNavbar{
|
|
display: none;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50px;
|
|
background-color: #FFF;
|
|
padding: 4px;
|
|
width: 50%;
|
|
}
|
|
#mainNavBar .navbar-brand{
|
|
width: 100% !important;
|
|
text-align: center;
|
|
}
|
|
#mainNavBar .navbar-brand>img {
|
|
display: unset;
|
|
}
|
|
|
|
#myNavbar ul.right-menus{
|
|
display: block;
|
|
}
|
|
|
|
#myNavbar ul.right-menus li{
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
#myNavbar ul.right-menus .btn, #myNavbar ul.right-menus .btn-group{
|
|
margin: 2px;
|
|
width: 100%;
|
|
}
|
|
#myNavbar ul.right-menus .btn-group{
|
|
margin: 0;
|
|
}
|
|
nav ul.items-container li:first-child {
|
|
display: list-item;
|
|
}
|
|
#navbarRegularButtons span.hidden-mdx {
|
|
max-width: 100vw;
|
|
}
|
|
.globalsearchfield {
|
|
width: 90% !important;
|
|
}
|
|
|
|
.searchli {
|
|
width: 100%;
|
|
margin-right: 0;
|
|
margin-left: 0;
|
|
|
|
}
|
|
.searchdiv {
|
|
|
|
}
|
|
.navbar-toggle {
|
|
margin-right: 5px !important;
|
|
|
|
|
|
}
|
|
#navbarRegularButtons, #lastItemOnMenu, .left-side {
|
|
padding: 0 5px;
|
|
}
|
|
.searchul{
|
|
padding-left: 0px;
|
|
}
|
|
}
|
|
|
|
li.navsub-toggle .badge {
|
|
float: right;
|
|
}
|
|
li.navsub-toggle a + ul {
|
|
padding-left: 15px;
|
|
}
|
|
|
|
.navbar-lang-btn .select2-container{
|
|
margin: 8px 0;
|
|
}
|
|
.navbar-lang-btn .select2-selection{
|
|
border-color: #00000077 !important;
|
|
}
|
|
|
|
@media screen and (min-width: 992px) {
|
|
|
|
body.youtube>div.container-fluid{
|
|
margin-left: 300px;
|
|
}
|
|
body.youtube div.container-fluid .col-sm-10.col-sm-offset-1.list-group-item{
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
width: 100%;
|
|
}
|
|
}
|