Adds: Sidebar background image
This commit is contained in:
parent
2d428dea9b
commit
e569de4a7c
|
@ -1,8 +1,10 @@
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<div class="sidebar" data-color="danger" data-background-color="white">
|
<div class="sidebar" data-color="danger" data-background-color="white"
|
||||||
<app-sidebar></app-sidebar>
|
data-image="./assets/images/logan-troxell-9187-unsplash.jpg">
|
||||||
<div class="sidebar-background"></div>
|
<app-sidebar></app-sidebar>
|
||||||
|
<div class="sidebar-background" style="background-image: url(./assets/images/logan-troxell-9187-unsplash.jpg)">
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="main-panel">
|
<div class="main-panel">
|
||||||
<app-navbar></app-navbar>
|
<app-navbar></app-navbar>
|
||||||
<router-outlet (activate)='onActivate($event)' (deactivate)='onDeactivate($event)'></router-outlet>
|
<router-outlet (activate)='onActivate($event)' (deactivate)='onDeactivate($event)'></router-outlet>
|
||||||
|
|
|
@ -1,322 +1,304 @@
|
||||||
*:focus {
|
*:focus {
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: rgb(106, 164, 217);
|
color: rgb(106, 164, 217);
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
color: rgb(46, 117, 182);
|
color: rgb(46, 117, 182);
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.max-width-136 {
|
.max-width-136 {
|
||||||
max-width: 136px;
|
max-width: 136px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.max-width-80 {
|
.max-width-80 {
|
||||||
max-width: 80px;
|
max-width: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.more-icon {
|
.more-icon {
|
||||||
color: rgb(209, 209, 209);
|
color: rgb(209, 209, 209);
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
/* float: right; */
|
/* float: right; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar .sidebar-background {
|
.sidebar .sidebar-background {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-color: rgb(157, 157, 158);
|
background-color: rgb(157, 157, 158);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar .nav p {
|
.sidebar .nav p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
color: rgb(89, 89, 89);
|
color: rgb(89, 89, 89);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar .nav i {
|
.sidebar .nav i {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 7px;
|
margin-right: 7px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #a1a1a1;
|
color: #a1a1a1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar[data-color="danger"] li.active > a {
|
.sidebar[data-color="danger"] li.active>a {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
-webkit-box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(255, 255, 255, 0.4);
|
-webkit-box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(255, 255, 255, 0.4);
|
||||||
box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(255, 255, 255, 0.4);
|
box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(255, 255, 255, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar .nav li.active > a i {
|
.sidebar .nav li.active>a i {
|
||||||
color: rgb(89, 89, 89);
|
color: rgb(89, 89, 89);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar .nav li a,
|
.sidebar .nav li a, .sidebar .nav li .dropdown-menu a {
|
||||||
.sidebar .nav li .dropdown-menu a {
|
margin: 5px 15px 5px;
|
||||||
margin: 5px 15px 5px;
|
border-radius: 3px;
|
||||||
border-radius: 3px;
|
color: #3c4858;
|
||||||
color: #3c4858;
|
padding-left: 10px;
|
||||||
padding-left: 10px;
|
padding-right: 10px;
|
||||||
padding-right: 10px;
|
text-transform: capitalize;
|
||||||
text-transform: capitalize;
|
font-size: 13px;
|
||||||
font-size: 13px;
|
padding: 10px 5px;
|
||||||
padding: 10px 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar .logo:after {
|
.sidebar .logo:after {
|
||||||
content: none;
|
content: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 15px;
|
right: 15px;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
width: calc(100% - 30px);
|
width: calc(100% - 30px);
|
||||||
background-color: rgba(180, 180, 180, 0.3);
|
background-color: rgba(180, 180, 180, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control,
|
.form-control, .is-focused .form-control {
|
||||||
.is-focused .form-control {
|
background-image: none;
|
||||||
background-image: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar form .btn {
|
.navbar form .btn {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar .notification {
|
.navbar .notification {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
border: 1px solid #fff;
|
border: 1px solid #fff;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
font-size: 9px;
|
font-size: 9px;
|
||||||
background: rgb(192, 0, 0);
|
background: rgb(192, 0, 0);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
min-width: 20px;
|
min-width: 20px;
|
||||||
padding: 0px 5px;
|
padding: 0px 5px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 19px;
|
line-height: 19px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-icon {
|
.card-icon {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .card-header-default .card-icon,
|
.card .card-header-default .card-icon, .card .card-header-default .card-text, .card .card-header-default:not(.card-header-icon):not(.card-header-text), .card.bg-warning, .card.card-rotate.bg-warning .front, .card.card-rotate.bg-warning .back {
|
||||||
.card .card-header-default .card-text,
|
background: linear-gradient(60deg, #fff, #fff);
|
||||||
.card .card-header-default:not(.card-header-icon):not(.card-header-text),
|
|
||||||
.card.bg-warning,
|
|
||||||
.card.card-rotate.bg-warning .front,
|
|
||||||
.card.card-rotate.bg-warning .back {
|
|
||||||
background: linear-gradient(60deg, #fff, #fff);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .card-header-default .card-icon,
|
.card .card-header-default .card-icon, .card .card-header-default:not(.card-header-icon):not(.card-header-text), .card .card-header-default .card-text {
|
||||||
.card .card-header-default:not(.card-header-icon):not(.card-header-text),
|
-webkit-box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(0, 0, 0, 0.14);
|
||||||
.card .card-header-default .card-text {
|
box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(0, 0, 0, 0.14);
|
||||||
-webkit-box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(0, 0, 0, 0.14);
|
|
||||||
box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(0, 0, 0, 0.14);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .card-header-plain .card-icon,
|
.card .card-header-plain .card-icon, .card .card-header-plain .card-text, .card .card-header-plain:not(.card-header-icon):not(.card-header-text), .card.bg-warning, .card.card-rotate.bg-warning .front, .card.card-rotate.bg-warning .back {
|
||||||
.card .card-header-plain .card-text,
|
background: linear-gradient(60deg, #fff, #fff);
|
||||||
.card .card-header-plain:not(.card-header-icon):not(.card-header-text),
|
|
||||||
.card.bg-warning,
|
|
||||||
.card.card-rotate.bg-warning .front,
|
|
||||||
.card.card-rotate.bg-warning .back {
|
|
||||||
background: linear-gradient(60deg, #fff, #fff);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .card-header-plain .card-icon,
|
.card .card-header-plain .card-icon, .card .card-header-plain:not(.card-header-icon):not(.card-header-text), .card .card-header-plain .card-text {
|
||||||
.card .card-header-plain:not(.card-header-icon):not(.card-header-text),
|
-webkit-box-shadow: none;
|
||||||
.card .card-header-plain .card-text {
|
box-shadow: none;
|
||||||
-webkit-box-shadow: none;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .card-header-blue .card-icon,
|
.card .card-header-blue .card-icon, .card .card-header-blue .card-text, .card .card-header-blue:not(.card-header-icon):not(.card-header-text), .card.bg-warning, .card.card-rotate.bg-warning .front, .card.card-rotate.bg-warning .back {
|
||||||
.card .card-header-blue .card-text,
|
background: linear-gradient(60deg, rgb(46, 117, 182), rgb(46, 117, 182));
|
||||||
.card .card-header-blue:not(.card-header-icon):not(.card-header-text),
|
|
||||||
.card.bg-warning,
|
|
||||||
.card.card-rotate.bg-warning .front,
|
|
||||||
.card.card-rotate.bg-warning .back {
|
|
||||||
background: linear-gradient(60deg, rgb(46, 117, 182), rgb(46, 117, 182));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .card-header-blue .card-icon,
|
.card .card-header-blue .card-icon, .card .card-header-blue:not(.card-header-icon):not(.card-header-text), .card .card-header-blue .card-text {
|
||||||
.card .card-header-blue:not(.card-header-icon):not(.card-header-text),
|
-webkit-box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(0, 0, 0, 0.14);
|
||||||
.card .card-header-blue .card-text {
|
box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(0, 0, 0, 0.14);
|
||||||
-webkit-box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(0, 0, 0, 0.14);
|
|
||||||
box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(0, 0, 0, 0.14);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-stats .card-header.card-header-icon i {
|
.card-stats .card-header.card-header-icon i {
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
line-height: 56px;
|
line-height: 56px;
|
||||||
width: 56px;
|
width: 56px;
|
||||||
height: 56px;
|
height: 56px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: rgb(138, 170, 195);
|
color: rgb(138, 170, 195);
|
||||||
}
|
}
|
||||||
|
|
||||||
.card [class*="card-header-"] .card-icon,
|
.card [class*="card-header-"] .card-icon, .card [class*="card-header-"] .card-text {
|
||||||
.card [class*="card-header-"] .card-text {
|
border-radius: 5px;
|
||||||
border-radius: 5px;
|
/* background-color: #999999; */
|
||||||
/* background-color: #999999; */
|
padding: 15px;
|
||||||
padding: 15px;
|
margin-top: -20px;
|
||||||
margin-top: -20px;
|
margin-right: 15px;
|
||||||
margin-right: 15px;
|
float: left;
|
||||||
float: left;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card [class*="card-header-"] .card-title + .card-category {
|
.card [class*="card-header-"] .card-title+.card-category {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .card-header .card-title {
|
.card .card-header .card-title {
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-desc h4 {
|
.card-desc h4 {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-footer .stats {
|
.card-footer .stats {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-stats .card-header .card-category:not([class*="text-"]) {
|
.card-stats .card-header .card-category:not([class*="text-"]) {
|
||||||
display: block;
|
display: block;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
/* font-size: 9px; */
|
/* font-size: 9px; */
|
||||||
/* font-weight: 500; */
|
/* font-weight: 500; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.card [class*="card-header-"]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
|
.card [class*="card-header-"]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin-top: -20px;
|
margin-top: -20px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
/* border: 1px solid rgb(231, 230, 230); */
|
/* border: 1px solid rgb(231, 230, 230); */
|
||||||
}
|
}
|
||||||
|
|
||||||
.card [class*="card-header-plain"]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
|
.card [class*="card-header-plain"]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin-top: -20px;
|
margin-top: -20px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
border: 1px solid rgb(231, 230, 230);
|
border: 1px solid rgb(231, 230, 230);
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-desc {
|
.card-desc {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-all {
|
.view-all {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: rgb(106, 164, 217);
|
color: rgb(106, 164, 217);
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-all:hover {
|
.view-all:hover {
|
||||||
color: rgb(46, 117, 182);
|
color: rgb(46, 117, 182);
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-header-plain h4 {
|
.card-header-plain h4 {
|
||||||
color: black !important;
|
color: black !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-header-plain p {
|
.card-header-plain p {
|
||||||
color: #999999 !important;
|
color: #999999 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-default {
|
.text-default {
|
||||||
color: rgb(120, 173, 220) !important;
|
color: rgb(120, 173, 220) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table thead th {
|
.table thead th {
|
||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
border-top-width: 0;
|
border-top-width: 0;
|
||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .card-body {
|
.card .card-body {
|
||||||
padding: 0.8rem 20px;
|
padding: 0.8rem 20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
table > thead > tr > th,
|
table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
|
||||||
.table > tbody > tr > th,
|
padding: 8px 8px;
|
||||||
.table > tfoot > tr > th,
|
vertical-align: middle;
|
||||||
.table > thead > tr > td,
|
|
||||||
.table > tbody > tr > td,
|
|
||||||
.table > tfoot > tr > td {
|
|
||||||
padding: 8px 8px;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-item {
|
.nav-item {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar.navbar-absolute {
|
.navbar.navbar-absolute {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fixed-top {
|
.fixed-top {
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control:focus {
|
.form-control:focus {
|
||||||
color: #495057;
|
color: #495057;
|
||||||
background-color: rgba(0, 0, 0, 0);
|
background-color: rgba(0, 0, 0, 0);
|
||||||
border-color: none;
|
border-color: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar .sidebar-background:after {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 3;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
background: rgba(250, 250, 250, 0.95);
|
||||||
|
opacity: .93;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.0 MiB |
Binary file not shown.
After Width: | Height: | Size: 779 KiB |
Loading…
Reference in New Issue