492 lines
9.8 KiB
CSS
492 lines
9.8 KiB
CSS
/*
|
|
* Copyright (C) 2023 Xibo Signage Ltd
|
|
*
|
|
* Xibo - Digital Signage - https://xibosignage.com
|
|
*
|
|
* This file is part of Xibo.
|
|
*
|
|
* Xibo is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* any later version.
|
|
*
|
|
* Xibo is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with Xibo. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
/*
|
|
* Base structure
|
|
*/
|
|
|
|
/* Base */
|
|
body {
|
|
background: #f3f3f3;
|
|
color: #333333 !important;
|
|
}
|
|
.row {
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
}
|
|
.row > div {
|
|
margin-bottom: 1rem;
|
|
}
|
|
.alerts-container .alert:last-child {
|
|
margin-bottom: 0px;
|
|
}
|
|
#page-wrapper {
|
|
height: 100%
|
|
}
|
|
#sidebar-wrapper {
|
|
margin-left: -10rem;
|
|
width: 11rem;
|
|
position: fixed;
|
|
height: 100%;
|
|
z-index: 999;
|
|
}
|
|
.green {
|
|
background: #23ae89 !important;
|
|
}
|
|
.blue {
|
|
background: #2361ae !important;
|
|
}
|
|
.orange {
|
|
background: #d3a938 !important;
|
|
}
|
|
.red {
|
|
background: #ae2323 !important;
|
|
}
|
|
.form-group .help-block.form-group-inline-message {
|
|
padding-top: 5px;
|
|
}
|
|
div.input-mask {
|
|
padding-top: 7px;
|
|
}
|
|
|
|
/* Sidebar */
|
|
ul.sidebar {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 45px;
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
text-indent: 20px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
#page-wrapper:not(.active) ul.sidebar {
|
|
bottom: 0;
|
|
}
|
|
ul.sidebar li a {
|
|
color: #fff;
|
|
display: block;
|
|
float: left;
|
|
text-decoration: none;
|
|
width: 11rem;
|
|
}
|
|
ul.sidebar .sidebar-main {
|
|
height: 65px;
|
|
}
|
|
ul.sidebar .sidebar-main a {
|
|
font-size: 1.2rem;
|
|
line-height: 60px;
|
|
text-indent: 12px;
|
|
}
|
|
ul.sidebar .sidebar-main .menu-icon {
|
|
float: right;
|
|
font-size: 1.3rem;
|
|
padding-right: 28px;
|
|
line-height: 60px;
|
|
}
|
|
ul.sidebar .sidebar-title {
|
|
display: table;
|
|
font-size: 0.9rem;
|
|
margin-top: 0.8rem;
|
|
line-height: 1.5rem;
|
|
text-transform: uppercase;
|
|
text-indent: 12px;
|
|
}
|
|
#page-wrapper:not(.active) ul.sidebar .sidebar-title {
|
|
display: none;
|
|
}
|
|
#page-wrapper:not(.active) ul.sidebar .sidebar-title.separator {
|
|
display: block;
|
|
height: 2px;
|
|
margin: 13px 0;
|
|
}
|
|
ul.sidebar .sidebar-list {
|
|
height: 24px;
|
|
}
|
|
ul.sidebar .sidebar-list a {
|
|
text-indent: 16px;
|
|
font-size: 1rem;
|
|
color: #b2bfdc;
|
|
line-height: 24px;
|
|
}
|
|
ul.sidebar .sidebar-list a:hover {
|
|
color: #fff;
|
|
border-left: 3px solid #e99d1a;
|
|
text-indent: 13px;
|
|
}
|
|
ul.sidebar .sidebar-list a.sidebar-list-selected {
|
|
color: #fff;
|
|
border-left: 3px solid #e99d1a;
|
|
text-indent: 13px;
|
|
}
|
|
#page-wrapper:not(.active) ul.sidebar .sidebar-list a:hover span {
|
|
border-left: 3px solid #e99d1a;
|
|
}
|
|
ul.sidebar .sidebar-list .menu-icon {
|
|
float: right;
|
|
padding-right: 29px;
|
|
line-height: 20px;
|
|
width: 70px;
|
|
}
|
|
ul.sidebar .sidebar-list a:hover .menu-icon {
|
|
text-indent: 16px;
|
|
}
|
|
.sidebar-footer {
|
|
position: absolute;
|
|
height: 40px;
|
|
bottom: 0;
|
|
width: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
#page-wrapper:not(.active) .sidebar-footer {
|
|
display: none;
|
|
}
|
|
.sidebar-footer div a {
|
|
color: #b2bfdc;
|
|
font-size: 0.85rem;
|
|
line-height: 43px;
|
|
}
|
|
.sidebar-footer div a:hover {
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Main Content */
|
|
#content-wrapper {
|
|
padding-left: 0;
|
|
margin-left: 0;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
@media only screen and (min-width:561px){
|
|
#page-wrapper.active {
|
|
padding-left: 11rem;
|
|
}
|
|
}
|
|
@media only screen and (max-width:560px){
|
|
#page-wrapper.active {
|
|
padding-left: 70px;
|
|
}
|
|
}
|
|
#page-wrapper.active #sidebar-wrapper {
|
|
left: 10rem;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Header */
|
|
.row.header {
|
|
height: 60px;
|
|
background: #273759;
|
|
margin-bottom: 15px;
|
|
z-index: 1;
|
|
}
|
|
.row.header > div:last-child {
|
|
padding-right: 0;
|
|
}
|
|
.row.header .meta .page {
|
|
font-size: 1.2rem;
|
|
padding-top: 11px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
@media only screen and (min-width : 993px) {
|
|
.row.header .meta .page {
|
|
width: 380px;
|
|
}
|
|
}
|
|
@media only screen and (max-width : 992px) {
|
|
.row header .meta .page {
|
|
width: 11rem;
|
|
}
|
|
}
|
|
.row.header .meta .breadcrumb-links {
|
|
font-size: 0.7rem;
|
|
}
|
|
.row.header .login a {
|
|
padding: 18px;
|
|
display: block;
|
|
}
|
|
.row.header .user > .item {
|
|
width: 65px;
|
|
height: 60px;
|
|
display: inline-block;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
.row.header .user > .item > a {
|
|
color: #cccccc;
|
|
display: block;
|
|
padding: 10px 0;
|
|
}
|
|
.row.header .user > .item > a:hover {
|
|
color: #f9f9f9;
|
|
}
|
|
.row.header .user-notif > .item > a {
|
|
padding: 5px 0;
|
|
line-height: 49px;
|
|
}
|
|
.row.header .user-notif > .item > i {
|
|
font-size: 1.4rem;
|
|
line-height: 50px;
|
|
}
|
|
.row.header .user > .item i {
|
|
font-size: 1.4rem;
|
|
line-height: 55px;
|
|
}
|
|
.row.header .user > .item img {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 2px;
|
|
}
|
|
.row.header .user > .item a::after {
|
|
display: none;
|
|
}
|
|
.row.header .user > .item div.dropdown-menu {
|
|
border-radius: 2px;
|
|
-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.05);
|
|
box-shadow: 0 6px 12px rgba(0,0,0,.05);
|
|
}
|
|
.row.header .user > .item div.dropdown-menu:before {
|
|
position: absolute;
|
|
top: -7px;
|
|
right: 23px;
|
|
display: inline-block;
|
|
border-right: 7px solid transparent;
|
|
border-bottom: 7px solid #ccc;
|
|
border-left: 7px solid transparent;
|
|
border-bottom-color: rgba(0, 0, 0, 0.2);
|
|
content: '';
|
|
}
|
|
.row.header .user > .item div.dropdown-menu:after {
|
|
position: absolute;
|
|
top: -6px;
|
|
right: 24px;
|
|
display: inline-block;
|
|
border-right: 6px solid transparent;
|
|
border-bottom: 6px solid #ffffff;
|
|
border-left: 6px solid transparent;
|
|
content: '';
|
|
}
|
|
.row.header .user > .item div.dropdown-menu .dropdown-header {
|
|
text-align: center;
|
|
}
|
|
.row.header .user > .item div.dropdown-menu li.link {
|
|
text-align: left;
|
|
}
|
|
.row.header .user > .item div.dropdown-menu li.link a {
|
|
padding-left: 7px;
|
|
padding-right: 7px;
|
|
}
|
|
.row.header .user > .item div.dropdown-menu div {
|
|
padding: 3px;
|
|
}
|
|
|
|
/* Widgets */
|
|
.widget {
|
|
background: #ffffff;
|
|
border: 1px solid transparent;
|
|
border-radius: 2px;
|
|
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
|
border-color: #e9e9e9;
|
|
}
|
|
.widget .widget-title {
|
|
font-size: 1.2rem;
|
|
color: #767676;
|
|
background-color: #f6f6f6;
|
|
padding: 10px 15px;
|
|
border-bottom: 1px solid #e9e9e9;
|
|
line-height: 29px;
|
|
}
|
|
.widget .widget-title .widget-sub-title {
|
|
font-size: 1rem;
|
|
}
|
|
.widget .widget-title i {
|
|
margin-right: 5px;
|
|
}
|
|
.widget .widget-title .saving {
|
|
font-size: 1rem;
|
|
}
|
|
.widget .widget-title .widget-title-info {
|
|
font-size: 1rem;
|
|
}
|
|
.widget .widget-title input {
|
|
width: 25%;
|
|
}
|
|
/* Reset */
|
|
.widget .widget-title .bootstrap-select-searchbox input {
|
|
width: 100%;
|
|
}
|
|
|
|
.widget .widget-body {
|
|
padding: 15px;
|
|
}
|
|
.widget .widget-button {
|
|
cursor: pointer;
|
|
}
|
|
.widget .widget-body table thead * {
|
|
font-size: 14px !important;
|
|
}
|
|
.widget .widget-body table tbody * {
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
.widget .widget-body table tbody .btn-tag {
|
|
padding: 0px 5px;
|
|
}
|
|
|
|
.widget .widget-body.no-padding .error, .widget .widget-body.no-padding .message {
|
|
padding: 20px;
|
|
}
|
|
.widget .widget-body .error {
|
|
color: #ff0000;
|
|
}
|
|
.widget .widget-body table thead {
|
|
background: #fafafa;
|
|
}
|
|
.widget .widget-body .dataTables_length {
|
|
margin: 3px 0 -3px 0;
|
|
}
|
|
.widget .widget-body .dataTables_length label {
|
|
margin: 0;
|
|
}
|
|
.dataTables_wrapper .row:first-child > div {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
.widget .widget-body.large {
|
|
height: 350px;
|
|
overflow-y: auto;
|
|
}
|
|
.widget .widget-body.medium {
|
|
height: 250px;
|
|
overflow-y: auto;
|
|
}
|
|
.widget .widget-body.small {
|
|
height: 10rem;
|
|
overflow-y: auto;
|
|
}
|
|
.widget .widget-body.no-padding {
|
|
padding: 0;
|
|
}
|
|
.widget .widget-body div.alert {
|
|
margin-bottom: 10px;
|
|
}
|
|
.widget .widget-icon {
|
|
background: #30426a;
|
|
width: 65px;
|
|
height: 65px;
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
margin-right: 15px;
|
|
}
|
|
.widget .widget-icon i {
|
|
line-height: 66px;
|
|
color: #ffffff;
|
|
font-size: 2.2rem;
|
|
}
|
|
.widget .widget-content .title {
|
|
font-size: 1.75rem;
|
|
display: block;
|
|
}
|
|
.widget-action-menu {
|
|
padding: 8px;
|
|
padding-right: 15px;
|
|
}
|
|
.widget-navigation-menu {
|
|
background-color: #e9ecef;
|
|
}
|
|
|
|
/* Blue */
|
|
ul.sidebar .sidebar-main a,
|
|
.sidebar-footer,
|
|
ul.sidebar .sidebar-list a:hover,
|
|
#page-wrapper:not(.active) ul.sidebar .sidebar-title.separator {
|
|
/* Sidebar header and footer color */
|
|
background: #273759;
|
|
}
|
|
.sidebar-list a.sidebar-list-selected {
|
|
/* Sidebar selected */
|
|
background: #2c3d63;
|
|
}
|
|
#sidebar-wrapper {
|
|
/* Sidebar background color */
|
|
background: #30426a;
|
|
}
|
|
ul.sidebar .sidebar-title {
|
|
/* Sidebar title text colour */
|
|
color: #627cb7;
|
|
}
|
|
|
|
ul.sidebar .sidebar-title a, ul.sidebar .sidebar-title a:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.news-widget div.article {
|
|
padding-top: 15px;
|
|
}
|
|
|
|
|
|
|
|
/* Horizontal Menu */
|
|
.navbar-default {
|
|
background-color: #273759;
|
|
font-size: 1rem;
|
|
padding: 0 8px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.navbar-default .navbar-brand {
|
|
padding: 13px 0;
|
|
}
|
|
.navbar-default img.nav-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 2px;
|
|
}
|
|
.navbar-default .navbar-nav>li>a {
|
|
line-height: 49px;
|
|
color: #b2bfdc;
|
|
border-bottom: 1px solid #273759;
|
|
}
|
|
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
|
|
color: #fff;
|
|
background-color: #30426a;
|
|
}
|
|
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
|
|
color: #fff;
|
|
border-bottom: 1px solid #e99d1a;
|
|
background-color: #30426a;
|
|
}
|
|
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
|
|
color: #fff;
|
|
border-bottom: 1px solid #e99d1a;
|
|
background-color: #30426a;
|
|
}
|
|
.notification-drawer-icon i {
|
|
font-size: 1.4rem;
|
|
}
|
|
.remote-icons a {
|
|
padding-right: 5px;
|
|
} |