html { min-height: 100%; } body { height: 100%; /* The html and body elements cannot have any padding or margin. */ margin: 0px; padding: 0px !important; } html, body { overflow-x: hidden; /* Prevent scroll on narrow devices */ } .offcanvas-main-section-overlay { display: none; cursor: pointer; opacity: 0.5; } .sidebar-padding { padding: 12px 14px; } .offcanvas .sidebar .sidebar-menu > li > a, .offcanvas .sidebar .dropdown-menu > li > a { padding: 12px 14px; display: block; whitespace: nowrap; transition: 0.2s; text-decoration: none !important; } .offcanvas .sidebar .dropdown-menu { padding: 0px; font-size: inherit; } .offcanvas .sidebar .dropdown-menu > li > a { padding-left: 28px; } .offcanvas .sidebar .divider { height: 1px; overflow: hidden; background-color: #ebeff2; width: 100%; margin: 0px; } .offcanvas .sidebar .badge { right: 15px !important; top: 11px !important; } .offcanvas .sidebar .sidebar-menu > li > a:hover, .offcanvas .sidebar .dropdown-menu > li > a:hover, .offcanvas .sidebar .sidebar-menu > li > a:focus, .offcanvas .sidebar .dropdown-menu > li > a:focus, .offcanvas .sidebar .sidebar-menu > li > a:active, .offcanvas .sidebar .dropdown-menu > li > a:active { background-color: #f0f4f7; } @media (max-width: 991px) { input[type='checkbox'] { -webkit-appearance: none; width: 12px; height: 12px; background: white; border-radius: 6px; border: 1px solid #d1d8dd; display: inline-block; } input[type='checkbox']:checked { background: #3b99fc; border-color: #3b99fc; } input.list-select-all { margin-top: 0px; } .input-area input[type='checkbox'] { margin-top: 2px; margin-left: -23px; } .intro-area, .footnote-area { padding: 15px; } .grid-row-open { top: 0; } .layout-main { position: relative; } body[data-route^="Form"] .page-title h1 { margin-top: 14px; } body[data-route^="Form"] .page-title .indicator { display: block; margin-top: -9px; margin-bottom: 3px; } body[data-route^="Form"] .page-actions { padding-top: 10px !important; padding-bottom: 0px !important; padding-left: 0px !important; } body[data-route^="Form"] .page-head .sub-heading { display: block; position: absolute; bottom: -30px; right: 5px; min-width: 200px; } .control-label, .grid-heading-row .grid-static-col { font-weight: 200; } .toggle-navbar-new-comments { padding: 8px 0px !important; } .navbar > .container > .navbar-header { float: left; width: 80%; } .navbar > .container > .navbar-right { float: right; } .module-item { padding: 7px 0px !important; } .module-item h4 { font-weight: 200; } #navbar-breadcrumbs { margin: 0px; display: inline-block; } #navbar-breadcrumbs > li, #navbar-breadcrumbs > li > a { display: inline-block; vertical-align: middle; } #navbar-breadcrumbs > li > a:before { content: "\f104"; margin-right: 10px; color: #6c7680; } #navbar-breadcrumbs li:not(:nth-last-child(-n+1)) { display: none; } .navbar-nav { margin: 0px; } .offcanvas { transition: 0.25s; } .offcanvas-main-section-overlay { bottom: 0; position: fixed; } .offcanvas-container, .offcanvas, .offcanvas-main-section { position: absolute; left: 0; right: 0; top: 0; bottom: 0; } .offcanvas.active-left, .offcanvas.active-right { position: fixed; } .offcanvas.active-left .offcanvas-main-section-overlay, .offcanvas.active-right .offcanvas-main-section-overlay { z-index: 1031; display: block; bottom: 0; } .offcanvas.active-left { -webkit-transform: translate3d(75%, 0, 0); transform: translate3d(75%, 0, 0); } .offcanvas.active-right { -webkit-transform: translate3d(-75%, 0, 0); transform: translate3d(-75%, 0, 0); } .offcanvas .sidebar { position: fixed; top: 0; bottom: 0; width: 75%; /* 9 columns */ overflow-x: hidden; overflow-y: auto; font-size: 12px; } .offcanvas .sidebar-right { left: 100%; border-left: 1px solid #d1d8dd; } .offcanvas .sidebar-left { right: 100%; border-right: 1px solid #d1d8dd; } .offcanvas .sidebar-menu { margin-bottom: 0; } .sidebar .form-group { margin-bottom: 0px; } #sidebar-search { height: 27px; } .sidebar .navbar-search-icon { float: right; color: #6c7680; font-size: inherit; position: relative; right: 7px; top: -20px; height: 0; } .sidebar form { padding: 7px; } .sidebar .main-menu { position: absolute; left: 0; right: 0; top: 0; bottom: 41px; overflow-y: auto; } .sidebar .user-menu { padding: 9px 14px; background-color: #f5f7fa; position: absolute; left: 0; bottom: 0; right: 0; } .sidebar .user-menu, .sidebar .user-menu .octicon { color: #6c7680; } .sidebar .user-menu img { margin-top: -1px; } body[data-route^="Module"] .navbar-center { display: block !important; position: absolute; top: 10px; left: 25%; right: 25%; text-align: center; } body.no-breadcrumbs .navbar .navbar-home { display: inline-block !important; padding-left: 0px; margin-left: 0px; padding-top: 6px; } body.no-breadcrumbs .navbar .navbar-home:before { font-family: FontAwesome; font-weight: normal; font-style: normal; text-decoration: inherit; -webkit-font-smoothing: antialiased; *margin-right: .3em; display: inline-block; speak: none; font-size: 24px; transition: 0.2s; position: relative; top: 3px; content: "\f104"; margin-right: 10px; color: #6c7680; } body.no-breadcrumbs .navbar .navbar-home:hover:before, body.no-breadcrumbs .navbar .navbar-home:focus:before, body.no-breadcrumbs .navbar .navbar-home:active:before { color: #36414c !important; } body[data-route=""] .navbar .navbar-home, body[data-route="desktop"] .navbar .navbar-home { display: none !important; } .linked-with-dialog { width: 100% !important; } body, .btn, .indicator { font-weight: 200; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .like-disabled-input, .bold, .strong, strong, b { font-weight: 400; } } @media (max-width: 767px) { .modal .modal-dialog { margin: 0px; padding: 0px; width: 100%; height: 100%; position: fixed; top: 0px; bottom: 0px; left: 0px; right: 0px; overflow-y: auto; background-color: #fff; } .modal .modal-content { border-radius: 0px; border: none; box-shadow: none; height: 100%; } .modal .modal-body .form-layout { margin: -15px; } .modal .file-upload .input-upload { width: 100%; text-align: center; } .modal .file-upload .input-upload .btn-browse { width: 100%; } .modal .file-upload .web-link-wrapper { display: block; width: 100% !important; text-align: center; } .modal .file-upload .web-link-wrapper .file-upload-or { display: block; margin: 15px 24px; } .modal .file-upload .web-link-wrapper .input-link { width: 100% !important; } .layout-main-section-wrapper { padding: 0px; } .layout-main-section { border-left-color: transparent !important; border-right-color: transparent !important; } .timeline { border-left: none !important; border-right: none !important; } .timeline .timeline-head { padding: 7px 15px; } .timeline .timeline-item { padding: 15px; border-bottom: 1px dashed #d1d8dd; } .timeline .timeline-item:last-child { border-bottom: none; } .list-row { padding: 13px 15px !important; } .doclist-row { position: relative; padding-right: 10px; } .doclist-row .list-row-id { left: 18px; text-align: left; margin-top: 3px; } .doclist-row.has-checkbox .list-row-id { left: 40px; } .doclist-row .list-row-indicator { position: absolute; right: 0px; top: -20px; } .doclist-row .list-row-modified { margin-right: -10px; } .doclist-row .list-row-left { z-index: 1; } .doclist-row .list-row-right { float: right; } .doclist-row .list-row-right .list-row-indicator { top: 4px; } .doclist-row .list-row-right .list-row-indicator .indicator::before, .doclist-row .list-row-right .list-row-indicator .indicator::after { height: 12px; width: 12px; border-radius: 12px; } .doclist-row .list-row-right.no-right-column { position: absolute; top: 0; right: 10px; left: -10px; width: 100%; } body[data-route^="messages"] .navbar-center { display: block !important; position: absolute; top: 10px; left: 25%; right: 25%; text-align: center; } #page-messages .layout-side-section { position: relative; left: 0px; border-right: 1px solid #d1d8dd; padding-left: 0px; float: left; width: 76px; } #page-messages .layout-main-section-wrapper { position: absolute; left: 75px; right: 0px; border-left: 1px solid #d1d8dd; float: left; } #page-messages .module-sidebar-item { margin: 0px; } #page-messages .module-sidebar-item .messages-sidebar-link { padding: 15px; } #page-messages .timeline-head { padding: 15px 15px 7px; } #page-messages .list-row { padding: 7px 0px; } #page-messages .message-row-right { margin-top: 10px; text-align: left; } #page-setup-wizard .form-section:first-child .form-column:first-child .frappe-control:first-child { border-top: 1px solid #d1d8dd; } #page-setup-wizard .form-section:last-child .form-column:last-child .frappe-control:last-child { border-bottom: 1px solid #d1d8dd; } #page-setup-wizard .setup-wizard-slide .form { border: none; } body[data-route^="Form"] .page-title .indicator { margin-top: 1px; } }