copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,311 @@
|
||||
/* ------------------------------------------------------------------------------------------------------------------------------------------
|
||||
BOOTSTRAP EXTEND
|
||||
------------------------------------------------------------------------------------------------------------------------------------------ */
|
||||
/* Add New Grid Tier FOR NON BOXED LAYOUT */
|
||||
html.scroll,
|
||||
html.fixed {
|
||||
@media (min-width: $screen-xl) {
|
||||
.container {
|
||||
width: $screen-xl - $grid-gutter-width;
|
||||
}
|
||||
}
|
||||
|
||||
.col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
|
||||
position: relative;
|
||||
min-height: 1px;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
@media (min-width: $screen-xl) {
|
||||
.col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
|
||||
float: left;
|
||||
}
|
||||
.col-xl-12 {
|
||||
width: 100%;
|
||||
}
|
||||
.col-xl-11 {
|
||||
width: 91.66666667%;
|
||||
}
|
||||
.col-xl-10 {
|
||||
width: 83.33333333%;
|
||||
}
|
||||
.col-xl-9 {
|
||||
width: 75%;
|
||||
}
|
||||
.col-xl-8 {
|
||||
width: 66.66666667%;
|
||||
}
|
||||
.col-xl-7 {
|
||||
width: 58.33333333%;
|
||||
}
|
||||
.col-xl-6 {
|
||||
width: 50%;
|
||||
}
|
||||
.col-xl-5 {
|
||||
width: 41.66666667%;
|
||||
}
|
||||
.col-xl-4 {
|
||||
width: 33.33333333%;
|
||||
}
|
||||
.col-xl-3 {
|
||||
width: 25%;
|
||||
}
|
||||
.col-xl-2 {
|
||||
width: 16.66666667%;
|
||||
}
|
||||
.col-xl-1 {
|
||||
width: 8.33333333%;
|
||||
}
|
||||
.col-xl-pull-12 {
|
||||
right: 100%;
|
||||
}
|
||||
.col-xl-pull-11 {
|
||||
right: 91.66666667%;
|
||||
}
|
||||
.col-xl-pull-10 {
|
||||
right: 83.33333333%;
|
||||
}
|
||||
.col-xl-pull-9 {
|
||||
right: 75%;
|
||||
}
|
||||
.col-xl-pull-8 {
|
||||
right: 66.66666667%;
|
||||
}
|
||||
.col-xl-pull-7 {
|
||||
right: 58.33333333%;
|
||||
}
|
||||
.col-xl-pull-6 {
|
||||
right: 50%;
|
||||
}
|
||||
.col-xl-pull-5 {
|
||||
right: 41.66666667%;
|
||||
}
|
||||
.col-xl-pull-4 {
|
||||
right: 33.33333333%;
|
||||
}
|
||||
.col-xl-pull-3 {
|
||||
right: 25%;
|
||||
}
|
||||
.col-xl-pull-2 {
|
||||
right: 16.66666667%;
|
||||
}
|
||||
.col-xl-pull-1 {
|
||||
right: 8.33333333%;
|
||||
}
|
||||
.col-xl-pull-0 {
|
||||
right: auto;
|
||||
}
|
||||
.col-xl-push-12 {
|
||||
left: 100%;
|
||||
}
|
||||
.col-xl-push-11 {
|
||||
left: 91.66666667%;
|
||||
}
|
||||
.col-xl-push-10 {
|
||||
left: 83.33333333%;
|
||||
}
|
||||
.col-xl-push-9 {
|
||||
left: 75%;
|
||||
}
|
||||
.col-xl-push-8 {
|
||||
left: 66.66666667%;
|
||||
}
|
||||
.col-xl-push-7 {
|
||||
left: 58.33333333%;
|
||||
}
|
||||
.col-xl-push-6 {
|
||||
left: 50%;
|
||||
}
|
||||
.col-xl-push-5 {
|
||||
left: 41.66666667%;
|
||||
}
|
||||
.col-xl-push-4 {
|
||||
left: 33.33333333%;
|
||||
}
|
||||
.col-xl-push-3 {
|
||||
left: 25%;
|
||||
}
|
||||
.col-xl-push-2 {
|
||||
left: 16.66666667%;
|
||||
}
|
||||
.col-xl-push-1 {
|
||||
left: 8.33333333%;
|
||||
}
|
||||
.col-xl-push-0 {
|
||||
left: auto;
|
||||
}
|
||||
.col-xl-offset-12 {
|
||||
margin-left: 100%;
|
||||
}
|
||||
.col-xl-offset-11 {
|
||||
margin-left: 91.66666667%;
|
||||
}
|
||||
.col-xl-offset-10 {
|
||||
margin-left: 83.33333333%;
|
||||
}
|
||||
.col-xl-offset-9 {
|
||||
margin-left: 75%;
|
||||
}
|
||||
.col-xl-offset-8 {
|
||||
margin-left: 66.66666667%;
|
||||
}
|
||||
.col-xl-offset-7 {
|
||||
margin-left: 58.33333333%;
|
||||
}
|
||||
.col-xl-offset-6 {
|
||||
margin-left: 50%;
|
||||
}
|
||||
.col-xl-offset-5 {
|
||||
margin-left: 41.66666667%;
|
||||
}
|
||||
.col-xl-offset-4 {
|
||||
margin-left: 33.33333333%;
|
||||
}
|
||||
.col-xl-offset-3 {
|
||||
margin-left: 25%;
|
||||
}
|
||||
.col-xl-offset-2 {
|
||||
margin-left: 16.66666667%;
|
||||
}
|
||||
.col-xl-offset-1 {
|
||||
margin-left: 8.33333333%;
|
||||
}
|
||||
.col-xl-offset-0 {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.visible-xl {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.visible-xl-block,
|
||||
.visible-xl-inline,
|
||||
.visible-xl-inline-block {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@media (min-width: $screen-lg) and (max-width: $screen-lg-max) {
|
||||
.visible-lg {
|
||||
display: block !important;
|
||||
}
|
||||
table.visible-lg {
|
||||
display: table;
|
||||
}
|
||||
tr.visible-lg {
|
||||
display: table-row !important;
|
||||
}
|
||||
th.visible-lg,
|
||||
td.visible-lg {
|
||||
display: table-cell !important;
|
||||
}
|
||||
.visible-lg-block {
|
||||
display: block !important;
|
||||
}
|
||||
.visible-lg-inline {
|
||||
display: inline !important;
|
||||
}
|
||||
.visible-lg-inline-block {
|
||||
display: inline-block !important;
|
||||
}
|
||||
.hidden-lg {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* UNDO original bootrap LG helper classes*/
|
||||
@media (min-width: $screen-xl) {
|
||||
.visible-lg-block {
|
||||
display: none !important;
|
||||
}
|
||||
.visible-lg-inline {
|
||||
display: none !important;
|
||||
}
|
||||
.visible-lg-inline-block {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Helper classes for XL */
|
||||
@media (min-width: $screen-xl) {
|
||||
.visible-xl {
|
||||
display: block !important;
|
||||
}
|
||||
table.visible-xl {
|
||||
display: table;
|
||||
}
|
||||
tr.visible-xl {
|
||||
display: table-row !important;
|
||||
}
|
||||
th.visible-xl,
|
||||
td.visible-xl {
|
||||
display: table-cell !important;
|
||||
}
|
||||
.visible-xl-block {
|
||||
display: block !important;
|
||||
}
|
||||
.visible-xl-inline {
|
||||
display: inline !important;
|
||||
}
|
||||
.visible-xl-inline-block {
|
||||
display: inline-block !important;
|
||||
}
|
||||
.hidden-xl {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 991px) {
|
||||
.table-responsive {
|
||||
width: 100%;
|
||||
margin-bottom: 15px;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
-ms-overflow-style: -ms-autohiding-scrollbar;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.table-responsive > .table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.table-responsive > .table > thead > tr > th,
|
||||
.table-responsive > .table > tbody > tr > th,
|
||||
.table-responsive > .table > tfoot > tr > th,
|
||||
.table-responsive > .table > thead > tr > td,
|
||||
.table-responsive > .table > tbody > tr > td,
|
||||
.table-responsive > .table > tfoot > tr > td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.table-responsive > .table-bordered {
|
||||
border: 0;
|
||||
}
|
||||
.table-responsive > .table-bordered > thead > tr > th:first-child,
|
||||
.table-responsive > .table-bordered > tbody > tr > th:first-child,
|
||||
.table-responsive > .table-bordered > tfoot > tr > th:first-child,
|
||||
.table-responsive > .table-bordered > thead > tr > td:first-child,
|
||||
.table-responsive > .table-bordered > tbody > tr > td:first-child,
|
||||
.table-responsive > .table-bordered > tfoot > tr > td:first-child {
|
||||
border-left: 0;
|
||||
}
|
||||
.table-responsive > .table-bordered > thead > tr > th:last-child,
|
||||
.table-responsive > .table-bordered > tbody > tr > th:last-child,
|
||||
.table-responsive > .table-bordered > tfoot > tr > th:last-child,
|
||||
.table-responsive > .table-bordered > thead > tr > td:last-child,
|
||||
.table-responsive > .table-bordered > tbody > tr > td:last-child,
|
||||
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
.table-responsive > .table-bordered > tbody > tr:last-child > th,
|
||||
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
|
||||
.table-responsive > .table-bordered > tbody > tr:last-child > td,
|
||||
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Fix img-thumbnail - IE10 and below */
|
||||
.img-thumbnail {
|
||||
width: auto \9;
|
||||
}
|
||||
@@ -0,0 +1,253 @@
|
||||
// CONTENT WITH MENU
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Content With Menu - Menu Faux Column for Scroll and Boxed Layouts Colors */
|
||||
@media only screen and (min-width: 768px) {
|
||||
html.scroll,
|
||||
html.boxed {
|
||||
.content-with-menu {
|
||||
&:before {
|
||||
background: $sidebar-background;
|
||||
}
|
||||
|
||||
&:after {
|
||||
background: #000;
|
||||
box-shadow: 0px 0 4px 2px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// REMOVE NANO STYLE FOR BOXED AND SCROLL
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Unstyle nano for non fixed layouts */
|
||||
html.scroll,
|
||||
html.boxed {
|
||||
.inner-menu,
|
||||
&.no-overflowscrolling.custom-scroll .inner-menu {
|
||||
.nano {
|
||||
position: static;
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
width: auto;
|
||||
|
||||
> .nano-content {
|
||||
position: static;
|
||||
overflow: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
html.fixed {
|
||||
.inner-menu {
|
||||
.nano {
|
||||
position: static;
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
width: auto;
|
||||
|
||||
.nano-content {
|
||||
margin-right: 0;
|
||||
position: static;
|
||||
overflow: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FIX PADDING WHEN USING NANO
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Fix padding when fixed */
|
||||
@media only screen and (min-width: 768px) {
|
||||
html.fixed {
|
||||
.inner-menu {
|
||||
padding: 0;
|
||||
|
||||
.nano-content {
|
||||
padding: 35px;
|
||||
|
||||
&:after {
|
||||
display: block;
|
||||
content: '';
|
||||
height: 35px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// MENU INNER STYLE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Content With Menu - Inner Menu Style */
|
||||
.inner-menu {
|
||||
background: $sidebar-background;
|
||||
border-right: 1px solid darken($dark-color-4, 5%);
|
||||
color: #abb4be;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
.title {
|
||||
color: #465162;
|
||||
font-weight: 600;
|
||||
margin: 10px 0;
|
||||
padding: 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
hr.separator {
|
||||
background-image: -webkit-linear-gradient(left, transparent, rgba(0, 0, 0, 0.4), transparent);
|
||||
background-image: -moz-linear-gradient(left, transparent, rgba(0, 0, 0, 0.4), transparent);
|
||||
background-image: -ms-linear-gradient(left, transparent, rgba(0, 0, 0, 0.4), transparent);
|
||||
background-image: -o-linear-gradient(left, transparent, rgba(0, 0, 0, 0.4), transparent);
|
||||
|
||||
margin: 20px -35px 20px;
|
||||
}
|
||||
|
||||
a,
|
||||
a:hover {
|
||||
color: #abb4be;
|
||||
}
|
||||
|
||||
a.menu-item {
|
||||
color: #abb4be;
|
||||
display: block;
|
||||
margin: 0 -35px 0 -35px;
|
||||
padding: 10px 50px 10px 50px;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
background: #21262d;
|
||||
color: #abb4be;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: #282d36;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-weight: normal;
|
||||
font-size: 10px;
|
||||
font-size: 1rem;
|
||||
padding: .3em .7em .4em;
|
||||
margin: .2em -1em 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu - Toggle */
|
||||
.inner-menu-toggle,
|
||||
.inner-menu .inner-menu-toggle-inside {
|
||||
background: #000;
|
||||
color: #999;
|
||||
left: 0;
|
||||
line-height: 52px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
|
||||
&:after {
|
||||
box-shadow: 0 0px 3px 0 rgba(255, 255, 255, 0.7);
|
||||
bottom: -1px;
|
||||
content: '';
|
||||
display: block;
|
||||
height: 1px;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding-left: 20px;
|
||||
text-decoration: none;
|
||||
|
||||
i {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.inner-menu-collapse {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.inner-menu-toggle a i {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.inner-menu-toggle-inside {
|
||||
margin: -35px -35px 15px -35px;
|
||||
|
||||
.inner-menu-collapse i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
.inner-menu-expand i {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu - Toggle - Outside */
|
||||
.inner-menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Content With Menu - Inner Menu Content */
|
||||
.inner-menu-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// TOGGLE OPENED
|
||||
// -----------------------------------------------------------------------------
|
||||
html.inner-menu-opened {
|
||||
.inner-menu .inner-menu-toggle-inside .inner-menu-collapse {
|
||||
display: block;
|
||||
}
|
||||
.inner-menu-expand {
|
||||
display: none;
|
||||
}
|
||||
.inner-menu-content {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu - Responsive */
|
||||
@media only screen and (max-width: 767px) {
|
||||
.inner-menu {
|
||||
.hidden-xs-inline {
|
||||
display: none;
|
||||
}
|
||||
.inner-menu-content {
|
||||
padding: 20px;
|
||||
}
|
||||
}
|
||||
.inner-menu-toggle-inside {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu - Toolbar + Layout Fixed */
|
||||
@media only screen and (min-width: 768px) {
|
||||
html.fixed {
|
||||
&.inner-menu-opened {
|
||||
left: $sidebar-left-full-width + $inner-menu-width;
|
||||
}
|
||||
|
||||
.inner-menu-toggle {
|
||||
position: fixed;
|
||||
left: $sidebar-left-full-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DARK SKIN
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.inner-menu-toggle:after,
|
||||
.inner-menu .inner-menu-toggle-inside:after {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,330 @@
|
||||
// HEADINGS
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Headings */
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
.h1,
|
||||
.h2,
|
||||
.h3 {
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
|
||||
h1,
|
||||
.h1 {
|
||||
@include font-size($h1-font-size);
|
||||
}
|
||||
|
||||
h2,
|
||||
.h2 {
|
||||
@include font-size($h2-font-size);
|
||||
}
|
||||
|
||||
h3,
|
||||
.h3 {
|
||||
@include font-size($h3-font-size);
|
||||
}
|
||||
|
||||
h4,
|
||||
.h4 {
|
||||
@include font-size($h4-font-size);
|
||||
}
|
||||
|
||||
h5,
|
||||
.h5 {
|
||||
@include font-size($h5-font-size);
|
||||
}
|
||||
|
||||
h6,
|
||||
.h6 {
|
||||
@include font-size($h6-font-size);
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
/* Alternative Font Style */
|
||||
.alternative-font {
|
||||
color: $color-primary;
|
||||
font-family: $font-secundary;
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
/* Drop Caps */
|
||||
p.drop-caps {
|
||||
&:first-child:first-letter {
|
||||
float: left;
|
||||
font-size: 75px;
|
||||
line-height: 60px;
|
||||
padding: 4px;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
font-family: Georgia;
|
||||
color: $color-dark;
|
||||
}
|
||||
&.secundary:first-child:first-letter {
|
||||
background-color: $color-dark;
|
||||
color: #FFF;
|
||||
padding: 6px;
|
||||
margin-right: 5px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
&.colored:first-child:first-letter {
|
||||
color: $color-primary;
|
||||
}
|
||||
&.colored.secundary:first-child:first-letter {
|
||||
background-color: $color-primary;
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
/* Blockquote */
|
||||
blockquote {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Hightlight */
|
||||
.highlight {
|
||||
background-color: $color-primary;
|
||||
color: #FFF;
|
||||
padding: 3px 6px;
|
||||
}
|
||||
|
||||
/* Divider Line */
|
||||
hr {
|
||||
border: 0;
|
||||
height: 1px;
|
||||
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.20), rgba(0,0,0,0));
|
||||
background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.20), rgba(0,0,0,0));
|
||||
background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.20), rgba(0,0,0,0));
|
||||
background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.20), rgba(0,0,0,0));
|
||||
margin: 22px 0 22px 0;
|
||||
}
|
||||
|
||||
hr.short {
|
||||
margin: 11px 0 11px 0;
|
||||
}
|
||||
|
||||
hr.tall {
|
||||
margin: 44px 0 44px 0;
|
||||
}
|
||||
|
||||
hr.taller {
|
||||
margin: 66px 0 66px 0;
|
||||
}
|
||||
|
||||
hr.light {
|
||||
background-image: -webkit-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,0.20), rgba(255,255,255,0));
|
||||
background-image: -moz-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,0.20), rgba(255,255,255,0));
|
||||
background-image: -ms-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,0.20), rgba(255,255,255,0));
|
||||
background-image: -o-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,0.20), rgba(255,255,255,0));
|
||||
}
|
||||
|
||||
hr.dotted {
|
||||
height: 0;
|
||||
border-bottom: 1px dotted #ddd;
|
||||
}
|
||||
|
||||
hr.solid {
|
||||
height: 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
/* Buttons Icon */
|
||||
.btn-icon i {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.btn-icon-right i {
|
||||
margin-right: 0;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/* Form Elements */
|
||||
input {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
textarea[data-toggle=autosize] {
|
||||
@include transition(height .15s ease-in);
|
||||
}
|
||||
|
||||
select {
|
||||
border: 1px solid #E5E7E9;
|
||||
border-radius: 6px;
|
||||
height: 46px;
|
||||
padding: 12px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Forms Validations */
|
||||
label.valid {
|
||||
display: inline-block;
|
||||
text-indent: -9999px;
|
||||
}
|
||||
|
||||
label.error {
|
||||
color: #C10000;
|
||||
font-size: 0.9em;
|
||||
margin-top: -5px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Miscellaneous */
|
||||
body a {
|
||||
&,
|
||||
&:focus,
|
||||
&:hover,
|
||||
&:active,
|
||||
&:visited {
|
||||
outline: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// LISTS
|
||||
// -----------------------------------------------------------------------------
|
||||
ul,
|
||||
ol {
|
||||
margin-bottom: 0;
|
||||
padding-left: 27px;
|
||||
}
|
||||
|
||||
// BLOCKQUOTES
|
||||
// -----------------------------------------------------------------------------
|
||||
@each $state in $states {
|
||||
blockquote.#{nth($state,1)} {
|
||||
border-color: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
|
||||
// WELLS
|
||||
// -----------------------------------------------------------------------------
|
||||
@each $state in $states {
|
||||
.well.#{nth($state,1)} {
|
||||
background: #{nth($state,2)};
|
||||
border-color: darken( nth($state,2), 10% );
|
||||
color: #{nth($state,3)};
|
||||
}
|
||||
}
|
||||
|
||||
/* Arrows */
|
||||
.arrow {
|
||||
background: transparent url(../images/arrows.png) no-repeat 0 0;
|
||||
width: 47px;
|
||||
height: 120px;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
&.vtl {
|
||||
background-position: 0 0;
|
||||
width: 47px;
|
||||
height: 96px;
|
||||
}
|
||||
&.vtr {
|
||||
background-position: -101px 0;
|
||||
width: 47px;
|
||||
height: 96px;
|
||||
}
|
||||
&.vbl {
|
||||
background-position: 0 -144px;
|
||||
width: 47px;
|
||||
height: 96px;
|
||||
}
|
||||
&.vbr {
|
||||
background-position: -101px -144px;
|
||||
width: 47px;
|
||||
height: 96px;
|
||||
}
|
||||
&.hlt {
|
||||
background-position: -209px 0;
|
||||
width: 120px;
|
||||
height: 47px;
|
||||
}
|
||||
&.hlb {
|
||||
background-position: -209px -101px;
|
||||
width: 120px;
|
||||
height: 47px;
|
||||
}
|
||||
&.hrt {
|
||||
background-position: -353px 0;
|
||||
width: 120px;
|
||||
height: 47px;
|
||||
}
|
||||
&.hrb {
|
||||
background-position: -353px -101px;
|
||||
width: 120px;
|
||||
height: 47px;
|
||||
}
|
||||
}
|
||||
|
||||
// THUMBNAILS
|
||||
// -----------------------------------------------------------------------------
|
||||
.img-thumbnail {
|
||||
border-radius: 8px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.img-thumbnail .zoom {
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
bottom: 8px;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
padding: 6px;
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
background: #CCC;
|
||||
border-radius: 100%;
|
||||
color: #FFF;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.img-thumbnail .zoom i {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
left: -1px;
|
||||
}
|
||||
|
||||
/* Thumbnail Gallery */
|
||||
.thumbnail-gallery {
|
||||
list-style: none;
|
||||
margin: 10px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.thumbnail-gallery .img-thumbnail,
|
||||
.thumbnail-gallery .thumbnail {
|
||||
margin: 10px 10px 0 0;
|
||||
}
|
||||
|
||||
// NAVS
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Navs */
|
||||
ul.nav-list.primary > li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
&:last-child {
|
||||
a {
|
||||
border-bottom: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
@include transition( all .3s );
|
||||
background-position: 9px 16px;
|
||||
background-repeat: no-repeat;
|
||||
border-bottom: 1px solid #EDEDDE;
|
||||
padding: 8px 20px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,722 @@
|
||||
// IOS OVERRIDE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - iOS Override */
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="date"],
|
||||
input[type="month"],
|
||||
input[type="time"],
|
||||
input[type="week"],
|
||||
input[type="number"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="search"],
|
||||
input[type="tel"],
|
||||
input[type="color"],
|
||||
textarea {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
// PLACEHOLDERS
|
||||
// -----------------------------------------------------------------------------
|
||||
.form-control,
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="date"],
|
||||
input[type="month"],
|
||||
input[type="time"],
|
||||
input[type="week"],
|
||||
input[type="number"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="search"],
|
||||
input[type="tel"],
|
||||
input[type="color"],
|
||||
textarea {
|
||||
@include placeholder-color(#bdbdbd);
|
||||
}
|
||||
|
||||
// DARK - FORM
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.form-control {
|
||||
background-color: $dark-color-3;
|
||||
border-color: $dark-color-3;
|
||||
color: #EEE;
|
||||
}
|
||||
|
||||
.form-control[disabled],
|
||||
.form-control[readonly],
|
||||
fieldset[disabled] .form-control {
|
||||
background-color: $dark-color-2;
|
||||
}
|
||||
|
||||
.input-group-addon {
|
||||
background-color: $dark-color-2;
|
||||
border-color: $dark-color-2;
|
||||
color: #EEE;
|
||||
}
|
||||
}
|
||||
|
||||
// BOOTSTRAP OVERRIDE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Bootstrap Override */
|
||||
.btn-lg,
|
||||
.btn-group-lg > .btn {
|
||||
line-height: 1.334;
|
||||
}
|
||||
|
||||
select {
|
||||
&.input-sm,
|
||||
&.input-lg {
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
// CUSTOM FIELDS
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Custom Fields */
|
||||
.required {
|
||||
display: inline-block;
|
||||
color: $color-danger;
|
||||
font-size: 0.8em;
|
||||
font-weight: bold;
|
||||
position: relative;
|
||||
top: -0.2em;
|
||||
}
|
||||
|
||||
label.error {
|
||||
color: #B94A48;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
// FORM GROUP (OVERRIDE)
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Group Override */
|
||||
.form-group {
|
||||
&:after {
|
||||
clear: both;
|
||||
display: block;
|
||||
content: '';
|
||||
}
|
||||
|
||||
&:last-child,
|
||||
&:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// BORDERED FORM
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Bordered */
|
||||
.form-bordered {
|
||||
.form-group {
|
||||
border-bottom: 1px solid #eff2f7;
|
||||
padding-bottom: 15px;
|
||||
margin-bottom: 15px;
|
||||
|
||||
&:last-child,
|
||||
&:last-of-type {
|
||||
border-bottom: none !important;
|
||||
padding-bottom: 0px !important;
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// DARK - BORDERED FORM
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Dark - Form - Bordered */
|
||||
html.dark {
|
||||
.form-bordered {
|
||||
.form-group {
|
||||
border-bottom: 1px solid darken($dark-color-4, 5%);
|
||||
padding-bottom: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// VERTICAL GROUP / STACKED
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Vertical Group / Stacked */
|
||||
.form-group-vertical {
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
|
||||
.form-control {
|
||||
border-radius: 0;
|
||||
margin-top: -1px;
|
||||
z-index: 1;
|
||||
|
||||
&:first-child,
|
||||
&:first-of-type {
|
||||
border-radius: 4px 4px 0 0;
|
||||
}
|
||||
|
||||
&:last-child,
|
||||
&:last-of-type {
|
||||
border-radius: 0 0 4px 4px;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group {
|
||||
margin-top: -1px;
|
||||
|
||||
.form-control {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&:first-child,
|
||||
&:first-of-type {
|
||||
.input-group-addon {
|
||||
border-radius: 4px 0 0 0;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
border-radius: 0 4px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child,
|
||||
&:last-of-type {
|
||||
.input-group-addon {
|
||||
border-radius: 0 0 0 4px;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
border-radius: 0 0 4px 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.input-group-icon {
|
||||
|
||||
&:first-child,
|
||||
&:first-of-type {
|
||||
.input-group-addon {
|
||||
border-radius: 4px 4px 0 0;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
border-radius: 4px 4px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child,
|
||||
&:last-of-type {
|
||||
.input-group-addon {
|
||||
border-radius: 0 0 4px 4px;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
border-radius: 0 0 4px 4px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// INPUT (OVERRIDE)
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Input Override */
|
||||
.input-lg {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
// INPUT ICON
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Input Icon */
|
||||
.input-group-icon,
|
||||
.input-search {
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
|
||||
input.form-control {
|
||||
@include font-size(12);
|
||||
padding-right: 36px;
|
||||
|
||||
&:first-child,
|
||||
&:last-child {
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-btn {
|
||||
border-radius: 500px;
|
||||
width: 0;
|
||||
|
||||
&:first-child,
|
||||
&:last-child {
|
||||
border-radius: 500px;
|
||||
}
|
||||
|
||||
button {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
border: 0;
|
||||
z-index: 3;
|
||||
background:transparent;
|
||||
|
||||
&:active {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
button {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
& + input.form-control {
|
||||
padding-right: 12px;
|
||||
padding-left: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-addon {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
border: 0 none;
|
||||
width: 0;
|
||||
|
||||
span.icon {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
border: 0;
|
||||
z-index: 3;
|
||||
width: auto;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
padding: 6px 12px;
|
||||
background: transparent;
|
||||
line-height: 1.42857143;
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
pointer-events: none;
|
||||
|
||||
&.icon-lg {
|
||||
padding: 10px 14px;
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
span.icon {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
& + input.form-control {
|
||||
padding-right: 12px;
|
||||
padding-left: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// INPUT SEARCH
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Input Search */
|
||||
.input-search {
|
||||
width: 100%;
|
||||
|
||||
input.form-control {
|
||||
&:focus {
|
||||
border-color: #ccc;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-btn {
|
||||
color: #ccc;
|
||||
|
||||
.btn {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.btn-default {
|
||||
color: #ccc;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dark */
|
||||
.input-search {
|
||||
width: 100%;
|
||||
|
||||
input.form-control {
|
||||
&:focus {
|
||||
border-color: $dark-color-1;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-btn {
|
||||
.btn {
|
||||
background: transparent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ROUND INPUT
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Round Input */
|
||||
input.input-rounded {
|
||||
-webkit-border-radius: 500px;
|
||||
border-radius: 500px;
|
||||
}
|
||||
|
||||
.input-group-rounded,
|
||||
.input-search {
|
||||
input.form-control {
|
||||
-webkit-border-radius: 500px;
|
||||
border-radius: 500px;
|
||||
|
||||
&:first-child,
|
||||
&:last-child {
|
||||
border-radius: 500px;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-addon {
|
||||
|
||||
&:first-child {
|
||||
border-radius: 500px 0 0 500px;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-radius: 0 500px 500px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// CUSTOM CHECKBOX
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Custom Checkbox */
|
||||
.checkbox-custom {
|
||||
position: relative;
|
||||
padding: 0 0 0 25px;
|
||||
margin-bottom: 7px;
|
||||
margin-top: 0;
|
||||
|
||||
&.checkbox-inline {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
|
||||
.form-group & {
|
||||
margin-top: 7px;
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child,
|
||||
&:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 3px;
|
||||
margin: -6px 0 0 0;
|
||||
z-index: 2;
|
||||
cursor: pointer;
|
||||
|
||||
&:checked {
|
||||
& + label:after {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
font-family: 'FontAwesome';
|
||||
content: '\F00C';
|
||||
top: 50%;
|
||||
left: 4px;
|
||||
margin-top: -5px;
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
cursor: not-allowed;
|
||||
|
||||
&:checked + label:after {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
& + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
& + label:before {
|
||||
background-color: #eee;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
cursor: pointer;
|
||||
margin-bottom: 0;
|
||||
text-align: left;
|
||||
line-height: 1.2;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
margin-top: -9px;
|
||||
width: 19px;
|
||||
height: 18px;
|
||||
display: inline-block;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #bbb;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
& + label.error {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
html.dark {
|
||||
.checkbox-custom {
|
||||
label {
|
||||
&:before {
|
||||
background: $dark-color-3;
|
||||
border-color: $dark-color-2;
|
||||
}
|
||||
}
|
||||
input[type="checkbox"] {
|
||||
&:checked + label:after {
|
||||
color: #fff;
|
||||
}
|
||||
&:disabled + label:before {
|
||||
background: $dark-color-5;
|
||||
border-color: $dark-color-5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@each $state in $states {
|
||||
html.dark .checkbox-#{nth($state,1)},
|
||||
.checkbox-#{nth($state,1)} {
|
||||
|
||||
input[type="checkbox"]:checked + label:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
label:before {
|
||||
background: #{nth($state,2)};
|
||||
border-color: darken( nth($state,2), 5% );
|
||||
}
|
||||
}
|
||||
|
||||
html.dark .checkbox-text-#{nth($state,1)},
|
||||
.checkbox-text-#{nth($state,1)} {
|
||||
input[type="checkbox"]:checked + label:after {
|
||||
color: #{nth($state, 2)};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// CUSTOM RADIO
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Custom Radio */
|
||||
.radio-custom {
|
||||
position: relative;
|
||||
padding: 0 0 0 25px;
|
||||
margin-bottom: 7px;
|
||||
margin-top: 0;
|
||||
|
||||
&.radio-inline {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
|
||||
.form-group & {
|
||||
margin-top: 7px;
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child,
|
||||
&:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 3px;
|
||||
margin: -6px 0 0 0;
|
||||
z-index: 2;
|
||||
cursor: pointer;
|
||||
|
||||
&:checked {
|
||||
& + label:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 4px;
|
||||
margin-top: -5px;
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background-color: #444;
|
||||
border-radius: 50px;
|
||||
-webkit-box-shadow: 0px 0px 1px #444;
|
||||
box-shadow: 0px 0px 1px #444;
|
||||
}
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
cursor: not-allowed;
|
||||
|
||||
&:checked + label:after {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
& + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
& + label:before {
|
||||
background-color: #eee;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
cursor: pointer;
|
||||
margin-bottom: 0;
|
||||
text-align: left;
|
||||
line-height: 1.2;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
margin-top: -9px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
display: inline-block;
|
||||
border-radius: 50px;
|
||||
border: 1px solid #bbb;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
& + label.error {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
html.dark {
|
||||
.radio-custom {
|
||||
label {
|
||||
&:before {
|
||||
background: $dark-color-3;
|
||||
border-color: $dark-color-2;
|
||||
}
|
||||
}
|
||||
input[type="radio"]{
|
||||
&:checked + label:after {
|
||||
background-color: #fff;
|
||||
}
|
||||
&:disabled + label:before {
|
||||
background: $dark-color-5;
|
||||
border-color: $dark-color-5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@each $state in $states {
|
||||
html.dark .radio-#{nth($state,1)},
|
||||
.radio-#{nth($state,1)} {
|
||||
|
||||
input[type="radio"]:checked + label:after {
|
||||
background: #{nth($state,2)};
|
||||
-webkit-box-shadow: 0px 0px 1px #{nth($state,2)};
|
||||
box-shadow: 0px 0px 1px #{nth($state,2)};
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// ERROR CONTAINER
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form - Error Container */
|
||||
div.validation-message ul {
|
||||
display: none;
|
||||
list-style: none;
|
||||
margin: -15px -15px 15px -15px;
|
||||
padding: 15px;
|
||||
border-bottom: 1px solid #FFCBCB;
|
||||
background: #FFEFEF;
|
||||
|
||||
label.error {
|
||||
display: block;
|
||||
padding-left: 22px;
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
font-family: 'FontAwesome';
|
||||
content: '\f00d';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
font-size: 16px;
|
||||
color: #D9534F;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// DARK - FILE UPLOAD
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.fileupload .uneditable-input {
|
||||
background-color: $dark-color-3;
|
||||
border-color: $dark-color-3;
|
||||
}
|
||||
|
||||
.fileupload-new .input-append .btn-file {
|
||||
border-color: $dark-color-2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
// HEADER
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Header */
|
||||
.header {
|
||||
@include linear-gradient(#F6F6F6 0%, #FFFFFF 45%);
|
||||
border: {
|
||||
bottom: 1px solid #E9E9E6;
|
||||
top: 3px solid #EDEDED;
|
||||
}
|
||||
z-index: $header-z-index;
|
||||
|
||||
.logo {
|
||||
float: left;
|
||||
margin: 10px 0 0 15px;
|
||||
img {
|
||||
color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.separator {
|
||||
@include linear-gradient(#F6F6F6 60%, #EDEDED);
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
margin: 0 25px 0;
|
||||
width: 2px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.search {
|
||||
width: 170px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.toggle-sidebar-left {
|
||||
background: $color-primary;
|
||||
border-radius: 100px;
|
||||
color: $color-primary-inverse;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
text-align: center;
|
||||
top: 14px;
|
||||
width: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.header-right {
|
||||
float: right;
|
||||
height: $header-height - 4px;
|
||||
}
|
||||
|
||||
// HEADER MOBILE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Header Mobile */
|
||||
@media only screen and (max-width: 767px) {
|
||||
.header {
|
||||
.logo-container {
|
||||
@include linear-gradient(#F6F6F6 0%, #FFFFFF 45%);
|
||||
border: {
|
||||
bottom: 1px solid #E9E9E6;
|
||||
top: 3px solid #EDEDED;
|
||||
}
|
||||
|
||||
.logo {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
line-height: $header-height - 3;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.search,
|
||||
.separator {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// HEADER DARK AND DARK VERSION
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Header Dark */
|
||||
html.dark,
|
||||
html.header-dark {
|
||||
.header {
|
||||
background: $sidebar-background;
|
||||
border-bottom-color: darken( $sidebar-background, 3% );
|
||||
border-top-color: $sidebar-background;
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.logo-container {
|
||||
background: $sidebar-background;
|
||||
border-bottom-color: darken( $sidebar-background, 3% );
|
||||
border-top-color: $sidebar-background;
|
||||
}
|
||||
|
||||
.header-right {
|
||||
background: $sidebar-background;
|
||||
}
|
||||
}
|
||||
|
||||
.separator {
|
||||
@include linear-gradient($sidebar-background 10%, darken( $sidebar-background, 5% ));
|
||||
}
|
||||
|
||||
.input-search {
|
||||
input {
|
||||
&,
|
||||
&:focus {
|
||||
background: lighten( $sidebar-background, 5% );
|
||||
border-color: darken( $sidebar-background, 3% );
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.40) inset;
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-btn .btn-default {
|
||||
background: transparent;
|
||||
color: $page-header-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,426 @@
|
||||
// SIZES
|
||||
// -----------------------------------------------------------------------------
|
||||
.text-xs {
|
||||
@include font-size( 10 );
|
||||
}
|
||||
|
||||
.text-sm {
|
||||
@include font-size( 13 );
|
||||
}
|
||||
|
||||
.text-md {
|
||||
@include font-size( 16 );
|
||||
}
|
||||
|
||||
.text-lg {
|
||||
@include font-size( 19 );
|
||||
}
|
||||
|
||||
.text-xl {
|
||||
@include font-size( 22 );
|
||||
}
|
||||
|
||||
// STATES
|
||||
// -----------------------------------------------------------------------------
|
||||
.text-muted {
|
||||
color: $color-muted !important;
|
||||
}
|
||||
|
||||
html.dark {
|
||||
.text-muted {
|
||||
color: darken( $dark-default-text, 20% ) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@each $color in $colors-list {
|
||||
.text-#{nth($color,1)} {
|
||||
color: #{nth($color,2)} !important;
|
||||
}
|
||||
}
|
||||
|
||||
@each $color in $colors-list {
|
||||
.text-#{nth($color,1)}-inverse {
|
||||
color: #{nth($color,3)} !important;
|
||||
}
|
||||
}
|
||||
|
||||
// WEIGHTS
|
||||
// -----------------------------------------------------------------------------
|
||||
/* weights */
|
||||
.text-light {
|
||||
font-weight: $font-weight-light;
|
||||
}
|
||||
|
||||
.text-normal {
|
||||
font-weight: $font-weight-normal;
|
||||
}
|
||||
|
||||
.text-semibold {
|
||||
font-weight: $font-weight-semibold;
|
||||
}
|
||||
|
||||
.text-bold {
|
||||
font-weight: $font-weight-bold;
|
||||
}
|
||||
|
||||
// TEXT OTHERS
|
||||
// -----------------------------------------------------------------------------
|
||||
.text-uppercase {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.text-lowercase {
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
.text-capitalize {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
// BORDERS
|
||||
// -----------------------------------------------------------------------------
|
||||
.rounded {
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
|
||||
.b-thin {
|
||||
border-width: $border-thin;
|
||||
}
|
||||
|
||||
.b-normal {
|
||||
border-width: $border-normal;
|
||||
}
|
||||
|
||||
.b-thick {
|
||||
border-width: $border-thick;
|
||||
}
|
||||
|
||||
// SPACEMENTS
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Spacements */
|
||||
/* spacement top & bottom */
|
||||
.m-none {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.m-auto {
|
||||
margin: 0 auto !important;
|
||||
}
|
||||
|
||||
.m-xs {
|
||||
margin: $spacement-xs !important;
|
||||
}
|
||||
|
||||
.m-sm {
|
||||
margin: $spacement-sm !important;
|
||||
}
|
||||
|
||||
.m-md {
|
||||
margin: $spacement-md !important;
|
||||
}
|
||||
|
||||
.m-lg {
|
||||
margin: $spacement-lg !important;
|
||||
}
|
||||
|
||||
.m-xl {
|
||||
margin: $spacement-xl !important;
|
||||
}
|
||||
|
||||
.m-xlg {
|
||||
margin: $spacement-xlg !important;
|
||||
}
|
||||
|
||||
/* spacement top */
|
||||
.mt-none {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.mt-xs {
|
||||
margin-top: $spacement-xs !important;
|
||||
}
|
||||
|
||||
.mt-sm {
|
||||
margin-top: $spacement-sm !important;
|
||||
}
|
||||
|
||||
.mt-md {
|
||||
margin-top: $spacement-md !important;
|
||||
}
|
||||
|
||||
.mt-lg {
|
||||
margin-top: $spacement-lg !important;
|
||||
}
|
||||
|
||||
.mt-xl {
|
||||
margin-top: $spacement-xl !important;
|
||||
}
|
||||
|
||||
.mt-xlg {
|
||||
margin-top: $spacement-xlg !important;
|
||||
}
|
||||
|
||||
/* spacement bottom */
|
||||
.mb-none {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.mb-xs {
|
||||
margin-bottom: $spacement-xs !important;
|
||||
}
|
||||
|
||||
.mb-sm {
|
||||
margin-bottom: $spacement-sm !important;
|
||||
}
|
||||
|
||||
.mb-md {
|
||||
margin-bottom: $spacement-md !important;
|
||||
}
|
||||
|
||||
.mb-lg {
|
||||
margin-bottom: $spacement-lg !important;
|
||||
}
|
||||
|
||||
.mb-xl {
|
||||
margin-bottom: $spacement-xl !important;
|
||||
}
|
||||
|
||||
.mb-xlg {
|
||||
margin-bottom: $spacement-xlg !important;
|
||||
}
|
||||
|
||||
/* spacement left */
|
||||
.mr-none {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.ml-xs {
|
||||
margin-left: $spacement-xs !important;
|
||||
}
|
||||
|
||||
.ml-sm {
|
||||
margin-left: $spacement-sm !important;
|
||||
}
|
||||
|
||||
.ml-md {
|
||||
margin-left: $spacement-md !important;
|
||||
}
|
||||
|
||||
.ml-lg {
|
||||
margin-left: $spacement-lg !important;
|
||||
}
|
||||
|
||||
.ml-xl {
|
||||
margin-left: $spacement-xl !important;
|
||||
}
|
||||
|
||||
.ml-xlg {
|
||||
margin-left: $spacement-xlg !important;
|
||||
}
|
||||
|
||||
/* spacement right */
|
||||
.mr-none {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.mr-xs {
|
||||
margin-right: $spacement-xs !important;
|
||||
}
|
||||
|
||||
.mr-sm {
|
||||
margin-right: $spacement-sm !important;
|
||||
}
|
||||
|
||||
.mr-md {
|
||||
margin-right: $spacement-md !important;
|
||||
}
|
||||
|
||||
.mr-lg {
|
||||
margin-right: $spacement-lg !important;
|
||||
}
|
||||
|
||||
.mr-xl {
|
||||
margin-right: $spacement-xl !important;
|
||||
}
|
||||
|
||||
.mr-xlg {
|
||||
margin-right: $spacement-xlg !important;
|
||||
}
|
||||
|
||||
/* Spacement Padding */
|
||||
.p-none {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.p-xs {
|
||||
padding: $spacement-xs !important;
|
||||
}
|
||||
|
||||
.p-sm {
|
||||
padding: $spacement-sm !important;
|
||||
}
|
||||
|
||||
.p-md {
|
||||
padding: $spacement-md !important;
|
||||
}
|
||||
|
||||
.p-lg {
|
||||
padding: $spacement-lg !important;
|
||||
}
|
||||
|
||||
.p-xl {
|
||||
padding: $spacement-xl !important;
|
||||
}
|
||||
|
||||
.p-xlg {
|
||||
padding: $spacement-xlg !important;
|
||||
}
|
||||
|
||||
/* spacement top */
|
||||
.pt-none {
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
.pt-xs {
|
||||
padding-top: $spacement-xs !important;
|
||||
}
|
||||
|
||||
.pt-sm {
|
||||
padding-top: $spacement-sm !important;
|
||||
}
|
||||
|
||||
.pt-md {
|
||||
padding-top: $spacement-md !important;
|
||||
}
|
||||
|
||||
.pt-lg {
|
||||
padding-top: $spacement-lg !important;
|
||||
}
|
||||
|
||||
.pt-xl {
|
||||
padding-top: $spacement-xl !important;
|
||||
}
|
||||
|
||||
.pt-xlg {
|
||||
padding-top: $spacement-xlg !important;
|
||||
}
|
||||
|
||||
/* spacement bottom */
|
||||
.pb-none {
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.pb-xs {
|
||||
padding-bottom: $spacement-xs !important;
|
||||
}
|
||||
|
||||
.pb-sm {
|
||||
padding-bottom: $spacement-sm !important;
|
||||
}
|
||||
|
||||
.pb-md {
|
||||
padding-bottom: $spacement-md !important;
|
||||
}
|
||||
|
||||
.pb-lg {
|
||||
padding-bottom: $spacement-lg !important;
|
||||
}
|
||||
|
||||
.pb-xl {
|
||||
padding-bottom: $spacement-xl !important;
|
||||
}
|
||||
|
||||
.pb-xlg {
|
||||
padding-bottom: $spacement-xlg !important;
|
||||
}
|
||||
|
||||
/* spacement left */
|
||||
.pr-none {
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.pl-xs {
|
||||
padding-left: $spacement-xs !important;
|
||||
}
|
||||
|
||||
.pl-sm {
|
||||
padding-left: $spacement-sm !important;
|
||||
}
|
||||
|
||||
.pl-md {
|
||||
padding-left: $spacement-md !important;
|
||||
}
|
||||
|
||||
.pl-lg {
|
||||
padding-left: $spacement-lg !important;
|
||||
}
|
||||
|
||||
.pl-xl {
|
||||
padding-left: $spacement-xl !important;
|
||||
}
|
||||
|
||||
.pl-xlg {
|
||||
padding-left: $spacement-xlg !important;
|
||||
}
|
||||
|
||||
/* spacement right */
|
||||
.pr-none {
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.pr-xs {
|
||||
padding-right: $spacement-xs !important;
|
||||
}
|
||||
|
||||
.pr-sm {
|
||||
padding-right: $spacement-sm !important;
|
||||
}
|
||||
|
||||
.pr-md {
|
||||
padding-right: $spacement-md !important;
|
||||
}
|
||||
|
||||
.pr-lg {
|
||||
padding-right: $spacement-lg !important;
|
||||
}
|
||||
|
||||
.pr-xl {
|
||||
padding-right: $spacement-xl !important;
|
||||
}
|
||||
|
||||
.pr-xlg {
|
||||
padding-right: $spacement-xlg !important;
|
||||
}
|
||||
|
||||
// HELPERS
|
||||
// -----------------------------------------------------------------------------
|
||||
.ib {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.va-middle {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.ws-nowrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ws-normal {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
// BG STATES
|
||||
// -----------------------------------------------------------------------------
|
||||
.bg-default {
|
||||
background: $color-default;
|
||||
color: $color-default-inverse;
|
||||
}
|
||||
|
||||
@each $color in $colors-list {
|
||||
.bg-#{nth($color,1)} {
|
||||
background: #{nth($color,2)};
|
||||
color: #{nth($color,3)};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,175 @@
|
||||
ul.nav-main {
|
||||
margin-right: $sidebar-border-width;
|
||||
|
||||
// PRIMARY MENU ITEM
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
& > li {
|
||||
|
||||
& > a {
|
||||
padding: $menu-item-padding;
|
||||
|
||||
// PRIMARY HOVER
|
||||
// -----------------------------------------------------------------------------
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: #21262d;
|
||||
}
|
||||
}
|
||||
|
||||
// PRIMARY ITEM: ACTIVE
|
||||
// -----------------------------------------------------------------------------
|
||||
&.nav-active {
|
||||
> a {
|
||||
box-shadow: $menu-item-active-border-width 0 0 $menu-item-active-border-color inset;
|
||||
|
||||
&:hover {
|
||||
color: $menu-item-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
& > i {
|
||||
color: $color-primary;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// PRIMARY ITEM: EXPANDED
|
||||
// -----------------------------------------------------------------------------
|
||||
&.nav-expanded {
|
||||
& > a {
|
||||
background: #21262d;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// PRIMARY AND CHILDREN ITEMS
|
||||
// -----------------------------------------------------------------------------
|
||||
li {
|
||||
a {
|
||||
@include font-size(13);
|
||||
color: $menu-item-text-color;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
span.label {
|
||||
font-weight: normal;
|
||||
@include font-size(10);
|
||||
padding: .3em .7em .4em;
|
||||
margin: .4em -1em 0 0;
|
||||
}
|
||||
|
||||
.not-included {
|
||||
font-style: normal;
|
||||
color: darken($menu-item-text-color, 35%);
|
||||
display: inline-block;
|
||||
padding: 0 0 0 6px;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
i {
|
||||
@include font-size(18);
|
||||
width: 1.1em;
|
||||
margin-right: 0.5em;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
// SUB MENU - HAS CHILDREN
|
||||
// -----------------------------------------------------------------------------
|
||||
&.nav-parent {
|
||||
position: relative;
|
||||
|
||||
& > a {
|
||||
cursor: pointer;
|
||||
|
||||
&:after {
|
||||
font-family: 'FontAwesome';
|
||||
content: '\f107';
|
||||
@include font-size(16);
|
||||
color: $menu-item-arrow-color;
|
||||
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
padding: $menu-item-arrow-padding;
|
||||
}
|
||||
}
|
||||
|
||||
// SUB MENU - HAS CHILDREN - EXPANDED
|
||||
// -----------------------------------------------------------------------------
|
||||
&.nav-expanded {
|
||||
|
||||
& > a:after {
|
||||
content: '\f106';
|
||||
}
|
||||
|
||||
& > ul.nav-children {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// SUB MENU - CHILDREN
|
||||
// -----------------------------------------------------------------------------
|
||||
.nav-children {
|
||||
background: $menu-item-active-background;
|
||||
box-shadow: 0px -3px 3px -3px rgba(0, 0, 0, 0.7) inset;
|
||||
display: none;
|
||||
padding: 10px 0;
|
||||
|
||||
li {
|
||||
a {
|
||||
padding: $menu-children-padding;
|
||||
overflow: hidden;
|
||||
|
||||
&:hover, &:focus {
|
||||
background: $menu-item-active-background;
|
||||
}
|
||||
|
||||
&:after {
|
||||
padding: $menu-item-children-arrow-padding;
|
||||
}
|
||||
}
|
||||
|
||||
// SUB MENU - CHILDREN: ACTIVE
|
||||
// -----------------------------------------------------------------------------
|
||||
&.nav-active {
|
||||
> a {
|
||||
color: $color-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// LEVEL 1
|
||||
.nav-children {
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
a {
|
||||
padding: $menu-children-level1-padding;
|
||||
}
|
||||
}
|
||||
|
||||
// LEVEL 2
|
||||
.nav-children {
|
||||
li {
|
||||
a {
|
||||
padding: $menu-children-level2-padding;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
// NANO SCROLLER
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Nano Scroller Plugin */
|
||||
html.no-overflowscrolling {
|
||||
.nano {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
|
||||
> .nano-content {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
right: 0;
|
||||
top: 0;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
&.has-scrollbar {
|
||||
> .nano-content::-webkit-scrollbar {
|
||||
display: block;
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
> .nano-pane {
|
||||
bottom: 0;
|
||||
position: absolute;
|
||||
opacity: .01;
|
||||
right: 0;
|
||||
top: 0;
|
||||
visibility: hidden\9; /* Target only IE7 and IE8 with this hack */
|
||||
width: 4px;
|
||||
-webkit-transition: .2s;
|
||||
-moz-transition: .2s;
|
||||
-o-transition: .2s;
|
||||
transition: .2s;
|
||||
|
||||
> .nano-slider {
|
||||
background: $color-primary;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover > .nano-pane,
|
||||
.nano-pane.active,
|
||||
.nano-pane.flashed {
|
||||
opacity: 0.99;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
> .nano-pane {
|
||||
> .nano-slider {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.custom-scroll {
|
||||
.nano {
|
||||
> .nano-content {
|
||||
overflow: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
html.no-overflowscrolling {
|
||||
.nano {
|
||||
> .nano-content {
|
||||
overflow: scroll !important;
|
||||
overflow-x: hidden !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
html.overflowscrolling.fixed {
|
||||
.sidebar-left,
|
||||
.sidebar-right,
|
||||
.inner-menu {
|
||||
.nano {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
> .nano-pane {
|
||||
> .nano-slider {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.custom-scroll {
|
||||
.sidebar-left,
|
||||
.sidebar-right,
|
||||
.inner-menu {
|
||||
.nano {
|
||||
> .nano-content {
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
// PAGE HEADER
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Page Header */
|
||||
.page-header {
|
||||
z-index: $page-header-z-index;
|
||||
|
||||
h2 {
|
||||
color: #FFF;
|
||||
border-bottom: $page-header-border-bottom-width solid $page-header-title-border-color;
|
||||
@include box-sizing(content-box);
|
||||
display: inline-block;
|
||||
float: left;
|
||||
height: $page-header-height;
|
||||
@include font-size($page-header-title-font-size);
|
||||
letter-spacing: normal;
|
||||
line-height: $page-header-height;
|
||||
margin: 0 0 0 -1px;
|
||||
padding: 0 ($page-header-title-padding + 2px) 0 $page-header-title-padding;
|
||||
}
|
||||
|
||||
.right-wrapper {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.breadcrumbs {
|
||||
display: inline-block;
|
||||
font-size: 0;
|
||||
line-height: $page-header-height;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
color: $page-header-color;
|
||||
display: inline-block;
|
||||
font-weight: 300;
|
||||
|
||||
&:after {
|
||||
content: '/';
|
||||
display: inline-block;
|
||||
@include font-size($page-header-breadcrumb-separator-size);
|
||||
margin: $page-header-breadcrumb-separator-margin;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fa-home {
|
||||
@include font-size($page-header-breadcrumb-home-size);
|
||||
}
|
||||
|
||||
i {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
a,
|
||||
span {
|
||||
color: $page-header-color;
|
||||
display: inline-block;
|
||||
@include font-size($page-header-breadcrumb-size);
|
||||
line-height: $page-header-breadcrumb-home-size + px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-right-toggle {
|
||||
cursor: pointer;
|
||||
color: $page-header-color;
|
||||
display: inline-block;
|
||||
font-size: 17px;
|
||||
margin: $page-header-sidebar-toggle-margin;
|
||||
height: $page-header-height;
|
||||
width: $page-header-height;
|
||||
vertical-align: top;
|
||||
text-align: center;
|
||||
@include transition(all 0.15s ease-in-out);
|
||||
|
||||
i {
|
||||
line-height: $page-header-height + 3;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $page-header-sidebar-toggle-hover-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// HEADER DARK AND DARK VERSION
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Header Dark - Page Header */
|
||||
html.dark,
|
||||
html.header-dark {
|
||||
.page-header {
|
||||
border-left-color: $page-header-background;
|
||||
box-shadow: 1px 3px 0 1px #2f3139;
|
||||
}
|
||||
}
|
||||
|
||||
// SIDEBAR RIGHT OPENED
|
||||
// -----------------------------------------------------------------------------
|
||||
html.sidebar-right-opened .page-header {
|
||||
.sidebar-right-toggle {
|
||||
i {
|
||||
&:before {
|
||||
content: "\f054";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// PAGE HEADER - MOBILE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Page Header - Mobile */
|
||||
@media only screen and (max-width: 767px) {
|
||||
.page-header {
|
||||
padding-right: 80px;
|
||||
|
||||
.breadcrumbs {
|
||||
display: none;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 16px;
|
||||
padding: 0 15px 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.sidebar-right-toggle {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,250 @@
|
||||
.sidebar-left {
|
||||
//position: relative;
|
||||
//overflow: hidden;
|
||||
z-index: $sidebar-left-z-index;
|
||||
|
||||
// SIDEBAR HEADER
|
||||
// -----------------------------------------------------------------------------
|
||||
.sidebar-header {
|
||||
position: relative;
|
||||
color: $color-default-inverse;
|
||||
height: $sidebar-top-header-size;
|
||||
|
||||
.sidebar-title {
|
||||
color: #465162;
|
||||
padding: 15px;
|
||||
@include font-size(15);
|
||||
}
|
||||
|
||||
.sidebar-toggle {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: $sidebar-toggle-width;
|
||||
height: $sidebar-top-header-size;
|
||||
background-color: $sidebar-toggle-background;
|
||||
border-radius: 0 0 0 $sidebar-toggle-bottom-radius;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
|
||||
i {
|
||||
color: $sidebar-toggle-color;
|
||||
@include font-size(17);
|
||||
line-height: $sidebar-top-header-size;
|
||||
@include transition(all 0.15s ease-in-out);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
i {
|
||||
color: $sidebar-toggle-hover-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
hr.separator {
|
||||
background: none;
|
||||
margin: 20px 10px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
// REMOVE NANO STYLE FOR BOXED AND SCROLL
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Unstyle nano for non fixed layouts */
|
||||
@media only screen and (min-width: 768px) {
|
||||
html.scroll,
|
||||
html.boxed {
|
||||
.sidebar-left {
|
||||
.nano {
|
||||
position: static;
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
width: auto;
|
||||
|
||||
.nano-content {
|
||||
margin-right: 0 !important;
|
||||
position: static;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.nano-pane {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
html.boxed,
|
||||
html.scroll {
|
||||
.sidebar-left {
|
||||
.nano {
|
||||
> .nano-content {
|
||||
overflow: visible !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// SIDEBAR LEFT COLLAPSED
|
||||
// -----------------------------------------------------------------------------
|
||||
@media only screen and (min-width: 768px) {
|
||||
html.sidebar-left-collapsed {
|
||||
.sidebar-left {
|
||||
.sidebar-title {
|
||||
margin-left: -$sidebar-left-full-width;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sidebar-toggle {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.nav-main {
|
||||
> li > a {
|
||||
overflow: hidden;
|
||||
text-overflow: clip;
|
||||
}
|
||||
|
||||
li {
|
||||
// has children
|
||||
&.nav-parent {
|
||||
// arrow
|
||||
a:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul.nav-children {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// text
|
||||
a span {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-widget,
|
||||
.separator {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// boxed and scroll
|
||||
&.scroll,
|
||||
&.boxed {
|
||||
.sidebar-left {
|
||||
overflow: visible;
|
||||
|
||||
.nav-main {
|
||||
|
||||
li {
|
||||
&.nav-active {
|
||||
a:hover {
|
||||
color: $color-primary;
|
||||
}
|
||||
}
|
||||
|
||||
&.nav-expanded {
|
||||
background: transparent;
|
||||
|
||||
ul.nav-children {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// children
|
||||
ul.nav-children {
|
||||
position: absolute;
|
||||
left: $sidebar-left-collapsed-width - ($menu-item-active-border-width + 4);
|
||||
width: $sidebar-left-full-width - $sidebar-left-collapsed-width + ($menu-item-active-border-width + 4);
|
||||
background: $menu-item-active-background;
|
||||
}
|
||||
}
|
||||
|
||||
// NAV HOVER
|
||||
// -----------------------------------------------------------------------------
|
||||
& > li:hover {
|
||||
width: $sidebar-left-full-width;
|
||||
background: $menu-item-active-background;
|
||||
|
||||
& > a {
|
||||
background: transparent;
|
||||
|
||||
i {
|
||||
margin-right: 22px;
|
||||
}
|
||||
|
||||
span {
|
||||
display: inline;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
span.label {
|
||||
background-color: $color-primary;
|
||||
color: $color-primary-inverse;
|
||||
}
|
||||
}
|
||||
|
||||
& > ul.nav-children {
|
||||
display: block;
|
||||
|
||||
li a {
|
||||
padding-left: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// fixed
|
||||
&.fixed {
|
||||
.sidebar-left {
|
||||
.nano {
|
||||
background: $sidebar-background;
|
||||
box-shadow: -$sidebar-border-width 0 0 $sidebar-border-color inset;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-left .nano:hover {
|
||||
width: $sidebar-left-full-width;
|
||||
|
||||
.nav-main {
|
||||
.nav-expanded {
|
||||
ul.nav-children {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
// has children
|
||||
&.nav-parent {
|
||||
// arrow
|
||||
a:after {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
// text
|
||||
a span {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-widget,
|
||||
.separator {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,402 @@
|
||||
// LAYOUT SIZING - SM
|
||||
// -----------------------------------------------------------------------------
|
||||
@media only screen and (max-width: 767px) {
|
||||
/* Layout Mobile - Sidebar Left Collapsed & Sidebar Right Opened */
|
||||
html.sidebar-left-sm.sidebar-left-collapsed.sidebar-right-opened {
|
||||
.sidebar-left {
|
||||
margin-left: -$sidebar-left-sm-full-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
/* Layout Base - Sidebar Left */
|
||||
html.sidebar-left-sm {
|
||||
.sidebar-left {
|
||||
width: $sidebar-left-sm-full-width;
|
||||
@include font-size(12);
|
||||
|
||||
ul.nav-main li {
|
||||
i {
|
||||
@include font-size(16);
|
||||
}
|
||||
|
||||
a {
|
||||
@include font-size(12);
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-widget .widget-header h6 {
|
||||
@include font-size(12);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
html.sidebar-left-sm.sidebar-left-collapsed {
|
||||
.sidebar-left {
|
||||
.sidebar-title {
|
||||
margin-left: -$sidebar-left-sm-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
// fixed
|
||||
&.fixed {
|
||||
.sidebar-left .nano:hover {
|
||||
width: $sidebar-left-sm-full-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Base - Sidebar Left Opened ( Larger than mobile ) */
|
||||
html.sidebar-left-sm.sidebar-left-collapsed {
|
||||
.sidebar-left {
|
||||
width: $sidebar-left-collapsed-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Fixed - Content Body */
|
||||
html.fixed.sidebar-left-sm {
|
||||
.content-body {
|
||||
margin-left: $sidebar-left-sm-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Fixed - Page header */
|
||||
html.fixed.sidebar-left-sm {
|
||||
.page-header {
|
||||
left: $sidebar-left-sm-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Fixed - Sidebar Right Opened */
|
||||
html.fixed.sidebar-left-sm.sidebar-right-opened {
|
||||
.page-header {
|
||||
left: 0;
|
||||
}
|
||||
.sidebar-left {
|
||||
left: -$sidebar-left-sm-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Fixed - Sidebar Left Collapsed */
|
||||
html.fixed.sidebar-left-collapsed {
|
||||
.page-header {
|
||||
left: $sidebar-left-collapsed-width;
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: $sidebar-left-collapsed-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Fixed - Sidebar Left Collapsed & Sidebar Right Opened */
|
||||
html.fixed.sidebar-left-sm.sidebar-left-collapsed.sidebar-right-opened {
|
||||
.page-header {
|
||||
left: -$sidebar-left-sm-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu + Layout Fixed */
|
||||
html.fixed.sidebar-left-sm {
|
||||
.inner-menu {
|
||||
left: $sidebar-left-sm-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu + Layout Fixed + Sidebar Left Collapsed */
|
||||
html.fixed.sidebar-left-sm.sidebar-left-collapsed {
|
||||
.inner-menu,
|
||||
.inner-menu-toggle,
|
||||
.inner-toolbar {
|
||||
left: $sidebar-left-collapsed-width;
|
||||
}
|
||||
|
||||
&.inner-menu-opened {
|
||||
.inner-menu-toggle,
|
||||
.inner-toolbar {
|
||||
left: $sidebar-left-collapsed-width + $inner-menu-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu + Layout Fixed + Sidebar Right Opened */
|
||||
html.fixed.sidebar-left-sm.sidebar-right-opened {
|
||||
.inner-menu,
|
||||
.inner-menu-toggle,
|
||||
.inner-toolbar {
|
||||
left: -($sidebar-right-width - $sidebar-left-sm-full-width);
|
||||
}
|
||||
|
||||
&.inner-menu-opened {
|
||||
.inner-menu-toggle,
|
||||
.inner-toolbar {
|
||||
left: -($sidebar-right-width - $sidebar-left-sm-full-width + $inner-menu-width);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu - Toolbar + Layout Fixed */
|
||||
html.fixed.sidebar-left-sm {
|
||||
&.inner-menu-opened {
|
||||
left: $sidebar-left-sm-full-width + $inner-menu-width;
|
||||
}
|
||||
|
||||
.inner-menu-toggle {
|
||||
left: $sidebar-left-sm-full-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Resolution gt 1366 - Show Inner Menu */
|
||||
@media only screen and (min-width: 1366px) {
|
||||
html.fixed.sidebar-left-sm,
|
||||
html.fixed.sidebar-left-sm.inner-menu-opened {
|
||||
.content-with-menu .inner-toolbar {
|
||||
left: $sidebar-left-sm-full-width + $inner-menu-width;
|
||||
}
|
||||
|
||||
.inner-menu-toggle,
|
||||
.inner-menu {
|
||||
left: $sidebar-left-sm-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
html.fixed.sidebar-left-sm.sidebar-right-opened {
|
||||
.content-with-menu .inner-toolbar {
|
||||
left: $sidebar-left-sm-full-width + $inner-menu-width - $sidebar-right-width;
|
||||
}
|
||||
|
||||
.inner-menu,
|
||||
.inner-menu-toggle {
|
||||
left: $sidebar-left-sm-full-width - $sidebar-right-width;
|
||||
}
|
||||
}
|
||||
|
||||
html.fixed.sidebar-left-sm.sidebar-left-collapsed,
|
||||
html.fixed.sidebar-left-sm.sidebar-left-collapsed.sidebar-right-opened.inner-menu-opened,
|
||||
html.fixed.sidebar-left-sm.sidebar-left-collapsed.inner-menu-opened {
|
||||
.content-with-menu .inner-toolbar {
|
||||
left: $sidebar-left-collapsed-width + $inner-menu-width;
|
||||
}
|
||||
|
||||
.inner-menu-toggle,
|
||||
.inner-menu {
|
||||
left: $sidebar-left-collapsed-width;
|
||||
}
|
||||
}
|
||||
|
||||
html.fixed.sidebar-left-sm.sidebar-left-collapsed.sidebar-right-opened {
|
||||
.content-with-menu .inner-toolbar {
|
||||
left: $sidebar-left-collapsed-width - $sidebar-right-width + $inner-menu-width;
|
||||
}
|
||||
|
||||
.inner-menu,
|
||||
.inner-menu-toggle {
|
||||
left: $sidebar-left-collapsed-width - $sidebar-right-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// LAYOUT SIZING - XS
|
||||
// -----------------------------------------------------------------------------
|
||||
@media only screen and (max-width: 767px) {
|
||||
/* Layout Mobile - Sidebar Left Collapsed & Sidebar Right Opened */
|
||||
html.sidebar-left-xs.sidebar-left-collapsed.sidebar-right-opened {
|
||||
.sidebar-left {
|
||||
margin-left: -$sidebar-left-xs-full-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
/* Layout Base - Sidebar Left */
|
||||
html.sidebar-left-xs {
|
||||
.sidebar-left {
|
||||
width: $sidebar-left-xs-full-width;
|
||||
@include font-size(11);
|
||||
|
||||
ul.nav-main li {
|
||||
i {
|
||||
@include font-size(14);
|
||||
}
|
||||
|
||||
a {
|
||||
@include font-size(11);
|
||||
}
|
||||
|
||||
.nav-children li a {
|
||||
padding-left: 52px;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-widget .widget-header h6 {
|
||||
@include font-size(11);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
html.sidebar-left-xs.sidebar-left-collapsed {
|
||||
.sidebar-left {
|
||||
.sidebar-title {
|
||||
margin-left: -$sidebar-left-xs-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
// fixed
|
||||
&.fixed {
|
||||
.sidebar-left .nano:hover {
|
||||
width: $sidebar-left-xs-full-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Base - Sidebar Left Opened ( Larger than mobile ) */
|
||||
html.sidebar-left-xs.sidebar-left-collapsed {
|
||||
.sidebar-left {
|
||||
width: $sidebar-left-collapsed-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Fixed - Content Body */
|
||||
html.fixed.sidebar-left-xs {
|
||||
.content-body {
|
||||
margin-left: $sidebar-left-xs-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Fixed - Page header */
|
||||
html.fixed.sidebar-left-xs {
|
||||
.page-header {
|
||||
left: $sidebar-left-xs-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Fixed - Sidebar Right Opened */
|
||||
html.fixed.sidebar-left-xs.sidebar-right-opened {
|
||||
.page-header {
|
||||
left: 0;
|
||||
}
|
||||
.sidebar-left {
|
||||
left: -$sidebar-left-xs-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Fixed - Sidebar Left Collapsed */
|
||||
html.fixed.sidebar-left-collapsed {
|
||||
.page-header {
|
||||
left: $sidebar-left-collapsed-width;
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: $sidebar-left-collapsed-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Layout Fixed - Sidebar Left Collapsed & Sidebar Right Opened */
|
||||
html.fixed.sidebar-left-xs.sidebar-left-collapsed.sidebar-right-opened {
|
||||
.page-header {
|
||||
left: -$sidebar-left-xs-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu + Layout Fixed */
|
||||
html.fixed.sidebar-left-xs {
|
||||
.inner-menu {
|
||||
left: $sidebar-left-xs-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu + Layout Fixed + Sidebar Left Collapsed */
|
||||
html.fixed.sidebar-left-xs.sidebar-left-collapsed {
|
||||
.inner-menu,
|
||||
.inner-menu-toggle,
|
||||
.inner-toolbar {
|
||||
left: $sidebar-left-collapsed-width;
|
||||
}
|
||||
|
||||
&.inner-menu-opened {
|
||||
.inner-menu-toggle,
|
||||
.inner-toolbar {
|
||||
left: $sidebar-left-collapsed-width + $inner-menu-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu + Layout Fixed + Sidebar Right Opened */
|
||||
html.fixed.sidebar-left-xs.sidebar-right-opened {
|
||||
.inner-menu,
|
||||
.inner-menu-toggle,
|
||||
.inner-toolbar {
|
||||
left: -($sidebar-right-width - $sidebar-left-xs-full-width);
|
||||
}
|
||||
|
||||
&.inner-menu-opened {
|
||||
.inner-menu-toggle,
|
||||
.inner-toolbar {
|
||||
left: -($sidebar-right-width - $sidebar-left-xs-full-width + $inner-menu-width);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Content With Menu - Toolbar + Layout Fixed */
|
||||
html.fixed.sidebar-left-xs {
|
||||
&.inner-menu-opened {
|
||||
left: $sidebar-left-xs-full-width + $inner-menu-width;
|
||||
}
|
||||
|
||||
.inner-menu-toggle {
|
||||
left: $sidebar-left-xs-full-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Resolution gt 1366 - Show Inner Menu */
|
||||
@media only screen and (min-width: 1366px) {
|
||||
html.fixed.sidebar-left-xs,
|
||||
html.fixed.sidebar-left-xs.inner-menu-opened {
|
||||
.content-with-menu .inner-toolbar {
|
||||
left: $sidebar-left-xs-full-width + $inner-menu-width;
|
||||
}
|
||||
|
||||
.inner-menu-toggle,
|
||||
.inner-menu {
|
||||
left: $sidebar-left-xs-full-width;
|
||||
}
|
||||
}
|
||||
|
||||
html.fixed.sidebar-left-xs.sidebar-right-opened {
|
||||
.content-with-menu .inner-toolbar {
|
||||
left: $sidebar-left-xs-full-width + $inner-menu-width - $sidebar-right-width;
|
||||
}
|
||||
|
||||
.inner-menu,
|
||||
.inner-menu-toggle {
|
||||
left: $sidebar-left-xs-full-width - $sidebar-right-width;
|
||||
}
|
||||
}
|
||||
|
||||
html.fixed.sidebar-left-xs.sidebar-left-collapsed,
|
||||
html.fixed.sidebar-left-xs.sidebar-left-collapsed.sidebar-right-opened.inner-menu-opened,
|
||||
html.fixed.sidebar-left-xs.sidebar-left-collapsed.inner-menu-opened {
|
||||
.content-with-menu .inner-toolbar {
|
||||
left: $sidebar-left-collapsed-width + $inner-menu-width;
|
||||
}
|
||||
|
||||
.inner-menu-toggle,
|
||||
.inner-menu {
|
||||
left: $sidebar-left-collapsed-width;
|
||||
}
|
||||
}
|
||||
|
||||
html.fixed.sidebar-left-xs.sidebar-left-collapsed.sidebar-right-opened {
|
||||
.content-with-menu .inner-toolbar {
|
||||
left: $sidebar-left-collapsed-width - $sidebar-right-width + $inner-menu-width;
|
||||
}
|
||||
|
||||
.inner-menu,
|
||||
.inner-menu-toggle {
|
||||
left: $sidebar-left-collapsed-width - $sidebar-right-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
// SIDEBAR RIGHT
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Sidebar Right */
|
||||
.sidebar-right {
|
||||
z-index: $sidebar-right-z-index;
|
||||
|
||||
.sidebar-right-wrapper {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
h6 {
|
||||
margin: 0;
|
||||
color: $color-default-inverse;
|
||||
text-transform: uppercase;
|
||||
@include font-size(12);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mobile-close {
|
||||
background: #000;
|
||||
color: #999;
|
||||
left: 0;
|
||||
line-height: 50px;
|
||||
padding-left: 20px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
|
||||
i {
|
||||
margin-left: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
&:after {
|
||||
box-shadow: 0 0px 3px 0 rgba(255, 255, 255, 0.7);
|
||||
bottom: -1px;
|
||||
content: '';
|
||||
display: block;
|
||||
height: 1px;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* If desktop is seeing mobile res, fix scrollbars */
|
||||
@media only screen and (max-width: 767px) {
|
||||
html.no-mobile-device.custom-scroll {
|
||||
.sidebar-right {
|
||||
.nano {
|
||||
> .nano-content {
|
||||
overflow: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,137 @@
|
||||
// TOOLBAR
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Toolbar */
|
||||
.inner-toolbar {
|
||||
background: $sidebar-background;
|
||||
margin: -40px -40px 30px;
|
||||
padding: 0;
|
||||
border-left: 1px solid #121418;
|
||||
|
||||
& > ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
& > li {
|
||||
display: inline-block;
|
||||
padding: 15px;
|
||||
font-size: 13px;
|
||||
border-right: 1px solid #121418;
|
||||
|
||||
& > a {
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
color: #abb4be;
|
||||
|
||||
&:hover, &:focus {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.right {
|
||||
float: right;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
i.fa {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
> .btn {
|
||||
margin-top: -6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.nav-pills {
|
||||
margin-top: -8px;
|
||||
|
||||
> li > label {
|
||||
margin-bottom: 0;
|
||||
margin-right: 12px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $menu-item-text-color;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background: $color-dark;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.active {
|
||||
a {
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Toolbar - Responsive */
|
||||
@media only screen and (max-width: 767px) {
|
||||
.inner-toolbar {
|
||||
padding: 0 15px;
|
||||
margin: -40px -15px 30px;
|
||||
|
||||
ul {
|
||||
& > li {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
& > li:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
& > li.right {
|
||||
float: none;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 480px) {
|
||||
.inner-toolbar {
|
||||
.nav-pills a {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Toolbar + Layout Fixed */
|
||||
@media only screen and (min-width: 768px) {
|
||||
html.fixed {
|
||||
.inner-toolbar {
|
||||
left: $sidebar-left-full-width;
|
||||
right: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: fixed;
|
||||
top: $header-height + $page-header-height + 4;
|
||||
z-index: $inner-toolbar-z-index;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
/* dark */
|
||||
html.dark {
|
||||
.inner-toolbar {
|
||||
border-left: none;
|
||||
border-bottom: 1px solid darken($dark-color-4, 5%);
|
||||
|
||||
> ul > li {
|
||||
border-color: darken($dark-color-4, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user