/* Table of Contents ================================================== # Aside # Media Queries */ /* # Aside ================================================== */ .aside { background-clip: padding-box; background: rgba(255,255,255,1); box-shadow: 0 0 3px rgba(0,0,0,0.25); display: none; height: 100%; left: initial; margin-left: 0; outline: 0; position: fixed; right: 0; top: 0; width: 560px; z-index: 1050; } .aside-left { left: 0; right: initial; } .aside.fade { right: -100%; -webkit-transition: opacity 0.3s linear, right 0.3s ease-out; transition: opacity 0.3s linear, right 0.3s ease-out; top: 0; } .aside-left.fade { left: -100%; right: 0; -webkit-transition: opacity 0.3s linear, left 0.3s ease-out; transition: opacity 0.3s linear, left 0.3s ease-out; } .aside.fade.in { right: 0; top: 0; } .aside-left.fade.in { left: 0; right: initial; } .aside-header { background: rgba(24,24,24,1); border-bottom: 1px solid rgba(4,4,4,1); margin: 0; padding: 21px 0px 22px 0px; position: absolute; text-transform: uppercase; text-align: center; top: 0; width: 100%; z-index: 1051; } .aside-header h3 { color: rgba(255,255,255,1); font-size: 14px; letter-spacing: 1px; line-height: 14px; margin: 0; text-transform: uppercase; text-align: center; } .aside-body { bottom: 0; overflow-y: scroll; padding: 65px 18px; position: absolute; width: calc(100% - 36px); top: 0; z-index: 1051; } .aside-body p:last-child { margin-bottom: 0; } .aside-footer { background: rgba(255,255,255,1); border-top: 1px solid rgba(243,243,243,1); bottom: 0; margin-bottom: 0; padding: 0; position: absolute; width: 100%; z-index: 1051; } .aside-footer-btn, button.aside-footer-btn, input.aside-footer-btn { -webkit-appearance: none; -moz-appearance: none; background: rgba(255,255,255,1); border-radius: 0; border: 0; -moz-box-sizing: border-box; box-sizing: border-box; color: rgba(34,34,34,1) !important; cursor: pointer; float: left; -webkit-font-smoothing: antialiased; font-weight: bold; font-size: 11px; letter-spacing: 1px; line-height: 11px; margin: 0; padding: 22px 0; text-rendering: geometricPrecision; text-transform: uppercase; text-indent: 0; text-align: center; vertical-align: middle; width: 100%; } .aside-footer-btn[disabled], button.aside-footer-btn[disabled], input.aside-footer-btn[disabled] { color: rgba(200,200,200,1) !important; cursor: not-allowed; } .aside-footer-btn-group > .aside-footer-btn, .aside-footer-btn-group > button.aside-footer-btn .aside-footer-btn-group > input.aside-footer-btn { border-right: 1px solid rgba(243,243,243,1); width: 50%; } .aside-footer-btn-group > .aside-footer-btn:last-child, .aside-footer-btn-group > button.aside-footer-btn:last-child, .aside-footer-btn-group > input.aside-footer-btn:last-child { border-right: none; } /* # Media Queries ================================================== */ @media only screen and (max-width: 767px) { .aside { width: 300px; } } @media only screen and (min-width: 480px) and (max-width: 767px) { .aside { width: 460px; } }