// GLOBAL STYLES /* Sticky footer styles -------------------------------------------------- */ html, body { height: 100%; background: color("grey","lighten-3"); /* The html and body elements cannot have any padding or margin. */ } /* Wrapper for page content to push down footer */ #wrap { min-height: 100%; height: auto; /* Negative indent footer by its height */ margin: 0 auto -40px; /* Pad bottom by footer height */ padding: 0 0 40px; } .pull-right { float: right; } .pull-left { float: left; } // Z-levels .z-depth-0 { box-shadow: none !important; } .z-depth-1 { box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.1), 1px 1px 5px 0px rgba(0, 0, 0, 0.1); } .z-depth-1-half { box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15); } .z-depth-2 { box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } .z-depth-3 { box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19); } .z-depth-4 { box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21); } .z-depth-5 { box-shadow: 0 27px 24px 0 rgba(0, 0, 0, 0.2), 0 40px 77px 0 rgba(0, 0, 0, 0.22); } .hoverable { transition: box-shadow .55s; box-shadow: 0; } .hoverable:hover { transition: box-shadow .45s; box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } // Normalize a { color: $link-color; text-decoration: none; cursor: pointer; // Gets rid of tap active state -webkit-tap-highlight-color: transparent; &:hover, &:focus { text-decoration: none; color: $link-hover-color; } } ul { padding: 0; list-style-type: none; li { list-style-type: none; } } .jumbotron, .card, .label, .alert, .nav .nav-link, .navbar-toggler, .navbar, .breadcrumb, .page-item:last-child .page-link, .page-item:first-child .page-link, .pagination-lg .page-item:last-child .page-link, .pagination-lg .page-item:first-child .page-link, .pagination-sm .page-item:first-child .page-link, .pagination-sm .page-item:last-child .page-link, .list-group .list-group-item, .modal-content, .tooltip-inner, .popover, .dropdown-menu, .input-group-addon, .file-custom, .card .card-header { border-radius: 0; } .jumbotron, .card, .list-group, .popover, .navbar, .dropdown-menu, .pagination { @extend .z-depth-1; } .popover, .input-group-addon, .dropdown-menu { border: 0; } // Modal footer buttons fix .modal-footer .btn + .btn { margin-bottom: 6px; } // Shifting bacground fix body.modal-open { overflow: inherit; padding-right: 0 !important; } body { overflow: auto !important; } // Card columns fix - cut edges of the cards .card-columns .card { margin: 7px 0; } // Parallax .parallax { background-repeat: no-repeat; background-size: cover; background-attachment: fixed; position: relative; padding-top: 3em; padding-bottom: 3em; } //Popover .popover-title{ background:lighten($secondary-color,5%); color: #fff; text-transform: uppercase; font-weight: bold; } // search .filter-search-form { margin: 0px; padding: 0; display: inline-block; vertical-align: middle; .input { padding-right: 25px; padding-right: 26px \9; padding-left: 5px; padding-left: 4px \9; /* IE7-8 doesn't have border-radius, so don't indent the padding */ margin: 0 0 0 2px; border-radius: 2px; -webkit-transition: width 0.2s ease-in-out; -moz-transition:width 0.2s ease-in-out; -o-transition: width 0.2s ease-in-out; transition: width 0.2s ease-in-out; width: 100px; height:1.6rem; vertical-align: top; border: 1px solid lighten($primary-color,67%); background: #fff; float:left; } button { border: 0; background: none; /** belows styles are working good */ padding: 4px 0px 0; position: relative; /* IE7-8 doesn't have border-radius, so don't indent the padding */ margin-bottom: 0; border-radius: 2px; margin-left: -26px; .material-icons { font-size: 1.2rem; color:lighten($primary-color,40%); } } .input:focus + button { z-index: 3; color: $secondary-color; } .input:focus{ width: 250px; box-shadow: none !important; border: 1px solid lighten($primary-color,67%) !important; } } // Scrollspy free .nav-pills { &.horizontal-spy { .nav-item { .active { border-bottom: 2px solid $primary-color-light; border-left: none; } &:hover { background-color: transparent; color: $primary-color; font-weight: 500; border-left: none; } } } } //Nav normalize .nav-pills .nav-item.open .nav-link, .nav-pills .nav-item.open .nav-link:focus, .nav-pills .nav-item.open .nav-link:hover, .nav-pills .nav-link.active, .nav-pills .nav-link.active:focus, .nav-pills .nav-link.active:hover { background-color: transparent; color: #000; } //Disabled cursor .disabled { cursor: not-allowed!important; } //Video responsive .video-fluid { height: auto; width: 100%; } //Media improvement .media { img { @extend .z-depth-1-half; } } //Equal height columns .row-eq-height { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } // Display Inline Block .display-inline-block { display: inline-block; } // Filter Drop Down .filter-dropdown { .dropdown-menu{ padding: 12px; } } // Check box .c-input>input:checked~.c-indicator{ background-color: $secondary-color; } // c-select custom .c-select { border-color:lighten($primary-color,67%); &+.c-select{ margin-left: 5px; } } // Modal align center .modal { height: 100%; .modal-header{ padding: 10px 15px; border-bottom: 2px solid lighten($primary-color,50%); .modal-title{ font-weight: bold; font-size: 1.2rem; } } .close { margin: -20px -24px 0 0; background-color: #fff; opacity: 1; border-radius: 50%; width: 24px; height: 24px; color:$secondary-color; box-shadow: 1px 1px 3px rgba(0,0,0,0.5); } .modal-dialog { top: 50% !important; margin-top:0; margin-bottom:0; } //keep proper transitions on fade in &.fade .modal-dialog { // transform: scale3d(0.3, 0.3, 0.3); -webkit-transform: scale3d(.3, .3, .3) translateY(-100%) !important; transform: scale3d(.3, .3, .3) translateY(-100%) !important; opacity: 0; visibility: hidden; transition-property: all; -webkit-animation-duration: 5s; animation-duration: 5s; -webkit-animation-fill-mode: both; animation-fill-mode: both; } &.in .modal-dialog { transform:scale3d(1, 1, 1) translateY(-50%) !important; opacity: 1; visibility: visible; } .modal-content{ border-radius: 4px; box-shadow: 5px 5px 15px rgba(0,0,0,0.2); } } // .breadcrumb custom .breadcrumb{ border-bottom:1px solid lighten($primary-color,67%); padding: 5px 0; margin: 0 0 10px 0; font-size: 13px; }