JezK
Edit File: demo.css
.custom-template { position: fixed; top: 50%; transform: translateY(-50%); right: 0px; width: 280px; height: max-content; display: block; z-index: 1; background: #ffffff; transition: all .3s; z-index: 1003; box-shadow: -1px 1px 20px rgba(69, 65, 78, 0.15); border-top-left-radius: 5px; border-bottom-left-radius: 5px; transition: all .5s; } .custom-template.open { right: 0px; } .bg-list-color { background: #f0f4ff !important; border-radius: 10px; } .custom-template .custom-toggle { position: absolute; width: 45px; height: 45px; background: rgb(21 135 249); top: 50%; left: -45px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; text-align: center; border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-right: 1px solid #177dff; cursor: pointer; color: #ffffff; box-shadow: -5px 5px 20px rgba(69, 65, 78, 0.21); } .custom-template .custom-toggle i { font-size: 20px; animation: 1.3s spin linear infinite; } .custom-template .title { padding: 15px; text-align: left; font-size: 16px; font-weight: 600; color: #ffffff; border-top-left-radius: 5px; border-bottom: 1px solid #ebedf2; background: #5867dd; } .custom-template .custom-content { padding: 20px 0px; /* max-height: calc(100vh - 90px); */ overflow: auto; } .custom-template .btnSwitch button:hover { border-color: #0bf; } .custom-template .btnSwitch button.selected { border-color: #0bf; } .custom-template .img-pick { padding: 4px; min-height: 100px; border-radius: 5px; cursor: pointer; } .custom-template .img-pick img { height: 100%; height: 100px; width: 100%; border-radius: 5px; border: 2px solid transparent; } .custom-template .img-pick:hover img, .custom-template .img-pick.active img { border-color: #177dff; } @media screen and (max-width: 550px) { .table-typo tr td { display: flex; align-items: center; word-break: break-word; } .table-typo tr td:first-child p { margin-bottom: 0px; } } .nav-side .navbar-nav li>a { padding: 10px 0; } @media screen and (max-width: 576px) { .custom-template .custom-content { overflow: auto; } .form-show-notify>.text-right, .form-show-validation>.text-right { text-align: left !important; } } @media screen and (max-width: 400px) { .custom-template { width: 78% !important; right: -78%; } } .border-10 { border-radius: 18px !important; } .card-img-top { border-top-left-radius: 18px !important; border-top-right-radius: 18px !important; } table.no-padding tr td { padding: 0 5px; } #warehouse_length label { display: none; } .font-small label { font-size: 13px; } .wh-18 { width: 18px; height: 17px; margin-top: .1rem; } .navbar .navbar-nav li .bg-list-color a:before { color: #1588f9; } .dropdown-toggle .text-primary a { color: #1588f9; } .shadow { border: 0; box-shadow: 0px 3px 5px #04c6ff45 !important; } .f-13 { font-size: 13px; }