copy dari repo om Irfan

This commit is contained in:
2026-06-13 16:02:07 +10:00
commit db327c0305
5376 changed files with 2770667 additions and 0 deletions
+775
View File
@@ -0,0 +1,775 @@
/* Headings */
h1,
h2,
h3,
.h1,
.h2,
.h3 {
letter-spacing: -1px;
}
h1,
.h1 {
font-size: 36px;
font-size: 3.6rem;
}
h2,
.h2 {
font-size: 30px;
font-size: 3rem;
}
h3,
.h3 {
font-size: 24px;
font-size: 2.4rem;
}
h4,
.h4 {
font-size: 18px;
font-size: 1.8rem;
}
h5,
.h5 {
font-size: 14px;
font-size: 1.4rem;
}
h6,
.h6 {
font-size: 12px;
font-size: 1.2rem;
letter-spacing: 0;
}
/* Alternative Font Style */
.alternative-font {
color: #cccccc;
font-family: "Shadows Into Light", cursive;
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: #171717;
}
p.drop-caps.secundary:first-child:first-letter {
background-color: #171717;
color: #FFF;
padding: 6px;
margin-right: 5px;
border-radius: 4px;
}
p.drop-caps.colored:first-child:first-letter {
color: #cccccc;
}
p.drop-caps.colored.secundary:first-child:first-letter {
background-color: #cccccc;
color: #FFF;
}
/* Blockquote */
blockquote {
font-size: 1em;
}
/* Hightlight */
.highlight {
background-color: #cccccc;
color: #FFF;
padding: 3px 6px;
}
/* Divider Line */
hr {
border: 0;
height: 1px;
background-image: -webkit-linear-gradient(left, transparent, rgba(0, 0, 0, 0.2), transparent);
background-image: -moz-linear-gradient(left, transparent, rgba(0, 0, 0, 0.2), transparent);
background-image: -ms-linear-gradient(left, transparent, rgba(0, 0, 0, 0.2), transparent);
background-image: -o-linear-gradient(left, transparent, rgba(0, 0, 0, 0.2), transparent);
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.2), rgba(255, 255, 255, 0));
background-image: -moz-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
background-image: -ms-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
background-image: -o-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), 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] {
-webkit-transition: height 0.15s ease-in;
-moz-transition: height 0.15s ease-in;
transition: height 0.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, body a:focus, body a:hover, body a:active, body a:visited {
outline: none !important;
}
.center {
text-align: center;
}
ul,
ol {
margin-bottom: 0;
padding-left: 27px;
}
blockquote.primary {
border-color: #cccccc;
}
blockquote.success {
border-color: #47a447;
}
blockquote.warning {
border-color: #ed9c28;
}
blockquote.danger {
border-color: #d2322d;
}
blockquote.info {
border-color: #5bc0de;
}
blockquote.dark {
border-color: #171717;
}
.well.primary {
background: #cccccc;
border-color: #b3b3b3;
color: white;
}
.well.success {
background: #47a447;
border-color: #388038;
color: white;
}
.well.warning {
background: #ed9c28;
border-color: #d18211;
color: white;
}
.well.danger {
background: #d2322d;
border-color: #a82824;
color: white;
}
.well.info {
background: #5bc0de;
border-color: #31b0d5;
color: white;
}
.well.dark {
background: #171717;
border-color: black;
color: white;
}
/* Arrows */
.arrow {
background: transparent url(../images/arrows.png) no-repeat 0 0;
width: 47px;
height: 120px;
display: inline-block;
position: relative;
}
.arrow.vtl {
background-position: 0 0;
width: 47px;
height: 96px;
}
.arrow.vtr {
background-position: -101px 0;
width: 47px;
height: 96px;
}
.arrow.vbl {
background-position: 0 -144px;
width: 47px;
height: 96px;
}
.arrow.vbr {
background-position: -101px -144px;
width: 47px;
height: 96px;
}
.arrow.hlt {
background-position: -209px 0;
width: 120px;
height: 47px;
}
.arrow.hlb {
background-position: -209px -101px;
width: 120px;
height: 47px;
}
.arrow.hrt {
background-position: -353px 0;
width: 120px;
height: 47px;
}
.arrow.hrb {
background-position: -353px -101px;
width: 120px;
height: 47px;
}
.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 */
ul.nav-list.primary > li {
margin: 0;
padding: 0;
}
ul.nav-list.primary > li:last-child a {
border-bottom: transparent !important;
}
ul.nav-list.primary > li a {
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
transition: all 0.3s;
background-position: 9px 16px;
background-repeat: no-repeat;
border-bottom: 1px solid #EDEDDE;
padding: 8px 20px;
}
/* Tables - Basic */
.table {
width: 100%;
}
.table .table {
background: transparent;
}
/* Bootstrap uses important, we need to force it here */
.table.mb-none {
margin-bottom: 0 !important;
}
/* In case you dont want a border in some row */
.table .b-top-none td {
border-top: none;
}
/* Tables - Actions */
.table .actions,
.table .actions-hover {
vertical-align: middle;
}
.table .actions a,
.table .actions-hover a {
display: inline-block;
margin-right: 5px;
color: #666;
}
.table .actions a:last-child,
.table .actions-hover a:last-child {
margin-right: 0;
}
.table .actions a:hover,
.table .actions-hover a:hover {
color: #333;
}
.table .actions-hover a {
opacity: 0;
}
.table tr:hover .actions-hover a {
opacity: 1;
}
.table .actions-fade a {
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
transition: all 0.2s linear;
}
/* Tables - No More Tables technique (991px is the bootstrap SM max-width) */
@media only screen and (max-width: 991px) {
.table.table-no-more,
.table.table-no-more thead,
.table.table-no-more tbody,
.table.table-no-more tr,
.table.table-no-more th,
.table.table-no-more td {
display: block;
}
.table.table-no-more thead tr {
left: -9999px;
position: absolute;
top: -9999px;
}
.table.table-no-more tr {
border-bottom: 1px solid #DDD;
}
.table.table-no-more td {
border: none;
position: relative;
padding-left: 50%;
text-align: left;
white-space: normal;
}
.table.table-no-more td:before {
content: attr(data-title);
font-weight: bold;
left: 6px;
padding-right: 10px;
position: absolute;
text-align: left;
top: 8px;
white-space: nowrap;
width: 45%;
}
.table.table-no-more.table-bordered td {
border-bottom: 1px solid #EFEFEF;
}
.table.table-no-more.table-condensed td:before {
top: 5px;
}
}
/* Dark - Tables */
html.dark .table > thead > tr > th,
html.dark .table > tbody > tr > th,
html.dark .table > tfoot > tr > th,
html.dark .table > thead > tr > td,
html.dark .table > tbody > tr > td,
html.dark .table > tfoot > tr > td,
html.dark .table-bordered {
border-color: #262b33;
}
html.dark .table-striped > tbody > tr:nth-child(2n+1) > td,
html.dark .table-striped > tbody > tr:nth-child(2n+1) > th {
background-color: #282d36;
}
html.dark .table-hover > tbody > tr:hover > td,
html.dark .table-hover > tbody > tr:hover > th {
background-color: #272c34;
}
html.dark .table .actions a,
html.dark .table .actions-hover a {
color: #808697;
}
@media screen and (max-width: 991px) {
html.dark .table-responsive {
border-color: #262b33;
}
}
@media only screen and (max-width: 991px) {
html.dark .table.table-no-more tr,
html.dark .table.table-no-more.table-bordered td {
border-bottom-color: #262b33;
}
}
/* Tables - States */
.table > thead > tr > td.primary,
.table > tbody > tr > td.primary,
.table > tfoot > tr > td.primary,
.table > thead > tr > th.primary,
.table > tbody > tr > th.primary,
.table > tfoot > tr > th.primary,
.table > thead > tr.primary > td,
.table > tbody > tr.primary > td,
.table > tfoot > tr.primary > td,
.table > thead > tr.primary > th,
.table > tbody > tr.primary > th,
.table > tfoot > tr.primary > th {
color: #FFF;
background-color: #cccccc;
}
.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
color: #FFF;
background-color: #47a447;
}
.table > thead > tr > td.warning,
.table > tbody > tr > td.warning,
.table > tfoot > tr > td.warning,
.table > thead > tr > th.warning,
.table > tbody > tr > th.warning,
.table > tfoot > tr > th.warning,
.table > thead > tr.warning > td,
.table > tbody > tr.warning > td,
.table > tfoot > tr.warning > td,
.table > thead > tr.warning > th,
.table > tbody > tr.warning > th,
.table > tfoot > tr.warning > th {
color: #FFF;
background-color: #ed9c28;
}
.table > thead > tr > td.danger,
.table > tbody > tr > td.danger,
.table > tfoot > tr > td.danger,
.table > thead > tr > th.danger,
.table > tbody > tr > th.danger,
.table > tfoot > tr > th.danger,
.table > thead > tr.danger > td,
.table > tbody > tr.danger > td,
.table > tfoot > tr.danger > td,
.table > thead > tr.danger > th,
.table > tbody > tr.danger > th,
.table > tfoot > tr.danger > th {
color: #FFF;
background-color: #d2322d;
}
.table > thead > tr > td.info,
.table > tbody > tr > td.info,
.table > tfoot > tr > td.info,
.table > thead > tr > th.info,
.table > tbody > tr > th.info,
.table > tfoot > tr > th.info,
.table > thead > tr.info > td,
.table > tbody > tr.info > td,
.table > tfoot > tr.info > td,
.table > thead > tr.info > th,
.table > tbody > tr.info > th,
.table > tfoot > tr.info > th {
color: #FFF;
background-color: #5bc0de;
}
.table > thead > tr > td.dark,
.table > tbody > tr > td.dark,
.table > tfoot > tr > td.dark,
.table > thead > tr > th.dark,
.table > tbody > tr > th.dark,
.table > tfoot > tr > th.dark,
.table > thead > tr.dark > td,
.table > tbody > tr.dark > td,
.table > tfoot > tr.dark > td,
.table > thead > tr.dark > th,
.table > tbody > tr.dark > th,
.table > tfoot > tr.dark > th {
color: #FFF;
background-color: #171717;
}
.table > thead > tr > td.dark,
.table > tbody > tr > td.dark,
.table > tfoot > tr > td.dark,
.table > thead > tr > th.dark,
.table > tbody > tr > th.dark,
.table > tfoot > tr > th.dark,
.table > thead > tr.dark > td,
.table > tbody > tr.dark > td,
.table > tfoot > tr.dark > td,
.table > thead > tr.dark > th,
.table > tbody > tr.dark > th,
.table > tfoot > tr.dark > th {
background-color: #4a4a4a;
color: white;
}
/* Invoice */
.invoice {
padding: 0 15px 15px;
}
/* Invoice Address Tag */
.invoice address {
color: #7F8597;
line-height: 1.5em;
}
/* Invoice header */
.invoice header {
border-bottom: 1px solid #DADADA;
margin-bottom: 15px;
}
.invoice header .h2,
.invoice header .h4 {
letter-spacing: 0;
}
/* Invoice Billing Information */
.invoice .bill-to,
.invoice .bill-data {
padding: 14px 0;
}
.invoice .bill-data .value {
display: inline-block;
margin-left: 10px;
width: 90px;
}
/* Invoice table */
.invoice table.table {
table-layout: fixed;
}
.invoice table.table > thead:first-child > tr > th {
background-color: #F8F8F8;
border-bottom: 1px solid #DADADA;
border-top: 1px solid #DADADA;
}
.invoice table.table > tbody tr > td {
border-color: #DADADA;
}
/* Invoice table items */
.invoice .invoice-items > tbody tr:last-child > td {
border-bottom: 1px solid #DADADA;
}
.invoice .invoice-items #cell-id {
width: 10%;
}
.invoice .invoice-items #cell-item {
width: 20%;
}
.invoice .invoice-items #cell-desc {
width: 20%;
}
.invoice .invoice-items #cell-price {
width: 10%;
}
.invoice .invoice-items #cell-qty {
width: 10%;
}
.invoice .invoice-items #cell-total {
width: 10%;
}
/* Invoice summary */
.invoice-summary .col-sm-4 {
padding-left: 0;
}
/* Invoice Responsiveness */
@media only screen and (max-width: 991px) {
.invoice .table-responsive > table.table {
table-layout: auto;
}
.invoice-summary .col-sm-4 {
padding-left: 15px;
}
}
/* Invoice Print */
@media print {
.invoice .table-responsive {
border: none !important;
overflow: visible !important;
width: auto !important;
}
.invoice table.table.invoice-items {
table-layout: auto;
}
.invoice header .col-sm-6:first-child,
.invoice header .col-sm-6:last-child,
.invoice .bill-info .col-md-6 {
float: left !important;
}
.invoice header .col-sm-6:first-child {
width: 25% !important;
}
.invoice header .col-sm-6:last-child {
width: 75% !important;
}
.invoice .bill-info .col-md-6 {
width: 50% !important;
}
.invoice .invoice-summary .col-sm-4 {
float: right;
padding: 0;
width: 40%;
}
}
/* dark */
html.dark .invoice header {
border-bottom-color: #282d36;
}
html.dark .invoice table.table > thead:first-child > tr > th {
background-color: #282d36;
border-bottom-color: #282d36;
border-top-color: #282d36;
}
html.dark .invoice table.table > tbody tr > td {
border-color: #282d36;
}
@@ -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;
}
}
+330
View File
@@ -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;
}
}
+722
View File
@@ -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;
}
}
+124
View File
@@ -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;
}
}
}
}
+426
View File
@@ -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)};
}
}
+175
View File
@@ -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
+137
View File
@@ -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%);
}
}
}
@@ -0,0 +1,23 @@
@mixin font-size($size: 14) {
font-size: $size + px;
font-size: ($size / $root-font-size) + rem;
}
@mixin line-height($size: 14) {
line-height: $size + px;
line-height: ($size / $root-font-size) + rem;
}
@mixin placeholder-color($color) {
&::-webkit-input-placeholder {
color: $color;
}
&::-moz-placeholder {
color: $color;
}
&:-ms-input-placeholder {
color: $color;
}
}
@@ -0,0 +1,8 @@
// VENDOR
// ---------------------------------------------------------------
@import "../vendor/bourbon/bourbon";
// CONFIG
// ---------------------------------------------------------------
@import "variables";
@import "helpers";
@@ -0,0 +1,432 @@
// =============================================================================
// BS CONFIG FOR NEW GRID TIER
// =============================================================================
$screen-lg: 1200px;
$screen-xl: 1600px;
$screen-lg-max: $screen-xl - 1;
$grid-gutter-width: 30px;
// =============================================================================
// TYPOGRAPHY
// =============================================================================
$font-primary: "Open Sans", Arial, sans-serif;
$font-secundary: "Shadows Into Light", cursive;
$root-font-size: 10;
$body-font-size: 13;
$title-decrement-font-size: 6;
$h1-font-size: 36;
$h2-font-size: $h1-font-size - $title-decrement-font-size;
$h3-font-size: $h2-font-size - $title-decrement-font-size;
$h4-font-size: $h3-font-size - $title-decrement-font-size;
$h5-font-size: $h4-font-size - 4;
$h6-font-size: 12;
// weights
$font-weight-light: 300;
$font-weight-normal: 400;
$font-weight-semibold: 600;
$font-weight-bold: 700;
// spacement
$spacement-increment: 5px;
$spacement-xs: $spacement-increment;
$spacement-sm: $spacement-xs + $spacement-increment;
$spacement-md: $spacement-sm + $spacement-increment;
$spacement-lg: $spacement-md + $spacement-increment;
$spacement-xl: $spacement-lg + $spacement-increment;
$spacement-xlg: $spacement-xl + $spacement-increment;
// borders
$border-thin: 3px;
$border-normal: 5px;
$border-thick: 7px;
// =============================================================================
// COLORS
// =============================================================================
$color-default: #ebebeb;
$color-default-inverse: #777;
$color-muted: #999;
$color-primary: #CCC;
$color-primary-inverse: #FFF;
$color-success: #47a447;
$color-success-inverse: #FFF;
$color-warning: #ed9c28;
$color-warning-inverse: #FFF;
$color-danger: #d2322d;
$color-danger-inverse: #FFF;
$color-info: #5bc0de;
$color-info-inverse: #FFF;
$color-secondary: #E36159;
$color-secondary-inverse: #FFF;
$color-tertiary: #2BAAB1;
$color-tertiary-inverse: #FFF;
$color-quartenary: #734BA9;
$color-quartenary-inverse: #FFF;
$color-dark: #171717;
$color-dark-inverse: #FFF;
$body-color: #ecedf0;
$sidebar-color: #33363F;
$color-black: #333;
// colors list
$colors-list: (primary $color-primary $color-primary-inverse) (secondary $color-secondary $color-secondary-inverse) (tertiary $color-tertiary $color-tertiary-inverse) (quartenary $color-quartenary $color-quartenary-inverse) (success $color-success $color-success-inverse) (warning $color-warning $color-warning-inverse) (danger $color-danger $color-danger-inverse) (info $color-info $color-info-inverse) (dark $color-dark $color-dark-inverse);
// states list
$states: (primary $color-primary $color-primary-inverse) (success $color-success $color-success-inverse) (warning $color-warning $color-warning-inverse) (danger $color-danger $color-danger-inverse) (info $color-info $color-info-inverse) (dark $color-dark $color-dark-inverse);
// Dark Version
$dark-bg: #1d2127;
$dark-default-text: #808697;
$dark-color-1: $dark-bg;
$dark-color-2: lighten($dark-color-1, 2%);
$dark-color-3: lighten($dark-color-1, 5%);
$dark-color-4: lighten($dark-color-1, 8%);
$dark-color-5: lighten($dark-color-1, 3%);
$darken-color-1: darken($dark-color-1, 2%);
// =============================================================================
// LAYERS Z-INDEX
// =============================================================================
$sidebar-left-z-index: 1010;
$sidebar-right-z-index: 1010;
$header-z-index: 1000;
$header-fixed-z-index: 1020;
$page-header-z-index: 1001;
$inner-toolbar-z-index: 1001;
$inner-menu-toggle-z-index: 1002;
$inner-menu-z-index: 1002;
$modal-z-index: 1100;
// =============================================================================
// HEADER
// =============================================================================
// sizes
$header-height: 60px;
// notification menu
// -----------------
// padding
$header-notification-menu-padding: 12px;
// width
$header-notification-menu-width: 245px;
// notification menu - title
// -------------------------
// background
$header-notification-menu-title-background: $color-primary;
// border
$header-notification-menu-border-radius: 3px 3px 0 0;
// colors
$header-notification-menu-title-color: #FFF;
// font size
$header-notification-menu-title-size: 11;
// padding
$header-notification-menu-title-padding: 8px 6px 8px 12px;
// label
$header-notification-menu-label-background: #006697;
// notification menu - pin
// -----------------------
$header-notification-menu-pin-width: 6px;
// notification menu - hr
// ----------------------
$header-notification-menu-hr-background: #E6E6E6;
$header-notification-menu-hr-margin: 12px 0;
// notification menu - view more
$header-notification-menu-view-more-color: #ACACAC;
$header-notification-menu-view-more-size: 11;
// notification menu - emails
// --------------------------
// name
$notification-menu-email-name-color: #000011;
$notification-menu-email-name-padding: 2px 0 0;
$notification-menu-email-name-size: 13;
// message
$notification-menu-email-message-color: #ACACAC;
$notification-menu-email-message-size: 11;
$notification-menu-email-message-padding: 0;
// =============================================================================
// SIDEBAR LEFT
// =============================================================================
// classes
$sidebar-left-collapsed-class: 'sidebar-left-collapsed';
// default
$sidebar-left-full-width: 300px;
// small size - sm
$sidebar-left-sm-full-width: 250px;
// extra small size - xs
$sidebar-left-xs-full-width: 200px;
// collapsed
$sidebar-left-collapsed-width: 73px;
// top header size
$sidebar-top-header-size: 50px;
// background
$sidebar-background: #1D2127;
// border color
$sidebar-border-color: #2F3139;
// border width
$sidebar-border-width: 5px;
// toggle background color
$sidebar-toggle-background: #171717;
// toggle hover color
$sidebar-toggle-color: #C3C3C3;
// toggle hover color
$sidebar-toggle-hover-color: $color-primary;
// toggle width
$sidebar-toggle-width: $sidebar-left-collapsed-width;
// toggle bottom radius
$sidebar-toggle-bottom-radius: 5px;
// =============================================================================
// SIDEBAR RIGHT
// =============================================================================
// classes
$sidebar-right-opened-class: 'sidebar-right-opened';
// showing
$sidebar-right-width: $sidebar-left-full-width;
// background
$sidebar-right-background: #171717;
// =============================================================================
// PAGE HEADER
// =============================================================================
// background
$page-header-background: #171717;
// borders
$page-header-border-bottom-width: 4px;
$page-header-border-left-width: 1px;
$page-header-border-bottom-color: #CCCCCC;
$page-header-border-left-color: #3A3A3A;
// colors
$page-header-color: #C3C3C3;
// height
$page-header-height: 50px;
// title
$page-header-title-border-color: $color-primary;
$page-header-title-font-size: 20;
$page-header-title-padding: 20px;
// breadcrumb
$page-header-breadcrumb-home-size: 20;
$page-header-breadcrumb-separator-size: 14;
$page-header-breadcrumb-separator-margin: 0 10px;
$page-header-breadcrumb-size: 14;
// toggle
$page-header-sidebar-toggle-margin: 0 0 0 10px;
$page-header-sidebar-toggle-hover-color: $sidebar-toggle-hover-color;
// =============================================================================
// CONTENT WITH MENU
// =============================================================================
$inner-menu-width: 300px;
$inner-menu-toggle-width: 140px;
$inner-toolbar-height: 52px;
// =============================================================================
// SETTINGS
// =============================================================================
$border-radius: 5px;
// =============================================================================
// CONTENT BODY
// =============================================================================
$content-body-padding: 40px;
// =============================================================================
// MENU
// =============================================================================
// backgrounds
$menu-item-active-background: darken($sidebar-background, 2%);
// borders
$menu-item-active-border-color: $color-primary;
$menu-item-active-border-width: 2px;
$menu-item-border-color: #2D3138;
$menu-children-border-color: rgba(69,74,84,0.7);
// colors
$menu-item-text-color: #abb4be;
$menu-item-arrow-color: #abb4be;
// paddings
$menu-item-padding-horizontal: 25px;
$menu-item-padding-vertical: 12px;
$menu-item-padding: $menu-item-padding-vertical $menu-item-padding-horizontal;
$menu-children-padding-horizontal: 15px;
$menu-children-padding-vertical: 6px;
$menu-children-padding: $menu-children-padding-vertical $menu-children-padding-horizontal $menu-children-padding-vertical ($menu-children-padding-horizontal + 42);
$menu-children-level1-padding: $menu-children-padding-vertical $menu-children-padding-horizontal $menu-children-padding-vertical ($menu-children-padding-horizontal + 67);
$menu-children-level2-padding: $menu-children-padding-vertical $menu-children-padding-horizontal $menu-children-padding-vertical ($menu-children-padding-horizontal + 82);
$menu-item-arrow-padding: 14px 25px;
$menu-item-children-arrow-padding: 6px 25px;
// =============================================================================
// SIDEBAR WIDGETS
// =============================================================================
// tasks
$widget-tasks-colors: #D64B4B, #0090D9, #4DD79C, #D9A300, #C926FF, #FFFF26;
// =============================================================================
// PANELS
// =============================================================================
// heading
$panel-heading-background: #f6f6f6;
$panel-heading-padding: 18px;
// title
$panel-title-color: #33353F;
$panel-title-size: 20px;
// subtitle
$panel-subtitle-color: #808697;
$panel-subtitle-size: 12px;
// panel actions
$panel-action-background: transparent;
$panel-action-border-radius: 2px;
$panel-action-color: #B4B4B4;
$panel-action-size: 14px;
$panel-action-height: 24px;
$panel-action-width: 24px;
$panel-action-color-hover: $panel-action-color;
$panel-action-background-hover: darken($panel-heading-background, 3%);
// featured
$panel-featured-border-width: 3px;
// =============================================================================
// TABS
// =============================================================================
$tabs-border-color: #EEE;
// nav
// -----------------------------------------------------------------------------
// default color
$tabs-nav-default-color: #555;
// background
$tabs-nav-item-background: #F4F4F4;
$tabs-nav-item-background-active-hover: #FFF;
// borders
$tabs-nav-border-radius: 8px;
$tabs-nav-item-border-color: $tabs-border-color;
$tabs-nav-item-border-top: 3px;
$tabs-nav-item-border-top-color: #DDD;
// wizard
// -----------------------------------------------------------------------------
// colors
$wizard-nav-default-color: $tabs-nav-default-color;
$wizard-nav-disabled-color: #CCC;
$wizard-progress-item-color: #33333F;
$wizard-progress-default-color: #FFF;
$wizard-progress-completed-color: #FFF;
$wizard-progress-active-color: $color-primary;
// background
$wizard-nav-item-background: $tabs-nav-item-background;
$wizard-nav-item-background-active-hover: #FFF;
$wizard-nav-item-chevron-border-color: #E0E0E0;
$wizard-progress-default-background: #CCC;
$wizard-progress-completed-background: $color-primary;
$wizard-progress-active-background: #FFF;
// borders
$wizard-nav-item-border-color: $tabs-border-color;
$wizard-progress-default-border-color: #CCC;
$wizard-progress-completed-border-color: $color-primary;
$wizard-progress-active-border-color: $color-primary;
// content
// -----------------------------------------------------------------------------
// background
$tabs-content-background: #FFF;
// borders
$tabs-content-border-radius: 4px;
$tabs-content-border-color: $tabs-border-color;
// box shadow
$tabs-content-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.04);
// padding
$tabs-content-padding: 15px;
// =============================================================================
// PROGRESS BARS
// =============================================================================
// sizes
$pb-xs: 7px;
$pb-sm: 12px;
$pb-md: 14px;
$pb-lg: 16px;
$pb-xl: 18px;
// background
$pb-default: #474453;
$pb-default-line: #585564;
$pb-light: #f5f5f5;
$pb-light-line: #F6F7F8;
+152
View File
@@ -0,0 +1,152 @@
body {
// BUTTON
// -----------------------------------------------------------------------------
/* Button Basic */
.btn:focus,
.btn:active:focus,
.btn.active:focus {
outline: none;
}
.btn {
white-space: normal;
}
// SOCIAL BUTTONS
// -----------------------------------------------------------------------------
/* Buttons - Social */
.btn-facebook,
.btn-twitter,
.btn-gplus {
&,
&:active,
&:hover,
&:focus {
color: #FFF;
font-weight: 300;
padding-left: 30px;
padding-right: 30px;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}
}
.btn-facebook {
&,
&:focus {
background: #3B5998;
border: 1px solid #37538D;
}
&:hover {
background: lighten( #3B5998, 4% );
border-color: lighten( #37538D, 4% );
}
&:active {
background: darken( #3B5998, 3% );
border-color: darken( #37538D, 3% );
}
}
.btn-twitter {
&,
&:focus {
background: #55ACEE;
border: 1px solid #47A5ED;
}
&:hover {
background: lighten( #55ACEE, 3% );
border-color: lighten( #47A5ED, 3% );
}
&:active {
background: darken( #55ACEE, 3% );
border-color: darken( #47A5ED, 3% );
}
}
.btn-gplus {
&,
&:focus {
background: #D95232;
border: 1px solid #D44927;
}
&:hover {
background: lighten( #D95232, 4% );
border-color: lighten( #D44927, 4% );
}
&:active {
background: darken( #D95232, 4% );
border-color: darken( #D44927, 4% );
}
}
// STATES
// -----------------------------------------------------------------------------
/* Buttons - States */
@each $state in $states {
.btn-#{nth($state,1)} {
border-color: #{nth($state,2)};
background-color: #{nth($state,2)};
border-color: #{nth($state,2)} #{nth($state,2)} darken(nth($state,2), 10%);
color: #{nth($state,3)};
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
&:hover {
border-color: lighten(nth($state,2), 5%);
background-color: lighten(nth($state,2), 5%);
color: #{nth($state,3)};
}
&:active,
&:focus {
border-color: darken(nth($state,2), 5%);
background-color: darken(nth($state,2), 5%);
color: #{nth($state,3)};
}
&.dropdown-toggle {
border-left-color: darken(nth($state,2), 5%);
}
&[disabled] {
border-color: lighten(nth($state,2), 20%);
background-color: lighten(nth($state,2), 20%);
}
}
}
}
// DARK
// -----------------------------------------------------------------------------
html.dark {
.btn-default {
background-color: $dark-color-3;
border-color: $dark-color-3;
color: #EEE;
&:hover {
background-color: lighten($dark-color-3, 1%);
border-color: lighten($dark-color-3, 1%);
}
&:focus,
&:active {
background-color: darken($dark-color-3, 2%);
border-color: darken($dark-color-3, 2%);
}
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
color: #EEE;
background-color: darken($dark-color-3, 2%);
border-color: darken($dark-color-3, 2%);
}
}
+12
View File
@@ -0,0 +1,12 @@
.img-rounded {
border-radius: 6px;
}
.img-circle {
border-radius: 50%;
}
.img-thumbnail {
border-radius: 8px;
position: relative;
}
+3
View File
@@ -0,0 +1,3 @@
.modal {
z-index: $modal-z-index;
}
@@ -0,0 +1,9 @@
.nav-pills > .active {
a {
&,
&:hover,
&:focus {
background-color: $color-primary;
}
}
}
@@ -0,0 +1,248 @@
// NOTIFICATIONS
// -----------------------------------------------------------------------------
/* Notifications */
.notifications {
display: inline-block;
list-style: none;
margin: 4px -10px 0 0;
padding: 0;
vertical-align: middle;
& > li {
float: left;
margin: 0 10px 0 0;
position: relative;
.notification-icon {
background: #FFF;
border-radius: 50%;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
display: inline-block;
height: 30px;
position: relative;
width: 30px;
text-align: center;
i {
color: #777;
line-height: 30px;
vertical-align: middle;
&.fa-tasks {
line-height: 32px;
}
}
.badge {
background: #D2312D;
color: #FFF;
font-size: 10px;
font-weight: normal;
height: 16px;
padding: 3px 5px 3px 5px;
position: absolute;
right: -8px;
top: -3px;
}
}
& > a {
border: none;
display: inline-block;
}
}
.notification-menu {
border: none;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
left: auto;
margin: 10px 0 0 0;
padding: 0;
right: -5px;
width: $header-notification-menu-width;
&.large {
width: 325px;
}
.notification-title {
background: $header-notification-menu-title-background;
border-radius: $header-notification-menu-border-radius;
color: $header-notification-menu-title-color;
@include font-size($header-notification-menu-title-size);
@include line-height($header-notification-menu-title-size + 4);
padding: $header-notification-menu-title-padding;
text-transform: uppercase;
.label {
@include font-size($header-notification-menu-title-size - 1);
font-weight: 200;
line-height: 14px;
margin-left: 10px;
margin-top: -2px;
min-width: 35px;
}
.label-default {
background: $header-notification-menu-label-background;
color: #FFF;
}
}
.content {
padding: $header-notification-menu-padding;
}
hr {
background: $header-notification-menu-hr-background;
height: 1px;
margin: $header-notification-menu-hr-margin;
}
.view-more {
color: $header-notification-menu-view-more-color;
@include font-size($header-notification-menu-view-more-size);
@include line-height($header-notification-menu-view-more-size);
text-transform: uppercase;
}
}
}
// NOTIFICATION MENU - PIN
// -----------------------------------------------------------------------------
/* notification menu - pin */
.notifications .notification-menu,
.notifications .notification-icon {
&:before {
border: {
bottom: $header-notification-menu-pin-width solid $header-notification-menu-title-background;
left: $header-notification-menu-pin-width solid transparent;
right: $header-notification-menu-pin-width solid transparent;
}
content: '';
height: 0;
margin-right: -( $header-notification-menu-pin-width / 2);
width: 0;
position: absolute;
pointer-events: none;
}
}
.notifications .notification-menu:before {
bottom: 100%;
right: 16px;
}
.notifications .notification-icon:before {
display: none;
right: 11px;
top: 35px;
z-index: 9999;
}
// NOTIFICATION MENU - EMAILS
// -----------------------------------------------------------------------------
/* notification menu - emails */
.notification-menu {
color: $notification-menu-email-message-color;
ul {
list-style: none;
margin: 0;
padding: 0;
}
li {
margin: 0 0 12px;
&:last-child {
margin-bottom: 0;
}
}
a {
display: block;
text-decoration: none;
}
.image {
float: left;
margin: 0 10px 0 0;
i {
border-radius: 35px;
height: 35px;
line-height: 35px;
text-align: center;
width: 35px;
}
}
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.title {
color: $notification-menu-email-name-color;
display: block;
@include font-size($notification-menu-email-name-size);
@include line-height($notification-menu-email-name-size + 4);
padding: $notification-menu-email-name-padding;
}
.message {
color: $notification-menu-email-message-color;
display: block;
@include font-size($notification-menu-email-message-size);
@include line-height($notification-menu-email-message-size + 4);
padding: $notification-menu-email-message-padding;
}
}
// HEADER DARK AND DARK VERSION
// -----------------------------------------------------------------------------
html.dark,
html.header-dark {
.notifications {
> li .notification-icon {
background: lighten( $sidebar-background, 5% );
i {
color: $page-header-color;
}
}
}
}
// NOTIFICATIONS
// -----------------------------------------------------------------------------
/* Notifications Mobile */
@media only screen and (max-width: 767px) {
.notifications {
float: right;
margin: 16px 8px 0 0;
> li {
position: static;
&.open {
.notification-icon:before {
display: block;
}
}
.notification-menu {
left: 15px;
right: 15px;
top: auto;
width: auto !important;
&:before {
display: none;
}
}
}
}
}
@@ -0,0 +1,31 @@
.pagination {
> li {
a {
color: $color-primary;
&:hover,
&:focus {
color: lighten($color-primary, 5%);
}
}
&.active {
a,
span {
&,
&:hover,
&:focus {
background-color: $color-primary;
border-color: $color-primary;
}
}
a {
background-color: $color-primary;
}
}
}
}
@@ -0,0 +1,12 @@
.progress-bar-primary {
background-color: $color-primary;
}
.progress-bar.progress-without-number[aria-valuenow="1"],
.progress-bar.progress-without-number[aria-valuenow="2"] {
min-width: 0;
}
.progress-bar.progress-bar-primary[aria-valuenow="0"] {
background: transparent;
}
@@ -0,0 +1,276 @@
.sidebar-right .sidebar-widget {
margin: 0;
}
.sidebar-widget {
margin: 0 30px 0 25px;
.widget-header {
position: relative;
margin: 0;
h6 {
@include font-size(13);
color: #465162;
font-weight: 600;
margin: 0;
padding: 0;
text-transform: uppercase;
}
.btn-widget-act {
position: relative;
top: -2px;
border-color: darken($color-dark, 5%);
background-color: darken($color-dark, 5%);
border-color: darken($color-dark, 5%) darken($color-dark, 15%) darken($color-dark, 15%);
&:hover {
border-color: darken($color-dark, 2%);
background-color: darken($color-dark, 2%);
}
&:active,
&:focus {
border-color: darken($color-dark, 10%);
background-color: darken($color-dark, 10%);
}
&.dropdown-toggle {
border-left-color: darken($color-dark, 10%);
}
}
.widget-toggle {
@include font-size(17);
@include line-height(13);
color: #465162;
position: absolute;
right: 0;
top: 0;
cursor: pointer;
text-align: center;
@include transform(rotate(45deg));
@include transition-property (transform);
@include transition-duration(.2s);
@include transition-timing-function(linear);
}
}
.widget-content {
padding: 15px 0 0;
}
&.widget-collapsed {
.widget-header {
.widget-toggle {
@include transform(none);
}
}
.widget-content {
display: none;
}
}
// WIDGET: TASKS
// -----------------------------------------------------------------------------
&.widget-tasks {
ul {
li {
position: relative;
a {
color: $menu-item-text-color;
display: block;
margin: 0 -25px 0 -30px;
padding: 10px 0 10px 55px;
&:hover {
background: #21262d;
text-decoration: none;
}
}
&:before {
border: 5px solid $color-primary;
border-radius: 100px;
content: '';
display: inline-block;
left: 0;
margin: -5px 0 0;
position: absolute;
top: 50%;
z-index: 999;
}
$colors: $widget-tasks-colors;
@for $i from 1 through length($colors) {
&:nth-child(#{length($colors)}n+#{$i}) {
&:before {
border-color: nth($colors, $i);
}
}
}
}
}
}
// WIDGET: STATS
// -----------------------------------------------------------------------------
&.widget-stats {
ul {
list-style: none;
margin: 0;
padding: 0;
}
.stats-title {
color: #a6a6a6;
}
.stats-complete {
float: right;
@include font-size(10);
color: #666;
}
.progress {
height: 7px;
background: #474453;
box-shadow: 0 1px 0 #585564 inset;
margin-bottom: 25px;
}
}
// WIDGET: CALENDAR
// -----------------------------------------------------------------------------
&.widget-calendar {
margin: 0 0 25px;
.datepicker {
background: transparent;
}
ul {
list-style: none;
margin: 0;
padding: 20px 0;
border-top: 1px solid #000;
time {
display: block;
@include font-size(12);
line-height: 1.3em;
font-weight: 600;
color: $color-default-inverse;
margin-bottom: 0.1em;
}
span {
@include font-size(14);
line-height: 1.3em;
color: $color-primary-inverse;
}
}
}
// WIDGET: FRIENDS
// -----------------------------------------------------------------------------
&.widget-friends {
ul {
list-style: none;
margin: 0;
padding: 10px 2px;
li {
padding: 10px 0;
.profile-info,
.profile-picture {
display: inline-block;
vertical-align: middle;
}
.profile-picture {
position: relative;
width: 35px;
img {
width: 100%;
height: auto;
}
}
.profile-info {
margin: 0 35px 0 10px;
}
span.name {
display: block;
color: $color-primary-inverse;
font-weight: 600;
vertical-align: top;
line-height: 1.3em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
margin-bottom: 0.2em;
}
span.title {
display: block;
@include font-size(12);
line-height: 1.3em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
&.status-online, &.status-offline {
.profile-picture {
&:after {
display: none;
position: absolute;
top: -4px;
right: -4px;
content: '';
width: 15px;
height: 15px;
border: 2px solid #000;
border-radius: 50%;
}
}
}
&.status-online {
.profile-picture {
&:after {
display: block;
background-color: #1AAE88;
}
}
}
&.status-offline {
.profile-picture {
&:after {
display: block;
background-color: #D2312D;
}
}
}
}
}
}
}
+186
View File
@@ -0,0 +1,186 @@
// USERBOX
// -----------------------------------------------------------------------------
/* Userbox */
.userbox {
display: inline-block;
margin: 3px 17px 0 0;
position: relative;
vertical-align: middle;
& > a {
display: inline-block;
text-decoration: none;
}
a:hover {
text-decoration: none;
}
.profile-info,
.profile-picture {
display: inline-block;
vertical-align: middle;
}
.profile-picture img {
width: 35px;
color: transparent;
}
.profile-info {
margin: 0 25px 0 10px;
}
.name,
.role {
display: block;
}
.name {
color: #000011;
@include font-size(13);
line-height: 1.2em;
}
.role {
color: #ACACAC;
@include font-size(11);
line-height: 1.2em;
}
.custom-caret {
color: #000011;
font-size: 16px;
font-weight: bold;
&:before {
content: "\f107";
}
}
}
// USERBOX OPENED
// -----------------------------------------------------------------------------
/* Userbox - Open */
.userbox.open {
& > a {
position: relative;
z-index: 993;
.custom-caret:before {
content: "\f106";
}
}
.dropdown-menu {
border: none;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.2);
@include box-sizing(content-box);
left: -11px;
padding: 45px 10px 0;
top: -10px;
width: 100%;
z-index: 992;
li {
margin-bottom: 5px;
}
a {
border-radius: 2px;
color: #7d7d7d;
display: block;
@include font-size(12);
@include line-height(15);
padding: 5px 10px;
&:hover {
background: $color-primary;
color: $color-primary-inverse;
}
}
i {
@include font-size(17);
margin-right: 3px;
vertical-align: middle;
}
}
}
// USERBOX MOBILE
// -----------------------------------------------------------------------------
/* Userbox - Mobile */
@media only screen and (max-width: 767px) {
.userbox {
float: left;
margin: 16px 0 0 12px;
position: relative;
&:after {
background: #E9E9E6;
content: '';
height: 63px;
margin: 0;
position: absolute;
right: -21px;
top: -18px;
width: 1px;
}
.profile-picture {
display: none;
}
&.open .dropdown-menu {
left: -5px;
padding: 43px 0 0 0;
}
}
}
// HEADER DARK
// -----------------------------------------------------------------------------
/* Header Dark - Userbox */
html.dark,
html.header-dark {
.userbox {
&:after {
background: darken( $sidebar-background, 5% );
}
.name,
.custom-caret {
color: $page-header-color;
}
&.open {
.dropdown-menu {
.name,
.custom-caret {
color: $page-header-color;
}
a {
color: $page-header-color;
&:hover {
color: #FFF;
}
}
}
}
.dropdown-menu {
background: lighten( $sidebar-background, 5% );
.divider {
background: $sidebar-background;
}
a {
color: $page-header-color;
}
}
}
}
@@ -0,0 +1,12 @@
// COMMON IMPORTS
// -----------------------------------------------------------------------------
@import "config/imports";
// BASIC
// -----------------------------------------------------------------------------
@import "base/elements";
// PAGES
// -----------------------------------------------------------------------------
@import "modules/tables/tables";
@import "modules/pages/invoice";
@@ -0,0 +1,16 @@
// DARK SKIN
// -----------------------------------------------------------------------------
html.dark {
.colorpicker {
background-color: $dark-color-3;
&:before {
border-bottom-color: $dark-color-1;
}
&:after {
border-bottom-color: $dark-color-3;
}
}
}
@@ -0,0 +1,49 @@
// MARKDOWN
// -----------------------------------------------------------------------------
/* Bootstrap Markdown */
.md-editor {
border-radius: 4px;
@include transition( border-color ease-in-out .15s, box-shadow ease-in-out .15s );
> .md-header {
border-radius: 4px 4px 0 0;
padding: 6px 4px 0;
}
> .md-preview,
> textarea {
background: #FFF;
border-bottom: none;
border-radius: 0 0 4px 4px;
padding: 10px;
outline: none;
width: 100% !important;
}
.btn-group {
margin-bottom: 6px;
}
}
// DARK
// -----------------------------------------------------------------------------
html.dark {
.md-editor {
border-color: $dark-color-3;
}
.md-editor >.md-header,
.md-editor .md-footer {
background: $dark-color-5;
}
.md-editor > .md-preview,
.md-editor > textarea {
background: $dark-color-3;
}
.md-editor > textarea {
color: #EEE;
border-color: $dark-color-1;
}
}
@@ -0,0 +1,7 @@
@media only screen and (max-width: 767px) {
.bootstrap-maxlength {
&.bottom-left {
margin-left: 40px;
}
}
}
@@ -0,0 +1,17 @@
// DARK SKIN
// -----------------------------------------------------------------------------
html.dark {
.multiselect-container {
background-color: $dark-color-3;
> li > a {
color: #EEE;
&:hover,
&:focus {
background-color: $dark-color-1;
color: #FFF;
}
}
}
}
@@ -0,0 +1,22 @@
.bootstrap-tagsinput {
width: 100%;
}
.form-group-invisible {
.bootstrap-tagsinput {
border: 0 none;
box-shadow: none;
background-color: transparent;
}
}
// DARK SKIN
// -----------------------------------------------------------------------------
html.dark {
.bootstrap-tagsinput {
background: $dark-color-3;
border-color: $dark-color-3;
}
}
@@ -0,0 +1,44 @@
// DARK SKIN
// -----------------------------------------------------------------------------
html.dark {
.bootstrap-timepicker-widget {
background-color: $dark-color-3;
&:before {
border-bottom-color: $dark-color-1;
}
&:after {
border-bottom-color: $dark-color-3;
}
&.timepicker-orient-bottom {
&:before {
border-top-color: $dark-color-1;
}
&:after {
border-top-color: $dark-color-3;
}
}
table td {
a {
color: #FFF;
&:hover {
border-color: $dark-color-3;
}
}
input {
background-color: $dark-color-2;
border-color: $dark-color-3;
color: #EEE;
}
}
}
}
@@ -0,0 +1,6 @@
// DARK - CODE MIRROR
// -----------------------------------------------------------------------------
html.dark .CodeMirror pre {
background: transparent;
border: none;
}
@@ -0,0 +1,254 @@
// DATEPICKER
// -----------------------------------------------------------------------------
/* Datepicker - Input Group Addon */
.input-daterange .input-group-addon {
min-width: 36px;
}
/* Datepicker - Base */
.datepicker {
padding: 10px;
margin: 0 auto;
line-height: 1.1em;
&.datepicker-inline {
line-height: 1.7em;
width: 100%;
}
table {
width: 100%;
tr {
td {
border-radius: 0;
}
}
thead {
tr {
th {
cursor: pointer;
@include font-size(13);
text-align: center;
font-weight: normal;
&.prev {
content: '\f0d9';
font-family: FontAwesome;
}
&.next {
content: '\f0da';
font-family: FontAwesome;
}
}
}
}
td {
text-align: center;
@include font-size(12);
&.day {
@include transition(background-color .1s ease-in .1s, color .1s ease-in .1s);
cursor: pointer;
}
}
}
}
// DATEPICKER SKINS
// -----------------------------------------------------------------------------
/* Datepicker - Skin Default */
.datepicker {
thead tr:first-child th:hover,
tfoot tr th:hover,
table tr td span:hover {
background: $color-primary;
color: $color-primary-inverse;
}
table {
tbody {
tr {
td {
span.old,
span.new {
color: #CCC;
&:hover {
color: $color-primary-inverse;
}
}
&.day {
&:hover {
background: $color-primary;
color: $color-primary-inverse;
}
&.active {
background: darken( $color-primary, 10% );
color: $color-primary-inverse;
}
&.new {
color: $color-default-inverse;
&:hover {
color: $color-primary-inverse;
}
}
}
}
}
}
}
}
/* Datepicker - Skin Dark */
.datepicker.datepicker-dark {
background: #33363F;
table {
thead {
tr {
th {
&.datepicker-switch {
color: $color-primary-inverse;
}
&.dow {
color: $color-default-inverse;
}
}
}
}
tbody {
tr {
td {
span.old,
span.new {
color: #444;
&:hover {
color: $color-primary-inverse;
}
}
&.day {
color: $color-primary-inverse;
&:hover {
background: $color-primary;
color: $color-primary-inverse;
}
&.active {
background: darken( $color-primary, 10% );
color: $color-primary-inverse;
}
&.new {
color: $color-default-inverse;
&:hover {
color: $color-primary-inverse;
}
}
}
}
}
}
}
}
/* Datepicker - Skin Primary */
.datepicker.datepicker-primary {
min-width: 255px;
&.datepicker-inline {
background: #fff;
border: 1px solid #eee;
}
table {
thead {
tr {
&:first-child {
background-color: $color-primary;
color: $color-primary-inverse;
th {
&:hover {
background-color: darken($color-primary, 10%);
}
&:first-child {
border-radius: 4px 0 0 0;
}
&:last-child {
border-radius: 0 4px 0 0;
}
}
}
&:last-child {
background-color: lighten($color-primary, 5%);
color: $color-primary-inverse;
th:hover {
background-color: $color-primary;
}
}
th {
border-radius: 0;
}
}
}
tbody {
tr {
}
}
}
}
// DARK
// -----------------------------------------------------------------------------
html.dark {
.input-daterange .input-group-addon {
text-shadow: none;
}
.datepicker-dropdown {
color: #EEE;
background-color: $dark-color-3;
&:after {
border-bottom-color: $dark-color-3;
}
&.datepicker-orient-bottom {
&:before {
border-top-color: rgba(0, 0, 0, 0.2);
}
&:after {
border-top-color: $dark-color-3;
}
}
}
.datepicker.datepicker-primary {
border-color: $dark-color-3;
background: $dark-color-3;
}
}
@@ -0,0 +1,31 @@
// FILE UPLOAD
// -----------------------------------------------------------------------------
.fileupload {
.uneditable-input {
.fa {
position: absolute;
top: 12px;
}
.fileupload-preview {
display: inline-block;
float: left;
overflow: hidden;
padding: 0 0 0 17px;
text-overflow: ellipsis;
width: 100%;
}
}
.btn {
border-radius: 0;
}
}
@media only screen and (max-width: 479px) {
.fileupload {
.uneditable-input {
width: 170px;
}
}
}
@@ -0,0 +1,54 @@
// FORM GROUP INVISIBLE
// -----------------------------------------------------------------------------
/* Form Group Invisible */
.form-group-invisible {
position: relative;
&.focus {
.control-label-invisible {
color: #0088cc;
}
}
.control-label-invisible {
bottom: 0;
display: block;
float: none;
left: 0;
line-height: 64px;
margin: 0;
padding-left: 50px;
position: absolute;
right: 0;
top: -15px;
@include transition( color ease-in-out .15s );
width: auto;
}
.form-control-invisible {
&,
&:focus,
&:active,
& + .bootstrap-tagsinput {
background: transparent !important;
border-color: transparent !important;
box-shadow: none !important;
}
& + .bootstrap-tagsinput {
margin-bottom: 4px;
}
}
}
@media only screen and (max-width: 767px) {
.form-group-invisible {
padding-top: 30px;
.control-label-invisible {
padding-left: 27px;
}
}
}
@@ -0,0 +1,365 @@
.switch {
display: inline-block;
vertical-align: middle;
cursor: pointer;
margin: 3px 0;
.ios-switch {
height: 35px;
width: 65px;
.handle {
height: 31px;
width: 31px;
}
}
@each $state in $states {
&.switch-#{nth($state,1)} {
.ios-switch .on-background {
background: #{nth($state,2)};
}
}
}
&.switch-lg {
.ios-switch {
height: 45px;
width: 75px;
.handle {
height: 41px;
width: 41px;
}
}
}
&.switch-sm {
.ios-switch {
height: 25px;
width: 55px;
.handle {
height: 21px;
width: 21px;
}
}
}
}
.ios-switch {
height: 45px;
width: 75px;
position: relative;
background-color: #E5E5E5;
border-radius: 100px;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
backface-visibility: hidden;
}
.ios-switch .background-fill {
width: 100%;
height: 100%;
border-radius: 100px;
position: absolute;
left: 0;
top: 0;
}
.ios-switch .on-background {
background-image: -o-linear-gradient(#00e459, #00e158);
background-image: -ms-linear-gradient(#00e459, #00e158);
background-image: -moz-linear-gradient(#00e459, #00e158);
background-image: -webkit-linear-gradient(#00e459, #00e158);
background-image: linear-gradient(#00e459, #00e158);
opacity: 0;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
filter: alpha(opacity=0);
z-index: 1;
-o-transition: .3s 0.2s;
-ms-transition: .3s 0.2s;
-moz-transition: .3s 0.2s;
-webkit-transition: .3s 0.2s;
transition: .3s 0.2s;
}
.ios-switch .state-background {
border-radius: 100px;
z-index: 2;
background-image: -o-linear-gradient(#ffffff, #FDFDFD);
background-image: -ms-linear-gradient(#ffffff, #FDFDFD);
background-image: -moz-linear-gradient(#ffffff, #FDFDFD);
background-image: -webkit-linear-gradient(#ffffff, #FDFDFD);
background-image: linear-gradient(#ffffff, #FDFDFD);
border: 2px solid #E5E5E5;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-o-transform: scale(1);
-ms-transform: scale(1);
-moz-transform: scale(1);
-webkit-transform: scale(1);
transform: scale(1);
-o-transition: .4s;
-ms-transition: .4s;
-moz-transition: .4s;
-webkit-transition: .4s;
transition: .4s;
}
.ios-switch .handle {
width: 41px;
height: 41px;
background-color: white;
top: 2px;
left: 2px;
position: absolute;
border-radius: 20px;
box-shadow: 0 0 3px 1px hsla(0, 0%, 0%, .075), 0 3px 5px hsla(0, 0%, 0%, .15), 1px 2px 2px hsla(0, 0%, 0%, .05);
z-index: 3;
-o-transition: -o-transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
-ms-transition: -ms-transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
-moz-transition: -moz-transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
-webkit-transition: -webkit-transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
-o-transition: transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
-ms-transition: transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
-moz-transition: transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
-webkit-transition: transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
transition: transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
-o-box-sizing: content-box;
-ms-box-sizing: content-box;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
.ios-switch.off .handle {
-o-animation: expand-off .3s 0.2s;
-ms-animation: expand-off .3s 0.2s;
-moz-animation: expand-off .3s 0.2s;
-webkit-animation: expand-off .3s 0.2s;
animation: expand-off .3s 0.2s;
-o-transform: translate(0px, 0);
-ms-transform: translate(0px, 0);
-moz-transform: translate(0px, 0);
-webkit-transform: translate(0px, 0);
transform: translate(0px, 0);
-o-transform: translate3d(0px, 0, 0);
-ms-transform: translate3d(0px, 0, 0);
-moz-transform: translate3d(0px, 0, 0);
-webkit-transform: translate3d(0px, 0, 0);
transform: translate3d(0px, 0, 0);
}
.ios-switch.off .on-background {
-o-transition: .3s 0s;
-ms-transition: .3s 0s;
-moz-transition: .3s 0s;
-webkit-transition: .3s 0s;
transition: .3s 0s;
}
.ios-switch.off .state-background {
-o-transition: .4s 0.25s;
-ms-transition: .4s 0.25s;
-moz-transition: .4s 0.25s;
-webkit-transition: .4s 0.25s;
transition: .4s 0.25s;
}
.ios-switch.on .handle {
-o-animation: expand-on .3s 0.2s;
-ms-animation: expand-on .3s 0.2s;
-moz-animation: expand-on .3s 0.2s;
-webkit-animation: expand-on .3s 0.2s;
animation: expand-on .3s 0.2s;
-o-transform: translate(30px, 0);
-ms-transform: translate(30px, 0);
-moz-transform: translate(30px, 0);
-webkit-transform: translate(30px, 0);
transform: translate(30px, 0);
-o-transform: translate3d(30px, 0, 0);
-ms-transform: translate3d(30px, 0, 0);
-moz-transform: translate3d(30px, 0, 0);
-webkit-transform: translate3d(30px, 0, 0);
transform: translate3d(30px, 0, 0);
}
.ios-switch.on .on-background {
opacity: 1;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
filter: alpha(opacity=100);
}
.ios-switch.on .state-background {
-o-transform: scale(0);
-ms-transform: scale(0);
-moz-transform: scale(0);
-webkit-transform: scale(0);
transform: scale(0);
}
@keyframes expand-on {
0% {
padding-right: 0;
}
40% {
padding-right: 9px;
}
100% {
padding-right: 0;
}
}
@keyframes expand-off {
0% {
padding-right: 0;
left: 2px;
}
40% {
padding-right: 9px;
left: -7px;
}
100% {
padding-right: 0;
left: 2px;
}
}
@-o-keyframes expand-on {
0% {
padding-right: 0;
}
40% {
padding-right: 9px;
}
100% {
padding-right: 0;
}
}
@-ms-keyframes expand-on {
0% {
padding-right: 0;
}
40% {
padding-right: 9px;
}
100% {
padding-right: 0;
}
}
@-moz-keyframes expand-on {
0% {
padding-right: 0;
}
40% {
padding-right: 9px;
}
100% {
padding-right: 0;
}
}
@-webkit-keyframes expand-on {
0% {
padding-right: 0;
}
40% {
padding-right: 9px;
}
100% {
padding-right: 0;
}
}
@-o-keyframes expand-off {
0% {
padding-right: 0;
left: 2px;
}
40% {
padding-right: 9px;
left: -7px;
}
100% {
padding-right: 0;
left: 2px;
}
}
@-ms-keyframes expand-off {
0% {
padding-right: 0;
left: 2px;
}
40% {
padding-right: 9px;
left: -7px;
}
100% {
padding-right: 0;
left: 2px;
}
}
@-moz-keyframes expand-off {
0% {
padding-right: 0;
left: 2px;
}
40% {
padding-right: 9px;
left: -7px;
}
100% {
padding-right: 0;
left: 2px;
}
}
@-webkit-keyframes expand-off {
0% {
padding-right: 0;
left: 2px;
}
40% {
padding-right: 9px;
left: -7px;
}
100% {
padding-right: 0;
left: 2px;
}
}
@@ -0,0 +1,441 @@
.select2-container {
&.form-control {
background: transparent;
border: none;
display: block;
margin: 0;
padding: 0;
}
.select2-choices .select2-search-field input,
.select2-choice,
.select2-choices {
background: none;
border-radius: 4px;
color: #555;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: #FFF;
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
border-color: #ccc;
padding: 0;
}
}
.select2-search input {
border-radius: 4px;
color: #555;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: #FFF;
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
border-color: #ccc;
}
.select2-container {
.select2-choices .select2-search-field input {
-webkit-box-shadow: none;
box-shadow: none;
}
.select2-choice {
height: 34px;
line-height: 1.42857;
}
&.select2-container-multi.form-control {
height: auto;
}
&.input-sm .select2-choice {
height: 30px;
line-height: 1.5;
border-radius: 3px;
}
}
.input-group-sm .select2-container .select2-choice {
height: 30px;
line-height: 1.5;
border-radius: 3px;
}
.select2-container.input-lg .select2-choice,
.input-group-lg .select2-container .select2-choice {
height: 45px;
line-height: 1.33;
border-radius: 6px;
}
.select2-container-multi {
.select2-choices .select2-search-field input {
height: 32px;
margin: 0;
}
&.input-sm .select2-choices .select2-search-field input {
height: 28px;
}
}
.input-group-sm .select2-container-multi .select2-choices .select2-search-field input {
height: 28px;
}
.select2-container-multi.input-lg .select2-choices .select2-search-field input,
.input-group-lg .select2-container-multi .select2-choices .select2-search-field input {
height: 43px;
}
.select2-chosen,
.select2-choice > span:first-child,
.select2-container .select2-choices .select2-search-field input {
padding: 6px 12px;
}
.input-sm .select2-chosen,
.input-group-sm .select2-chosen,
.input-sm .select2-choice > span:first-child,
.input-group-sm .select2-choice > span:first-child,
.input-sm .select2-choices .select2-search-field input,
.input-group-sm .select2-choices .select2-search-field input {
padding: 5px 10px;
}
.input-lg .select2-chosen,
.input-group-lg .select2-chosen,
.input-lg .select2-choice > span:first-child,
.input-group-lg .select2-choice > span:first-child,
.input-lg .select2-choices .select2-search-field input,
.input-group-lg .select2-choices .select2-search-field input {
padding: 10px 16px;
}
.select2-container-multi {
.select2-choices .select2-search-choice {
margin-top: 5px;
margin-bottom: 3px;
color: #fff;
background: $color-primary;
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
-webkit-box-shadow: none;
box-shadow: none;
border: 0 none;
font-size: 75%;
font-weight: bold;
}
&.input-sm .select2-choices .select2-search-choice {
margin-top: 3px;
margin-bottom: 2px;
}
}
.input-group-sm .select2-container-multi .select2-choices .select2-search-choice {
margin-top: 3px;
margin-bottom: 2px;
}
.select2-container-multi.input-lg .select2-choices .select2-search-choice,
.input-group-lg .select2-container-multi .select2-choices .select2-search-choice {
line-height: 24px;
}
.select2-container .select2-choice {
.select2-arrow, div {
border-left: 1px solid #ccc;
background: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
}
.select2-dropdown-open .select2-choice {
.select2-arrow, div {
border-left-color: transparent;
background: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
}
.select2-container .select2-choice {
.select2-arrow b, div b {
background-position: 0 3px;
}
}
.select2-dropdown-open .select2-choice {
.select2-arrow b, div b {
background-position: -18px 3px;
}
}
.select2-container.input-sm .select2-choice .select2-arrow b,
.input-group-sm .select2-container .select2-choice .select2-arrow b,
.select2-container.input-sm .select2-choice div b,
.input-group-sm .select2-container .select2-choice div b {
background-position: 0 1px;
}
.select2-dropdown-open.input-sm .select2-choice .select2-arrow b,
.input-group-sm .select2-dropdown-open .select2-choice .select2-arrow b,
.select2-dropdown-open.input-sm .select2-choice div b,
.input-group-sm .select2-dropdown-open .select2-choice div b {
background-position: -18px 1px;
}
.select2-container.input-lg .select2-choice .select2-arrow b,
.input-group-lg .select2-container .select2-choice .select2-arrow b,
.select2-container.input-lg .select2-choice div b,
.input-group-lg .select2-container .select2-choice div b {
background-position: 0 9px;
}
.select2-dropdown-open.input-lg .select2-choice .select2-arrow b,
.input-group-lg .select2-dropdown-open .select2-choice .select2-arrow b,
.select2-dropdown-open.input-lg .select2-choice div b,
.input-group-lg .select2-dropdown-open .select2-choice div b {
background-position: -18px 9px;
}
.has-warning {
.select2-choice,
.select2-choices {
border-color: #c09853;
}
.select2-container-active .select2-choice,
.select2-container-multi.select2-container-active .select2-choices {
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
border-color: #a47e3c;
}
&.select2-drop-active {
border-color: #a47e3c;
&.select2-drop.select2-drop-above {
border-top-color: #a47e3c;
}
}
}
.has-error {
.select2-choice,
.select2-choices {
border-color: #b94a48;
}
.select2-container-active .select2-choice,
.select2-container-multi.select2-container-active .select2-choices {
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
border-color: #953b39;
}
&.select2-drop-active {
border-color: #953b39;
&.select2-drop.select2-drop-above {
border-top-color: #953b39;
}
}
}
.has-success {
.select2-choice,
.select2-choices {
border-color: #468847;
}
.select2-container-active .select2-choice,
.select2-container-multi.select2-container-active .select2-choices {
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
border-color: #356635;
}
&.select2-drop-active {
border-color: #356635;
&.select2-drop.select2-drop-above {
border-top-color: #356635;
}
}
}
.select2-container-active .select2-choice,
.select2-container-multi.select2-container-active .select2-choices {
outline: none;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
-webkit-transition: border-color ease-in-out .15s box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s box-shadow ease-in-out .15s;
border-color: #66afe9;
}
.select2-drop-active {
border-color: #66afe9;
}
.select2-drop-auto-width,
.select2-drop.select2-drop-above.select2-drop-active {
border-top-color: #66afe9;
}
.input-group {
&.select2-bootstrap-prepend [class^=select2-choice] {
border-bottom-left-radius: 0 !important;
border-top-left-radius: 0 !important;
}
&.select2-bootstrap-append [class^=select2-choice] {
border-bottom-right-radius: 0 !important;
border-top-right-radius: 0 !important;
}
}
.select2-dropdown-open {
[class^=select2-choice] {
border-bottom-right-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
&.select2-drop-above [class^=select2-choice] {
border-top-right-radius: 0 !important;
border-top-left-radius: 0 !important;
}
}
.select2-dropdown-open.select2-drop-above .select2-choice,
.select2-dropdown-open.select2-drop-above .select2-choices {
background: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.select2-results .select2-highlighted {
color: #FFF;
background-color: #428bca;
}
.select2-bootstrap-append,
.select2-bootstrap-prepend {
.select2-container-multiple {
vertical-align: top;
}
.input-group-btn {
vertical-align: top;
.btn {
vertical-align: top;
}
}
}
.select2-container-multi .select2-choices .select2-search-choice-focus {
background: #ebebeb;
color: #333;
-webkit-box-shadow: none;
box-shadow: none;
border-color: #adadad;
}
.select2-search-choice-close {
background: none;
margin-top: -8px;
top: 50%;
&:after {
content: 'x';
font-size: 10px;
color: #fff;
padding: 0 4px;
font-weight: bold;
}
}
.select2-container .select2-choice abbr {
top: 50%;
}
.select2-results {
.select2-no-results,
.select2-searching,
.select2-selection-limit {
background-color: #fcf8e3;
color: #c09853;
}
}
.select2-container.select2-container-disabled {
.select2-choice,
.select2-choices {
cursor: not-allowed;
background-color: #eee;
border-color: #ccc;
}
.select2-choice {
.select2-arrow, div {
background-color: transparent;
border-left: 1px solid transparent;
}
}
.select2-choices {
.select2-arrow, div {
background-color: transparent;
border-left: 1px solid transparent;
}
}
}
.select2-search input.select2-active,
.select2-container-multi .select2-choices .select2-search-field input.select2-active,
.select2-more-results.select2-active {
background-position: right 4px center;
}
// DARK SKIN
// -----------------------------------------------------------------------------
html.dark {
.select2-container {
.select2-choices .select2-search-field input,
.select2-choice,
.select2-choices {
color: #EEE;
background-color: $dark-color-3;
border-color: $dark-color-3;
}
}
.select2-search {
position: relative;
input {
color: #EEE;
background: $dark-color-4;
border-color: $dark-color-5;
&.select2-active {
background: $dark-color-4;
}
}
&:before {
font-family: 'FontAwesome';
content: "\f002";
position: absolute;
right: 15px;
top: 50%;
color: #EEE;
font-size: 12px;
margin: -11px 0 0;
}
}
.select2-drop {
background-color: $dark-color-3;
border-color: $dark-color-2;
}
.select2-container-multi {
.select2-choices .select2-search-choice {
color: #EEE;
}
}
.select2-container .select2-choice .select2-arrow,
.select2-container .select2-choice div {
border-color: $dark-color-3;
}
.select2-results .select2-result-label {
color: #EEE;
}
}
@@ -0,0 +1,29 @@
.spinner-buttons {
&.btn-group-vertical .btn {
height: 18px;
margin: 0 0 0 -1px;
padding-left: 6px;
padding-right: 6px;
text-align: center;
width: 22px;
line-height: 14px;
}
&.btn-group-vertical .btn i {
margin-top: -2px;
}
&.btn-group-vertical .btn:first-child {
border-radius: 0 4px 0 0 !important;
-webkit-border-radius: 0 4px 0 0 !important;
}
&.btn-group-vertical .btn:last-child {
border-radius: 0 0 4px !important;
-webkit-border-radius: 0 0 4px !important;
margin-top: -1px;
height: 17px;
}
}
@@ -0,0 +1,104 @@
// WYSIWYG
// -----------------------------------------------------------------------------
/* Summernote */
.note-editor {
border: 1px solid #ddd;
border-radius: 4px;
@include transition( border-color ease-in-out .15s, box-shadow ease-in-out .15s );
&.active {
border-color: #66afe9;
box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,0.6);
}
.note-title {
padding-top: 0 !important;
}
.note-toolbar {
background-color: #FFF;
border: {
bottom: 1px dashed #ddd;
left: none;
right: none;
top: none;
}
border-radius: 4px 4px 0 0;
padding: 6px 4px 0;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
i {
margin: 0;
&:before {
margin: 0;
}
}
.btn-group {
float: none !important;
margin: 0 0 6px 5px;
}
@media only screen and (max-width: 767px) {
text-align: center;
}
}
.note-editable {
clear: both;
background: #FFF;
border: none;
border-radius: 0 0 4px 4px;
font-family: Arial, Helvetica, Sans-serif;
}
.note-statusbar {
background: #FFF;
border-radius: 0 0 4px 4px;
.note-resizebar {
border-color: #DDD;
display: block;
}
}
}
// DARK
// -----------------------------------------------------------------------------
html.dark {
.note-editor {
border-color: $dark-color-3;
color: #EEE;
.note-toolbar,
.note-statusbar {
background: $dark-color-5;
border-color: $dark-color-1;
}
.note-editable {
background: $dark-color-3;
border-color: $dark-color-1;
}
.note-statusbar .note-resizebar {
border-color: $dark-color-1;
.note-icon-bar {
border-color: #444;
}
}
.caret {
border-color: #FFF transparent transparent;
}
}
}
@@ -0,0 +1,528 @@
// WIZARD: TABS
// -----------------------------------------------------------------------------
.wizard-tabs {
.panel-body & {
margin: -15px -15px 15px;
}
.panel-body-nopadding & {
margin: 0;
}
ul {
display: table;
width: 100%;
padding: 0;
margin: 0;
list-style: none;
& > li {
display: table-cell;
border-bottom: 1px solid $wizard-nav-item-border-color;
&.active {
border-bottom-color: transparent;
& > a {
&,
&:hover,
&:focus {
background: $wizard-nav-item-background-active-hover;
color: $wizard-nav-default-color;
}
&:after {
border-left-color: $wizard-nav-item-background-active-hover;
}
}
.badge {
background-color: $color-primary;
}
}
&.disabled {
& > a {
&,
&:hover,
&:focus {
color: $wizard-nav-disabled-color;
}
}
.badge {
background-color: $wizard-nav-disabled-color;
}
}
& > a {
position: relative;
display: block;
padding: 5px;
@include font-size($body-font-size);
text-decoration: none;
color: $wizard-nav-default-color;
&,
&:hover {
background: $wizard-nav-item-background;
color: $wizard-nav-default-color;
}
&:hover {
box-shadow: none;
}
&:active,
&:focus {
border-bottom: 0;
}
// Chevron
&:before,
&:after {
display: block;
content: '';
position: absolute;
top: 0;
right: -10px;
z-index: 1;
border: 17px solid transparent;
border-right: 0;
border-left: 10px solid transparent;
width: 0;
height: 0;
}
&:before {
z-index: 1;
right: -11px;
border-left-color: $wizard-nav-item-chevron-border-color;
}
&:after {
z-index: 2;
border-left-color: $wizard-nav-item-background;
}
}
&:last-child {
& > a {
&:before,
&:after {
display: none;
}
}
}
}
}
}
// DARK - WIZARD: TABS
// -----------------------------------------------------------------------------
html.dark {
.wizard-tabs {
ul > li {
border-color: $dark-color-3;
&.active {
border-color: $dark-color-4;
a {
&,
&:hover,
&:active {
background: $dark-color-4;
color: #EEE;
}
&:before {
border-left-color: $dark-color-2;
}
&:after {
border-left-color: $dark-color-4;
}
}
}
a {
&,
&:hover {
background: $dark-color-3;
color: #EEE;
}
&:before {
border-left-color: $dark-color-2;
}
&:after {
border-left-color: $dark-color-3;
}
}
}
}
}
// WIZARD: PROGRESS
// -----------------------------------------------------------------------------
html,
html.dark {
.wizard-progress {
margin: 0 15px;
.steps-progress {
height: 2px;
margin: 0 38px;
position: relative;
top: 15px;
background: $wizard-progress-default-background;
.progress-indicator {
height: 100%;
width: 0;
background: $wizard-progress-completed-background;
@include transition(width .2s ease-in);
}
}
.wizard-steps {
list-style: none;
margin: 0;
padding: 15px 0 0;
display: inline-block;
width: 100%;
font-size: 0;
text-align: justify;
-ms-text-justify: distribute-all-lines; /* IE8+ */
&:after {
/*
* We don't need IE6 and IE7 inline-block hack support here
* since they don't support :after anyways (the text-justify
* properties for them are above)... IE8 and above have native
* inline-block support so for IE8+, both the text-justify and
* :after will take effect but it doesn't have any negative
* effects since this element is invisible
*/
display: inline-block;
width: 100%;
content: '.';
font-size: 0;
height: 0;
line-height: 0;
visibility: hidden;
}
li {
display: inline-block;
vertical-align: top;
min-width: 50px;
max-width: 100px;
a {
position: relative;
display: block;
padding: 25px 8px 0;
font-size: 11px;
color: $wizard-progress-item-color;
font-weight: bold;
line-height: 1;
text-align: center;
text-decoration: none;
word-break: break-all;
span {
position: absolute;
top: 0;
left: 50%;
display: block;
background: $wizard-progress-default-background;
color: $wizard-progress-default-color;
line-height: 26px;
text-align: center;
margin-top: -15px;
margin-left: -15px;
width: 30px;
height: 30px;
border-radius: 35px;
font-size: 13px;
text-indent: -1px;
border: 2px solid $wizard-progress-default-border-color;
@include transition(all .2s ease-in);
}
}
// WIZARD PROGRESS ITEM: COMPLETED
&.completed {
a {
span {
background: $color-primary;
color: $wizard-progress-completed-color;
}
}
}
// WIZARD PROGRESS ITEM: ACTIVE
&.active {
a {
span {
background: $wizard-progress-active-background;
color: $wizard-progress-active-color;
border-color: $wizard-progress-active-border-color;
}
}
}
&.completed.active {
a {
span {
color: #FFF;
}
}
}
}
}
// PROGRESS SIZE: LARGE
&.wizard-progress-lg {
margin: 0 auto 30px;
width: 80%;
.steps-progress {
margin: 0 52px;
height: 4px;
top: 34px;
}
.wizard-steps {
padding-top: 30px;
}
ul {
li {
max-width: 135px;
a {
padding-top: 40px;
font-size: 14px;
span {
width: 60px;
height: 60px;
margin-top: -30px;
margin-left: -30px;
border-radius: 60px;
line-height: 52px;
font-size: 22px;
border-width: 4px;
}
}
}
}
}
}
}
// DARK - WIZARD: PROGRESS
// -----------------------------------------------------------------------------
html.dark {
.wizard-progress .wizard-steps li a {
color: $dark-default-text;
}
.wizard-progress.wizard-progress ul li a span {
background: darken( $dark-color-3, 2% );
border-color: darken( $dark-color-3, 2% );
}
.wizard-progress .wizard-steps li.active a span {
background: darken( $dark-color-3, 2% );
}
.wizard-progress .steps-progress {
background: darken( $dark-color-3, 2% );
}
}
// WIZARD: PROGRESS RESPONSIVE
// -----------------------------------------------------------------------------
@media only screen and (max-width: 991px) {
html, html.dark {
.wizard-progress {
&,
&.wizard-progress-lg {
width: auto;
margin-bottom: 0;
margin-left: -15px;
margin-right: -15px;
}
// initial values
.steps-progress {
display: none;
}
.wizard-steps {
display: block;
font-size: 0;
overflow: hidden;
white-space: nowrap;
text-align: left;
width: 100%;
li {
@include transition( margin .5s linear );
display: inline-block;
float: none;
position: relative;
width: 100%;
min-width: 0;
max-width: none;
a {
position: relative;
z-index: 2;
}
&:before,
&:after {
content: '';
display: block;
height: 2px;
position: absolute;
top: 0;
width: 50%;
}
&:before {
background: $wizard-progress-completed-background;
left: 0;
}
&:after {
background: $wizard-progress-default-background;
right: 0;
}
&.active {
margin-left: 0;
}
&.completed {
margin-left: -100%;
&:after {
background: $wizard-progress-completed-background;
}
}
&.completed.active {
margin-left: 0;
}
&:first-child {
&:before {
display: none;
}
}
&:last-child {
&:after {
display: none;
}
}
}
}
}
.wizard-progress.wizard-progress-lg {
.wizard-steps {
li {
min-width: 0;
max-width: none;
&:before,
&:after {
height: 4px;
}
}
}
}
}
}
// WIZARD: TAB CONTENT
// -----------------------------------------------------------------------------
.form-wizard {
margin-bottom: 20px;
.tabs {
margin-bottom: 0;
}
.tab-content {
background: none;
border: 0 none;
box-shadow: none;
}
ul.pager {
.next,
.previous,
.first,
.last,
.finish {
a {
cursor: pointer;
}
}
.disabled {
a {
cursor: not-allowed;
}
}
}
}
// DARK - WIZARD PAGER
// -----------------------------------------------------------------------------
html.dark {
.form-wizard {
.pager {
li > a,
li > a:hover,
li > a:focus,
li > span {
background: $dark-color-4;
border-color: $dark-color-3;
color: #EEE;
}
.disabled {
& > a,
& > a:hover,
& > a:focus,
& > span {
background: $dark-color-3;
border-color: $dark-color-3;
color: #EEE;
}
}
}
}
}
@@ -0,0 +1,560 @@
$color-light-grey: #EFEFEF;
$color-dark-grey: #888;
$color-red: #D23B3D;
$color-orange: #E2A917;
$color-blue: #1BC3E1;
$color-green: #9AE14F;
// MAILBOX GENERIC
// -----------------------------------------------------------------------------
.mailbox {
.content-with-menu-container {
background: #FFF;
}
.mailbox-bullets {
.ball {
border: 5px solid red;
border-radius: 100px;
display: block;
float: right;
margin-top: 6px;
&.pink {
border-color: #EA4C89;
}
&.green {
border-color: #9AE14F;
}
&.blue {
border-color: #1BC3E1;
}
&.orange {
border-color: #E2A917;
}
}
}
}
// MAILBOX MAIN
// -----------------------------------------------------------------------------
.mailbox .mailbox-folder {
height: auto !important;
padding: 0 0 $content-body-padding;
}
// MAILBOX HEADER
// -----------------------------------------------------------------------------
/* mailbox - main header */
.mailbox .mailbox-folder .mailbox-header {
padding: 38px 40px 43px;
@media only screen and (max-width: 767px) {
padding: 20px;
}
.mailbox-title {
@media only screen and (max-width: 767px) {
margin-bottom: 10px !important;
}
}
.search {
float: right;
margin-top: 3px;
max-width: 100px;
input[type="text"] {
@include transition-property( width, margin );
@include transition-duration( .3s );
@include transition-timing-function( cubic-bezier(.05, .91, .25, .99) );
&:focus {
margin-left: -150%;
width: 250%;
@media only screen and (max-width: 767px) {
margin-left: 0;
width: 100%;
}
}
}
@media only screen and (max-width: 767px) {
max-width: none;
}
}
}
// MAILBOX ACTIONS
// -----------------------------------------------------------------------------
/* mailbox - actions */
.mailbox .mailbox-actions {
border: {
top: 1px solid $color-light-grey;
}
padding: {
left: 40px;
right: 40px;
}
@media only screen and (max-width: 767px) {
padding: {
left: 20px;
right: 20px;
}
text-align: center;
}
ul {
a.item-action {
background: #FFF;
border-radius: 100px;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
color: #B4BBC1;
display: inline-block;
@include font-size( 14 );
height: 30px;
@include line-height( 30 );
position: relative;
width: 30px;
text-align: center;
@include transition-property( color );
@include transition-duration( .3s );
@include transition-timing-function( cubic-bezier(.2, .6, .25, 1) );
@include transition-delay( .1s );
&:hover {
color: #57636C;
text-decoration: none;
}
@each $state in $states {
&.text-#{nth($state,1)} {
&:hover {
color: darken(nth($state,2), 10%) !important;
}
}
}
}
}
}
/* mailbox - mail list */
.mailbox .mailbox-email-list {
border: {
top: 1px solid lighten($color-light-grey, 3%);
}
@include font-size( 15 );
font-weight: 300;
@media only screen and (max-width: 767px) {
position: static !important;
}
li {
border: {
bottom: 1px solid lighten($color-light-grey, 3%);
}
height: 50px;
line-height: 50px;
padding: 0 40px;
position: relative;
@media only screen and (max-width: 767px) {
height: 75px;
padding: 0 20px;
}
a {
color: #777;
}
&:hover {
background: #FAFAFA;
}
&.unread {
a {
color: #555;
font-weight: 500;
}
}
&.active {
background: $color-primary;
a {
color: $color-primary-inverse;
}
}
}
.mail-label {
border: 4px solid transparent;
border-radius: 10px;
display: inline-block;
left: 16px;
position: absolute;
top: 21px;
@media only screen and (max-width: 767px) {
border-radius: 0;
border-width: 1px;
bottom: 0;
left: 0;
top: 0;
}
}
.col-sender {
float: left;
overflow: hidden;
text-overflow: ellipsis;
width: 250px;
white-space: nowrap;
@media only screen and (max-width: 767px) {
width: 100%;
}
p {
left: 80px;
overflow: hidden;
position: absolute;
right: 0;
text-overflow: ellipsis;
top: 0;
white-space: nowrap;
@media only screen and (max-width: 767px) {
left: 60px;
}
}
}
.col-mail {
bottom: 0;
left: 290px;
position: absolute;
right: 40px;
top: 0;
@media only screen and (max-width: 767px) {
left: 60px;
right: 20px;
}
.mail-content,
.mail-date,
.mail-attachment {
position: absolute;
top: 0;
}
.mail-content {
left: 0;
right: 140px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@media only screen and (max-width: 767px) {
right: 0;
top: 25px;
}
}
.mail-attachment {
color: #BBB;
right: 100px;
line-height: 50px;
@media only screen and (max-width: 767px) {
@include font-size( 11 );
@include line-height( 14 );
right: 55px;
top: 6px;
}
}
.mail-date {
padding-left: 80px;
right: 0;
width: 150px;
@media only screen and (max-width: 767px) {
@include font-size( 10 );
@include line-height( 14 );
padding-left: 0;
text-align: right;
top: 5px;
width: 130px;
}
}
}
}
/* Mailbox Mail List - Unstyle nano for non fixed layouts and responsive */
html.scroll,
html.boxed {
.mailbox .mailbox-email-list {
.nano {
position: static;
height: auto;
overflow: visible;
width: auto;
.nano-content {
position: static;
overflow: visible;
}
}
}
}
@media only screen and (max-width: 767px) {
.mailbox .mailbox-email-list {
.nano {
position: static;
height: auto;
overflow: visible;
width: auto;
.nano-content {
position: static;
overflow: visible;
}
}
}
}
/* Mailbox Mail List + Fixed Layout */
@media only screen and (min-width: 768px) {
html.fixed {
.mailbox .mailbox-email-list {
bottom: 0;
left: 0;
position: absolute;
right: 0;
overflow: hidden;
top: 191px;
}
}
}
// MAILBOX MAIL
// -----------------------------------------------------------------------------
/* Mailbox - Email */
.mailbox .mailbox-email {
background: #FAFAFA;
.mailbox-email-header {
background: #FFF;
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
margin: (-($content-body-padding)) (-($content-body-padding)) 0 (-($content-body-padding));
padding: 30px;
@media only screen and (max-width: 767px) {
margin-left: -15px;
margin-right: -15px;
}
}
.mailbox-close-mail {
color: $color-primary;
cursor: pointer;
font-weight: 300;
float: left;
&:hover {
color: lighten( $color-primary, 5% );
}
&,
&:focus {
text-decoration: none;
}
}
.panel {
.panel-heading {
background: #FFF;
border-bottom-color: #EFEFEF;
.panel-actions {
top: 17px;
a {
&:hover {
background: #FFF;
color: $color-primary;
}
}
}
}
.panel-footer {
background: #FFF;
border-top-color: #EFEFEF;
color: #BBB;
}
}
}
/* Mailbox - Showing Menu Toggle */
@media only screen and (min-width: 768px) and (max-width: 1365px) {
.mailbox .mailbox-folder .mailbox-header {
.mailbox-title {
position: relative;
top: 28px;
}
}
.mailbox .mailbox-email {
.mailbox-email-header {
padding-top: 80px;
}
}
html.inner-menu-opened {
.mailbox .mailbox-folder .mailbox-header {
.mailbox-title {
position: static;
}
}
.mailbox .mailbox-email {
.mailbox-email-header {
padding-top: 30px;
}
}
}
}
// MAILBOX COMPOSE
// -----------------------------------------------------------------------------
/* Mailbox Compose */
.mailbox-compose {
margin: (-($content-body-padding / 2)) (-($content-body-padding)) 0 (-($content-body-padding));
padding: 0 15px;
.compose {
margin: 0 40px;
.note-editable {
min-height: 250px;
}
.note-editor,
.note-toolbar {
border: none;
}
.note-resizebar {
display: none;
}
}
}
@media only screen and (max-width: 767px) {
.mailbox-compose {
margin: (-($content-body-padding / 2)) -15px 0 -15px;
.compose {
margin-left: 5px;
margin-right: 5px;
}
}
}
// DARK
// -----------------------------------------------------------------------------
/* dark */
html.dark {
.mailbox {
.mailbox-email,
.content-with-menu-container {
background: $dark-bg;
}
.mailbox-folder .mailbox-header .input-search .btn-default {
background: transparent;
}
.mailbox-actions {
border-top-color: lighten($dark-bg, 5%);
ul {
a.item-action {
background: $dark-color-4;
}
}
}
.mailbox-email-list {
border-top-color: lighten($dark-bg, 5%);
li {
border-bottom-color: lighten($dark-bg, 3%);
&:hover {
background: darken( $dark-bg, 3% );
}
a {
color: $dark-default-text;
}
&.unread {
a {
color: lighten( $dark-default-text, 10% );
}
}
}
}
.mailbox-email {
.mailbox-email-header {
background: $dark-color-2;
}
.panel {
.panel-heading,
.panel-footer {
background-color: $dark-color-3;
border-color: $dark-color-2;
color: $dark-default-text;
.panel-title {
color: $dark-default-text;
}
}
.panel-heading {
.panel-actions {
a:hover {
background: $dark-color-1;
}
}
}
}
}
.mailbox-compose {
.note-editor {
.note-toolbar,
.note-statusbar,
.note-editable {
background: $dark-bg;
}
.note-editable {
color: $dark-default-text;
}
}
}
}
}
@@ -0,0 +1,69 @@
@media only screen and (max-width: 767px) {
#gmap {
margin: -40px -15px 0 -15px;
}
html.mobile-device {
#gmap {
min-height: 100px;
}
}
}
@media only screen and (min-width: 768px) {
#gmap {
bottom: 0;
height: auto !important;
left: 0;
position: absolute !important;
right: 0;
top: 0;
min-height: 0;
}
}
// MARKERS LIST
// -----------------------------------------------------------------------------
/* List Containing Markers */
.list-markers {
border-bottom: 1px solid lighten( $sidebar-background, 2% );
padding-bottom: 10px;
li {
position: relative;
}
p {
margin: 0 0 2px 0;
padding: 3px 55px 3px 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 100%;
}
.location-action {
position: absolute;
right: 0;
top: 2px;
&.location-edit {
right: 15px;
top: 3px;
}
&.location-center {
right: 37px;
}
}
}
// MODAL FOR MARKERS
// -----------------------------------------------------------------------------
/* Modal Add/Edit Markers */
.marker-modal {
.modal-dialog {
max-width: 450px;
}
}
@@ -0,0 +1,19 @@
.jqvmap-zoomin,
.jqvmap-zoomout {
background: $color-primary;
border-radius: 2px;
color: $color-primary-inverse;
height: 20px;
line-height: 20px;
padding: 0;
width: 20px;
text-align: center;
&:hover {
background: darken($color-primary, 5%);
}
}
.jqvmap-zoomout {
top: 35px;
}
@@ -0,0 +1,657 @@
// FROM GITHUB
// -----------------------------------------------------------------------------
.fc {
direction: ltr;
text-align: left;
}
.fc table {
border-collapse: collapse;
border-spacing: 0;
}
.fc .btn {
line-height: 1.2em;
}
html .fc {
font-size: 1em;
}
.fc table {
font-size: 1em;
}
.fc td, .fc th {
padding: 1px;
vertical-align: top;
}
.fc-header td {
white-space: nowrap;
vertical-align: middle;
}
.fc-header-left {
width: 1%;
text-align: left;
}
.fc-header-center {
text-align: center;
}
.fc-header-right {
width: 99%;
text-align: right;
}
.fc-header td.fc-header-right {
white-space: normal;
}
.fc-header-title {
display: inline-block;
vertical-align: top;
}
.fc-header-title h2 {
margin: 0 0 $spacement-sm;
white-space: nowrap;
}
.fc .fc-header-space {
padding-left: 10px;
}
.fc-header .fc-button {
margin-bottom: 1em;
vertical-align: top;
margin-right: -1px;
}
.fc-header .fc-corner-right {
margin-right: 1px;
}
.fc-header .ui-corner-right {
margin-right: 0;
}
.fc-header .fc-state-hover, .fc-header .ui-state-hover {
z-index: 2;
}
.fc-header .fc-state-down {
z-index: 3;
}
.fc-header .fc-state-active, .fc-header .ui-state-active, .fc-header .ui-state-down {
z-index: 4;
background-color: #e6e6e6;
background-color: #d9d9d9;
background-image: none;
outline: 0;
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.fc-content {
clear: both;
}
.fc-view {
width: 100%;
}
.fc .ui-widget-header {
border-color: #dddddd;
padding: 4px 0;
}
thead th.fc-first {
border-top-left-radius: 5px;
-moz-border-top-left-radius: 5px;
-webkit-border-top-left-radius: 5px;
}
thead th.fc-last {
border-top-right-radius: 5px;
-moz-border-top-right-radius: 5px;
-webkit-border-top-right-radius: 5px;
}
.ui-state-highlight.fc-today {
background: #f4f4f4;
margin: 2px !important;
border: 0;
border-left: 1px solid #dddddd;
border-top: 1px solid #dddddd;
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
}
.fc-button {
position: relative;
display: inline-block;
cursor: pointer;
}
.fc-button-inner {
position: relative;
float: left;
overflow: hidden;
}
.fc-button-content {
position: relative;
float: left;
height: 1.9em;
line-height: 1.9em;
padding: 0 0.6em;
white-space: nowrap;
}
.fc-button-content .fc-icon-wrap {
position: relative;
float: left;
top: 50%;
}
.fc-button-content .ui-icon {
position: relative;
float: left;
margin-top: -50%;
*margin-top: 0;
*top: -50%;
}
.fc-state-default {
border-style: solid;
border-color: #cccccc #bbbbbb #aaaaaa;
background: #f3f3f3;
color: black;
}
.fc-state-default .fc-button-effect {
position: absolute;
top: 50%;
left: 0;
}
.fc-state-default .fc-button-effect span {
position: absolute;
top: -100px;
left: 0;
width: 500px;
height: 100px;
border-width: 100px 0 0 1px;
border-style: solid;
border-color: white;
background: #444444;
opacity: 0.09;
filter: alpha(opacity=9);
}
.fc-state-default .fc-button-inner {
border-style: solid;
border-color: #cccccc #bbbbbb #aaaaaa;
background: #f3f3f3;
color: black;
}
.fc-state-hover {
border-color: #999999;
}
.fc-state-hover .fc-button-inner {
border-color: #999999;
}
.fc-state-down {
border-color: #555555;
background: #777777;
}
.fc-state-down .fc-button-inner {
border-color: #555555;
background: #777777;
}
.fc-state-active {
border-color: #555555;
background: #777777;
color: white;
}
.fc-state-active .fc-button-inner {
border-color: #555555;
background: #777777;
color: white;
}
.fc-state-disabled {
color: #999999;
border-color: #dddddd;
cursor: default;
}
.fc-state-disabled .fc-button-inner {
color: #999999;
border-color: #dddddd;
}
.fc-state-disabled .fc-button-effect {
display: none;
}
.fc-event {
border-style: solid;
border-width: 0;
font-size: 0.85em;
cursor: default;
}
a.fc-event, .fc-event-draggable {
cursor: pointer;
}
a.fc-event {
text-decoration: none;
}
.fc-rtl .fc-event {
text-align: right;
}
.fc-event-skin {
border: 0;
}
.fc-event-inner {
position: relative;
width: 100%;
height: 100%;
border-style: solid;
border-width: 0;
overflow: hidden;
}
.fc-event-time, .fc-event-title {
padding: 0 1px;
}
.fc-event-hori {
border-width: 1px 0;
margin-bottom: 1px;
}
.fc-event-hori .ui-resizable-e {
top: 0 !important;
}
table.fc-border-separate {
border-collapse: separate;
}
.fc-border-separate th, .fc-border-separate td {
border-width: 1px 0 0 1px;
}
.fc-border-separate th.fc-last, .fc-border-separate td.fc-last {
border-right-width: 1px;
}
.fc-border-separate tr.fc-last th, .fc-border-separate tr.fc-last td {
border-bottom-width: 1px;
}
.fc-border-separate tbody tr.fc-first td, .fc-border-separate tbody tr.fc-first th {
border-top-width: 0;
}
.fc-grid th {
text-align: center;
}
.fc-grid .fc-day-number {
float: right;
padding: 0 2px;
}
.fc-grid .fc-other-month .fc-day-number {
opacity: 0.3;
filter: alpha(opacity=30);
}
.fc-rtl .fc-grid .fc-day-number {
float: left;
}
.fc-rtl .fc-grid .fc-event-time {
float: right;
}
.fc-agenda table {
border-collapse: separate;
}
.fc-agenda-days th {
text-align: center;
}
.fc-agenda .fc-agenda-axis {
width: 50px;
padding: 0 4px;
vertical-align: middle;
text-align: right;
white-space: nowrap;
font-weight: normal;
}
.fc-agenda .fc-day-content {
padding: 2px 2px 1px;
}
.fc-agenda-days .fc-agenda-axis {
border-right-width: 1px;
}
.fc-agenda-days .fc-col0 {
border-left-width: 0;
}
.fc-agenda-allday th {
border-width: 0 1px;
}
.fc-agenda-allday .fc-day-content {
min-height: 34px;
}
.fc-agenda-divider-inner {
height: 2px;
overflow: hidden;
}
.fc-widget-header .fc-agenda-divider-inner {
background: #eeeeee;
}
.fc-agenda-slots th {
border-width: 1px 1px 0;
}
.fc-agenda-slots td {
border-width: 1px 0 0;
background: none;
}
.fc-agenda-slots td div {
height: 20px;
}
.fc-agenda-slots tr.fc-slot0 th, .fc-agenda-slots tr.fc-slot0 td {
border-top-width: 0;
}
.fc-agenda-slots tr.fc-minor th, .fc-agenda-slots tr.fc-minor td {
border-top-style: dotted;
}
.fc-agenda-slots tr.fc-minor th.ui-widget-header {
*border-top-style: solid;
}
.fc-event-vert {
border-width: 0 1px;
}
.fc-event-vert .fc-event-head, .fc-event-vert .fc-event-content {
position: relative;
z-index: 2;
width: 100%;
overflow: hidden;
}
.fc-event-vert .fc-event-time {
white-space: nowrap;
font-size: 10px;
}
.fc .ui-draggable-dragging .fc-event-bg, .fc-select-helper .fc-event-bg {
display: none;
}
.fc-event-vert .ui-resizable-s {
bottom: 0 !important;
}
// -----------------------------------------------------------------------------
// THEME CUSTOMIZATION
// -----------------------------------------------------------------------------
/* Fullcalendar - header */
.fc {
.fc-header-center {
display: none;
}
.fc-widget-header {
background: $color-primary;
border-color: $color-primary;
color: $color-primary-inverse;
@include font-size(13);
font-weight: 500;
padding: 10px 0;
text-transform: uppercase;
}
.fc-header-title {
h2 {
color: $color-dark;
@include font-size(24);
font-weight: normal;
&:before {
color: $color-primary;
content: "\f073";
display: inline-block;
font-family: FontAwesome;
@include font-size(30);
font-style: normal;
font-weight: normal;
line-height: 1;
margin-right: 10px;
-webkit-font-smoothing: antialiased;
}
}
}
}
// BORDERS
// -----------------------------------------------------------------------------
/* Fullcalendar - Borders */
.fc-widget-content {
border-color: #DDD;
}
/* Fullcalendar - Border Radius */
.fc-content {
thead {
.fc-last {
.fc-first {
border-top-left-radius: 4px;
}
.fc-last {
border-top-right-radius: 4px;
}
}
}
tbody {
.fc-last {
.fc-first {
border-bottom-left-radius: 4px;
}
.fc-last {
border-bottom-right-radius: 4px;
}
}
}
}
// TODAY
// -----------------------------------------------------------------------------
/* Fullcalendar - Today */
.fc-content {
// today
.fc-widget-content.fc-today {
background: #F7F7F7;
}
}
// EVENTS
// -----------------------------------------------------------------------------
/* Fullcalendar - Event Basics */
.fc-event {
background: $color-primary;
border-color: $color-primary;
.fc-event-inner {
padding: 2px 5px;
}
}
/* Fullcalendar - Link Event */
a.fc-event:hover {
.fc-event-inner {
color: #FFF;
text-decoration: underline;
}
}
/* Fullcalendar - Event Time Format */
.fc-grid {
.fc-event-time {
font-weight: 500;
&:after {
content: ' /';
}
}
.fc-event-title {
font-weight: 300;
}
}
// STATES
// -----------------------------------------------------------------------------
/* Fullcalendar - Event States */
/* Buttons - States */
.fc-event.fc-event-default {
background: $color-default;
border-color: $color-default;
.fc-event-inner {
color: $color-default-inverse;
}
}
a.fc-event.fc-event-default:hover {
color: $color-default-inverse;
}
@each $state in $states {
.fc-event.fc-event-#{nth($state,1)} {
background: #{nth($state,2)};
border-color: #{nth($state,2)};
.fc-event-inner {
color: #{nth($state,3)};
}
}
a.fc-event.fc-event-#{nth($state,1)}:hover {
color: #{nth($state,3)};
}
}
// EXTERNAL EVENTS
// -----------------------------------------------------------------------------
/* Fullcalendar - External Events */
.external-event {
cursor: move;
display: inline-block;
@include font-size(12);
font-weight: normal;
margin: 5px;
padding: 10px;
text-align: left;
}
// RESPONSIVE
// -----------------------------------------------------------------------------
@media only screen and (max-width: 400px) {
.fc {
.fc-header-right {
.btn-group {
margin: 10px 0;
}
br.hidden {
display: block !important;
}
}
}
}
@media only screen and (max-width: 480px) {
.fc {
.fc-header-left,
.fc-header-right {
display: block;
width: 100%;
}
.fc-header-right {
padding: 0 0 15px;
text-align: center;
}
}
}
@media only screen and (max-width: 991px) {
.fc {
margin-bottom: 30px;
}
}
// DARK SKIN
// -----------------------------------------------------------------------------\
/* dark */
html.dark {
.fc .fc-header-title h2 {
color: #FFF;
}
.ui-state-highlight.fc-today,
.fc .ui-widget-header,
.fc-widget-content,
.fc-state-disabled,
.fc-state-disabled .fc-button-inner {
border-color: rgba(0, 0, 0, 0.3);
}
.fc-content {
.fc-widget-content.fc-today {
background: $dark-color-2;
}
}
}
@@ -0,0 +1,98 @@
// WRAPPER
// -----------------------------------------------------------------------------
/* Error Pages - wrappers */
.body-error {
margin: 0 auto;
max-width: 900px;
width: 100%;
&.error-outside {
display: table;
height: 100vh;
.center-error {
display: table-cell;
vertical-align: middle;
}
}
&.error-inside {
margin-top: 150px;
}
}
// HEADER
// -----------------------------------------------------------------------------
/* Error Pages - header */
.body-error {
.error-header {
border-bottom: 1px solid #DADADA;
margin-bottom: 50px;
padding-bottom: 15px;
.form {
margin-top: 12px;
}
}
}
// TYPO
// -----------------------------------------------------------------------------
/* Error Pages - typo */
.body-error {
.error-code {
@include font-size(140);
@include line-height(140);
letter-spacing: -10px;
}
.error-explanation {
@include font-size(20);
@include line-height(36);
}
}
// RESPONSIVE
// -----------------------------------------------------------------------------
/* Error Pages - Responsive */
@media only screen and (max-width: 1150px) {
.body-error.error-inside {
margin-top: 50px;
padding-bottom: 50px;
}
}
@media only screen and (min-width: 768px) and (max-width: 1150px) {
.body-error.error-inside {
.error-code {
@include font-size(100);
@include line-height(100);
letter-spacing: -7px;
}
.error-explanation {
@include font-size(18);
@include line-height(32);
}
}
}
@media only screen and (max-width: 767px) {
.body-error {
.error-code {
@include font-size(90);
@include line-height(90);
letter-spacing: -7px;
}
.error-explanation {
@include font-size(16);
@include line-height(28);
}
}
.body-error.error-outside {
height: auto;
padding: 20px;
}
}
@@ -0,0 +1,207 @@
// INVOICE BASIC
// -----------------------------------------------------------------------------
/* Invoice */
.invoice {
padding: 0 15px 15px;
}
// ADDRESS FORMAT
// -----------------------------------------------------------------------------
/* Invoice Address Tag */
.invoice {
address {
color: #7F8597;
line-height: 1.5em;
}
}
// HEADER
// -----------------------------------------------------------------------------
/* Invoice header */
.invoice {
header {
border-bottom: 1px solid #DADADA;
margin-bottom: 15px;
.h2,
.h4 {
letter-spacing: 0;
}
}
}
// BILL INFO
// -----------------------------------------------------------------------------
/* Invoice Billing Information */
.invoice {
.bill-to,
.bill-data {
padding: 15px 0;
}
.bill-data {
.value {
display: inline-block;
margin-left: 10px;
width: 90px;
}
}
}
// TABLE
// -----------------------------------------------------------------------------
/* Invoice table */
.invoice {
table.table {
table-layout: fixed;
> thead:first-child {
> tr {
> th {
background-color: #F8F8F8;
border: {
bottom: 1px solid #DADADA;
top: 1px solid #DADADA;
}
}
}
}
> tbody tr > td {
border-color: #DADADA;
}
}
}
// TABLE ITEMS
// -----------------------------------------------------------------------------
/* Invoice table items */
.invoice {
.invoice-items {
> tbody tr:last-child > td {
border-bottom: 1px solid #DADADA;
}
#cell-id {
width: 10%;
}
#cell-item {
width: 20%;
}
#cell-desc {
width: 20%;
}
#cell-price {
width: 10%;
}
#cell-qty {
width: 10%;
}
#cell-total {
width: 10%;
}
}
}
// SUMMARY
// -----------------------------------------------------------------------------
/* Invoice summary */
.invoice-summary {
.col-sm-4 {
padding-left: 0;
}
}
// RESPONSIVE
// -----------------------------------------------------------------------------
/* Invoice Responsiveness */
@media only screen and (max-width: 991px) {
.invoice {
.table-responsive > table.table {
table-layout: auto;
}
}
.invoice-summary {
.col-sm-4 {
padding-left: 15px;
}
}
}
// PRINT
// -----------------------------------------------------------------------------
/* Invoice Print */
@media print {
.invoice {
.table-responsive {
border: none !important;
overflow: visible !important;
width: auto !important;
}
table.table.invoice-items {
table-layout: auto;
}
header .col-sm-6:first-child,
header .col-sm-6:last-child,
.bill-info .col-md-6 {
float: left !important;
}
header .col-sm-6:first-child {
width: 25% !important;
}
header .col-sm-6:last-child {
width: 75% !important;
}
.bill-info .col-md-6 {
width: 50% !important;
}
.invoice-summary {
.col-sm-4 {
float: right;
padding: 0;
width: 40%;
}
}
}
}
// DARK SKIN
// -----------------------------------------------------------------------------\
/* dark */
html.dark {
.invoice {
header {
border-bottom-color: $dark-color-3;
}
table.table {
> thead:first-child {
> tr {
> th {
background-color: $dark-color-3;
border-bottom-color: $dark-color-3;
border-top-color: $dark-color-3;
}
}
}
> tbody tr > td {
border-color: $dark-color-3;
}
}
}
}
@@ -0,0 +1,5 @@
.log-viewer {
@include line-height(26);
font-family: monospace;
@include font-size(14);
}
@@ -0,0 +1,293 @@
.media-gallery {
ul.mg-folders {
list-style: none;
padding: 0;
margin: 0;
& > li {
display: block;
position: relative;
a.menu-item {
white-space: nowrap;
text-overflow: ellipsis;
padding-right: 80px;
i {
margin-right: 5px;
width: 16px;
}
}
.item-options {
position: absolute;
padding: 10px 0;
right: 0;
top: 0;
opacity: 0;
-webkit-transition: opacity 0.1s ease-in;
-moz-transition: opacity 0.1s ease-in;
transition: opacity 0.1s ease-in;
a:hover {
text-decoration: none;
}
}
&:hover {
.item-options {
opacity: 1;
}
}
}
}
ul.mg-tags {
@include clearfix;
list-style: none;
padding: 0;
margin: 10px 0 0;
& > li {
float: left;
margin-right: 5px;
margin-bottom: 5px;
a {
display: block;
padding: 2px 7px;
font-size: 11px;
background-color: #171717;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
color: #666;
&:hover {
color: #fff;
text-decoration: none;
background-color: $color-primary;
}
}
}
}
.mg-files {
padding: 5px 0 30px;
.thumbnail {
padding: 10px;
border-radius: 5px;
margin-bottom: 30px;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
.thumb-preview {
position: relative;
z-index: 2;
.thumb-image {
display: block;
overflow: hidden;
}
img {
width: 100%;
-webkit-transition: all 0.1s linear;
-moz-transition: all 0.1s linear;
transition: all 0.1s linear;
border-radius: 5px;
}
.mg-thumb-options {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(#000, 0.7);
visibility: hidden;
overflow: hidden;
.mg-zoom {
position: absolute;
top: 0;
right: 0;
padding: 5px 15px 10px;
@include font-size(22);
color: #fff;
background-color: $color-primary;
border-radius: 0 0 0 15px;
cursor: pointer;
-webkit-transition: -webkit-transform 0.1s linear 0.1s;
-moz-transition: -moz-transform 0.1s linear 0.1s;
-ms-transition: -ms-transform 0.1s linear 0.1s;
transition: transform 0.1s linear 0.1s;
-webkit-transform: translate(100%, 0);
-moz-transform: translate(100%, 0);
-ms-transform: translate(100%, 0);
transform: translate(100%, 0);
}
.mg-toolbar {
@include clearfix;
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: $color-primary;
color: #fff;
padding: 6px 10px;
-webkit-transition: -webkit-transform 0.1s linear 0.1s;
-moz-transition: -moz-transform 0.1s linear 0.1s;
-ms-transition: -ms-transform 0.1s linear 0.1s;
transition: transform 0.1s linear 0.1s;
-webkit-transform: translate(0, 100%);
-moz-transform: translate(0, 100%);
-ms-transform: translate(0, 100%);
transform: translate(0, 100%);
.mg-option {
margin: 0;
}
.mg-group {
& > a {
color: #fff;
padding: 0 5px;
}
.mg-toggle {
color: #fff;
background: none;
border: none;
padding: 2px 2px 2px 10px;
border-left: 1px solid rgba(255, 255, 255, 0.3);
}
}
}
}
}
.mg-title {
margin: 13px 0 2px;
padding-bottom: 2px;
display: inline-block;
@include font-size(18);
small {
position: relative;
top: 0;
left: 0;
color: #9e9e9e;
opacity: 0;
z-index: 1;
@include font-size(10);
}
}
.mg-description {
@include clearfix;
}
&.thumbnail-selected {
border-color: #FFF;
box-shadow: 0 0 8px -1px $color-primary;
.mg-title {
small {
opacity: 1;
}
}
.thumb-preview {
.mg-thumb-options {
visibility: visible;
.mg-toolbar {
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
}
}
}
// .thumbnail
&:hover {
.mg-title {
small {
opacity: 1;
}
}
.thumb-preview {
img {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
}
.mg-thumb-options {
visibility: visible;
.mg-zoom {
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
.mg-toolbar {
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
}
}
}
}
}
}
// DARK SKIN
// -----------------------------------------------------------------------------
html.dark {
.media-gallery .mg-files .thumbnail {
&.thumbnail-selected {
border-color: $dark-color-5;
}
.mg-title small {
color: $dark-default-text;
}
}
}
@@ -0,0 +1,285 @@
// SEARCH RESULTS
// -----------------------------------------------------------------------------
/* Change Content Background Color */
html.search-results {
body {
background: #FFF;
}
}
// WRAPPER
// -----------------------------------------------------------------------------
/* Search Results Wrapper */
.search-content {
margin: -($content-body-padding);
.search-control-wrapper {
background: darken( #FFF, 3% );
border-bottom: 1px solid darken( #FFF, 8% );
margin-top: 3px;
padding: ($content-body-padding / 2);
}
}
// WRAPPER
// -----------------------------------------------------------------------------
/* Search Results Tabs */
.search-content {
.search-toolbar {
border-bottom :1px solid #ebebeb;
margin: 0 0 $content-body-padding;
.nav-pills {
margin: 0 $content-body-padding;
li {
margin: 0 15px 0 0;
&:last-child {
margin-right: 0;
}
a {
padding-left: 5px;
padding-right: 5px;
&,
&:hover,
&:focus {
background: none;
border-radius: 0;
border-bottom: 2px solid #FFF;
border-top: 2px solid #FFF;
color: #777;
}
}
a {
&:hover,
&:focus {
background: none;
border-radius: 0;
border-bottom: 2px solid #FFF;
border-top: 2px solid #FFF;
color: #555;
}
}
&.active {
a {
color: $color-primary;
border-bottom-color: $color-primary;
}
}
}
}
}
> .tab-content {
border: none;
box-shadow: none;
padding: 0 $content-body-padding;
}
}
// TOTALS
// -----------------------------------------------------------------------------
/* Search Result Totals */
.search-content {
.total-results {
margin-top: -25px;
}
}
// LIST
// -----------------------------------------------------------------------------
/* Search Results List */
.search-results-list {
max-width: 750px;
li {
border-bottom: 1px solid #EEE;
margin-bottom: 15px;
padding-bottom: 15px;
position: relative;
&:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
}
.result-type {
right: 5px;
position: absolute;
top: 5px;
}
a {
border-radius: 4px;
display: block;
padding: 25px;
text-decoration: none;
.title {
margin-top: 0;
}
.description {
color: #777;
}
p:last-child {
margin-bottom: 0;
}
&:hover {
background: darken( #FFF, 3% );
}
}
.has-thumb {
display: table;
width: 100%;
.result-thumb,
.result-data {
display: table-cell;
vertical-align: top;
}
}
.result-thumb {
padding-right: 25px;
img,
.fa {
height: 75px;
width: 75px;
}
.fa {
background: $color-primary;
color: $color-primary-inverse;
@include font-size(36);
@include line-height(75);
text-align: center;
}
}
}
// RESPONSIVENESS
// -----------------------------------------------------------------------------
/* Search Results Responsive */
@media only screen and (max-width: 767px) {
.search-content {
margin: -($content-body-padding / 2);
}
}
@media only screen and (max-width: 480px) {
.search-results-list {
.has-thumb {
@include clearfix();
display: block;
.result-thumb,
.result-data {
display: block;
}
.result-thumb {
float: left;
}
.result-data {
.title {
margin-top: 3px;
}
}
}
.result-thumb {
img,
.fa {
height: 35px;
width: 35px;
}
.fa {
@include font-size(16);
@include line-height(35);
}
}
}
}
// DARK
// -----------------------------------------------------------------------------
/* dark */
html.dark {
.search-content {
.search-control-wrapper {
background: $dark-color-1;
border-bottom-color: $dark-color-3;
}
.tab-content {
background: transparent;
}
.search-toolbar {
background: $dark-color-2;
border-bottom-color: $dark-color-2;
.nav-pills {
a {
&,
&:hover,
&:focus {
border-bottom-color: $dark-color-2;
border-top-color: $dark-color-2;
color: $dark-default-text;
}
}
a {
&:hover,
&:focus {
border-bottom-color: $dark-color-2;
border-top-color: $dark-color-2;
color: #555;
}
}
li.active {
a {
&,
&:hover,
&:focus {
color: $color-primary;
border-bottom-color: $color-primary;
}
}
}
}
}
.search-results-list {
li {
border-bottom-color: $dark-color-3;
}
a {
.description {
color: $dark-default-text;
}
&:hover {
background: lighten( $dark-bg, 5% );
}
}
}
}
}
@@ -0,0 +1,218 @@
// WRAPPER
// -----------------------------------------------------------------------------
/* Sign Screens - Wrappers */
.body-sign {
display: table;
height: 100vh;
margin: 0 auto;
max-width: 500px;
padding: 0 15px;
width: 100%;
.center-sign {
display: table-cell;
padding-top: 20px;
vertical-align: middle;
}
.panel-sign {
background: transparent;
.panel-title-sign {
.title {
background-color: $color-primary;
border-radius: $border-radius $border-radius 0 0;
color: #FFF;
display: inline-block;
@include font-size(12);
@include line-height(20);
padding: 13px 17px;
vertical-align: bottom;
}
}
.panel-body {
background: #FFF;
border-top: 5px solid $color-primary;
border-radius: $border-radius 0 $border-radius $border-radius;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
padding: 33px 33px 15px;
}
}
}
// ELEMENTS
// -----------------------------------------------------------------------------
/* Sign Screens - Elements */
.body-sign {
.input-group-icon {
.input-group-addon i {
width: 14px;
}
}
.checkbox-custom {
margin-top: 8px;
}
.line-thru {
display: block;
@include font-size(12);
position: relative;
span {
color: #CCC;
position: relative;
z-index: 3;
}
&:before {
background-color: #FFF;
content: '';
height: 10px;
left: 50%;
position: absolute;
margin: -5px 0 0 -20px;
top: 50%;
width: 40px;
z-index: 2;
}
&:after {
border-bottom: 1px solid #DADADA;
content: '';
display: block;
left: 10%;
position: absolute;
top: 47%;
width: 81%;
z-index: 1;
}
}
}
// LOCK SCREEN
// -----------------------------------------------------------------------------
/* Lock Screen */
.body-locked {
background: url(../images/patterns/noisy_net.png) repeat;
max-width: none;
min-height: 400px;
&.body-locked-inline {
background: none;
bottom: 0;
height: 100%;
left: 0;
min-height: 0;
position: fixed;
right: 0;
top: 0;
z-index: 9999;
}
.panel-sign {
margin: 0 auto;
max-width: 400px;
padding-top: 40px;
.panel-body {
border-radius: $border-radius;
position: relative;
}
}
.current-user {
margin-top: 60px;
margin-bottom: 35px;
.user-image {
border: 5px solid $color-primary;
border-radius: 150px;
height: 150px;
left: 50%;
position: absolute;
margin-left: -75px;
top: -75px;
width: 150px;
}
.user-name {
@include font-size(30);
@include line-height(36);
}
.user-email {
@include font-size(11);
@include line-height(14);
}
}
}
/* Locked Screen - Responsive Landscape */
@media only screen and (max-width: 767px) and (orientation : landscape) {
.body-locked {
&,
&.body-locked-inline {
.panel-sign {
padding-top: 0;
}
.center-sign {
padding-top: 0;
.current-user {
margin-bottom: 45px;
margin-left: 100px;
margin-top: 10px;
.user-image {
height: 100px;
left: 35px;
margin-left: 0;
margin-top: 0;
top: 15px;
width: 100px;
}
}
}
}
}
}
/* Lock Screen - Modal */
.mfp-lock-screen {
&.mfp-bg {
background: #000 url(../images/patterns/noisy_net.png) repeat;
opacity: 0.99;
z-index: 9998;
}
&.mfp-wrap {
background: none;
z-index: 9999;
}
}
// DARK SKIN
// -----------------------------------------------------------------------------\
/* dark */
html.dark {
.body-sign {
.panel-sign .panel-body {
background-color: $dark-color-4;
}
.line-thru {
&:before {
background-color: $dark-color-4;
}
&:after {
border-bottom-color: $dark-color-3;
}
}
}
}
@@ -0,0 +1,316 @@
// TIMELINE
// -----------------------------------------------------------------------------
$timeline-line-left: 140px;
$timeline-simple-line-left: 30px;
.timeline {
.tm-body {
position: relative;
padding: 30px 0;
&:after {
background: #505050;
background: -moz-linear-gradient(top, rgba(80, 80, 80, 0) 0%, #505050 8%, #505050 92%, rgba(80, 80, 80, 0) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1e5799), color-stop(100%, #7db9e8));
background: -webkit-linear-gradient(top, rgba(80, 80, 80, 0) 0%, #505050 8%, #505050 92%, rgba(80, 80, 80, 0) 100%);
background: -o-linear-gradient(top, rgba(80, 80, 80, 0) 0%, #505050 8%, #505050 92%, rgba(80, 80, 80, 0) 100%);
background: -ms-linear-gradient(top, rgba(80, 80, 80, 0) 0%, #505050 8%, #505050 92%, rgba(80, 80, 80, 0) 100%);
background: linear, to bottom, rgba(80, 80, 80, 0) 0%, #505050 8%, #505050 92%, rgba(80, 80, 80, 0) 100%;
content: '';
display: block;
height: 100%;
left: $timeline-line-left;
margin-left: -2px;
position: absolute;
top: 0;
width: 3px;
z-index: 0;
filter: alpha(opacity=35);
opacity: 0.35;
}
}
.tm-title {
position: relative;
display: inline-block;
text-align: center;
min-width: 200px;
background-color: #fff;
padding: 4px 5px;
margin: 0 40px;
z-index: 1;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.tm-items {
list-style: none;
padding: 0;
margin: 0;
& > li {
position: relative;
margin: 30px 0;
padding: 0 0 0 ($timeline-line-left + 50);
min-height: 65px;
z-index: 1;
.tm-datetime {
position: absolute;
top: 50%;
left: 0;
width: 100px;
height: 48px;
margin-top: -24px;
text-align: right;
z-index: 3;
.tm-datetime-time {
color: $color-primary;
@include font-size(24);
font-weight: 700;
margin: 0;
white-space: nowrap;
}
}
.tm-icon {
position: absolute;
top: 50%;
left: $timeline-line-left;
background-color: $body-color;
border: 3px solid $color-primary;
color: $color-primary;
font-size: 28px;
padding: 10px;
width: 55px;
height: 55px;
text-align: center;
line-height: 29px;
margin-top: -28px;
margin-left: -28px;
z-index: 2;
-webkit-border-radius: 28px;
border-radius: 28px;
}
.tm-box {
position: relative;
background: #fff;
min-height: 65px;
padding: 10px 20px;
border: 1px solid #e9e9e9;
-webkit-border-radius: 6px;
border-radius: 6px;
&:after {
right: 100%;
border: solid transparent;
content: ' ';
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-right-color: #fff;
border-width: 8px;
top: 50%;
margin-top: -8px;
z-index: 2;
}
p:last-child {
margin-bottom: 0;
}
.tm-meta {
margin: 10px 0 0;
span {
display: inline-block;
padding-right: 8px;
&:last-child,
&:last-of-type {
padding-right: 0;
}
}
}
}
}
}
&.timeline-simple {
.tm-body {
&:after {
left: $timeline-simple-line-left;
}
.tm-title {
border: 1px solid #e9e9e9;
margin: 0 10px;
}
.tm-items {
& > li {
padding: 0 0 0 ($timeline-simple-line-left + 25);
&:before {
display: block;
position: absolute;
content: ' ';
background: none repeat scroll 0 0 $color-primary;
border-radius: 50%;
box-shadow: 0 0 0 3px #FFF, 0 0 0 6px $color-primary;
height: 7px;
left: $timeline-simple-line-left;
top: 50%;
width: 8px;
margin-left: -4px;
margin-top: -4px;
}
.tm-box {
&:before {
left: -17px;
border: solid transparent;
content: ' ';
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-right-color: #e9e9e9;
border-width: 8px;
top: 50%;
margin-top: -8px;
z-index: 1;
}
}
}
}
}
}
}
// TIMELINE - RESPONSIVE
// -----------------------------------------------------------------------------
$timeline-responsive-line-left: 20px;
$timeline-responsive-simple-line-left: 30px;
@media only screen and (max-width: 991px) {
.timeline {
.tm-body {
&:after {
left: $timeline-responsive-line-left;
}
}
.tm-title {
margin: 0;
}
.tm-items {
& > li {
padding-left: 50px;
.tm-info {
@include clearfix;
margin: 0 0 15px;
}
.tm-icon {
border-width: 2px;
float: left;
font-size: 22px;
height: 40px;
line-height: 36px;
margin: 0 15px 0 0;
padding: 0;
position: static;
width: 40px;
}
.tm-datetime {
margin: 0;
position: static;
text-align: left;
.tm-datetime-date {
@include font-size(12);
line-height: 1.3;
}
.tm-datetime-time {
@include font-size(18);
line-height: 1.3;
}
}
}
}
}
}
@media only screen and (max-width: 767px) {
.timeline {
.tm-items > li .tm-box .tm-meta span {
display: block;
}
}
}
// DARK SKIN
// -----------------------------------------------------------------------------
html.dark {
.timeline {
.tm-items > li {
.tm-box {
background: $dark-color-3;
border-color: $dark-color-2;
&:after {
border-right-color: $dark-color-3;
}
&:before {
border-right-color: $dark-color-2;
}
}
.tm-icon {
background-color: $dark-color-1;
}
}
.tm-title {
background-color: $dark-color-3;
border-color: $dark-color-2;
}
&.timeline-simple {
.tm-body {
.tm-title {
background-color: $dark-color-3;
border-color: $dark-color-2;
}
.tm-items > li {
&:before {
box-shadow: 0 0 0 3px $dark-color-4, 0 0 0 6px $color-primary;
}
.tm-box {
&:after {
border-right-color: $dark-color-3;
}
&:before {
border-right-color: $dark-color-2;
}
}
}
}
}
}
}
@@ -0,0 +1,193 @@
// GENERAL FIXES
// -----------------------------------------------------------------------------
/* Common Fixes */
.dataTables_wrapper {
position:relative;
.DTTT.btn-group {
display: inline-block !important;
}
.datatables-header {
margin-bottom: 15px;
label {
font-weight: normal;
margin: 0;
}
}
// prevent sort arrows to overlap text
table {
thead {
th {
padding-right: 21px !important;
}
}
}
}
// PER PAGE
// -----------------------------------------------------------------------------
.dataTables_wrapper {
.dataTables_length {
.select2-container {
margin-right: 10px;
width: 75px;
}
}
}
@media only screen and (max-width: 991px) {
.dataTables_wrapper {
.dataTables_length {
margin-bottom: 15px;
label {
float: none;
width: 100%;
}
}
}
}
// FILTER
// -----------------------------------------------------------------------------
/* Filter */
.dataTables_wrapper {
.dataTables_filter {
label {
width: 50%;
}
input {
width: 100%;
}
}
}
@media only screen and (max-width: 991px) {
.dataTables_wrapper {
.dataTables_filter {
label {
width: 100%;
}
}
}
}
// FOOTER
// -----------------------------------------------------------------------------
/* Footer */
.dataTables_wrapper {
.datatables-footer {
margin-top: 15px;
.dataTables_info {
font-size: 11px;
padding-top: 0;
margin-top: 6px;
}
.dataTables_paginate {
.pagination {
display: block;
margin: 0;
}
}
}
}
@media only screen and (max-width: 991px) {
.dataTables_wrapper {
.datatables-footer {
.dataTables_info {
margin-bottom: 15px;
text-align: center;
}
.dataTables_paginate {
float: none;
text-align: center;
.pagination {
display: inline-block;
}
}
}
}
}
// DATATABLES EMPTY
// -----------------------------------------------------------------------------
/* Empty Row */
.dataTables_wrapper {
.dataTables_empty {
padding: 50px 0;
text-align: center;
}
}
// DATATABLES LOADER
// -----------------------------------------------------------------------------
.dataTables_processing {
background: $color-primary;
border-radius: 100px;
box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.3);
color: #FFF;
left: 50%;
margin-left: -36px;
padding: 5px 10px;
position: absolute;
top: 3px;
}
@media only screen and (max-width: 991px) {
.dataTables_processing {
left: auto;
margin-left: 0;
right: 0;
}
}
// DATATABLES PRINT
// -----------------------------------------------------------------------------
.DTTT_Print {
&,
.inner-wrapper,
.content-body,
.panel {
background: #FFF !important;
margin: 0 !important;
padding: 0 !important;
top: 0 !important;
}
.dataTables_wrapper {
.DTTT.btn-group {
display: none !important;
}
}
.DTTT_print_info {
background: rgba(255, 255, 255, 0.9);
display: block;
left: 0;
height: 100px;
line-height: 100px;
position: fixed;
font-size: 14px;
text-align: center;
top: 0;
width: 100%;
}
}
// DARK - DATATABLES
// -----------------------------------------------------------------------------
/* Dark Fixes */
html.dark {
div.DTTT .btn {
color: #EEE !important;
}
}
@@ -0,0 +1,139 @@
// PRICING TABLES
// -----------------------------------------------------------------------------
.pricing-table {
margin: 25px 0;
padding-left: 0;
text-align: center;
ul {
list-style: none;
margin: 20px 0 0 0;
padding: 0;
}
li {
border-top: 1px solid #ddd;
padding: 10px 0;
}
h3 {
background-color: #eee;
border-radius: 2px 2px 0 0;
font-size: 20px;
font-weight: normal;
margin: -20px -20px 50px -20px;
padding: 20px;
span {
background: #FFF;
border: 5px solid #FFF;
border-radius: 100px;
box-shadow: 0 5px 20px #ddd inset, 0 3px 0 #999 inset;
color: $color-primary;
display: block;
font: bold 25px / 100px Georgia, Serif;
height: 100px;
margin: 20px auto -65px;
width: 100px;
}
}
.most-popular {
border: 3px solid #CCC;
box-shadow: 11px 0 10px -10px rgba(0, 0, 0, 0.1), -11px 0 10px -10px rgba(0, 0, 0, 0.1);
padding: 30px 20px;
top: -10px;
z-index: 2;
h3 {
background-color: $color-primary;
color: #FFF;
padding-top: 30px;
}
}
.plan-ribbon-wrapper {
height: 88px;
overflow: hidden;
position: absolute;
right: -5px;
top: -5px;
width: 85px;
}
.plan-ribbon {
@include transform(rotate(45deg));
@include background-image(linear-gradient(top, #bfdc7a, #8ebf45));
background-color: #bfdc7a;
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
color: #333;
font-size: 14px;
left: -5px;
padding: 7px 0;
position: relative;
text-align: center;
top: 15px;
width: 120px;
&:before {
left: 0;
border-left: 3px solid transparent;
border-right: 3px solid transparent;
bottom: -3px;
content: "";
position: absolute;
}
&:after {
border-left: 3px solid transparent;
border-right: 3px solid transparent;
bottom: -3px;
content: "";
position: absolute;
right: 0;
}
}
.plan {
background: #FFF;
border: 1px solid #ddd;
border-radius: 5px;
color: #333;
margin-bottom: 35px;
margin-right: 0;
padding: 20px;
position: relative;
}
.btn {
margin-top: 5px;
}
}
// DARK
// -----------------------------------------------------------------------------
/* dark */
html.dark {
.pricing-table {
li {
border-top-color: $dark-color-2;
}
h3 {
background-color: $dark-color-2;
text-shadow: none;
span {
background: $dark-color-4;
border-color: $dark-color-5;
box-shadow: 0 5px 20px $dark-color-5 inset, 0 3px 0 $dark-color-3 inset;
color: $color-default;
}
}
.most-popular {
border-color: $dark-color-3;
h3 {
background-color: $dark-color-3;
color: $dark-default-text;
text-shadow: none;
}
}
.plan-ribbon {
background-color: $dark-color-3;
}
.plan {
background: $dark-color-3;
border: 1px solid $dark-color-3;
color: $dark-default-text;
text-shadow: none;
}
}
}
@@ -0,0 +1,212 @@
// BASIC
// -----------------------------------------------------------------------------
/* Tables - Basic */
.table {
width: 100%;
.table {
background: transparent;
}
}
/* Bootstrap uses important, we need to force it here */
.table.mb-none {
margin-bottom: 0 !important;
}
/* In case you dont want a border in some row */
.table .b-top-none td {
border-top: none;
}
// ACTIONS
// -----------------------------------------------------------------------------
/* Tables - Actions */
.table {
.actions,
.actions-hover {
vertical-align: middle;
a {
display: inline-block;
margin-right: 5px;
color: #666;
&:last-child {
margin-right: 0;
}
}
a:hover {
color: #333;
}
}
.actions-hover {
a {
opacity: 0;
}
}
tr:hover {
.actions-hover {
a {
opacity: 1;
}
}
}
.actions-fade {
a {
@include transition (all .2s linear);
}
}
}
// NO MORE TABLES
// -----------------------------------------------------------------------------
/* Tables - No More Tables technique (991px is the bootstrap SM max-width) */
@media only screen and (max-width: 991px) {
.table.table-no-more {
&,
thead,
tbody,
tr,
th,
td {
display: block;
}
thead tr {
left: -9999px;
position: absolute;
top: -9999px;
}
tr {
border-bottom: 1px solid #DDD;
}
td {
border: none;
position: relative;
padding-left: 50%;
text-align: left;
white-space: normal;
&:before {
content: attr(data-title);
font-weight: bold;
left: 6px;
padding-right: 10px;
position: absolute;
text-align:left;
top: 8px;
white-space: nowrap;
width: 45%;
}
}
&.table-bordered {
td {
border-bottom: 1px solid #EFEFEF;
}
}
&.table-condensed {
td {
&:before {
top: 5px;
}
}
}
}
}
// DARK
// -----------------------------------------------------------------------------
/* Dark - Tables */
html.dark {
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td,
.table-bordered {
border-color: darken($dark-color-3, 1%);
}
.table-striped > tbody > tr:nth-child(2n+1) > td,
.table-striped > tbody > tr:nth-child(2n+1) > th {
background-color: darken($dark-color-4, 3%);
}
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
background-color: darken($dark-color-4, 3.5%);
}
.table {
.actions,
.actions-hover {
a {
color: $dark-default-text;
}
}
}
}
@media screen and (max-width: 991px) {
html.dark .table-responsive {
border-color: darken($dark-color-3, 1%);
}
}
@media only screen and (max-width: 991px) {
html.dark {
.table.table-no-more tr,
.table.table-no-more.table-bordered td {
border-bottom-color: darken($dark-color-3, 1%);
}
}
}
// STATES
// -----------------------------------------------------------------------------
/* Tables - States */
@each $state in $states {
.table > thead > tr > td.#{nth($state,1)},
.table > tbody > tr > td.#{nth($state,1)},
.table > tfoot > tr > td.#{nth($state,1)},
.table > thead > tr > th.#{nth($state,1)},
.table > tbody > tr > th.#{nth($state,1)},
.table > tfoot > tr > th.#{nth($state,1)},
.table > thead > tr.#{nth($state,1)} > td,
.table > tbody > tr.#{nth($state,1)} > td,
.table > tfoot > tr.#{nth($state,1)} > td,
.table > thead > tr.#{nth($state,1)} > th,
.table > tbody > tr.#{nth($state,1)} > th,
.table > tfoot > tr.#{nth($state,1)} > th {
color: #FFF;
background-color: nth($state,2);
}
}
.table > thead > tr > td.dark,
.table > tbody > tr > td.dark,
.table > tfoot > tr > td.dark,
.table > thead > tr > th.dark,
.table > tbody > tr > th.dark,
.table > tfoot > tr > th.dark,
.table > thead > tr.dark > td,
.table > tbody > tr.dark > td,
.table > tfoot > tr.dark > td,
.table > thead > tr.dark > th,
.table > tbody > tr.dark > th,
.table > tfoot > tr.dark > th {
background-color: lighten($color-dark, 20%);
color: $color-dark-inverse;
}
@@ -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;
}
}
+138
View File
@@ -0,0 +1,138 @@
// CONTENT BACKGROUND
// -----------------------------------------------------------------------------
/* Dark - Background */
html.dark {
&,
body {
background-color: $dark-bg;
}
&.boxed {
.content-body {
background-color: $dark-bg;
}
}
}
html.dark {
body {
color: $dark-default-text;
}
}
// ELEMENTS
// -----------------------------------------------------------------------------
/* Dark - Titles */
html.dark {
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
color: #FFF;
}
}
/* Dark - Alerts */
html.dark {
.alert h1,
.alert .h1,
.alert h2,
.alert .h2,
.alert h3,
.alert .h3,
.alert h4,
.alert .h4,
.alert h5,
.alert .h5,
.alert h6,
.alert .h6 {
color: #111;
}
}
/* Dark - Blockquote */
html.dark {
blockquote {
border-color: $dark-color-3;
}
}
/* Dark - Helpers */
html.dark {
.text-dark {
color: #FFF !important;
}
}
// NAV LIST
// -----------------------------------------------------------------------------
html.dark {
ul.nav-list.primary > li a {
border-bottom-color: #282d36;
&:hover {
background-color: #282d36;
}
}
}
// PAGINATION
// -----------------------------------------------------------------------------
html.dark {
.pagination > li > a,
.pagination > li > span {
background-color: $dark-color-3;
border-color: $dark-color-5;
}
.pagination > li.active > a,
.pagination > li.active > span {
background-color: $color-primary;
border-color: $dark-color-5;
}
}
// DROP-DOWN MENU
// -----------------------------------------------------------------------------
html.dark {
.dropdown-menu {
background-color: $dark-color-3;
> li > a {
color: #EEE;
&:hover,
&:focus {
background-color: $dark-color-1;
color: #FFF;
}
}
}
}
// HR
// -----------------------------------------------------------------------------
html.dark {
hr.dotted,
hr.solid {
border-color: #4C4C4C;
}
}
// THUMBS
// -----------------------------------------------------------------------------
html.dark {
.img-thumbnail,
.thumbnail {
background-color: $dark-color-2;
border-color: $dark-color-3;
}
}
@@ -0,0 +1,40 @@
// COMMON IMPORTS
// -----------------------------------------------------------------------------
@import "config/imports";
// BASIC
// -----------------------------------------------------------------------------
@import "base/bootstrap_extend";
@import "base/helpers";
@import "base/form";
// GUI
// -----------------------------------------------------------------------------
// MODULES
// -----------------------------------------------------------------------------
@import "modules/ui-elements/panels";
@import "modules/ui-elements/charts";
@import "modules/ui-elements/sliders";
@import "modules/tables/tables";
@import "modules/tables/datatables";
@import "modules/forms/fileupload";
@import "modules/forms/datepicker";
@import "modules/forms/select2";
@import "modules/forms/wizard";
@import "modules/forms/ios7-switch";
@import "modules/forms/summernote";
@import "modules/forms/bs-markdown";
@import "modules/forms/bs-maxlength";
@import "modules/forms/bs-tagsinput";
@import "modules/forms/bs-timepicker";
@import "modules/forms/bs-colorpicker";
@import "modules/forms/bs-multiselect";
@import "modules/forms/spinner";
@import "modules/forms/form-group-invisible";
@import "modules/forms/codemirror";
// PAGES
// -----------------------------------------------------------------------------
@import "modules/pages/invoice";
@@ -0,0 +1 @@
/* Add here all your CSS customizations */
+94
View File
@@ -0,0 +1,94 @@
// COMMON IMPORTS
// -----------------------------------------------------------------------------
@import "config/imports";
// BASIC
// -----------------------------------------------------------------------------
@import "base/skeleton";
@import "base/bootstrap_extend";
@import "base/header";
@import "base/sidebar_left";
@import "base/sidebar_left_sizing";
@import "base/sidebar_right";
@import "base/content_with_menu";
@import "base/menu";
@import "base/page_header";
@import "base/elements";
@import "base/helpers";
@import "base/form";
@import "base/nanoscroll";
@import "base/toolbar";
// GUI
// -----------------------------------------------------------------------------
@import "gui/images";
@import "gui/buttons";
@import "gui/notifications";
@import "gui/userbox";
@import "gui/nav_pills";
@import "gui/pagination";
@import "gui/progress_bar";
@import "gui/sidebar_widgets";
// MODULES
// -----------------------------------------------------------------------------
@import "modules/ui-elements/panels";
@import "modules/ui-elements/tabs";
@import "modules/ui-elements/sliders";
@import "modules/ui-elements/alerts";
@import "modules/ui-elements/notifications";
@import "modules/ui-elements/progressbars";
@import "modules/ui-elements/accordions";
@import "modules/ui-elements/charts";
@import "modules/ui-elements/treeview";
@import "modules/ui-elements/word-rotate";
@import "modules/ui-elements/nestable";
@import "modules/ui-elements/carousel";
@import "modules/ui-elements/toggles";
@import "modules/ui-elements/labels";
@import "modules/ui-elements/modals";
@import "modules/ui-elements/lightbox";
@import "modules/ui-elements/animations";
@import "modules/ui-elements/widgets";
@import "modules/ui-elements/nav-pills";
@import "modules/ui-elements/portlet";
@import "modules/tables/tables";
@import "modules/tables/datatables";
@import "modules/tables/pricing";
@import "modules/forms/fileupload";
@import "modules/forms/datepicker";
@import "modules/forms/select2";
@import "modules/forms/wizard";
@import "modules/forms/ios7-switch";
@import "modules/forms/summernote";
@import "modules/forms/bs-markdown";
@import "modules/forms/bs-maxlength";
@import "modules/forms/bs-tagsinput";
@import "modules/forms/bs-timepicker";
@import "modules/forms/bs-colorpicker";
@import "modules/forms/bs-multiselect";
@import "modules/forms/spinner";
@import "modules/forms/form-group-invisible";
@import "modules/forms/codemirror";
@import "modules/maps/gmaps";
@import "modules/maps/jqvmap";
// MAILBOX
// -----------------------------------------------------------------------------
@import "modules/mailbox/mailbox";
// PAGES
// -----------------------------------------------------------------------------
@import "modules/pages/invoice";
@import "modules/pages/errors";
@import "modules/pages/sign";
@import "modules/pages/calendar";
@import "modules/pages/timeline";
@import "modules/pages/media-gallery";
@import "modules/pages/log-viewer";
@import "modules/pages/search-results";
// SKINS
// -----------------------------------------------------------------------------
@import "skins/dark";
@@ -0,0 +1,8 @@
//************************************************************************//
// These mixins/functions are deprecated
// They will be removed in the next MAJOR version release
//************************************************************************//
@mixin inline-block {
display: inline-block;
@warn "inline-block mixin is deprecated and will be removed in the next major version release";
}
+79
View File
@@ -0,0 +1,79 @@
// Settings
@import "settings/prefixer";
@import "settings/px-to-em";
@import "settings/asset-pipeline";
// Custom Helpers
@import "helpers/convert-units";
@import "helpers/gradient-positions-parser";
@import "helpers/is-num";
@import "helpers/linear-angle-parser";
@import "helpers/linear-gradient-parser";
@import "helpers/linear-positions-parser";
@import "helpers/linear-side-corner-parser";
@import "helpers/radial-arg-parser";
@import "helpers/radial-positions-parser";
@import "helpers/radial-gradient-parser";
@import "helpers/render-gradients";
@import "helpers/shape-size-stripper";
@import "helpers/str-to-num";
// Custom Functions
@import "functions/assign";
@import "functions/color-lightness";
@import "functions/flex-grid";
@import "functions/golden-ratio";
@import "functions/grid-width";
@import "functions/modular-scale";
@import "functions/px-to-em";
@import "functions/px-to-rem";
@import "functions/strip-units";
@import "functions/tint-shade";
@import "functions/transition-property-name";
@import "functions/unpack";
// CSS3 Mixins
@import "css3/animation";
@import "css3/appearance";
@import "css3/backface-visibility";
@import "css3/background";
@import "css3/background-image";
@import "css3/border-image";
@import "css3/border-radius";
@import "css3/box-sizing";
@import "css3/calc";
@import "css3/columns";
@import "css3/filter";
@import "css3/flex-box";
@import "css3/font-face";
@import "css3/font-feature-settings";
@import "css3/hyphens";
@import "css3/hidpi-media-query";
@import "css3/image-rendering";
@import "css3/keyframes";
@import "css3/linear-gradient";
@import "css3/perspective";
@import "css3/radial-gradient";
@import "css3/transform";
@import "css3/transition";
@import "css3/user-select";
@import "css3/placeholder";
// Addons & other mixins
@import "addons/button";
@import "addons/clearfix";
@import "addons/directional-values";
@import "addons/ellipsis";
@import "addons/font-family";
@import "addons/hide-text";
@import "addons/html5-input-types";
@import "addons/position";
@import "addons/prefixer";
@import "addons/retina-image";
@import "addons/size";
@import "addons/timing-functions";
@import "addons/triangle";
@import "addons/word-wrap";
// Soon to be deprecated Mixins
@import "bourbon-deprecated-upcoming";
@@ -0,0 +1,374 @@
@mixin button ($style: simple, $base-color: #4294f0, $text-size: inherit, $padding: 7px 18px) {
@if type-of($style) == string and type-of($base-color) == color {
@include buttonstyle($style, $base-color, $text-size, $padding);
}
@if type-of($style) == string and type-of($base-color) == number {
$padding: $text-size;
$text-size: $base-color;
$base-color: #4294f0;
@if $padding == inherit {
$padding: 7px 18px;
}
@include buttonstyle($style, $base-color, $text-size, $padding);
}
@if type-of($style) == color and type-of($base-color) == color {
$base-color: $style;
$style: simple;
@include buttonstyle($style, $base-color, $text-size, $padding);
}
@if type-of($style) == color and type-of($base-color) == number {
$padding: $text-size;
$text-size: $base-color;
$base-color: $style;
$style: simple;
@if $padding == inherit {
$padding: 7px 18px;
}
@include buttonstyle($style, $base-color, $text-size, $padding);
}
@if type-of($style) == number {
$padding: $base-color;
$text-size: $style;
$base-color: #4294f0;
$style: simple;
@if $padding == #4294f0 {
$padding: 7px 18px;
}
@include buttonstyle($style, $base-color, $text-size, $padding);
}
&:disabled {
opacity: 0.5;
cursor: not-allowed;
}
}
// Selector Style Button
//************************************************************************//
@mixin buttonstyle($type, $b-color, $t-size, $pad) {
// Grayscale button
@if $type == simple and $b-color == grayscale($b-color) {
@include simple($b-color, true, $t-size, $pad);
}
@if $type == shiny and $b-color == grayscale($b-color) {
@include shiny($b-color, true, $t-size, $pad);
}
@if $type == pill and $b-color == grayscale($b-color) {
@include pill($b-color, true, $t-size, $pad);
}
@if $type == flat and $b-color == grayscale($b-color) {
@include flat($b-color, true, $t-size, $pad);
}
// Colored button
@if $type == simple {
@include simple($b-color, false, $t-size, $pad);
}
@else if $type == shiny {
@include shiny($b-color, false, $t-size, $pad);
}
@else if $type == pill {
@include pill($b-color, false, $t-size, $pad);
}
@else if $type == flat {
@include flat($b-color, false, $t-size, $pad);
}
}
// Simple Button
//************************************************************************//
@mixin simple($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
$color: hsl(0, 0, 100%);
$border: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
$inset-shadow: adjust-color($base-color, $saturation: -8%, $lightness: 15%);
$stop-gradient: adjust-color($base-color, $saturation: 9%, $lightness: -11%);
$text-shadow: adjust-color($base-color, $saturation: 15%, $lightness: -18%);
@if is-light($base-color) {
$color: hsl(0, 0, 20%);
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
}
@if $grayscale == true {
$border: grayscale($border);
$inset-shadow: grayscale($inset-shadow);
$stop-gradient: grayscale($stop-gradient);
$text-shadow: grayscale($text-shadow);
}
border: 1px solid $border;
border-radius: 3px;
box-shadow: inset 0 1px 0 0 $inset-shadow;
color: $color;
display: inline-block;
font-size: $textsize;
font-weight: bold;
@include linear-gradient ($base-color, $stop-gradient);
padding: $padding;
text-decoration: none;
text-shadow: 0 1px 0 $text-shadow;
background-clip: padding-box;
&:hover:not(:disabled) {
$base-color-hover: adjust-color($base-color, $saturation: -4%, $lightness: -5%);
$inset-shadow-hover: adjust-color($base-color, $saturation: -7%, $lightness: 5%);
$stop-gradient-hover: adjust-color($base-color, $saturation: 8%, $lightness: -14%);
@if $grayscale == true {
$base-color-hover: grayscale($base-color-hover);
$inset-shadow-hover: grayscale($inset-shadow-hover);
$stop-gradient-hover: grayscale($stop-gradient-hover);
}
box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
cursor: pointer;
@include linear-gradient ($base-color-hover, $stop-gradient-hover);
}
&:active:not(:disabled),
&:focus:not(:disabled) {
$border-active: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
$inset-shadow-active: adjust-color($base-color, $saturation: 7%, $lightness: -17%);
@if $grayscale == true {
$border-active: grayscale($border-active);
$inset-shadow-active: grayscale($inset-shadow-active);
}
border: 1px solid $border-active;
box-shadow: inset 0 0 8px 4px $inset-shadow-active, inset 0 0 8px 4px $inset-shadow-active;
}
}
// Shiny Button
//************************************************************************//
@mixin shiny($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
$color: hsl(0, 0, 100%);
$border: adjust-color($base-color, $red: -117, $green: -111, $blue: -81);
$border-bottom: adjust-color($base-color, $red: -126, $green: -127, $blue: -122);
$fourth-stop: adjust-color($base-color, $red: -79, $green: -70, $blue: -46);
$inset-shadow: adjust-color($base-color, $red: 37, $green: 29, $blue: 12);
$second-stop: adjust-color($base-color, $red: -56, $green: -50, $blue: -33);
$text-shadow: adjust-color($base-color, $red: -140, $green: -141, $blue: -114);
$third-stop: adjust-color($base-color, $red: -86, $green: -75, $blue: -48);
@if is-light($base-color) {
$color: hsl(0, 0, 20%);
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
}
@if $grayscale == true {
$border: grayscale($border);
$border-bottom: grayscale($border-bottom);
$fourth-stop: grayscale($fourth-stop);
$inset-shadow: grayscale($inset-shadow);
$second-stop: grayscale($second-stop);
$text-shadow: grayscale($text-shadow);
$third-stop: grayscale($third-stop);
}
border: 1px solid $border;
border-bottom: 1px solid $border-bottom;
border-radius: 5px;
box-shadow: inset 0 1px 0 0 $inset-shadow;
color: $color;
display: inline-block;
font-size: $textsize;
font-weight: bold;
@include linear-gradient(top, $base-color 0%, $second-stop 50%, $third-stop 50%, $fourth-stop 100%);
padding: $padding;
text-align: center;
text-decoration: none;
text-shadow: 0 -1px 1px $text-shadow;
&:hover:not(:disabled) {
$first-stop-hover: adjust-color($base-color, $red: -13, $green: -15, $blue: -18);
$second-stop-hover: adjust-color($base-color, $red: -66, $green: -62, $blue: -51);
$third-stop-hover: adjust-color($base-color, $red: -93, $green: -85, $blue: -66);
$fourth-stop-hover: adjust-color($base-color, $red: -86, $green: -80, $blue: -63);
@if $grayscale == true {
$first-stop-hover: grayscale($first-stop-hover);
$second-stop-hover: grayscale($second-stop-hover);
$third-stop-hover: grayscale($third-stop-hover);
$fourth-stop-hover: grayscale($fourth-stop-hover);
}
cursor: pointer;
@include linear-gradient(top, $first-stop-hover 0%,
$second-stop-hover 50%,
$third-stop-hover 50%,
$fourth-stop-hover 100%);
}
&:active:not(:disabled),
&:focus:not(:disabled) {
$inset-shadow-active: adjust-color($base-color, $red: -111, $green: -116, $blue: -122);
@if $grayscale == true {
$inset-shadow-active: grayscale($inset-shadow-active);
}
box-shadow: inset 0 0 20px 0 $inset-shadow-active;
}
}
// Pill Button
//************************************************************************//
@mixin pill($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
$color: hsl(0, 0, 100%);
$border-bottom: adjust-color($base-color, $hue: 8, $saturation: -11%, $lightness: -26%);
$border-sides: adjust-color($base-color, $hue: 4, $saturation: -21%, $lightness: -21%);
$border-top: adjust-color($base-color, $hue: -1, $saturation: -30%, $lightness: -15%);
$inset-shadow: adjust-color($base-color, $hue: -1, $saturation: -1%, $lightness: 7%);
$stop-gradient: adjust-color($base-color, $hue: 8, $saturation: 14%, $lightness: -10%);
$text-shadow: adjust-color($base-color, $hue: 5, $saturation: -19%, $lightness: -15%);
@if is-light($base-color) {
$color: hsl(0, 0, 20%);
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
}
@if $grayscale == true {
$border-bottom: grayscale($border-bottom);
$border-sides: grayscale($border-sides);
$border-top: grayscale($border-top);
$inset-shadow: grayscale($inset-shadow);
$stop-gradient: grayscale($stop-gradient);
$text-shadow: grayscale($text-shadow);
}
border: 1px solid $border-top;
border-color: $border-top $border-sides $border-bottom;
border-radius: 16px;
box-shadow: inset 0 1px 0 0 $inset-shadow;
color: $color;
display: inline-block;
font-size: $textsize;
font-weight: normal;
line-height: 1;
@include linear-gradient ($base-color, $stop-gradient);
padding: $padding;
text-align: center;
text-decoration: none;
text-shadow: 0 -1px 1px $text-shadow;
background-clip: padding-box;
&:hover:not(:disabled) {
$base-color-hover: adjust-color($base-color, $lightness: -4.5%);
$border-bottom: adjust-color($base-color, $hue: 8, $saturation: 13.5%, $lightness: -32%);
$border-sides: adjust-color($base-color, $hue: 4, $saturation: -2%, $lightness: -27%);
$border-top: adjust-color($base-color, $hue: -1, $saturation: -17%, $lightness: -21%);
$inset-shadow-hover: adjust-color($base-color, $saturation: -1%, $lightness: 3%);
$stop-gradient-hover: adjust-color($base-color, $hue: 8, $saturation: -4%, $lightness: -15.5%);
$text-shadow-hover: adjust-color($base-color, $hue: 5, $saturation: -5%, $lightness: -22%);
@if $grayscale == true {
$base-color-hover: grayscale($base-color-hover);
$border-bottom: grayscale($border-bottom);
$border-sides: grayscale($border-sides);
$border-top: grayscale($border-top);
$inset-shadow-hover: grayscale($inset-shadow-hover);
$stop-gradient-hover: grayscale($stop-gradient-hover);
$text-shadow-hover: grayscale($text-shadow-hover);
}
border: 1px solid $border-top;
border-color: $border-top $border-sides $border-bottom;
box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
cursor: pointer;
@include linear-gradient ($base-color-hover, $stop-gradient-hover);
text-shadow: 0 -1px 1px $text-shadow-hover;
background-clip: padding-box;
}
&:active:not(:disabled),
&:focus:not(:disabled) {
$active-color: adjust-color($base-color, $hue: 4, $saturation: -12%, $lightness: -10%);
$border-active: adjust-color($base-color, $hue: 6, $saturation: -2.5%, $lightness: -30%);
$border-bottom-active: adjust-color($base-color, $hue: 11, $saturation: 6%, $lightness: -31%);
$inset-shadow-active: adjust-color($base-color, $hue: 9, $saturation: 2%, $lightness: -21.5%);
$text-shadow-active: adjust-color($base-color, $hue: 5, $saturation: -12%, $lightness: -21.5%);
@if $grayscale == true {
$active-color: grayscale($active-color);
$border-active: grayscale($border-active);
$border-bottom-active: grayscale($border-bottom-active);
$inset-shadow-active: grayscale($inset-shadow-active);
$text-shadow-active: grayscale($text-shadow-active);
}
background: $active-color;
border: 1px solid $border-active;
border-bottom: 1px solid $border-bottom-active;
box-shadow: inset 0 0 6px 3px $inset-shadow-active;
text-shadow: 0 -1px 1px $text-shadow-active;
}
}
// Flat Button
//************************************************************************//
@mixin flat($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
$color: hsl(0, 0, 100%);
@if is-light($base-color) {
$color: hsl(0, 0, 20%);
}
background-color: $base-color;
border-radius: 3px;
border: none;
color: $color;
display: inline-block;
font-size: inherit;
font-weight: bold;
padding: 7px 18px;
text-decoration: none;
background-clip: padding-box;
&:hover:not(:disabled){
$base-color-hover: adjust-color($base-color, $saturation: 4%, $lightness: 5%);
@if $grayscale == true {
$base-color-hover: grayscale($base-color-hover);
}
background-color: $base-color-hover;
cursor: pointer;
}
&:active:not(:disabled),
&:focus:not(:disabled) {
$base-color-active: adjust-color($base-color, $saturation: -4%, $lightness: -5%);
@if $grayscale == true {
$base-color-active: grayscale($base-color-active);
}
background-color: $base-color-active;
cursor: pointer;
}
}
@@ -0,0 +1,23 @@
// Modern micro clearfix provides an easy way to contain floats without adding additional markup.
//
// Example usage:
//
// // Contain all floats within .wrapper
// .wrapper {
// @include clearfix;
// .content,
// .sidebar {
// float : left;
// }
// }
@mixin clearfix {
&:after {
content:"";
display:table;
clear:both;
}
}
// Acknowledgements
// Beat *that* clearfix: [Thierry Koblentz](http://www.css-101.org/articles/clearfix/latest-new-clearfix-so-far.php)
@@ -0,0 +1,111 @@
// directional-property mixins are shorthands
// for writing properties like the following
//
// @include margin(null 0 10px);
// ------
// margin-right: 0;
// margin-bottom: 10px;
// margin-left: 0;
//
// - or -
//
// @include border-style(dotted null);
// ------
// border-top-style: dotted;
// border-bottom-style: dotted;
//
// ------
//
// Note: You can also use false instead of null
@function collapse-directionals($vals) {
$output: null;
$A: nth( $vals, 1 );
$B: if( length($vals) < 2, $A, nth($vals, 2));
$C: if( length($vals) < 3, $A, nth($vals, 3));
$D: if( length($vals) < 2, $A, nth($vals, if( length($vals) < 4, 2, 4) ));
@if $A == 0 { $A: 0 }
@if $B == 0 { $B: 0 }
@if $C == 0 { $C: 0 }
@if $D == 0 { $D: 0 }
@if $A == $B and $A == $C and $A == $D { $output: $A }
@else if $A == $C and $B == $D { $output: $A $B }
@else if $B == $D { $output: $A $B $C }
@else { $output: $A $B $C $D }
@return $output;
}
@function contains-falsy($list) {
@each $item in $list {
@if not $item {
@return true;
}
}
@return false;
}
@mixin directional-property($pre, $suf, $vals) {
// Property Names
$top: $pre + "-top" + if($suf, "-#{$suf}", "");
$bottom: $pre + "-bottom" + if($suf, "-#{$suf}", "");
$left: $pre + "-left" + if($suf, "-#{$suf}", "");
$right: $pre + "-right" + if($suf, "-#{$suf}", "");
$all: $pre + if($suf, "-#{$suf}", "");
$vals: collapse-directionals($vals);
@if contains-falsy($vals) {
@if nth($vals, 1) { #{$top}: nth($vals, 1); }
@if length($vals) == 1 {
@if nth($vals, 1) { #{$right}: nth($vals, 1); }
} @else {
@if nth($vals, 2) { #{$right}: nth($vals, 2); }
}
// prop: top/bottom right/left
@if length($vals) == 2 {
@if nth($vals, 1) { #{$bottom}: nth($vals, 1); }
@if nth($vals, 2) { #{$left}: nth($vals, 2); }
// prop: top right/left bottom
} @else if length($vals) == 3 {
@if nth($vals, 3) { #{$bottom}: nth($vals, 3); }
@if nth($vals, 2) { #{$left}: nth($vals, 2); }
// prop: top right bottom left
} @else if length($vals) == 4 {
@if nth($vals, 3) { #{$bottom}: nth($vals, 3); }
@if nth($vals, 4) { #{$left}: nth($vals, 4); }
}
// prop: top/right/bottom/left
} @else {
#{$all}: $vals;
}
}
@mixin margin($vals...) {
@include directional-property(margin, false, $vals...);
}
@mixin padding($vals...) {
@include directional-property(padding, false, $vals...);
}
@mixin border-style($vals...) {
@include directional-property(border, style, $vals...);
}
@mixin border-color($vals...) {
@include directional-property(border, color, $vals...);
}
@mixin border-width($vals...) {
@include directional-property(border, width, $vals...);
}
@@ -0,0 +1,7 @@
@mixin ellipsis($width: 100%) {
display: inline-block;
max-width: $width;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@@ -0,0 +1,5 @@
$georgia: Georgia, Cambria, "Times New Roman", Times, serif;
$helvetica: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
$lucida-grande: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif;
$monospace: "Bitstream Vera Sans Mono", Consolas, Courier, monospace;
$verdana: Verdana, Geneva, sans-serif;
@@ -0,0 +1,10 @@
@mixin hide-text {
overflow: hidden;
&:before {
content: "";
display: block;
width: 0;
height: 100%;
}
}
@@ -0,0 +1,86 @@
//************************************************************************//
// Generate a variable ($all-text-inputs) with a list of all html5
// input types that have a text-based input, excluding textarea.
// http://diveintohtml5.org/forms.html
//************************************************************************//
$inputs-list: 'input[type="email"]',
'input[type="number"]',
'input[type="password"]',
'input[type="search"]',
'input[type="tel"]',
'input[type="text"]',
'input[type="url"]',
// Webkit & Gecko may change the display of these in the future
'input[type="color"]',
'input[type="date"]',
'input[type="datetime"]',
'input[type="datetime-local"]',
'input[type="month"]',
'input[type="time"]',
'input[type="week"]';
// Bare inputs
//************************************************************************//
$all-text-inputs: assign-inputs($inputs-list);
// Hover Pseudo-class
//************************************************************************//
$all-text-inputs-hover: assign-inputs($inputs-list, hover);
// Focus Pseudo-class
//************************************************************************//
$all-text-inputs-focus: assign-inputs($inputs-list, focus);
// You must use interpolation on the variable:
// #{$all-text-inputs}
// #{$all-text-inputs-hover}
// #{$all-text-inputs-focus}
// Example
//************************************************************************//
// #{$all-text-inputs}, textarea {
// border: 1px solid red;
// }
//************************************************************************//
// Generate a variable ($all-button-inputs) with a list of all html5
// input types that have a button-based input, excluding button.
//************************************************************************//
$inputs-button-list: 'input[type="button"]',
'input[type="reset"]',
'input[type="submit"]';
// Bare inputs
//************************************************************************//
$all-button-inputs: assign-inputs($inputs-button-list);
// Hover Pseudo-class
//************************************************************************//
$all-button-inputs-hover: assign-inputs($inputs-button-list, hover);
// Focus Pseudo-class
//************************************************************************//
$all-button-inputs-focus: assign-inputs($inputs-button-list, focus);
// Active Pseudo-class
//************************************************************************//
$all-button-inputs-active: assign-inputs($inputs-button-list, active);
// You must use interpolation on the variable:
// #{$all-button-inputs}
// #{$all-button-inputs-hover}
// #{$all-button-inputs-focus}
// #{$all-button-inputs-active}
// Example
//************************************************************************//
// #{$all-button-inputs}, button {
// border: 1px solid red;
// }
@@ -0,0 +1,32 @@
@mixin position ($position: relative, $coordinates: null null null null) {
@if type-of($position) == list {
$coordinates: $position;
$position: relative;
}
$coordinates: unpack($coordinates);
$top: nth($coordinates, 1);
$right: nth($coordinates, 2);
$bottom: nth($coordinates, 3);
$left: nth($coordinates, 4);
position: $position;
@if ($top and $top == auto) or (type-of($top) == number) {
top: $top;
}
@if ($right and $right == auto) or (type-of($right) == number) {
right: $right;
}
@if ($bottom and $bottom == auto) or (type-of($bottom) == number) {
bottom: $bottom;
}
@if ($left and $left == auto) or (type-of($left) == number) {
left: $left;
}
}
@@ -0,0 +1,45 @@
//************************************************************************//
// Example: @include prefixer(border-radius, $radii, webkit ms spec);
//************************************************************************//
// Variables located in /settings/_prefixer.scss
@mixin prefixer ($property, $value, $prefixes) {
@each $prefix in $prefixes {
@if $prefix == webkit {
@if $prefix-for-webkit {
-webkit-#{$property}: $value;
}
}
@else if $prefix == moz {
@if $prefix-for-mozilla {
-moz-#{$property}: $value;
}
}
@else if $prefix == ms {
@if $prefix-for-microsoft {
-ms-#{$property}: $value;
}
}
@else if $prefix == o {
@if $prefix-for-opera {
-o-#{$property}: $value;
}
}
@else if $prefix == spec {
@if $prefix-for-spec {
#{$property}: $value;
}
}
@else {
@warn "Unrecognized prefix: #{$prefix}";
}
}
}
@mixin disable-prefix-for-all() {
$prefix-for-webkit: false !global;
$prefix-for-mozilla: false !global;
$prefix-for-microsoft: false !global;
$prefix-for-opera: false !global;
$prefix-for-spec: false !global;
}
@@ -0,0 +1,31 @@
@mixin retina-image($filename, $background-size, $extension: png, $retina-filename: null, $retina-suffix: _2x, $asset-pipeline: $asset-pipeline) {
@if $asset-pipeline {
background-image: image-url("#{$filename}.#{$extension}");
}
@else {
background-image: url("#{$filename}.#{$extension}");
}
@include hidpi {
@if $asset-pipeline {
@if $retina-filename {
background-image: image-url("#{$retina-filename}.#{$extension}");
}
@else {
background-image: image-url("#{$filename}#{$retina-suffix}.#{$extension}");
}
}
@else {
@if $retina-filename {
background-image: url("#{$retina-filename}.#{$extension}");
}
@else {
background-image: url("#{$filename}#{$retina-suffix}.#{$extension}");
}
}
background-size: $background-size;
}
}
@@ -0,0 +1,16 @@
@mixin size($size) {
$height: nth($size, 1);
$width: $height;
@if length($size) > 1 {
$height: nth($size, 2);
}
@if $height == auto or (type-of($height) == number and not unitless($height)) {
height: $height;
}
@if $width == auto or (type-of($width) == number and not unitless($width)) {
width: $width;
}
}
@@ -0,0 +1,32 @@
// CSS cubic-bezier timing functions. Timing functions courtesy of jquery.easie (github.com/jaukia/easie)
// Timing functions are the same as demo'ed here: http://jqueryui.com/resources/demos/effect/easing.html
// EASE IN
$ease-in-quad: cubic-bezier(0.550, 0.085, 0.680, 0.530);
$ease-in-cubic: cubic-bezier(0.550, 0.055, 0.675, 0.190);
$ease-in-quart: cubic-bezier(0.895, 0.030, 0.685, 0.220);
$ease-in-quint: cubic-bezier(0.755, 0.050, 0.855, 0.060);
$ease-in-sine: cubic-bezier(0.470, 0.000, 0.745, 0.715);
$ease-in-expo: cubic-bezier(0.950, 0.050, 0.795, 0.035);
$ease-in-circ: cubic-bezier(0.600, 0.040, 0.980, 0.335);
$ease-in-back: cubic-bezier(0.600, -0.280, 0.735, 0.045);
// EASE OUT
$ease-out-quad: cubic-bezier(0.250, 0.460, 0.450, 0.940);
$ease-out-cubic: cubic-bezier(0.215, 0.610, 0.355, 1.000);
$ease-out-quart: cubic-bezier(0.165, 0.840, 0.440, 1.000);
$ease-out-quint: cubic-bezier(0.230, 1.000, 0.320, 1.000);
$ease-out-sine: cubic-bezier(0.390, 0.575, 0.565, 1.000);
$ease-out-expo: cubic-bezier(0.190, 1.000, 0.220, 1.000);
$ease-out-circ: cubic-bezier(0.075, 0.820, 0.165, 1.000);
$ease-out-back: cubic-bezier(0.175, 0.885, 0.320, 1.275);
// EASE IN OUT
$ease-in-out-quad: cubic-bezier(0.455, 0.030, 0.515, 0.955);
$ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1.000);
$ease-in-out-quart: cubic-bezier(0.770, 0.000, 0.175, 1.000);
$ease-in-out-quint: cubic-bezier(0.860, 0.000, 0.070, 1.000);
$ease-in-out-sine: cubic-bezier(0.445, 0.050, 0.550, 0.950);
$ease-in-out-expo: cubic-bezier(1.000, 0.000, 0.000, 1.000);
$ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.150, 0.860);
$ease-in-out-back: cubic-bezier(0.680, -0.550, 0.265, 1.550);
@@ -0,0 +1,83 @@
@mixin triangle ($size, $color, $direction) {
height: 0;
width: 0;
$width: nth($size, 1);
$height: nth($size, length($size));
$foreground-color: nth($color, 1);
$background-color: if(length($color) == 2, nth($color, 2), transparent);
@if ($direction == up) or ($direction == down) or ($direction == right) or ($direction == left) {
$width: $width / 2;
$height: if(length($size) > 1, $height, $height/2);
@if $direction == up {
border-left: $width solid $background-color;
border-right: $width solid $background-color;
border-bottom: $height solid $foreground-color;
} @else if $direction == right {
border-top: $width solid $background-color;
border-bottom: $width solid $background-color;
border-left: $height solid $foreground-color;
} @else if $direction == down {
border-left: $width solid $background-color;
border-right: $width solid $background-color;
border-top: $height solid $foreground-color;
} @else if $direction == left {
border-top: $width solid $background-color;
border-bottom: $width solid $background-color;
border-right: $height solid $foreground-color;
}
}
@else if ($direction == up-right) or ($direction == up-left) {
border-top: $height solid $foreground-color;
@if $direction == up-right {
border-left: $width solid $background-color;
} @else if $direction == up-left {
border-right: $width solid $background-color;
}
}
@else if ($direction == down-right) or ($direction == down-left) {
border-bottom: $height solid $foreground-color;
@if $direction == down-right {
border-left: $width solid $background-color;
} @else if $direction == down-left {
border-right: $width solid $background-color;
}
}
@else if ($direction == inset-up) {
border-width: $height $width;
border-style: solid;
border-color: $background-color $background-color $foreground-color;
}
@else if ($direction == inset-down) {
border-width: $height $width;
border-style: solid;
border-color: $foreground-color $background-color $background-color;
}
@else if ($direction == inset-right) {
border-width: $width $height;
border-style: solid;
border-color: $background-color $background-color $background-color $foreground-color;
}
@else if ($direction == inset-left) {
border-width: $width $height;
border-style: solid;
border-color: $background-color $foreground-color $background-color $background-color;
}
}
@@ -0,0 +1,8 @@
@mixin word-wrap($wrap: break-word) {
word-wrap: $wrap;
@if $wrap == break-word {
overflow-wrap: break-word;
word-break: break-all;
}
}
@@ -0,0 +1,52 @@
// http://www.w3.org/TR/css3-animations/#the-animation-name-property-
// Each of these mixins support comma separated lists of values, which allows different transitions for individual properties to be described in a single style rule. Each value in the list corresponds to the value at that same position in the other properties.
// Official animation shorthand property.
@mixin animation ($animations...) {
@include prefixer(animation, $animations, webkit moz spec);
}
// Individual Animation Properties
@mixin animation-name ($names...) {
@include prefixer(animation-name, $names, webkit moz spec);
}
@mixin animation-duration ($times...) {
@include prefixer(animation-duration, $times, webkit moz spec);
}
@mixin animation-timing-function ($motions...) {
// ease | linear | ease-in | ease-out | ease-in-out
@include prefixer(animation-timing-function, $motions, webkit moz spec);
}
@mixin animation-iteration-count ($values...) {
// infinite | <number>
@include prefixer(animation-iteration-count, $values, webkit moz spec);
}
@mixin animation-direction ($directions...) {
// normal | alternate
@include prefixer(animation-direction, $directions, webkit moz spec);
}
@mixin animation-play-state ($states...) {
// running | paused
@include prefixer(animation-play-state, $states, webkit moz spec);
}
@mixin animation-delay ($times...) {
@include prefixer(animation-delay, $times, webkit moz spec);
}
@mixin animation-fill-mode ($modes...) {
// none | forwards | backwards | both
@include prefixer(animation-fill-mode, $modes, webkit moz spec);
}
@@ -0,0 +1,3 @@
@mixin appearance ($value) {
@include prefixer(appearance, $value, webkit moz ms o spec);
}

Some files were not shown because too many files have changed in this diff Show More