Newer
Older
HoteleriaAdmin / src / assets / scss / responsive.scss
James Cuadrado on 26 May 2021 5 KB init final
/*
Template Name: Admin Press Admin
Author: Themedesigner
Email: niravjoshi87@gmail.com
File: scss
*/
/*============================================================== 
 For Laptop & above all (1650px) 
 ============================================================== */

@media(min-width:1650px) {
    .widget-app-columns {
      column-count:3; 
    } 
    
}
/*============================================================== 
 For Laptop & above all (1370px) 
 ============================================================== */

@media(max-width:1370px) {
    .widget-app-columns {
      column-count:2;
    }  
}


/*-- ============================================================== 
 Small Desktop & above all (1024px) 
 ============================================================== */

@media(min-width:1024px) {
    .page-wrapper{
        margin-left:240px;    
    }  
    .footer{
        left: 240px;
    }     
}

@media(max-width:1023px) {
    .widget-app-columns {
        column-count:1;
    }
}


/*-- ============================================================== 
 Ipad & above all(768px) 
 ============================================================== */

@media(min-width:768px) {
    .navbar-header {
        width: 240px;
        flex-shrink:0;
        .navbar-brand {
            padding-top: 0px;
        }
    }
    /*This is for the breeadcrumd*/
    .page-titles{
        .breadcrumb{
            float:right;
        }
    }
    .card-group .card:first-child, .card-group .card:not(:first-child):not(:last-child){
        border-right:1px solid rgba(0, 0, 0, 0.03);
        
    }
    .material-icon-list-demo .icons div {
        width: 33%;
        padding: 15px;
        display: inline-block;
        line-height: 40px;
    }
   .mini-sidebar {
        .page-wrapper{
            margin-left:70px;
        }
        .footer{
            left: 70px;
        }
    }
    .flex-wrap{
        flex-wrap:nowrap!important;
        -webkit-flex-wrap:nowrap!important;
    }
}


/*-- ============================================================== 
 Phone and below ipad(767px) 
 ============================================================== */

@media(max-width:767px) {
    
    /*Header*/
    .topbar {
        
        width: 100%;
        .top-navbar {
            padding-right: 15px;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            flex-direction: row;
            flex-wrap: nowrap;
            -webkit-align-items: center;
            .navbar-collapse {
                display: flex;
                width: 100%;
            }
            .navbar-header{ 
                width: 70px;
            }
            .navbar-brand span{
                display: none;
            }
            .navbar-nav {
                flex-direction: row;
                > .nav-item.show {
                    position: static;
                    .dropdown-menu {
                        width: 100%;
                        margin-top: 0px;
                        left:0!important;
                        right:0!important;
                    }
                }
                > .nav-item > .nav-link {
                    padding-left: .50rem;
                    padding-right: .50rem;
                }
                .dropdown-menu {
                    position: absolute;
                }
            }
        }
    }
    .mega-dropdown {
        .dropdown-menu {
            height: 480px;
            overflow: auto;
        }
    }

    /*Sidebar and wrapper*/
    .mini-sidebar .page-wrapper{
        margin-left:0px;
        
    }
    .comment-text{
        .comment-footer{
            .action-icons {
                display: block;
                padding: 10px 0;
            } 
        }
    }
    
    /*Footer*/
    .footer{
            left: 0px;
        }
    .material-icon-list-demo .icons div {
        width: 100%;
    }
    .error-page{
        .footer{
            position: fixed;
            bottom: 0px;
            z-index: 10;
        }
    }
    .error-box{
        position: relative;
        padding-bottom: 60px;
    }
    .error-body{
        padding-top: 10%;
           h1{
              font-size:100px;
              font-weight:600;
              line-height:100px;
           }
        }
    .login-register{
        position: relative;
        overflow: hidden;
    }
    .login-box{
        width: 90%;
        
    }
    .login-sidebar{
        padding: 10% 0;
        .login-box{
            position: relative;
        }
    }
    
    
    /*Timeline*/
    ul.timeline:before {
        left: 40px;
    }
    ul.timeline>li>.timeline-panel {
        width: calc(100% - 90px);
    }
    ul.timeline>li>.timeline-badge {
        top: 16px;
        left: 15px;
        margin-left: 0;
    }
    ul.timeline>li>.timeline-panel {
        float: right;
    }
    ul.timeline>li>.timeline-panel:before {
        right: auto;
        left: -15px;
        border-right-width: 15px;
        border-left-width: 0;
    }
    ul.timeline>li>.timeline-panel:after {
        right: auto;
        left: -14px;
        border-right-width: 14px;
        border-left-width: 0;
    }
    
    
}