/* * @package Style for JX Header Account * @description This section holds specific style redeclarations for * JX Header Account */ .jx-header-account { .dropdown-toggle, a[data-toggle="modal"] { display: block; padding: 14px; @media (max-width: 1199px) { span { display: none; } } } } /* * @section Style for login wrapper * @description This section holds specific style redeclarations for * login content wrapper */ .jx-header-account-wrapper { .dropdown & { padding: 30px; width: 320px; @media (min-width: 768px) { &.twocolumns, &.onecolumn:not(.is-logged) { width: 500px; } } } @media (min-width: 768px) { &.twocolumns { .user-data { display: flex; align-items: center; margin-bottom: 20px; img { flex: 0 0 30%; max-width: 30%; margin-right: 20px; border: 2px solid #f6f6f6; } h3 { order: 1; } } ul { column-count: 2; column-gap: 20px; list-style-position: inside; } } } .header-login-content { display: none; &.active { display: block; max-height: none; overflow: visible; } } footer { text-align: center; .register-link { margin-top: 10px; } } .radio-inline { margin-right: 20px; &:last-child { margin-right: 0; } .custom-radio { margin-right: 0; } } .custom-checkbox { display: -webkit-box; display: -ms-flexbox; display: flex; span { -webkit-box-flex: 0; -ms-flex: 0 0 0.9375rem; flex: 0 0 0.9375rem; } label { padding-left: .625rem; } } } /* * @section Style for social login buttons * @description This section holds specific style for * social login buttons */ .social-login-buttons { margin: 0 -5px; a { display: inline-block; margin: 0 5px 10px; i { margin-right: 5px; } } } /* * @section MODAL AS LEFT/RIGHT SIDEBAR * @description Add "left" or "right" in modal parent div, after class="modal". */ .jx-header-account { .modal.left .modal-dialog, .modal.right .modal-dialog { position: fixed; margin: auto; width: 320px; height: 100%; transform: translate3d(0%, 0, 0); @media (min-width: 768px) { width: 500px; } } .modal.left .modal-content, .modal.right .modal-content { height: 100%; overflow-y: auto; } /*Left*/ .modal.left.fade .modal-dialog { left: -320px; transition: opacity 0.3s linear, left 0.3s ease-out; @media (min-width: 768px) { left: -500px; } } .modal.left.fade.in .modal-dialog { left: 0; } /*Right*/ .modal.right.fade .modal-dialog { right: -320px; transition: opacity 0.3s linear, right 0.3s ease-out; @media (min-width: 768px) { right: -500px; } } .modal.right.fade.in .modal-dialog { right: 0; } } /* * @section Style for login wrapper * @description This section holds specific style redeclarations for * login content wrapper */ #wrapper, #footer { .jx-header-account-wrapper { padding: 20px; max-width: 100%; margin-bottom: 30px; background: #ffffff; box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2); [class^="col-"], [class*=" col-"] { width: 100%; flex: 0 0 100%; text-align: left; } } }