123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420 |
- /* Bootstrap scroll fix */
- body.cp {
- padding-right: 0px !important;
- }
- /* Bootstrap modal CP padding fix */
- .cp .navbar {
- padding: .5rem 1rem !important;
- }
- /* Bootstrap dropdown hover fix */
- .dropdown-item:focus, .dropdown-item:hover {
- background-color: #f1f1f1;
- }
- .dropdown-item.active, .dropdown-item:active {
- background-color: #007bff;
- }
- /* Login/MySQL form */
- html {
- height: 100%;
- }
- body.cp-login,
- body.cp-mysql,
- body.cp-first-user {
- min-height: 100%;
- display: -ms-flexbox;
- display: -webkit-box;
- display: flex;
- -ms-flex-align: center;
- -ms-flex-pack: center;
- -webkit-box-align: center;
- align-items: center;
- -webkit-box-pack: center;
- justify-content: center;
- background-color: #eee;
- }
- .cp-login .form-signin,
- .cp-mysql .form-signin,
- .cp-first-user .form-signin {
- width: 100%;
- max-width: 21rem;
- padding: 1.5rem;
- margin: 1.5rem;
- }
- .cp-login .form-signin label,
- .cp-mysql .form-signin label,
- .cp-first-user .form-signin label {
- cursor: pointer;
- }
- .cp-login .form-signin .form-control,
- .cp-mysql .form-signin .form-control,
- .cp-first-user .form-signin .form-control {
- position: relative;
- box-sizing: border-box;
- height: auto;
- padding: 0.5rem;
- font-size: 1.0rem;
- }
- .cp-login .form-signin .form-control:focus,
- .cp-mysql .form-signin .form-control:focus,
- .cp-first-user .form-signin .form-control:focus {
- z-index: 2;
- }
- .cp-login .form-signin input[type="email"] {
- margin-bottom: -1px;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
- }
- .cp-login .form-signin input[type="password"] {
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- }
- .cp-login .sys-messages,
- .cp-mysql .sys-messages,
- .cp-first-user .sys-messages {
- text-align: left;
- }
- /* Control panel skeleton */
- body.cp {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- background: initial;
- background-color: #fff;
- font-size: 1rem;
- font-weight: 400;
- line-height: 1.5;
- color: #444;
- width: 100%;
- height: 100%;
- overflow: hidden;
- }
- body.cp nav.main {
- height: 3.5rem;
- box-shadow: 0 0 5px 4px rgba(0, 0, 0, 0.25);
- }
- body.cp nav.main.bg-dark {
- background: #0747a6 url(/assets/sys/bg.png) repeat 0 0 !important;
- }
- body.cp nav.main a.navbar-brand {
- font-weight: bold;
- }
- /*
- body.cp nav.main .navbar-nav .nav-item a img {
- width: 35px;
- height: 35px;
- margin-right: 10px;
- margin-top: -30px;
- margin-bottom: -30px;
- background-color: gray;
- }
- */
- body.cp .wrap {
- width: 100%;
- height: 100%;
- display: table;
- align-items: stretch;
- }
- body.cp .wrap .sidebar,
- body.cp .wrap .content {
- display: table-cell;
- position: relative;
- padding-top: 3.5rem;
- vertical-align: top;
- }
- body.cp .wrap .sidebar.sidebar-right {
- display: none !important;
- }
- body.cp .wrap .sidebar-right .padd,
- body.cp .wrap .content .padd {
- padding: 1rem 1rem;
- }
- body.cp .wrap .scroll {
- height: 100%;
- overflow: hidden;
- overflow-y: auto;
- }
- body.cp .wrap .sidebar {
- width: 15.4rem;
- background: #eee;
- box-shadow: 0 0.5em 0.5em rgba(0, 0, 0, .3);
- }
- body.cp .wrap .sidebar .dropdown-divider {
- border-color: #d6d6d6;
- margin: 0px;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav {
- padding: 1rem 0px;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item a {
- color: #444;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.active {
- background-color: #417cb9;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.active a {
- color: #fff;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item:hover {
- background-color: #e7e7e7;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.active:hover {
- background-color: #417cb9;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav {
- background: #eee;
- padding-top: 0px;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav li.nav-item a {
- color: #444;
- padding-left: 2rem;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav li.nav-item.active {
- background-color: #e7e7e7;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav li.nav-item.active a {
- color: #417cb9;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item:last-child ul {
- padding-bottom: 0px;
- }
- body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item svg.sicon {
- fill: currentColor;
- margin-right: 0.3rem;
- }
- /* SVG colors */
- .svg-green svg {
- fill: currentColor;
- color: #28a745;
- }
- .svg-red svg {
- fill: currentColor;
- color: #cb2431;
- }
- /* Pagination */
- ul.pagination {
- margin-top: 1rem;
- }
- /* Admin table */
- .data-table {
- margin-bottom: 0px;
- }
- .data-table.table-hover tbody tr:hover {
- background-color: #fffbdf;
- }
- .data-table a svg {
- fill: currentColor;
- color: #007bff;
- }
- .data-table a:hover svg {
- color: #0056b3;
- }
- .data-table td.col_action a.ico {
- display: inline-block;
- width: 1rem;
- height: 1rem;
- margin-right: 0.6rem;
- }
- .data-table td.col_action a.ico:last-child {
- margin-right: 0px;
- }
- .data-table thead tr {
- background-color: #e9ecef;
- }
- .data-table.table-bordered td,
- .data-table.table-bordered th {
- border: none;
- border-top: 1px solid #dee2e6;
- }
- /* Admin table: table_pages */
- .data-table.table_pages .col_datetime {
- width: 8rem;
- }
- .data-table.table_pages .col_active {
- width: 5rem;
- }
- .data-table.table_pages .col_action {
- width: 6rem;
- text-align: right;
- }
- /* Admin table: table_users */
- .data-table.table_users .col_active,
- .data-table.table_users .col_admin {
- width: 5rem;
- }
- .data-table.table_users .col_action {
- width: 6rem;
- text-align: right;
- }
- /* Admin data form */
- .data-form label {
- font-weight: bold;
- margin-top: .45rem;
- margin-bottom: .45rem;
- }
- .data-form small {
- color: #aeb8bc;
- }
- .data-form > div:nth-last-child(2) {
- margin-bottom: 0px;
- }
- .data-form textarea {
- min-height: 5.4rem;
- }
- /* Checkbox style iOS */
- .checkbox-ios {
- display: inline-block;
- }
- .checkbox-ios input[type=checkbox] {
- max-height: 0;
- max-width: 0;
- opacity: 0;
- position: absolute;
- }
- .checkbox-ios input[type=checkbox] + label {
- display: block;
- position: relative;
- box-shadow: inset 0 0 0 1px #ced4da;
- background: #ced4da;
- text-indent: -5000px;
- height: 30px;
- width: 60px;
- border-radius: 1.5rem;
- cursor: pointer;
- margin-top: 0px;
- margin-bottom: 0px;
- }
- .checkbox-ios input[type=checkbox] + label:before {
- content: "";
- position: absolute;
- display: block;
- height: 30px;
- width: 30px;
- top: 0px;
- left: 0px;
- border-radius: 1.5rem;
- background: rgba(19, 191, 17, 0);
- -moz-transition: .20s ease-in-out;
- -webkit-transition: .20s ease-in-out;
- transition: .20s ease-in-out;
- }
- .checkbox-ios input[type=checkbox] + label:after {
- content: "";
- position: absolute;
- display: block;
- height: 28px;
- width: 28px;
- top: 1px;
- left: 1px;
- border-radius: 1.5rem;
- background: #fff;
- -moz-transition: .20s ease-in-out;
- -webkit-transition: .20s ease-in-out;
- transition: .20s ease-in-out;
- }
- .checkbox-ios input[type=checkbox]:checked + label:before {
- width: 60px;
- background: #007bff;
- }
- .checkbox-ios input[type=checkbox]:checked + label:after {
- left: 31px;
- }
- /* Bootstrap fixes */
- #sys-modal-user-settings {
- padding-right: 0px !important;
- }
- /* Mobile fixes */
- @media (min-width: 992px) {
- body.cp.cp-sidebar-right .wrap .sidebar.sidebar-right.d-lg-table-cell {
- display: table-cell !important;
- }
- }
- @media (max-width: 575px) {
- /* Less then 576px */
- body.cp {
- height: auto;
- overflow: scroll;
- }
- body.cp .wrap .sidebar {
- width: auto;
- box-shadow: none;
- }
- body.cp .wrap .content {
- padding-top: 0rem;
- }
- }
- @media (max-width: 767px) {
- /* Less then 768px */
- .navbar-expand-md .navbar-collapse {
- padding: 1rem;
- background: #417cb9;
- box-shadow: 0 0.2em 0.2em rgba(0, 0, 0, .3);
- border-radius: .25rem;
- }
- }
|