copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
// ACCORDION
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-group {
|
||||
.panel-accordion {
|
||||
border: 1px solid #DDD;
|
||||
.panel-heading {
|
||||
border-radius: $border-radius;
|
||||
padding: 0;
|
||||
|
||||
a {
|
||||
color: $color-primary;
|
||||
display: block;
|
||||
padding: 15px;
|
||||
font-size: 16px;
|
||||
border-radius: $border-radius;
|
||||
&:hover, &:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
.fa {
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.panel-body {
|
||||
border-radius: 0 0 $border-radius $border-radius;
|
||||
}
|
||||
|
||||
&.panel-accordion-first {
|
||||
border-radius: 0 0 $border-radius $border-radius;
|
||||
|
||||
.panel-heading {
|
||||
border-radius: 0 0 $border-radius $border-radius;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// STATES
|
||||
// -----------------------------------------------------------------------------
|
||||
@each $state in $states {
|
||||
.panel-group .panel-accordion-#{nth($state,1)} {
|
||||
.panel-heading .panel-title a {
|
||||
background: #{nth($state,2)};
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.panel-group {
|
||||
.panel-accordion {
|
||||
border-color: $dark-color-3;
|
||||
|
||||
.panel {
|
||||
background-color: $dark-color-3;
|
||||
}
|
||||
.panel-default {
|
||||
border-color: $dark-color-3;
|
||||
}
|
||||
.panel-heading {
|
||||
background-color: $dark-color-4;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
background-color: $dark-color-2;
|
||||
border-color: $dark-color-2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// STATES
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Alert new states */
|
||||
.alert-default {
|
||||
background-color: $color-default;
|
||||
border-color: darken($color-default, 3%);
|
||||
color: darken($color-default, 50%);
|
||||
|
||||
.alert-link {
|
||||
color: darken($color-default, 65%);
|
||||
}
|
||||
}
|
||||
|
||||
.alert-primary {
|
||||
background-color: $color-primary;
|
||||
border-color: darken($color-primary, 3%);
|
||||
color: $color-primary-inverse;
|
||||
|
||||
.alert-link {
|
||||
color: darken($color-primary, 20%);
|
||||
}
|
||||
}
|
||||
|
||||
.alert-dark {
|
||||
background-color: lighten($color-dark, 10%);
|
||||
border-color: darken($color-dark, 10%);
|
||||
color: lighten($color-dark, 70%);
|
||||
|
||||
.alert-link {
|
||||
color: lighten($color-dark, 85%);
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
||||
// CAROUSEL
|
||||
// -----------------------------------------------------------------------------
|
||||
.owl-carousel {
|
||||
.item {
|
||||
&.spaced {
|
||||
margin: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,295 @@
|
||||
// CHARTS
|
||||
// -----------------------------------------------------------------------------
|
||||
.chart {
|
||||
width: 100%;
|
||||
&.chart-xs {
|
||||
height: 150px;
|
||||
}
|
||||
&.chart-sm {
|
||||
height: 184px;
|
||||
}
|
||||
&.chart-md {
|
||||
height: 350px;
|
||||
}
|
||||
&.chart-lg {
|
||||
height: 500px;
|
||||
}
|
||||
}
|
||||
|
||||
// CHARTS TOOLTIP
|
||||
// -----------------------------------------------------------------------------
|
||||
#flotTip {
|
||||
padding: 4px 8px;
|
||||
background-color: #000;
|
||||
z-index: 100;
|
||||
color: #FFF;
|
||||
opacity: .7;
|
||||
font-size: 11px;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.jqstooltip {
|
||||
min-width: 30px;
|
||||
min-height: 25px;
|
||||
border: 0 !important;
|
||||
height: auto !important;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
// CIRCULAR
|
||||
// -----------------------------------------------------------------------------
|
||||
.circular-bar {
|
||||
margin: 25px 0;
|
||||
.circular-bar-chart {
|
||||
position: relative;
|
||||
}
|
||||
strong {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
position: absolute;
|
||||
top: 35%;
|
||||
width: 80%;
|
||||
left: 10%;
|
||||
text-align: center;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
font-weight: 100;
|
||||
font-size: 17px;
|
||||
line-height: 20px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 80%;
|
||||
left: 10%;
|
||||
text-align: center;
|
||||
}
|
||||
&.circular-bar-xs {
|
||||
width: 50px;
|
||||
strong {
|
||||
display: none;
|
||||
}
|
||||
label {
|
||||
font-size: 11px;
|
||||
left: 0;
|
||||
text-align: center;
|
||||
top: 28%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// GAUGE
|
||||
// -----------------------------------------------------------------------------
|
||||
.gauge-chart {
|
||||
margin: 25px 0;
|
||||
strong {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
font-weight: 100;
|
||||
font-size: 17px;
|
||||
line-height: 20px;
|
||||
padding-bottom: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
// SMALL CHARTS
|
||||
// -----------------------------------------------------------------------------
|
||||
.small-chart-wrapper {
|
||||
display: inline-block;
|
||||
margin: 10px 15px;
|
||||
width: 100%;
|
||||
.small-chart {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
margin-bottom: 8px;
|
||||
min-width: 80px;
|
||||
}
|
||||
.small-chart-info {
|
||||
display: inline-block;
|
||||
padding: 0 0 0 10px;
|
||||
label {
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
color: #a0a0a0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
line-height: 15px;
|
||||
}
|
||||
strong {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
line-height: 15px;
|
||||
}
|
||||
}
|
||||
+ .small-chart-wrapper {
|
||||
margin-left: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.small-chart-wrapper {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
text-align: center;
|
||||
.small-chart {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.small-chart-info {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// LIQUID
|
||||
// -----------------------------------------------------------------------------
|
||||
.liquid-meter {
|
||||
position: relative;
|
||||
max-height: 200px;
|
||||
max-width: 200px;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
padding-bottom: 50%;
|
||||
|
||||
meter {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.liquid-meter-loaded {
|
||||
width: auto;
|
||||
padding-bottom: 0;
|
||||
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.liquid-meter-wrapper {
|
||||
&.liquid-meter-xs {
|
||||
.liquid-meter {
|
||||
max-height: 120px;
|
||||
max-width: 120px;
|
||||
}
|
||||
}
|
||||
&.liquid-meter-sm {
|
||||
.liquid-meter {
|
||||
max-height: 150px;
|
||||
max-width: 150px;
|
||||
}
|
||||
}
|
||||
&.liquid-meter-md {
|
||||
.liquid-meter {
|
||||
max-height: 200px;
|
||||
max-width: 200px;
|
||||
}
|
||||
}
|
||||
&.liquid-meter-lg {
|
||||
.liquid-meter {
|
||||
max-height: 230px;
|
||||
max-width: 230px;
|
||||
}
|
||||
}
|
||||
|
||||
.liquid-meter-selector {
|
||||
margin-top: 3px;
|
||||
a {
|
||||
text-transform: uppercase;
|
||||
font-weight: $font-weight-light;
|
||||
font-size: 11px;
|
||||
color: #9b9b9b;
|
||||
border-right: 1px solid #e4e4e4;
|
||||
display: inline-block;
|
||||
padding-right: 8px;
|
||||
margin-right: 8px;
|
||||
&.active {
|
||||
color: $color-primary;
|
||||
}
|
||||
&:last-child {
|
||||
border-right: 0;
|
||||
padding-right: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// CHART SELECTOR
|
||||
// -----------------------------------------------------------------------------
|
||||
.chart-data-selector {
|
||||
visibility: hidden;
|
||||
max-height: 255px;
|
||||
padding: 6px;
|
||||
h2 {
|
||||
color: $panel-title-color;
|
||||
font-size: $panel-title-size;
|
||||
line-height: $panel-title-size;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-transform: none;
|
||||
letter-spacing: -1px;
|
||||
.multiselect {
|
||||
background: $panel-heading-background;
|
||||
border: 0 none;
|
||||
font-size: $panel-title-size;
|
||||
font-weight: 600;
|
||||
margin: -4px 0 0 4px !important;
|
||||
padding: 3px 12px 3px 8px;
|
||||
&:hover, &:focus, &:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
.multiselect-container {
|
||||
margin: 0 0 0 4px;
|
||||
min-width: 120%;
|
||||
}
|
||||
}
|
||||
.chart-data-selector-items {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
.chart-active {
|
||||
visibility: hidden;
|
||||
}
|
||||
.chart-hidden {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
&.ready {
|
||||
max-height: none;
|
||||
visibility: visible;
|
||||
.chart-active {
|
||||
visibility: visible;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
.chart-hidden {
|
||||
visibility: hidden;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: -9999px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.chart-data-selector h2 .multiselect {
|
||||
background-color: $dark-color-3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// LABEL STATES
|
||||
// -----------------------------------------------------------------------------
|
||||
.label-default {
|
||||
background: $color-default;
|
||||
color: $color-default-inverse;
|
||||
}
|
||||
|
||||
.label-sm {
|
||||
font-size: 50%;
|
||||
}
|
||||
|
||||
@each $state in $states {
|
||||
.label-#{nth($state,1)} {
|
||||
background: #{nth($state,2)};
|
||||
color: #{nth($state,3)};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
/* Close */
|
||||
.mfp-close,
|
||||
.mfp-close-btn-in .mfp-close {
|
||||
font-family: $font-primary;
|
||||
font-weight: $font-weight-semibold;
|
||||
font-size: 22px;
|
||||
color: #838383;
|
||||
}
|
||||
|
||||
/* No Margins */
|
||||
.mfp-no-margins {
|
||||
img.mfp-img {
|
||||
padding: 0;
|
||||
}
|
||||
.mfp-figure:after {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.mfp-container {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Zoom */
|
||||
.mfp-with-zoom {
|
||||
.mfp-container, &.mfp-bg {
|
||||
opacity: 0.001;
|
||||
-webkit-backface-visibility: hidden;
|
||||
-webkit-transition: all 0.3s ease-out;
|
||||
-moz-transition: all 0.3s ease-out;
|
||||
-o-transition: all 0.3s ease-out;
|
||||
transition: all 0.3s ease-out;
|
||||
}
|
||||
&.mfp-ready {
|
||||
.mfp-container {
|
||||
opacity: 1;
|
||||
}
|
||||
&.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
&.mfp-removing {
|
||||
.mfp-container, &.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Animnate */
|
||||
.my-mfp-zoom-in {
|
||||
.zoom-anim-dialog {
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.2s ease-in-out;
|
||||
-moz-transition: all 0.2s ease-in-out;
|
||||
-o-transition: all 0.2s ease-in-out;
|
||||
transition: all 0.2s ease-in-out;
|
||||
-webkit-transform: scale(0.8);
|
||||
-moz-transform: scale(0.8);
|
||||
-ms-transform: scale(0.8);
|
||||
-o-transform: scale(0.8);
|
||||
transform: scale(0.8);
|
||||
}
|
||||
&.mfp-ready .zoom-anim-dialog {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(1);
|
||||
-moz-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
-o-transform: scale(1);
|
||||
transform: scale(1);
|
||||
}
|
||||
&.mfp-removing .zoom-anim-dialog {
|
||||
-webkit-transform: scale(0.8);
|
||||
-moz-transform: scale(0.8);
|
||||
-ms-transform: scale(0.8);
|
||||
-o-transform: scale(0.8);
|
||||
transform: scale(0.8);
|
||||
opacity: 0;
|
||||
}
|
||||
&.mfp-bg {
|
||||
opacity: 0.001;
|
||||
/* Chrome opacity transition bug */
|
||||
-webkit-transition: opacity 0.3s ease-out;
|
||||
-moz-transition: opacity 0.3s ease-out;
|
||||
-o-transition: opacity 0.3s ease-out;
|
||||
transition: opacity 0.3s ease-out;
|
||||
}
|
||||
&.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
&.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.my-mfp-slide-bottom {
|
||||
.zoom-anim-dialog {
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.2s ease-out;
|
||||
-moz-transition: all 0.2s ease-out;
|
||||
-o-transition: all 0.2s ease-out;
|
||||
transition: all 0.2s ease-out;
|
||||
-webkit-transform: translateY(-20px) perspective(600px) rotateX(10deg);
|
||||
-moz-transform: translateY(-20px) perspective(600px) rotateX(10deg);
|
||||
-ms-transform: translateY(-20px) perspective(600px) rotateX(10deg);
|
||||
-o-transform: translateY(-20px) perspective(600px) rotateX(10deg);
|
||||
transform: translateY(-20px) perspective(600px) rotateX(10deg);
|
||||
}
|
||||
&.mfp-ready .zoom-anim-dialog {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateY(0) perspective(600px) rotateX(0);
|
||||
-moz-transform: translateY(0) perspective(600px) rotateX(0);
|
||||
-ms-transform: translateY(0) perspective(600px) rotateX(0);
|
||||
-o-transform: translateY(0) perspective(600px) rotateX(0);
|
||||
transform: translateY(0) perspective(600px) rotateX(0);
|
||||
}
|
||||
&.mfp-removing .zoom-anim-dialog {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateY(-10px) perspective(600px) rotateX(10deg);
|
||||
-moz-transform: translateY(-10px) perspective(600px) rotateX(10deg);
|
||||
-ms-transform: translateY(-10px) perspective(600px) rotateX(10deg);
|
||||
-o-transform: translateY(-10px) perspective(600px) rotateX(10deg);
|
||||
transform: translateY(-10px) perspective(600px) rotateX(10deg);
|
||||
}
|
||||
&.mfp-bg {
|
||||
opacity: 0.01;
|
||||
-webkit-transition: opacity 0.3s ease-out;
|
||||
-moz-transition: opacity 0.3s ease-out;
|
||||
-o-transition: opacity 0.3s ease-out;
|
||||
transition: opacity 0.3s ease-out;
|
||||
}
|
||||
&.mfp-ready.mfp-bg {
|
||||
opacity: 0.8;
|
||||
}
|
||||
&.mfp-removing.mfp-bg {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog */
|
||||
.dialog {
|
||||
background: white;
|
||||
padding: 20px 30px;
|
||||
text-align: left;
|
||||
margin: 40px auto;
|
||||
position: relative;
|
||||
max-width: 600px;
|
||||
&.dialog-xs {
|
||||
max-width: 200px;
|
||||
}
|
||||
&.dialog-sm {
|
||||
max-width: 400px;
|
||||
}
|
||||
&.dialog-md {
|
||||
max-width: 600px;
|
||||
}
|
||||
&.dialog-lg {
|
||||
max-width: 900px;
|
||||
}
|
||||
}
|
||||
|
||||
/* White Popup Block */
|
||||
.white-popup-block {
|
||||
background: #FFF;
|
||||
padding: 20px 30px;
|
||||
text-align: left;
|
||||
max-width: 600px;
|
||||
margin: 40px auto;
|
||||
position: relative;
|
||||
&.white-popup-block-xs {
|
||||
max-width: 200px;
|
||||
}
|
||||
&.white-popup-block-sm {
|
||||
max-width: 400px;
|
||||
}
|
||||
&.white-popup-block-md {
|
||||
max-width: 600px;
|
||||
}
|
||||
&.white-popup-block-lg {
|
||||
max-width: 900px;
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Dark */
|
||||
html.dark {
|
||||
.white-popup-block,
|
||||
.dialog {
|
||||
background: $dark-bg;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,139 @@
|
||||
// MAGNIFIC POPUP CONFIG
|
||||
// -----------------------------------------------------------------------------
|
||||
.mfp-bg {
|
||||
z-index: 10000;
|
||||
}
|
||||
.mfp-wrap {
|
||||
z-index: 10001;
|
||||
}
|
||||
|
||||
// MODAL
|
||||
// -----------------------------------------------------------------------------
|
||||
.modal-block {
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
max-width: 600px;
|
||||
margin: 40px auto;
|
||||
position: relative;
|
||||
&.modal-block-xs {
|
||||
max-width: 200px;
|
||||
}
|
||||
&.modal-block-sm {
|
||||
max-width: 400px;
|
||||
}
|
||||
&.modal-block-md {
|
||||
max-width: 600px;
|
||||
}
|
||||
&.modal-block-lg {
|
||||
max-width: 900px;
|
||||
}
|
||||
&.modal-block-full {
|
||||
max-width: 98%;
|
||||
}
|
||||
&.modal-header-color {
|
||||
.panel-heading {
|
||||
h2 {
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.modal-full-color {
|
||||
.panel-heading {
|
||||
border: 0;
|
||||
h2 {
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
.panel-footer {
|
||||
border: 0;
|
||||
}
|
||||
.panel-body {
|
||||
background-color: transparent;
|
||||
}
|
||||
.fa {
|
||||
color: #FFF !important;
|
||||
}
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
/* Modal Wrapper */
|
||||
.modal-wrapper {
|
||||
position: relative;
|
||||
padding: 25px 0;
|
||||
}
|
||||
|
||||
/* Modal Icon */
|
||||
.modal-icon {
|
||||
float: left;
|
||||
width: 20%;
|
||||
text-align: center;
|
||||
.fa {
|
||||
font-size: 52px;
|
||||
position: relative;
|
||||
top: -10px;
|
||||
color: $color-primary;
|
||||
}
|
||||
&.center {
|
||||
float: none;
|
||||
width: auto;
|
||||
padding-top: 20px;
|
||||
+ .modal-text {
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
+ .modal-text {
|
||||
float: left;
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Modal Text */
|
||||
.modal-text {
|
||||
padding: 0 5px;
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
padding: 0;
|
||||
margin: -7px 0 4px 0;
|
||||
}
|
||||
}
|
||||
|
||||
// STATES
|
||||
// -----------------------------------------------------------------------------
|
||||
@each $state in $states {
|
||||
.modal-block-#{nth($state,1)} {
|
||||
.fa {
|
||||
color: #{nth($state,2)};
|
||||
}
|
||||
&.modal-header-color {
|
||||
.panel-heading {
|
||||
background-color: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
&.modal-full-color {
|
||||
.panel {
|
||||
background-color: lighten(nth($state,2), 8%);
|
||||
}
|
||||
.panel-heading {
|
||||
background-color: #{nth($state,2)};
|
||||
}
|
||||
.panel-footer {
|
||||
background-color: lighten(nth($state,2), 8%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.modal-content {
|
||||
background-color: $dark-bg;
|
||||
}
|
||||
|
||||
.modal-header,
|
||||
.modal-footer {
|
||||
border-color: $dark-color-3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// NAV PILLS
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Buttons - States */
|
||||
@each $state in $states {
|
||||
.nav-pills-#{nth($state,1)} {
|
||||
> li {
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: nth($state,2);
|
||||
@if nth($state,1) == 'primary' {
|
||||
background-color: lighten(nth($state,2), 50%);
|
||||
} @else {
|
||||
background-color: lighten(adjust-hue(nth($state,2), -5), 35%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> li.active {
|
||||
> a {
|
||||
&,
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
background-color: nth($state,2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
// NESTABLE
|
||||
// -----------------------------------------------------------------------------
|
||||
.dd {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
font-size: 13px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.dd-list {
|
||||
display: block;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
.dd-list {
|
||||
padding-left: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.dd-collapsed .dd-list {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dd-item, .dd-empty, .dd-placeholder {
|
||||
display: block;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
min-height: 20px;
|
||||
font-size: 13px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.dd-handle {
|
||||
display: block;
|
||||
height: 34px;
|
||||
margin: 5px 0;
|
||||
padding: 6px 10px;
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
font-weight: $font-weight-semibold;
|
||||
border: 1px solid #CCC;
|
||||
background: #F6F6F6;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
&:hover {
|
||||
color: $color-primary;
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.dd-item > button {
|
||||
display: block;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
width: 25px;
|
||||
height: 20px;
|
||||
margin: 7px 0;
|
||||
padding: 0;
|
||||
text-indent: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
&:before {
|
||||
content: '+';
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
text-indent: 0;
|
||||
}
|
||||
&[data-action="collapse"]:before {
|
||||
content: '-';
|
||||
}
|
||||
}
|
||||
|
||||
.dd-placeholder {
|
||||
margin: 5px 0;
|
||||
padding: 0;
|
||||
min-height: 30px;
|
||||
background: lighten($color-primary, 55%);
|
||||
border: 1px dashed $color-primary;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
}
|
||||
|
||||
.dd-empty {
|
||||
margin: 5px 0;
|
||||
padding: 0;
|
||||
min-height: 30px;
|
||||
background: #f2fbff;
|
||||
border: 1px dashed #b6bcbf;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
border: 1px dashed #bbb;
|
||||
min-height: 100px;
|
||||
background-color: #e5e5e5;
|
||||
background-image: -webkit-linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%, white), -webkit-linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%, white);
|
||||
background-image: -moz-linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%, white), -moz-linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%, white);
|
||||
background-image: linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%, white), linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%, white);
|
||||
background-size: 60px 60px;
|
||||
background-position: 0 0, 30px 30px;
|
||||
}
|
||||
|
||||
.dd-dragel {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
z-index: 9999;
|
||||
> .dd-item .dd-handle {
|
||||
margin-top: 0;
|
||||
}
|
||||
.dd-handle {
|
||||
-webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
/* dark */
|
||||
html.dark {
|
||||
.dd-handle {
|
||||
background: $dark-color-3;
|
||||
border-color: $dark-color-2;
|
||||
color: $dark-default-text;
|
||||
|
||||
&:hover {
|
||||
background: $dark-color-2;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,219 @@
|
||||
// BASE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Notification */
|
||||
.ui-pnotify {
|
||||
right: 15px;
|
||||
top: 15px;
|
||||
|
||||
.notification {
|
||||
border-radius: $border-radius;
|
||||
box-shadow: none;
|
||||
padding: 15px 15px 15px 75px;
|
||||
|
||||
.ui-pnotify-icon {
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 75px;
|
||||
text-align: center;
|
||||
|
||||
& > span {
|
||||
border: 2px solid #FFF;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
float: none;
|
||||
font-size: 35px;
|
||||
height: 50px;
|
||||
line-height: 48px;
|
||||
margin: 8px 0 0;
|
||||
padding: 0;
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.ui-pnotify-title {
|
||||
font-size: 14px;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.ui-pnotify-text {
|
||||
font-size: 12px;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TIMES FIX
|
||||
// -----------------------------------------------------------------------------
|
||||
.ui-pnotify {
|
||||
.notification.notification-danger {
|
||||
.ui-pnotify-icon {
|
||||
& > span.fa-times {
|
||||
line-height: 47px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// SHADOWED
|
||||
// -----------------------------------------------------------------------------
|
||||
.ui-pnotify {
|
||||
.ui-pnotify-shadow {
|
||||
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
}
|
||||
|
||||
// WITHOUT ICON
|
||||
// -----------------------------------------------------------------------------
|
||||
.ui-pnotify.ui-pnotify-no-icon {
|
||||
.notification {
|
||||
padding-left: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
// WITHOUT BORDER RADIOUS
|
||||
// -----------------------------------------------------------------------------
|
||||
.ui-pnotify {
|
||||
.ui-pnotify-sharp {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// ICON WITHOUT BORDER
|
||||
// -----------------------------------------------------------------------------
|
||||
body {
|
||||
.ui-pnotify.icon-nb {
|
||||
.notification {
|
||||
.ui-pnotify-icon {
|
||||
& > span {
|
||||
border-color: transparent;
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// STACK BAR TOP
|
||||
// -----------------------------------------------------------------------------
|
||||
.ui-pnotify.stack-bar-top {
|
||||
right: 0;
|
||||
top: 0;
|
||||
|
||||
.notification {
|
||||
border-radius: 0;
|
||||
|
||||
.ui-pnotify-icon {
|
||||
& > span {
|
||||
margin-top: 7px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// STACK BAR BOTTOM
|
||||
// -----------------------------------------------------------------------------
|
||||
.ui-pnotify.stack-bar-bottom {
|
||||
bottom: 0;
|
||||
left: auto;
|
||||
margin-left: 15%;
|
||||
right: auto;
|
||||
top: auto;
|
||||
|
||||
.notification {
|
||||
border-radius: 0;
|
||||
|
||||
.ui-pnotify-icon {
|
||||
& > span {
|
||||
margin-top: 9px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// CLICK 2 CLOSE
|
||||
// -----------------------------------------------------------------------------
|
||||
.ui-pnotify.click-2-close {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
// STATES
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Notification States */
|
||||
@each $state in $states {
|
||||
.ui-pnotify {
|
||||
.notification-#{nth($state,1)} {
|
||||
background: rgba(nth($state,2), 0.95);
|
||||
color: rgba(nth($state,3), 0.7);
|
||||
|
||||
.ui-pnotify-icon > span {
|
||||
border-color: rgba(nth($state,3), 0.7);
|
||||
}
|
||||
}
|
||||
|
||||
&.stack-bar-top,
|
||||
&.stack-bar-bottom {
|
||||
.notification-#{nth($state,1)} {
|
||||
background: nth($state,2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ui-pnotify.notification-#{nth($state,1)} {
|
||||
.notification,
|
||||
.notification-#{nth($state,1)} {
|
||||
background: rgba(nth($state,2), 0.95);
|
||||
color: rgba(nth($state,3), 0.7);
|
||||
|
||||
.ui-pnotify-icon > span {
|
||||
border-color: rgba(nth($state,3), 0.7);
|
||||
}
|
||||
}
|
||||
|
||||
&.stack-bar-top,
|
||||
&.stack-bar-bottom {
|
||||
.notification,
|
||||
.notification-#{nth($state,1)} {
|
||||
background: nth($state,2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// RESPONSIVE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Notification Responsive */
|
||||
@media only screen and (max-width: 767px) {
|
||||
html > body > .ui-pnotify {
|
||||
bottom: auto !important;
|
||||
left: 0 !important;
|
||||
margin: 0 !important;
|
||||
right: 0 !important;
|
||||
top: $header-height !important;
|
||||
width: auto !important;
|
||||
|
||||
.notification {
|
||||
border-radius: 0 !important;
|
||||
height: auto !important;
|
||||
position: static !important;
|
||||
width: 100%;
|
||||
|
||||
.ui-pnotify-title,
|
||||
.ui-pnotify-text {
|
||||
padding-right: 35px !important;
|
||||
}
|
||||
|
||||
.ui-pnotify-sticker {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.ui-pnotify-closer {
|
||||
display: block !important;
|
||||
font-size: 24px !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,411 @@
|
||||
// PANEL
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel {
|
||||
background: transparent;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
/* WHY?
|
||||
+ .panel {
|
||||
margin-top: 35px;
|
||||
}*/
|
||||
}
|
||||
|
||||
// PANEL HEADING
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-heading {
|
||||
background: $panel-heading-background;
|
||||
border-radius: $border-radius $border-radius 0 0;
|
||||
border-bottom: 1px solid #DADADA;
|
||||
padding: $panel-heading-padding;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
// PANEL HEADING BGS
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-heading {
|
||||
@each $color in $colors-list {
|
||||
&.bg-#{nth($color,1)} {
|
||||
background: #{nth($color,2)};
|
||||
color: #{nth($color,3)};
|
||||
border-bottom: 0 none;
|
||||
border-right: 0 none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.panel-heading.bg-white {
|
||||
background: #fff;
|
||||
border-bottom: 0 none;
|
||||
border-right: 0 none;
|
||||
}
|
||||
|
||||
// PANEL ACTIONS
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-actions {
|
||||
right: 15px;
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
|
||||
a {
|
||||
background-color: $panel-action-background;
|
||||
border-radius: $panel-action-border-radius;
|
||||
color: $panel-action-color;
|
||||
font-size: $panel-action-size;
|
||||
height: $panel-action-height;
|
||||
line-height: $panel-action-height;
|
||||
text-align: center;
|
||||
width: $panel-action-width;
|
||||
|
||||
&:hover {
|
||||
background-color: $panel-action-background-hover;
|
||||
color: $panel-action-color-hover;
|
||||
text-decoration: none
|
||||
}
|
||||
&,
|
||||
&:focus,
|
||||
&:hover,
|
||||
&:active,
|
||||
&:visited {
|
||||
outline: none !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// PANEL TITLE AND SUBTITLE
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-title {
|
||||
color: $panel-title-color;
|
||||
font-size: $panel-title-size;
|
||||
font-weight: $font-weight-normal;
|
||||
line-height: $panel-title-size;
|
||||
padding: 0;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.panel-subtitle {
|
||||
color: $panel-subtitle-color;
|
||||
font-size: $panel-subtitle-size;
|
||||
line-height: 1.2em;
|
||||
margin: 7px 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
// PANEL BODY
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-body {
|
||||
background: #fdfdfd;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
|
||||
.panel-body-nopadding {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.panel-heading + .panel-body {
|
||||
border-radius: 0 0 $border-radius $border-radius;
|
||||
}
|
||||
|
||||
|
||||
// PANEL FOOTER
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-footer {
|
||||
border-radius: 0 0 $border-radius $border-radius;
|
||||
margin-top: -$border-radius;
|
||||
}
|
||||
|
||||
.panel-footer-btn-group {
|
||||
display: table;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
|
||||
a {
|
||||
background-color: #f5f5f5;
|
||||
display: table-cell;
|
||||
width: 1%;
|
||||
border-left: 1px solid #ddd;
|
||||
padding: 10px 15px;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
background-color: darken(#f5f5f5, 2%);
|
||||
box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) inset;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
border-left: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// PANEL BODY BGS
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-body {
|
||||
@each $color in $colors-list {
|
||||
&.bg-#{nth($color,1)} {
|
||||
background: #{nth($color,2)};
|
||||
color: #{nth($color,3)};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// PANEL FEATURED
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-featured {
|
||||
border-top: $panel-featured-border-width solid $panel-title-color;
|
||||
|
||||
.panel-heading {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@each $side in top, right, bottom, left {
|
||||
.panel-featured-#{nth($side,1)} {
|
||||
border-#{nth($side,1)}: $panel-featured-border-width solid $panel-title-color;
|
||||
}
|
||||
}
|
||||
|
||||
@each $color in $colors-list {
|
||||
.panel-featured-#{nth($color,1)} {
|
||||
border-color: #{nth($color,2)};
|
||||
|
||||
.panel-title {
|
||||
color: #{nth($color,2)};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// PANEL HIGHLIGHT
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-highlight {
|
||||
|
||||
.panel-heading {
|
||||
background-color: $color-primary;
|
||||
border-color: $color-primary;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.panel-title {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.panel-subtitle {
|
||||
color: #fff;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
.panel-actions a {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
background-color: $color-primary;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.panel-highlight-title {
|
||||
|
||||
.panel-heading {
|
||||
background-color: #2BAAB1;
|
||||
}
|
||||
|
||||
.panel-title {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.panel-subtitle {
|
||||
color: #fff;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
.panel-actions a {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
}
|
||||
// PANEL HEADING ICON
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-heading-icon {
|
||||
margin: 0 auto;
|
||||
@include font-size(42);
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
line-height: 90px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
-webkit-border-radius: 55px;
|
||||
border-radius: 55px;
|
||||
}
|
||||
|
||||
.panel-heading-icon {
|
||||
@each $color in $colors-list {
|
||||
&.bg-#{nth($color,1)} {
|
||||
background: #{nth($color,2)};
|
||||
color: #{nth($color,3)};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// PANEL HEADING PROFILE PICTURE
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-heading-profile-picture {
|
||||
img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: 4px solid #fff;
|
||||
-webkit-border-radius: 50px;
|
||||
border-radius: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
// PANEL ICON
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-icon {
|
||||
color: #fff;
|
||||
font-size: 42px;
|
||||
float: left;
|
||||
|
||||
& ~ .panel-title,
|
||||
& ~ .panel-subtitle {
|
||||
margin-left: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
// PANELS
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Dark - Panels */
|
||||
html.dark {
|
||||
.panel-heading {
|
||||
background: $dark-color-3;
|
||||
border-bottom-color: darken( $dark-color-3, 5% );
|
||||
}
|
||||
|
||||
.panel-actions {
|
||||
a {
|
||||
&:hover {
|
||||
background-color: darken( $dark-color-3, 2% );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
background: $dark-color-4;
|
||||
}
|
||||
|
||||
.panel-footer {
|
||||
background: $dark-color-5;
|
||||
border-top-color: darken( $dark-color-3, 7% );
|
||||
}
|
||||
}
|
||||
|
||||
// CONTEXTUAL ALTERNATIVE
|
||||
// -----------------------------------------------------------------------------
|
||||
@each $color in $colors-list {
|
||||
html {
|
||||
.panel-#{nth($color,1)} {
|
||||
|
||||
.panel-heading {
|
||||
background: #{nth($color,2)};
|
||||
}
|
||||
|
||||
.panel-subtitle {
|
||||
opacity: 0.8;
|
||||
color: #{nth($color,3)};
|
||||
}
|
||||
|
||||
.panel-title {
|
||||
color: #{nth($color,3)};
|
||||
}
|
||||
|
||||
.panel-actions a {
|
||||
background-color: transparent !important;
|
||||
color: #{nth($color,3)};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// PANEL TRANSPARENT
|
||||
// -----------------------------------------------------------------------------
|
||||
@mixin panel-heading-transparent() {
|
||||
background: none;
|
||||
border: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
.panel-actions {
|
||||
right: 0;
|
||||
}
|
||||
+ .panel-body {
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
}
|
||||
|
||||
html .panel-transparent {
|
||||
> .panel-heading {
|
||||
@include panel-heading-transparent();
|
||||
}
|
||||
> .panel-body {
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
html .panel .panel-heading-transparent {
|
||||
@include panel-heading-transparent();
|
||||
}
|
||||
|
||||
// PANEL HORIZONTAL
|
||||
// -----------------------------------------------------------------------------
|
||||
.panel-horizontal {
|
||||
display: table;
|
||||
width: 100%;
|
||||
|
||||
.panel-heading,
|
||||
.panel-body,
|
||||
.panel-footer {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.panel-heading {
|
||||
border-radius: $border-radius 0 0 $border-radius;
|
||||
}
|
||||
|
||||
.panel-heading + .panel-body {
|
||||
border-radius: 0 $border-radius $border-radius 0;
|
||||
}
|
||||
|
||||
.panel-footer {
|
||||
border-radius: 0 $border-radius $border-radius 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// RESPONSIVE
|
||||
// -----------------------------------------------------------------------------
|
||||
@media only screen and (max-width: 767px) {
|
||||
.panel-actions {
|
||||
float: none;
|
||||
margin-bottom: 15px;
|
||||
position: static;
|
||||
text-align: right;
|
||||
|
||||
a {
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
.portlet-handler {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.portlet-placeholder {
|
||||
margin-bottom: 15px;
|
||||
padding: 0;
|
||||
border: 1px dashed #dddddd;
|
||||
background: #fafafa;
|
||||
color: #444444;
|
||||
}
|
||||
@@ -0,0 +1,223 @@
|
||||
// COMMON
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Progress bar overwrite style */
|
||||
.progress-bar {
|
||||
background: $color-primary;
|
||||
}
|
||||
|
||||
.progress {
|
||||
.progress-bar {
|
||||
box-shadow: none;
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Progress bar default style */
|
||||
.progress {
|
||||
background: $pb-default;
|
||||
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4) inset;
|
||||
}
|
||||
|
||||
// LIGHT
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Progress bar light style */
|
||||
.progress.light {
|
||||
background: #f6f7f8;
|
||||
@include background(linear-gradient($pb-light-line, $pb-light-line 10%, $pb-light 11%));
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
|
||||
}
|
||||
|
||||
// ROUNDEDNESS
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Progress bar roundness generic */
|
||||
.progress-squared {
|
||||
&,
|
||||
& .progress-bar {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
// SIZES
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Progress bar sizes */
|
||||
.progress-xs {
|
||||
height: $pb-xs;
|
||||
|
||||
&,
|
||||
& .progress-bar {
|
||||
border-radius: $pb-xs;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
direction: ltr !important;
|
||||
text-indent: -9999px;
|
||||
}
|
||||
|
||||
&.progress-half-rounded {
|
||||
&,
|
||||
& .progress-bar {
|
||||
border-radius: floor($pb-xs / 3);
|
||||
}
|
||||
}
|
||||
|
||||
&.progress-striped {
|
||||
.progress-bar {
|
||||
background-size: 15px 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progress-sm {
|
||||
border-radius: $pb-sm;
|
||||
height: $pb-sm;
|
||||
|
||||
&,
|
||||
& .progress-bar {
|
||||
border-radius: $pb-sm;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
font-size: 10px;
|
||||
line-height: $pb-sm;
|
||||
}
|
||||
|
||||
&.progress-half-rounded {
|
||||
&,
|
||||
& .progress-bar {
|
||||
border-radius: floor($pb-sm / 3);
|
||||
}
|
||||
}
|
||||
|
||||
&.progress-striped {
|
||||
.progress-bar {
|
||||
background-size: 20px 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progress-md {
|
||||
border-radius: $pb-md;
|
||||
height: $pb-md;
|
||||
|
||||
&,
|
||||
& .progress-bar {
|
||||
border-radius: $pb-md;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
font-size: 11px;
|
||||
line-height: $pb-md;
|
||||
}
|
||||
|
||||
&.progress-half-rounded {
|
||||
&,
|
||||
& .progress-bar {
|
||||
border-radius: floor($pb-md / 3);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&.progress-striped {
|
||||
.progress-bar {
|
||||
background-size: 25px 25px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progress-lg {
|
||||
border-radius: $pb-lg;
|
||||
height: $pb-lg;
|
||||
|
||||
&,
|
||||
& .progress-bar {
|
||||
border-radius: $pb-lg;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
line-height: $pb-lg;
|
||||
}
|
||||
|
||||
&.progress-half-rounded {
|
||||
&,
|
||||
& .progress-bar {
|
||||
border-radius: floor($pb-lg / 3);
|
||||
}
|
||||
}
|
||||
|
||||
&.progress-striped {
|
||||
.progress-bar {
|
||||
background-size: 30px 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progress-xl {
|
||||
border-radius: $pb-xl;
|
||||
height: $pb-xl;
|
||||
|
||||
&,
|
||||
& .progress-bar {
|
||||
border-radius: $pb-xl;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
line-height: $pb-xl;
|
||||
}
|
||||
|
||||
&.progress-half-rounded {
|
||||
&,
|
||||
& .progress-bar {
|
||||
border-radius: floor($pb-xl / 3);
|
||||
}
|
||||
}
|
||||
|
||||
&.progress-striped {
|
||||
.progress-bar {
|
||||
background-size: 35px 35px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// STATES
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Progress bar states */
|
||||
@each $state in $states {
|
||||
.progress {
|
||||
.progress-bar-#{nth($state,1)} {
|
||||
background-color: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// CIRCULAR BAR
|
||||
// -----------------------------------------------------------------------------
|
||||
.circular-bar {
|
||||
margin-bottom: 25px;
|
||||
.circular-bar-chart {
|
||||
position: relative;
|
||||
}
|
||||
strong {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
position: absolute;
|
||||
top: 35%;
|
||||
width: 80%;
|
||||
left: 10%;
|
||||
text-align: center;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
font-weight: 100;
|
||||
font-size: 17px;
|
||||
line-height: 20px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 80%;
|
||||
left: 10%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
// SLIDER
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Slider - */
|
||||
.ui-slider.ui-widget-content {
|
||||
background: $color-default;
|
||||
border: none;
|
||||
}
|
||||
|
||||
// HORIZONTAL
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Sliders - Horizontal */
|
||||
.ui-slider-horizontal {
|
||||
height: 6px;
|
||||
|
||||
.ui-slider-handle {
|
||||
top: -7px;
|
||||
}
|
||||
}
|
||||
|
||||
// VERTICAL
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Sliders - Vertical */
|
||||
.ui-slider-vertical {
|
||||
display: inline-block;
|
||||
width: 6px;
|
||||
|
||||
.ui-slider-handle {
|
||||
left: -7px;
|
||||
}
|
||||
}
|
||||
|
||||
// HANDLE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Sliders - UI Handle */
|
||||
.ui-slider {
|
||||
.ui-slider-handle {
|
||||
background: darken($color-default, 7%);
|
||||
border: 6px solid #fff;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.4);
|
||||
cursor: pointer;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FIX WINDOWS MOBILE DEVICES
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Sliders - UI Handle (Fix Windows Mobile Devices) */
|
||||
.ui-slider {
|
||||
.ui-slider-handle {
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
}
|
||||
|
||||
// RANGE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Sliders - Range */
|
||||
.ui-slider {
|
||||
.ui-slider-range {
|
||||
background: darken($color-default, 7%);
|
||||
}
|
||||
}
|
||||
|
||||
// STATES
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Sliders - Contextual */
|
||||
@each $state in $states {
|
||||
.slider-#{nth($state,1)} {
|
||||
.ui-slider-range,
|
||||
.ui-slider-handle {
|
||||
background: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
|
||||
.slider-gradient.slider-#{nth($state,1)} {
|
||||
.ui-slider-range,
|
||||
.ui-slider-handle {
|
||||
@include background-image(linear-gradient(lighten(nth($state,2), 10%) 0, #{nth($state,2)} 50%, darken(nth($state,2), 10%) 100%));
|
||||
}
|
||||
}
|
||||
|
||||
.slider-gradient.ui-slider-vertical.slider-#{nth($state,1)} {
|
||||
.ui-slider-range,
|
||||
.ui-slider-handle {
|
||||
@include background-image(linear-gradient(to right, lighten(nth($state,2), 10%) 0, #{nth($state,2)} 50%, darken(nth($state,2), 10%) 100%));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// DARK SKIN
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.ui-slider {
|
||||
&.ui-widget-content {
|
||||
background: $dark-color-2;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,741 @@
|
||||
// BASE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* tabs */
|
||||
.tabs {
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
|
||||
// CUSTOMIZATION
|
||||
// -----------------------------------------------------------------------------
|
||||
/* navigation */
|
||||
.nav-tabs {
|
||||
margin: 0;
|
||||
font-size: 0;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
|
||||
&:last-child {
|
||||
a {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
border-radius: $border-radius $border-radius 0 0;
|
||||
@include font-size($body-font-size);
|
||||
margin-right: 1px;
|
||||
|
||||
&,
|
||||
&:hover {
|
||||
background: $tabs-nav-item-background;
|
||||
border: {
|
||||
bottom: none;
|
||||
left: 1px solid $tabs-nav-item-border-color;
|
||||
right: 1px solid $tabs-nav-item-border-color;
|
||||
top: $tabs-nav-item-border-top solid $tabs-nav-item-border-top-color;
|
||||
}
|
||||
color: $tabs-nav-default-color;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-bottom-color: transparent;
|
||||
border-top: $tabs-nav-item-border-top solid $tabs-nav-default-color;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:active,
|
||||
&:focus {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
background: $tabs-nav-item-background-active-hover;
|
||||
border-left-color: $tabs-nav-item-border-color;
|
||||
border-right-color: $tabs-nav-item-border-color;
|
||||
border-top: $tabs-nav-item-border-top solid $tabs-nav-default-color;
|
||||
color: $tabs-nav-default-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* content */
|
||||
.tab-content {
|
||||
border-radius: 0 0 $tabs-content-border-radius $tabs-content-border-radius;
|
||||
box-shadow: $tabs-content-box-shadow;
|
||||
background-color: $tabs-content-background;
|
||||
border: 1px solid $tabs-content-border-color;
|
||||
border-top: 0;
|
||||
padding: $tabs-content-padding;
|
||||
}
|
||||
|
||||
/* content - footer inside */
|
||||
.tab-content .panel-footer {
|
||||
margin: -$tabs-content-padding;
|
||||
margin-top: $tabs-content-padding;
|
||||
}
|
||||
|
||||
// JUSTIFIED
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Justified */
|
||||
.nav-tabs.nav-justified {
|
||||
margin-bottom: -1px;
|
||||
border-left: 1px solid transparent;
|
||||
border-right: 1px solid transparent;
|
||||
|
||||
li {
|
||||
margin-bottom: 0;
|
||||
|
||||
&:first-child {
|
||||
a,
|
||||
a:hover {
|
||||
border-radius: $border-radius 0 0 0;
|
||||
border-left: none;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
a,
|
||||
a:hover {
|
||||
border-radius: 0 $border-radius 0 0;
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
border-bottom: 1px solid #DDD;
|
||||
border-radius: 0;
|
||||
margin-right: 0;
|
||||
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
border-bottom: 1px solid #DDD;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
background: $tabs-nav-item-background-active-hover;
|
||||
border-left-color: $tabs-nav-item-border-color;
|
||||
border-right-color: $tabs-nav-item-border-color;
|
||||
border-top: $tabs-nav-item-border-top solid $tabs-nav-default-color;
|
||||
color: $tabs-nav-default-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
border-top-color: $tabs-nav-default-color;
|
||||
border-top-width: $tabs-nav-item-border-top;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
border-bottom: 1px solid #FFF;
|
||||
|
||||
&:hover {
|
||||
border-bottom: 1px solid #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// BOTTOM
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Bottom Tabs */
|
||||
.tabs.tabs-bottom {
|
||||
|
||||
.tab-content {
|
||||
border-radius: $tabs-content-border-radius $tabs-content-border-radius 0 0;
|
||||
border-bottom: 0;
|
||||
border-top: 1px solid $tabs-content-border-color;
|
||||
}
|
||||
|
||||
.nav-tabs {
|
||||
|
||||
border-bottom: none;
|
||||
border-top: 1px solid #dddddd;
|
||||
|
||||
li {
|
||||
margin-bottom: 0;
|
||||
margin-top: -1px;
|
||||
|
||||
&:last-child {
|
||||
a {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
border-radius: 0 0 $border-radius $border-radius;
|
||||
@include font-size($body-font-size);
|
||||
margin-right: 1px;
|
||||
|
||||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
border: {
|
||||
bottom: $tabs-nav-item-border-top solid $tabs-nav-item-border-top-color;
|
||||
top: 1px solid $tabs-nav-item-border-top-color;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
border-bottom: $tabs-nav-item-border-top solid $tabs-nav-default-color;
|
||||
border-top: 1px solid $tabs-nav-item-border-top-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-bottom: $tabs-nav-item-border-top solid $tabs-nav-default-color;
|
||||
border-top-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Bottom Tabs with Justified Nav */
|
||||
.tabs.tabs-bottom {
|
||||
.nav.nav-tabs.nav-justified {
|
||||
border-top: none;
|
||||
li {
|
||||
a {
|
||||
margin-right: 0;
|
||||
border-top-color: $tabs-nav-item-border-top-color;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
a {
|
||||
border-radius: 0 0 0 $border-radius;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
a {
|
||||
margin-right: 0;
|
||||
border-radius: 0 0 $border-radius 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-top-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// VERTICAL
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Vertical */
|
||||
.tabs-vertical {
|
||||
display: table;
|
||||
width: 100%;
|
||||
|
||||
.tab-content {
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.nav-tabs {
|
||||
border-bottom: none;
|
||||
display: table-cell;
|
||||
height: 100%;
|
||||
float: none;
|
||||
padding: 0;
|
||||
vertical-align: top;
|
||||
|
||||
& > li {
|
||||
display: block;
|
||||
|
||||
a {
|
||||
border-radius: 0;
|
||||
display:block;
|
||||
padding-top: 10px;
|
||||
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
border-bottom: none;
|
||||
border-top: none
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
&:focus {
|
||||
border-top: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Vertical - Left Side */
|
||||
.tabs-left {
|
||||
.tab-content {
|
||||
border-radius: 0 $border-radius $border-radius $border-radius;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
.nav-tabs {
|
||||
& > li {
|
||||
margin-right: -1px;
|
||||
|
||||
&:first-child {
|
||||
a {
|
||||
border-radius: $border-radius 0 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
a {
|
||||
border-radius: 0 0 0 $border-radius;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
border: {
|
||||
right: 1px solid $tabs-nav-item-border-color;
|
||||
left: $tabs-nav-item-border-top solid $tabs-nav-item-border-top-color;
|
||||
}
|
||||
margin-right: 1px;
|
||||
margin-left: -$tabs-nav-item-border-top;
|
||||
|
||||
&:hover {
|
||||
border-left-color: $tabs-nav-default-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-left: $tabs-nav-item-border-top solid $tabs-nav-default-color;
|
||||
border-right-color: #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Vertical - Right Side */
|
||||
.tabs-right {
|
||||
|
||||
.tab-content {
|
||||
border-radius: $border-radius 0 $border-radius $border-radius;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.nav-tabs {
|
||||
& > li {
|
||||
margin-left: -1px;
|
||||
|
||||
&:first-child {
|
||||
a {
|
||||
border-radius: 0 $border-radius 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
a {
|
||||
border-radius: 0 0 $border-radius 0;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
border: {
|
||||
right: $tabs-nav-item-border-top solid $tabs-nav-item-border-top-color;
|
||||
left: 1px solid $tabs-nav-item-border-color;
|
||||
}
|
||||
margin-right: 1px;
|
||||
margin-left: 1px;
|
||||
|
||||
&:hover {
|
||||
border-right-color: $tabs-nav-default-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-right: $tabs-nav-item-border-top solid $tabs-nav-default-color;
|
||||
border-left: 1px solid #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
/* dark */
|
||||
html.dark {
|
||||
.tabs {
|
||||
.nav-tabs li {
|
||||
a,
|
||||
a:focus {
|
||||
border-top-color: $dark-color-3;
|
||||
border-left-color: $dark-color-3;
|
||||
border-right-color: $dark-color-3;
|
||||
background: $dark-color-3;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
border-top-color: $dark-default-text;
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-top-color: $dark-default-text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-tabs.nav-justified {
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
border-left-color: transparent;
|
||||
border-right-color: transparent;
|
||||
}
|
||||
|
||||
.nav-tabs.nav-justified li a,
|
||||
.nav-tabs.nav-justified li a:hover,
|
||||
.nav-tabs.nav-justified li a:focus {
|
||||
border-bottom-color: $dark-color-3;
|
||||
}
|
||||
|
||||
&.tabs-left .nav-tabs > li a,
|
||||
&.tabs-right .nav-tabs > li a {
|
||||
background: $dark-color-3;
|
||||
border-left-color: $dark-color-3;
|
||||
border-right-color: $dark-color-3;
|
||||
}
|
||||
|
||||
&.tabs-left .nav-tabs > li:last-child a,
|
||||
&.tabs-right .nav-tabs > li:last-child a {
|
||||
border-bottom-color: $dark-color-3;
|
||||
}
|
||||
|
||||
&.tabs-left {
|
||||
.nav-tabs > li {
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-left: $tabs-nav-item-border-top solid $tabs-nav-default-color;
|
||||
}
|
||||
}
|
||||
a:hover {
|
||||
border-left: $tabs-nav-item-border-top solid $tabs-nav-default-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-tabs {
|
||||
border-color: $dark-color-3;
|
||||
}
|
||||
|
||||
.nav-tabs li.active a,
|
||||
.nav-tabs li.active a:hover,
|
||||
.nav-tabs li.active a:focus,
|
||||
.nav-tabs.nav-justified li.active a,
|
||||
.nav-tabs.nav-justified li.active a:hover,
|
||||
.nav-tabs.nav-justified li.active a:focus {
|
||||
background: $dark-color-4;
|
||||
border-left-color: $dark-color-4;
|
||||
border-right-color: $dark-color-4;
|
||||
}
|
||||
|
||||
.nav-tabs.nav-justified li.active a {
|
||||
border-bottom-color: $dark-color-4;
|
||||
}
|
||||
|
||||
&.tabs-vertical {
|
||||
border-top-color: $dark-color-4;
|
||||
}
|
||||
|
||||
&.tabs-bottom {
|
||||
.nav-tabs li {
|
||||
a,
|
||||
a:focus {
|
||||
border-bottom-color: $dark-color-3;
|
||||
border-top-color: $dark-color-4;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
border-bottom-color: $dark-default-text;
|
||||
border-top-color: $dark-color-4;
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-bottom-color: $dark-default-text;
|
||||
border-top-color: $dark-color-4;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
background: $dark-color-4;
|
||||
border-color: $dark-color-4;
|
||||
}
|
||||
}
|
||||
|
||||
.tabs-primary {
|
||||
&.tabs-bottom {
|
||||
.nav-tabs {
|
||||
&,
|
||||
&.nav-justified {
|
||||
li {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-top-color: $dark-color-4 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-tabs li.active a,
|
||||
.nav-tabs li.active a:hover,
|
||||
.nav-tabs li.active a:focus,
|
||||
.nav-tabs li a {
|
||||
color: $dark-default-text;
|
||||
}
|
||||
.tab-content {
|
||||
background: $dark-color-4;
|
||||
border-color: $dark-color-1;
|
||||
}
|
||||
}
|
||||
|
||||
// STATES
|
||||
// -----------------------------------------------------------------------------
|
||||
/* states */
|
||||
@each $state in $states {
|
||||
html body,
|
||||
html.dark body {
|
||||
.tabs-#{nth($state,1)} {
|
||||
.nav-tabs {
|
||||
&,
|
||||
&.nav-justified {
|
||||
li {
|
||||
a {
|
||||
&,
|
||||
&:hover {
|
||||
color: #{nth($state,2)};
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-top-color: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-top-color: #{nth($state,2)};
|
||||
color: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.tabs-bottom {
|
||||
.nav-tabs {
|
||||
&,
|
||||
&.nav-justified {
|
||||
li {
|
||||
a {
|
||||
&:hover {
|
||||
border-bottom-color: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-bottom-color: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.tabs-vertical {
|
||||
&.tabs-left {
|
||||
li {
|
||||
a {
|
||||
&:hover {
|
||||
border-left-color: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-left-color: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.tabs-right {
|
||||
li {
|
||||
a {
|
||||
&:hover {
|
||||
border-right-color: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-right-color: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
/* dark */
|
||||
html.dark body {
|
||||
.tabs-dark {
|
||||
.nav-tabs {
|
||||
&,
|
||||
&.nav-justified {
|
||||
li {
|
||||
a {
|
||||
&,
|
||||
&:hover {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-top-color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-top-color: #FFF;
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.tabs-bottom {
|
||||
.nav-tabs {
|
||||
&,
|
||||
&.nav-justified {
|
||||
li {
|
||||
a {
|
||||
&:hover {
|
||||
border-bottom-color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-bottom-color: #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.tabs-vertical {
|
||||
&.tabs-left {
|
||||
li {
|
||||
a {
|
||||
&:hover {
|
||||
border-left-color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-left-color: #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.tabs-right {
|
||||
li {
|
||||
a {
|
||||
&:hover {
|
||||
border-right-color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
border-right-color: #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
// TOGGLE
|
||||
// -----------------------------------------------------------------------------
|
||||
.toggle {
|
||||
margin: 10px 0 0;
|
||||
position: relative;
|
||||
clear: both;
|
||||
> {
|
||||
input {
|
||||
cursor: pointer;
|
||||
filter: alpha(opacity = 0);
|
||||
height: 45px;
|
||||
margin: 0;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
z-index: 2;
|
||||
}
|
||||
label {
|
||||
@include transition (all .15s ease-out);
|
||||
background: #F4F4F4;
|
||||
border-left: 3px solid $color-primary;
|
||||
border-radius: $border-radius;
|
||||
color: $color-primary;
|
||||
display: block;
|
||||
font-size: 1.1em;
|
||||
min-height: 20px;
|
||||
padding: 12px 20px 12px 10px;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
font-weight: 400;
|
||||
&:-moz-selection {
|
||||
background: none;
|
||||
}
|
||||
i {
|
||||
&.fa-minus {
|
||||
display: none;
|
||||
}
|
||||
&.fa-plus {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
&:selection {
|
||||
background: none;
|
||||
}
|
||||
&:before {
|
||||
border: 6px solid transparent;
|
||||
border-left-color: inherit;
|
||||
content: '';
|
||||
margin-top: -6px;
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
top: 50%;
|
||||
}
|
||||
&:hover {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
+ p {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding-left: 30px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
height: 25px;
|
||||
}
|
||||
i {
|
||||
font-size: 0.7em;
|
||||
margin-right: 8px;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
.toggle-content {
|
||||
display: none;
|
||||
> p {
|
||||
margin-bottom: 0;
|
||||
padding: 10px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.active {
|
||||
i {
|
||||
&.fa-minus {
|
||||
display: inline;
|
||||
color: #FFF;
|
||||
}
|
||||
&.fa-plus {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
> label {
|
||||
background: $color-primary;
|
||||
border-color: $color-primary;
|
||||
color: #FFF;
|
||||
&:before {
|
||||
border: 6px solid transparent;
|
||||
border-top-color: #FFF;
|
||||
margin-top: -3px;
|
||||
right: 10px;
|
||||
}
|
||||
}
|
||||
> p {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
> p.preview-active {
|
||||
height: auto;
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
/* dark */
|
||||
html.dark {
|
||||
.toggle > label {
|
||||
background: $dark-color-3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
// TREEVIEW
|
||||
// -----------------------------------------------------------------------------
|
||||
.jstree-default {
|
||||
.jstree-checkbox {
|
||||
background-image: url(../images/jstree.png);
|
||||
}
|
||||
.jstree-icon {
|
||||
color: #333;
|
||||
}
|
||||
.jstree-hovered {
|
||||
background-color: lighten($color-primary, 55%);
|
||||
}
|
||||
.jstree-clicked {
|
||||
background-color: lighten($color-primary, 45%);
|
||||
}
|
||||
.jstree-disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.colored {
|
||||
color: $color-primary;
|
||||
.jstree-icon {
|
||||
color: $color-primary;
|
||||
}
|
||||
}
|
||||
.colored-icon {
|
||||
.jstree-icon {
|
||||
color: $color-primary;
|
||||
}
|
||||
}
|
||||
.folder {
|
||||
.jstree-icon {
|
||||
color: #ddc03f !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
/* dark */
|
||||
html.dark body {
|
||||
.jstree-default {
|
||||
.jstree-checkbox {
|
||||
background-image: url(../images/jstree-dark.png);
|
||||
}
|
||||
.jstree-hovered {
|
||||
background-color: $dark-color-2 !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
.jstree-clicked {
|
||||
background-color: $dark-color-1 !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
.jstree-icon {
|
||||
color: $dark-default-text;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,964 @@
|
||||
// THUMBNAIL WITH LABEL
|
||||
// -----------------------------------------------------------------------------
|
||||
.thumb-info {
|
||||
position: relative;
|
||||
|
||||
.thumb-info-title {
|
||||
-webkit-transition: all 0.3s;
|
||||
-moz-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
background: rgba(36, 27, 28, 0.9);
|
||||
bottom: 10%;
|
||||
color: #FFF;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
left: 0;
|
||||
letter-spacing: -1px;
|
||||
padding: 9px 11px 9px;
|
||||
position: absolute;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
|
||||
text-transform: uppercase;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.thumb-info-inner {
|
||||
-webkit-transition: all 0.3s;
|
||||
-moz-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.thumb-info-type {
|
||||
background-color: $color-primary;
|
||||
border-radius: 2px;
|
||||
display: inline-block;
|
||||
float: left;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0;
|
||||
margin: 8px -2px -15px -2px;
|
||||
padding: 2px 9px;
|
||||
text-transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
// WIDGET EXPAND
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Widget Toggle/Expand */
|
||||
.widget-toggle-expand {
|
||||
|
||||
.widget-header {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
|
||||
h6 {
|
||||
@include font-size(13);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.widget-toggle {
|
||||
@include font-size(21);
|
||||
@include line-height(21);
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
color: #b4b4b4;
|
||||
|
||||
@include transform(rotate(45deg));
|
||||
@include transition-property (transform);
|
||||
@include transition-duration(.2s);
|
||||
@include transition-timing-function(linear);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&.widget-collapsed {
|
||||
|
||||
.widget-content-expanded {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.widget-header {
|
||||
.widget-toggle {
|
||||
@include transform(none);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// USER LIST
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Simple User List */
|
||||
ul.simple-user-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
margin: 0 0 20px;
|
||||
|
||||
.image {
|
||||
float: left;
|
||||
margin: 0 10px 0 0;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: #000011;
|
||||
display: block;
|
||||
line-height: 1.334;
|
||||
}
|
||||
|
||||
.message {
|
||||
display: block;
|
||||
@include font-size(11);
|
||||
line-height: 1.334;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// SIMPLE POST LIST
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Simple Post List */
|
||||
ul.simple-post-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
@include clearfix;
|
||||
border-bottom: 1px dotted #E2E2E2;
|
||||
padding: 15px 0;
|
||||
|
||||
&::last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.post-image {
|
||||
float: left;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
color: #888;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// TODO LIST
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Simple Todo List */
|
||||
ul.simple-todo-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
li {
|
||||
position: relative;
|
||||
padding: 0 0 0 20px;
|
||||
|
||||
&.completed {
|
||||
color: #A7A7A7;
|
||||
|
||||
&:before {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 0;
|
||||
font-family: FontAwesome;
|
||||
content: "\f00c";
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// SOCIAL ICONS
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Social Icons */
|
||||
.social-icons-list {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
a {
|
||||
background: $color-primary;
|
||||
border-radius: 25px;
|
||||
display: inline-block;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
width: 30px;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
i {
|
||||
@include font-size(13.5);
|
||||
color: #FFF;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// COMPOSE BOX
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Simple Compose Box */
|
||||
.simple-compose-box {
|
||||
border: 1px solid #d1d1d1;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
background-color: #fff;
|
||||
|
||||
textarea {
|
||||
background-color: transparent;
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 10px 10px 5px;
|
||||
border: 0;
|
||||
resize: none;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
|
||||
&:focus {
|
||||
border: 0 none;
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.compose-box-footer {
|
||||
@include clearfix;
|
||||
background-color: #F6F7F8;
|
||||
-webkit-border-radius: 0 0 5px 5px;
|
||||
border-radius: 0 0 5px 5px;
|
||||
|
||||
.compose-toolbar {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 3px;
|
||||
float: left;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
line-height: 30px;
|
||||
width: 30px;
|
||||
color: #B3B7BD;
|
||||
|
||||
&:hover {
|
||||
background-color: darken(#F6F7F8, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.compose-btn {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 3px;
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// SIMPLE CARD LIST
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Simple Card List */
|
||||
ul.simple-card-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
padding: 10px 15px;
|
||||
margin: 15px 0;
|
||||
-webkit-border-radius: 7px;
|
||||
border-radius: 7px;
|
||||
|
||||
h3 {
|
||||
@include font-size(26);
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
opacity: .7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@each $state in $states {
|
||||
.simple-card-list {
|
||||
li.#{nth($state,1)} {
|
||||
background: #{nth($state,2)};
|
||||
color: #{nth($state,3)};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div.simple-card-list {
|
||||
display: table;
|
||||
width: 100%;
|
||||
|
||||
.card {
|
||||
display: table-cell;
|
||||
|
||||
.card-content {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
margin: 0 7px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
@include font-size(26);
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
opacity: .7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// SIMPLE BULLET LIST
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Simple Button List */
|
||||
ul.simple-bullet-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
position: relative;
|
||||
padding: 0 0 0 20px;
|
||||
margin: 0 0 10px;
|
||||
|
||||
&:before {
|
||||
border: 6px solid $color-primary;
|
||||
border-radius: 100px;
|
||||
content: '';
|
||||
display: inline-block;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.title {
|
||||
display: block;
|
||||
font-weight: 700;
|
||||
@include font-size(14);
|
||||
line-height: 1.4;
|
||||
color: $color-dark;
|
||||
}
|
||||
|
||||
.description {
|
||||
display: block;
|
||||
color: $color-muted;
|
||||
@include font-size(11);
|
||||
line-height: 1.334;
|
||||
}
|
||||
|
||||
&.red:before {
|
||||
border-color: #d64b4b;
|
||||
}
|
||||
|
||||
&.green:before {
|
||||
border-color: #4dd79c;
|
||||
}
|
||||
|
||||
&.blue:before {
|
||||
border-color: #0090d9;
|
||||
}
|
||||
|
||||
&.orange:before {
|
||||
border-color: #E2A917;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// SUMMARY
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Summary */
|
||||
.widget-summary {
|
||||
@include clearfix;
|
||||
display: table;
|
||||
width: 100%;
|
||||
|
||||
.widget-summary-col {
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
width: 100%;
|
||||
|
||||
&.widget-summary-col-icon {
|
||||
width: 1%;
|
||||
}
|
||||
}
|
||||
|
||||
.summary-icon {
|
||||
margin-right: 15px;
|
||||
@include font-size(42);
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
line-height: 90px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
-webkit-border-radius: 55px;
|
||||
border-radius: 55px;
|
||||
}
|
||||
|
||||
.summary {
|
||||
min-height: 65px;
|
||||
word-break: break-all;
|
||||
|
||||
.title {
|
||||
margin: 0;
|
||||
@include font-size(16);
|
||||
@include line-height(22);
|
||||
color: $color-black;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.info {
|
||||
@include font-size(14);
|
||||
@include line-height(30);
|
||||
|
||||
span {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.amount {
|
||||
margin-right: .2em;
|
||||
@include font-size(24);
|
||||
font-weight: 600;
|
||||
color: $color-black;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.summary-footer {
|
||||
padding: 5px 0 0;
|
||||
border-top: 1px dotted #ddd;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@each $color in $colors-list {
|
||||
.bg-#{nth($color,1)} & {
|
||||
|
||||
.summary-icon {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.summary {
|
||||
.title,
|
||||
.amount {
|
||||
color: #{nth($color,3)};
|
||||
}
|
||||
}
|
||||
|
||||
.summary-footer {
|
||||
border-top: 1px solid #fff;
|
||||
border-top-color: rgba(255, 255, 255, 0.2);
|
||||
|
||||
a {
|
||||
color: #{nth($color,3)};
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 480px) {
|
||||
.widget-summary.widget-summary-xlg {
|
||||
padding: 5px 0;
|
||||
|
||||
.summary-icon {
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
line-height: 110px;
|
||||
@include font-size(48);
|
||||
}
|
||||
|
||||
.summary {
|
||||
min-height: 80px;
|
||||
|
||||
.title {
|
||||
@include font-size(20);
|
||||
@include line-height(28);
|
||||
}
|
||||
|
||||
.info {
|
||||
@include font-size(16);
|
||||
@include line-height(30);
|
||||
}
|
||||
|
||||
.amount {
|
||||
@include font-size(28);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.widget-summary.widget-summary-lg {
|
||||
padding: 0;
|
||||
|
||||
.summary-icon {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
line-height: 90px;
|
||||
@include font-size(42);
|
||||
}
|
||||
|
||||
.summary {
|
||||
min-height: 65px;
|
||||
|
||||
.title {
|
||||
@include font-size(16);
|
||||
@include line-height(22);
|
||||
}
|
||||
|
||||
.info {
|
||||
@include font-size(14);
|
||||
@include line-height(30);
|
||||
}
|
||||
|
||||
.amount {
|
||||
@include font-size(24);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.widget-summary.widget-summary-md {
|
||||
padding: 0;
|
||||
|
||||
.summary-icon {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
line-height: 70px;
|
||||
@include font-size(32);
|
||||
}
|
||||
|
||||
.summary {
|
||||
min-height: 0;
|
||||
margin-top: 12px;
|
||||
|
||||
.title {
|
||||
@include font-size(12);
|
||||
@include line-height(18);
|
||||
}
|
||||
|
||||
.info {
|
||||
@include font-size(11);
|
||||
@include line-height(22);
|
||||
}
|
||||
|
||||
.amount {
|
||||
@include font-size(18);
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
.summary-footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.widget-summary.widget-summary-sm {
|
||||
padding: 0;
|
||||
|
||||
.summary-icon {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
@include font-size(22);
|
||||
}
|
||||
|
||||
.summary {
|
||||
min-height: 0;
|
||||
margin-top: 4px;
|
||||
|
||||
.title {
|
||||
@include font-size(12);
|
||||
@include line-height(18);
|
||||
}
|
||||
|
||||
.info {
|
||||
@include font-size(11);
|
||||
@include line-height(18);
|
||||
}
|
||||
|
||||
.amount {
|
||||
@include font-size(16);
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
.summary-footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.widget-summary.widget-summary-xs {
|
||||
padding: 0;
|
||||
|
||||
.summary-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
@include font-size(18);
|
||||
}
|
||||
|
||||
.summary {
|
||||
min-height: 0;
|
||||
|
||||
.title {
|
||||
@include font-size(12);
|
||||
line-height: 40px;
|
||||
}
|
||||
|
||||
.info {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.summary-footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// TO-DO LIST
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Todo List */
|
||||
ul.widget-todo-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
|
||||
li {
|
||||
border-bottom: 1px dotted #ddd;
|
||||
padding: 15px 15px 15px 0;
|
||||
position: relative;
|
||||
|
||||
label.line-through span {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.checkbox-custom {
|
||||
margin-bottom: 0;
|
||||
|
||||
label {
|
||||
padding-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.todo-actions {
|
||||
position: absolute;
|
||||
top: 14px;
|
||||
right: 0;
|
||||
bottom: 14px;
|
||||
|
||||
.todo-remove {
|
||||
font-size: 10px;
|
||||
vertical-align: middle;
|
||||
color: $color-muted;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-bottom: 0 none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// PROFILE INFO
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Profile Info */
|
||||
.widget-profile-info {
|
||||
display: table;
|
||||
width: 100%;
|
||||
|
||||
.profile-picture {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
width: 1%;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin-right: 15px;
|
||||
border: 4px solid #fff;
|
||||
-webkit-border-radius: 50px;
|
||||
border-radius: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
.profile-info {
|
||||
display: table-cell;
|
||||
vertical-align: bottom;
|
||||
width: 100%;
|
||||
|
||||
.profile-footer {
|
||||
padding: 5px 0 0;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.6);
|
||||
text-align: right;
|
||||
|
||||
a {
|
||||
color: #fff;
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
// TWITTER PROFILE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Widget - Twitter Profile */
|
||||
.widget-twitter-profile {
|
||||
background-color: $color-primary;
|
||||
border-radius: $border-radius;
|
||||
color: #fff;
|
||||
|
||||
.top-image {
|
||||
img {
|
||||
width: 100%;
|
||||
border-radius: $border-radius $border-radius 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.profile-info {
|
||||
@include clearfix;
|
||||
padding: 15px;
|
||||
min-height: 75px;
|
||||
|
||||
.profile-picture {
|
||||
float: left;
|
||||
margin-right: 15px;
|
||||
position: relative;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin: -25px 0;
|
||||
border: 4px solid #fff;
|
||||
-webkit-border-radius: 50px;
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.profile-account {
|
||||
float: left;
|
||||
|
||||
.name {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.account {
|
||||
color: lighten($color-primary, 50%);
|
||||
margin: 0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.profile-stats {
|
||||
float: right;
|
||||
list-style: none;
|
||||
padding: 5px 0;
|
||||
margin: 0;
|
||||
|
||||
li {
|
||||
float: left;
|
||||
padding: 0 10px;
|
||||
|
||||
.stat {
|
||||
@include font-size(10);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.count {
|
||||
display: block;
|
||||
margin: 0;
|
||||
line-height: 1.4;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.profile-quote {
|
||||
background-color: lighten($color-primary, 4%);
|
||||
border-radius: 0 0 $border-radius $border-radius;
|
||||
padding: 15px 10px 15px 150px;
|
||||
|
||||
blockquote {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
|
||||
p {
|
||||
position: relative;
|
||||
font-style: italic;
|
||||
@include font-size(18);
|
||||
line-height: 1.6;
|
||||
padding: 15px 0;
|
||||
margin: 0 0 10px;
|
||||
font-family: Georgia, serif;
|
||||
|
||||
&:before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -45px;
|
||||
content: '\201C';
|
||||
@include font-size(80);
|
||||
line-height: 1;
|
||||
font-family: Georgia, serif;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.quote-footer {
|
||||
border-top: 1px solid lighten($color-primary, 10%);
|
||||
padding: 5px 0;
|
||||
text-align: right;
|
||||
color: lighten($color-primary, 50%);
|
||||
|
||||
a {
|
||||
color: lighten($color-primary, 50%);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Widget - Twitter Profile Responsive */
|
||||
@media only screen and (max-width: 479px) {
|
||||
.widget-twitter-profile {
|
||||
.profile-info {
|
||||
.profile-stats {
|
||||
clear: both;
|
||||
float: none;
|
||||
padding: 45px 0 0;
|
||||
text-align: center;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.widget-twitter-profile {
|
||||
.profile-quote {
|
||||
padding-left: 10px;
|
||||
|
||||
blockquote {
|
||||
padding-left: 45px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DARK SKIN
|
||||
// -----------------------------------------------------------------------------\
|
||||
html.dark {
|
||||
/* Widget Summary */
|
||||
.widget-summary {
|
||||
.summary {
|
||||
.title,
|
||||
.amount {
|
||||
color: #EEE;
|
||||
}
|
||||
}
|
||||
.summary-footer {
|
||||
border-color: #4C4C4C;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Panel Footer - Button Group */
|
||||
.panel-footer-btn-group a {
|
||||
background-color: $dark-color-3;
|
||||
border-color: $dark-color-2;
|
||||
|
||||
&:hover {
|
||||
background-color: $dark-color-4;
|
||||
}
|
||||
}
|
||||
|
||||
/* To-do List */
|
||||
ul.widget-todo-list li {
|
||||
border-color: $dark-color-5;
|
||||
}
|
||||
|
||||
/* Simple Post List */
|
||||
ul.simple-post-list li {
|
||||
border-color: #4c4c4c;
|
||||
}
|
||||
|
||||
/* Simple User List */
|
||||
ul.simple-user-list li .title {
|
||||
color: #EEE;
|
||||
}
|
||||
|
||||
/* Simple Bullet List */
|
||||
ul.simple-bullet-list li .title {
|
||||
color: #EEE;
|
||||
}
|
||||
|
||||
/* Simple Compose Box */
|
||||
.simple-compose-box {
|
||||
background-color: $dark-color-3;
|
||||
border-color: $dark-color-3;
|
||||
|
||||
.compose-box-footer {
|
||||
background-color: $dark-color-2;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
/* Word Rotate */
|
||||
.word-rotate {
|
||||
visibility: hidden;
|
||||
width: 100px;
|
||||
height: 0px;
|
||||
margin-bottom: -7px;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
&.active {
|
||||
visibility: visible;
|
||||
width: auto;
|
||||
}
|
||||
.word-rotate-items {
|
||||
position: relative;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
span {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
&.highlight {
|
||||
top: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Word Rotate - Titles */
|
||||
h1 .word-rotate {
|
||||
margin-bottom: -12px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
.word-rotate {
|
||||
margin-bottom: -12px;
|
||||
}
|
||||
&.word-rotator-title {
|
||||
line-height: 54px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user