Archive: Namaste PHP AMQP framework v1.0 (2017-2020)

952 days continuous production uptime, 40k+ tp/s single node.
Original corpo Bitbucket history not included — clean archive commit.
This commit is contained in:
2026-04-05 09:49:30 -07:00
commit 373ebc8c93
1284 changed files with 409372 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
// ACCORDION
.accordion {
.card {
border-bottom: 1px solid #eee;
box-shadow: none;
.card-header {
padding: 1rem 1.5rem;
background: transparent;
border-bottom: 0;
a:not(.collapsed) {
.rotate-icon {
transform: rotate(180deg);
}
}
}
.fa-angle-down {
float: right;
}
.card-block {
padding-top: .25rem;
}
}
}
// Collapsible body
.collapsible-body {
display: none;
}

View File

@@ -0,0 +1,7 @@
// Animations Pro
.collapsible .active {
.rotate-icon {
transform: rotate(180deg);
transition: all 150ms ease-in 0s;
}
}

View File

@@ -0,0 +1,40 @@
/***************
MDB Autocomplete
***************/
.mdb-autocomplete {
margin-bottom: 1px;
}
.mdb-autocomplete-clear {
visibility: hidden;
position: absolute;
z-index: 2;
right: 0;
top: 0.85rem;
background: transparent;
border: none;
svg {
fill: #a6a6a6;
}
}
.mdb-autocomplete-wrap {
position: absolute;
left: 0;
right: 0;
background: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
z-index: 100;
max-height: 210px;
overflow-y: auto;
padding-left: 0;
list-style-type: none;
li {
cursor: pointer;
padding: 12px 15px;
font-size: 0.875rem;
&:hover {
background: rgb(238, 238, 238);
}
}
}

104
html/sass/mdb/pro/_blog.scss Executable file
View File

@@ -0,0 +1,104 @@
// BLOG COMPONENTS
// Author box
.author-box {
@extend .jumbotron;
padding: 3rem;
@media (max-width: $small-screen-up) {
text-align: center;
img {
margin-bottom: 2rem;
display: inline;
}
}
strong{
font-weight: 600;
}
}
// Comments section
.comments-list,
.reply-form {
margin-bottom: 3rem;
ul {
list-style-type: none;
}
.badge {
@extend .z-depth-1-half;
}
img {
max-width: 100px;
@extend .z-depth-2;
@extend .img-fluid;
@include border-radius(50%);
}
.row {
margin-bottom: 2rem;
}
.user-name {
color: #000;
}
.comment-date {
color: #666;
}
.comment-text {
color: #9e9e9e;
}
h4 {
text-align: center;
}
@media (max-width: $small-screen-up) {
text-align: center;
img {
display: inline;
margin-bottom: 1rem;
}
.md-form {
text-align: left;
}
}
.text-center {
flex:1;
}
}
// Full width blog section
.section-blog-fw {
.view {
@extend .z-depth-1;
}
.jumbotron {
@extend .m-1;
text-align: center;
}
h2 {
@extend .h2-responsive;
margin-bottom: 1rem;
a {
color: #424242;
@include transition (0.2s);
&:hover {
color: #616161;
@include transition (0.2s);
}
}
}
}
//blog icons
.personal-sm{
margin-bottom: 10px;
a {
padding: 5px;
&:first-of-type {
padding-left: 0;
}
.fa {
transition-duration: .2s;
}
&:hover .fa {
transform: scale(1.2);
}
}
}

View File

@@ -0,0 +1,98 @@
// Buttons Pro
.btn {
&.btn-flat {
color:inherit !important;
background-color: transparent;
box-shadow:none;
}
}
//Floating button
.btn-floating {
position: relative;
z-index: 1;
vertical-align: middle;
display: inline-block;
overflow: hidden;
width: $btn-floating-size;
height: $btn-floating-size;
padding: 0;
border-radius: 50%;
margin: 10px;
@extend .z-depth-1-half;
background-color: $btn-floating-color;
color: $btn-floating-color-raised;
cursor: pointer;
transition: 0.3s;
i {
display: inline-block;
width: inherit;
color: $btn-floating-color-raised;
font-size: $btn-floating-icon-size;
line-height: $btn-floating-size;
text-align: center;
}
&:hover {
@extend .z-depth-2;
}
&:before {
border-radius: 0;
}
&.btn-sm,
&.btn-small {
width: $btn-floating-size / 1.3;
height: $btn-floating-size / 1.3;
i {
font-size: $btn-floating-icon-size / 1.3;
line-height: $btn-floating-size / 1.3;
}
}
&.btn-lg,
&.btn-large {
width: $btn-floating-size * 1.3;
height: $btn-floating-size * 1.3;
i {
font-size: $btn-floating-icon-size * 1.3;
line-height: $btn-floating-size * 1.3;
}
}
}
// Fixed Action Button
.fixed-action-btn {
position: fixed;
z-index: 998;
right: 35px;
bottom: 35px;
padding-top: 15px;
margin-bottom: 0;
ul {
position: absolute;
right: 0;
bottom: 64px;
left: 0;
margin: 0;
padding:0;
list-style-type:none;
text-align: center;
li {
margin-bottom: 15px;
}
a {
&.btn-floating {
opacity: 0;
}
}
}
}
button, html [type="button"], [type="reset"], [type="submit"] {
-webkit-appearance: none;
}
// Rounded buttons
.btn-rounded {
border-radius: 10em;
}
// Gradient buttons
@each $name, $val in $gradients-premium {
@include make-gradient-button($name, $val);
}

424
html/sass/mdb/pro/_cards-pro.scss Executable file
View File

@@ -0,0 +1,424 @@
// Cards Pro
.card {
// Common styles for cards pro
&.card-image {
background-size: cover;
background-position: center;
width: 100%;
}
.card-data {
background-color: map-get($mdb-color, 'lighten-3');
color: #fff;
text-align: center;
height: auto;
padding: 10px;
ul {
margin-bottom: 0;
font-size: 0.9rem;
li {
display: inline;
.fa-clock-o {
margin-left: 10px;
}
}
a {
color: #fff;
.fa {
margin-left: 5px;
margin-right: 3px;
}
}
}
}
&.card-dark {
.activator {
@extend .white-text;
}
.card-body {
background-color: $elegant-color;
@extend .white-text;
hr {
background-color: #666;
}
a {
@extend .white-text;
}
}
} // Cascading cards
&.card-cascade {
width: 100%;
.view {
@extend .z-depth-2;
border-radius: 4px;
&.gradient-card-header {
padding: 1.6rem 1rem;
text-align: center;
@extend .white-text;
h2 {
font-weight: 400;
}
.btn-floating {
background-color: rgba(255, 255, 255, .2);
}
}
}
&.narrower {
margin-top: 20px;
.view {
margin-left: 4%;
margin-right: 4%;
margin-top: -20px;
}
}
&.wider {
background-color: transparent;
@extend .z-depth-0;
.view {
z-index: 2;
}
.card-body {
margin-left: 4%;
margin-right: 4%;
@extend .z-depth-1;
background: #fff;
z-index: 1;
border-radius: 0 0 0.3rem 0.3rem;
}
&.reverse {
.view {
//@extend .z-depth-1;
}
.card-body {
z-index: 3;
margin-top: -1rem;
border-radius: 4px;
@extend .z-depth-1-half;
}
}
}
&.card-avatar {
margin-top: 6rem;
text-align: center;
img {
margin-top: -5rem;
margin-left: auto;
margin-right: auto;
width: 160px;
border-radius: 50%;
@extend .z-depth-1-half;
}
}
.card-body {
padding-top: 1.8rem;
}
&.panel-cascade {
.view {
text-align: center;
color: #fff;
}
.list-group {
.list-group-item {
margin-bottom: 0px;
border: 0;
border-bottom: 1px solid #eee;
color: #495057;
&:hover {
background-color: #eee;
}
}
}
}
}
// activator
.activator {
position: absolute;
top: 0;
right: 0;
padding: 1rem;
margin-right: 10px;
font-size: 1.2rem;
@extend .black-text;
} // review card
.rating {
color: #ffa000;
}
.btn-action {
margin: -23px 20px;
margin-left: auto;
background-color: map-get($mdb-color, 'lighten-3');
height: 47px;
width: 47px;
line-height: 0;
.fa {
font-size: 18px;
&.fa-chevron-right {
margin-top: 2px;
margin-left: 2px;
}
}
}
.card-review {
margin-top: -1px;
@extend .black;
color: #fff;
padding: 50px 20px 20px 20px;
ul {
margin-bottom: 0;
font-size: 0.9rem;
li {
display: inline;
}
a {
color: #fff;
.fa {
margin-left: 5px;
margin-right: 3px;
}
}
}
} //Card Reveal
.card-reveal {
position: absolute;
@extend .white;
width: 100%;
overflow-y: auto;
top: 100%;
height: 100%;
z-index: 1;
display: none;
padding: 1rem;
.card-title {
cursor: pointer;
i {
color: #9e9e9e;
position: absolute;
right: 10px;
}
}
.content {
position: relative;
h4 {
margin-top: 20px;
margin-bottom: 15px;
}
h5 {
margin-top: 30px;
}
}
} //Social reveal
.card-share {
position: relative;
.social-reveal {
position: absolute;
top: -28px;
right: 30px;
visibility: hidden;
width: auto;
transform: translateZ(0);
transform: translateX(0px);
transition: transform 0.35s ease;
.btn-floating {
margin: 0.3rem;
i {
font-size: 18px;
}
}
}
.social-reveal-active {
z-index: 11;
visibility: visible;
/*z-index: 3;*/
transform: translateZ(0);
transform: translateX(-48px);
transition: transform 0.35s ease;
}
}
&.ovf-hidden {
overflow: hidden;
}
.card-footer {
background-color: transparent; // padding: .75rem .5rem 0 .5rem;
.left {
float: left;
.discount {
text-decoration: line-through;
color: #9e9e9e;
font-size: 1.1rem;
}
}
.right {
float: right;
display: flex;
a {
color: #757575;
margin-left: 1rem;
@include transition (0.4s);
&:hover {
color: #d50000;
@include transition (0.4s);
}
&.active {
color: #d50000;
}
}
}
}
}
// Rotating card
.card-wrapper {
margin: 0;
min-height: 500px;
position: relative;
perspective: 800px;
.face {
position: absolute;
width: 100%;
height: 100%;
@extend .white;
h4 {
margin-bottom: 15px;
}
h5 {
margin-top: 30px;
}
.content {
text-align: left;
padding: 15px;
p {
margin-bottom: 30px;
}
.rotate-btn {
padding: 1rem;
margin-right: -8px;
float: right;
font-size: 1.2rem;
@extend .black-text;
}
}
}
/* Front side */
.card-up {
overflow: hidden;
height: 50%;
}
.card-up img {
min-width: 400px;
}
.avatar {
border-radius: 50%;
display: block;
height: 120px;
margin: -65px auto 0;
overflow: hidden;
width: 120px;
}
.avatar img {
border: 5px solid #fff;
background: none repeat scroll 0 0 #FFFFFF;
width: 100%;
}
/* Card with rotate on click */
.card-rotating {
text-align: center;
position: absolute;
width: 100%;
height: 100%;
.content {
position: relative;
.rotate-btn {
position: absolute;
right: 8px;
top: 0;
}
}
}
/* Rotate icons */
.fa-repeat,
.fa-undo {
font-size: 20px;
margin-top: 30px;
}
.fa-undo {
margin-top: 30px;
}
/* Animation */
.card-rotating {
transform-style: preserve-3d;
}
.front,
.back {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transition: -webkit-transform 1.0s;
transition: transform 1.0s;
@extend .z-depth-1;
}
.back {
-webkit-transform: rotateY(-180deg);
transform: rotateY(-180deg);
padding: 1rem;
.card-title {
cursor: pointer;
i {
color: #9e9e9e;
position: absolute;
right: 20px;
}
}
}
/* Click effect */
.card-rotating.effect__click.flipped .front {
-webkit-transform: rotateY(180deg);
transform: rotateY(180deg);
}
.card-rotating.effect__click.flipped .back {
-webkit-transform: rotateY(0);
transform: rotateY(0);
}
}
// Testimonial card
.testimonial-card {
.card-up {
overflow: hidden;
height: 120px;
border-radius: .3rem .3rem 0 0;
}
.avatar {
@include border-radius(50%);
height: 120px;
width: 120px;
margin: -65px auto 0;
overflow: hidden;
border: 5px solid #fff;
@extend .white;
}
.avatar img {
width: 100%;
}
.card-body {
text-align: center;
}
}
.card-inverse {
h5 {
font-size: 1rem;
}
h3 {
font-weight: 400;
}
}
// Card overlay
.card-overlay {
background-size: cover;
padding: 1.5rem;
border-radius: 2px;
@extend .z-depth-2;
@extend .flex-center;
p {
margin-bottom: 1rem;
}
}

View File

@@ -0,0 +1,95 @@
// CAROUSELS PRO
.carousel-multi-item {
@media (min-width: 768px) {
.col-md-4 {
float: left;
width: 33.333333%;
max-width: 100%;
}
}
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
display: block;
}
margin-bottom: 100px;
.carousel-indicators li {
height: 20px;
max-width: 20px;
background-color: $primary-color;
margin-bottom: -60px;
}
.carousel-indicators .active {
height: 25px;
max-width: 25px;
background-color: $primary-color;
@include border-radius(50%);
}
.controls-top {
text-align: center;
margin-bottom: 30px;
.btn-floating {
background: $primary-color;
}
}
.carousel-indicators {
margin-bottom: -2em;
}
.card {
margin: 1px;
}
.card-cascade.narrower {
margin-top: 20px;
margin-bottom: 5px;
}
}
@media only screen and (max-width: $medium-screen) {
.carousel-multi-item {
.carousel-indicators li {
margin-bottom: -30px;
}
}
}
//Carousel with thumbnails
.carousel-thumbnails {
margin-bottom: 80px;
.carousel-indicators {
margin-bottom: -75px;
position: absolute;
li {
height: auto;
max-width: 100px;
width: 100px;
border: none;
}
.active {
height: auto;
width: auto;
@extend .white;
opacity: 0.5;
}
img {
max-width: 100px;
height: 50px;
overflow: hidden;
display: block;
}
}
}
@media only screen and (max-width: $small-screen) {
.carousel-thumbnails {
margin-bottom: 60px;
.carousel-indicators {
margin-bottom: -60px;
img {
max-width: 50px;
height: 25px;
}
}
}
}

View File

@@ -0,0 +1,26 @@
// Charts Pro
.min-chart {
position: relative;
display: inline-block;
width: 110px;
height: 110px;
margin-top: 50px;
margin-bottom: 50px;
text-align: center;
canvas {
position: absolute;
top: 0;
left: 0;
}
.percent {
display: inline-block;
line-height: 110px;
z-index: 2;
&:after {
content: '%';
margin-left: 0.1em;
font-size: .8em;
}
}
}

156
html/sass/mdb/pro/_checkbox.scss Executable file
View File

@@ -0,0 +1,156 @@
/***************
Checkboxes
***************/
[type="checkbox"] {
@extend %hide-radio-checkbox;
+ label {
@extend %base-radio-checkbox-label;
&:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 17px;
height: 17px;
z-index: 0;
border: 1.5px solid #8a8a8a;
border-radius: 1px;
margin-top: 2px;
@include transition(.2s);
}
}
&:checked {
+ label:before {
top: -4px;
left: -3px;
width: 12px;
height: 22px;
border-style: solid;
border-width: 2px;
border-color: transparent $radio-fill-color $radio-fill-color transparent;
@include transform(rotate(40deg));
-webkit-backface-visibility: hidden;
@include transform-origin(100% 100%);
}
}
&:indeterminate {
+ label:before {
left: -10px;
top: -11px;
width: 10px;
height: 22px;
border: none;
border-right: 2px solid $radio-fill-color;
@include transform(rotate(90deg));
-webkit-backface-visibility: hidden;
@include transform-origin(100% 100%);
}
}
&:disabled {
&:checked + label:before {
border-color: transparent $input-disabled-color $input-disabled-color transparent;
}
&:not(:checked) + label:before {
border: none;
margin-left: 2px;
margin-top: 2px;
background-color: $input-disabled-color;
}
&:indeterminate + label:before {
border-right: 2px solid $input-disabled-color;
margin-left: 0;
margin-top: 0;
background-color: transparent;
}
}
&[class*='filled-in'] {
+ label:after, + label:before {
content: '';
left: 0;
position: absolute;
/* .1s delay is for check animation */
transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
z-index: 1;
border-style: solid;
border-width: 2px;
}
+ label:after {
border-radius: 2px;
height: 20px;
width: 20px;
}
+ label:before {
@include transform(rotateZ(37deg));
@include transform-origin(100% 100%); // ? 20% 40%
}
&:not(:checked) {
+ label:before {
width: 0;
height: 0;
border-style: 3px;
border-color: transparent;
left: 6px;
top: 10px;
}
+ label:after {
background-color: transparent;
border-color: $radio-empty-color;
top: 0;
z-index: 0;
}
}
&:checked {
+ label:before {
top: 0;
left: 1px;
width: 8px;
height: 13px;
border-color: transparent $input-bg-color $input-bg-color transparent;
}
+ label:after {
border-color: $secondary-color;
background-color: $secondary-color;
z-index: 0;
}
}
&:disabled {
&:not(:checked) {
+ label:before {
background-color: transparent;
border-color: $input-disabled-solid-color;
}
+ label:after {
border-color: transparent;
background-color: $input-disabled-solid-color;
}
}
&:checked {
+ label:before {
background-color: transparent;
}
+ label:after {
background-color: $input-disabled-solid-color;
border-color: $input-disabled-solid-color;
}
}
}
}
&.filled-in-danger {
&:checked + label:after {
background-color: red;
border-color: red;
}
}
}

69
html/sass/mdb/pro/_chips.scss Executable file
View File

@@ -0,0 +1,69 @@
// Chips
.chip {
display: inline-block;
height: $chip-height;
font-size: $chip-font-size;
font-weight: $chip-font-weight;
color: $chip-font-color;
line-height: $chip-line-height;
padding: 0 $chip-padding-right;
@include border-radius($chip-br);
background-color: $chip-background-color;
margin-bottom: $chip-margin-bottom;
margin-right: $chip-margin-right;
img {
float: left;
margin: 0 $chip-img-margin-right 0 $chip-img-margin-left;
height: $chip-img-height;
width: $chip-img-width;
@include border-radius(50%);
}
.close {
cursor: pointer;
float: right;
font-size: $chip-close-font-size;
line-height: $chip-close-line-height;
padding-left: $chip-close-padding-left;
@include transition(all 0.1s linear);
}
}
.chips {
outline: none;
box-shadow: none;
border: none;
border-bottom: 1px solid $input-border-color;
margin-bottom: $chips-margin-bottom;
min-height: $chips-min-height;
padding-bottom: $chips-padding-bottom;
@include transition(all .3s);
&.focus {
border-bottom: 1px solid $input-focus-color;
box-shadow: 0 1px 0 0 $input-focus-color;
}
&:hover {
cursor: text;
}
.tag.selected {
border-bottom: 1px solid $input-focus-color;
color: $white;
}
.input {
display: inline-block;
background: none;
border: 0;
outline: 0;
padding: 0 !important;
width: $chips-input-width !important;
color: $chips-input-font-color;
font-size: $chips-input-font-size;
font-weight: $chips-input-font-weight;
height: $chips-input-height;
margin-right: $chips-input-margin-right;
line-height: $chips-input-line-height;
&:focus {
border: 0 !important;
box-shadow: none !important;
}
}
}

View File

@@ -0,0 +1,173 @@
// Colorful SideNav
.colorful-side-nav {
background-color: $default-color-dark;
li {
background-color: $default-color-dark;
&:hover,
&.active {
background-color: lighten( $default-color-dark, 5%);
}
}
p {
@extend .white-text;
}
.collapsible a {
margin: 0;
@extend .white-text;
&:active {
background-color: lighten( $default-color-dark, 5%);
}
&.active {
background-color: lighten( $default-color-dark, 5%);
}
}
.collapsible {
>li {
padding: 0;
}
}
.social {
border-top: 1px solid #26a69a;
border-bottom: 1px solid #26a69a;
a {
@extend .white-text;
}
}
}
// Stylish SideNav
.stylish-side-nav {
background-color: $stylish-color-dark;
li {
background-color: $stylish-color-dark;
&:hover,
&.active {
background-color: $stylish-color;
}
}
p {
@extend .white-text;
}
.collapsible a {
margin: 0;
@extend .white-text;
&:active {
background-color: $stylish-color;
}
&.active {
background-color: $stylish-color;
}
}
.collapsible {
>li {
padding: 0;
}
}
.social {
border-top: 1px solid $stylish-color;
border-bottom: 1px solid $stylish-color;
a {
@extend .white-text;
}
}
}
// Light Variation
.light-side-nav {
.logo-wrapper {
height: 80px;
a {
height: 80px;
}
img {
padding-left: 50px;
padding-right: 50px;
padding-top: 7%;
padding-bottom: 7%;
}
}
p {
color: #1C2331;
}
.collapsible a {
color: #1C2331;
}
.social {
border-top: 1px solid #eeeeee;
border-bottom: 1px solid #eeeeee;
}
.navbar-form {
margin: 10px;
}
}
// Dark Variation
.dark-side-nav {
background-color: $elegant-color-dark;
li {
background-color: $elegant-color-dark;
&:hover,
&.active {
background-color: $elegant-color;
}
}
p {
@extend .white-text;
}
.collapsible a {
@extend .white-text;
margin: 0;
&:active,
.active {
background-color: $elegant-color;
}
}
.collapsible {
>li {
padding: 0;
}
}
.social {
border-top: 1px solid $stylish-color;
border-bottom: 1px solid $stylish-color;
a {
@extend .white-text;
}
}
}
// Social List
.social-list {
font-weight: 400;
width: auto;
@extend .z-depth-1;
padding: 1rem;
list-style-type:none;
li {
margin-top: 15px;
}
.fa {
margin-right: 20px;
font-size: 20px;
}
.fa-facebook {
margin-right: 26px;
}
a {
font-size: 20px;
}
}
// Flat button
.btn-flat {
position: relative;
padding: 8px 30px;
border: none;
margin: 10px;
text-decoration: none;
outline: 0!important;
}

View File

@@ -0,0 +1,159 @@
// Dropdown pro
// Dropdowns menu's colors
.dropdown {
.dropdown-menu {
padding: 0.5rem;
@each $name, $color in $dropdown-colors {
&.dropdown-#{$name} {
.dropdown-item {
&:hover,
&:active {
background-color: $color;
}
}
}
}
.dropdown-item {
padding: 0.5rem;
margin-left: 0;
font-size:0.9rem;
&.disabled {
color: #868e96;
&:hover,
&:active,
&:focus {
box-shadow: none;
color: #868e96!important;
background-color: transparent!important;
}
}
&:hover,
&:active {
border-radius: 2px;
transition: all 0.1s linear;
@extend .z-depth-1-half;
@extend .white-text;
background-color: $primary-color;
}
}
}
}
// .dropdown-menu-right {
// right: 0;
// left: auto!important;
// }
.dropdown-content {
@extend .z-depth-1;
background-color: $dropdown-bg-color;
margin: 0;
display: none;
min-width: 100px;
max-height: 650px;
overflow-y: auto;
opacity: 0;
position: absolute;
z-index: 999;
will-change: width, height;
li {
clear: both;
color: #000;//$off-black;
cursor: pointer;
line-height: 1.3rem;
width: 100%;
text-align: left;
text-transform: none;
&:hover,
&.active {
background-color: $dropdown-hover-bg-color;
}
& > a,
& > span {
font-size: 0.9rem;
color: $dropdown-color;
display: block;
padding: 0.5rem;
}
// Icon alignment override
& > a > i {
height: inherit;
line-height: inherit;
}
}
}
// Material select color variations
.colorful-select {
.dropdown-content {
padding: 0.5rem;
li {
&.active span {
color: #fff!important;
@extend .z-depth-1-half;
[type="checkbox"]:checked + label:before {
border-color: transparent white white transparent;
}
}
a:hover, span:hover {
color: #fff!important;
@extend .z-depth-2;
@include transition (all 0.1s linear);
@include border-radius (2px);
[type="checkbox"] + label:before {
border-color: white;
}
[type="checkbox"]:checked + label:before {
border-color: transparent white white transparent;
}
}
optgroup {
}
&.disabled,
&:disabled,
&.optgroup {
&.active span {
@extend .z-depth-0;
color: $rgba-black-light !important;
border-bottom-color: $rgba-black-light;
cursor: default;
}
a:hover, span:hover {
@extend .z-depth-0;
color: $rgba-black-light !important;
border-bottom-color: $rgba-black-light;
cursor: default;
background-color: white !important;
}
label {
cursor: default;
}
}
}
}
}
@each $type, $color in $dropdown-colors {
.dropdown-#{$type} {
.dropdown-content li {
&.active, a, span:hover {
background-color: $color;
}
}
.search-wrap input:focus {
border-bottom: 1px solid $color;
box-shadow: 0 1px 0 0 $color;
}
}
}
.dropdown-menu.animated {
/* Speed up animations */
-webkit-animation-duration: 0.55s;
animation-duration: 0.55s;
-webkit-animation-timing-function: ease;
animation-timing-function: ease;
}

144
html/sass/mdb/pro/_ecommerce.scss Executable file
View File

@@ -0,0 +1,144 @@
// Ecommerce Pro Cards
// Collection card
.collection-card {
.stripe {
position: absolute;
bottom: 3rem;
width: 100%;
text-align: center;
padding: 1.2rem;
&.dark {
background-color: $rgba-black-strong;
a p {
color: map-get($grey, "lighten-3");
}
}
&.light {
background-color: $rgba-white-strong;
a p {
color: map-get($grey, "darken-3");
}
}
a {
p {
padding: 0;
margin: 0;
letter-spacing: 4px;
font-size: 1rem;
}
}
}
}
.rating {
list-style-type:none;
padding:0;
li {
display: inline-block;
}
}
// When icon doesn't need padding
.no-padding {
.fa {
padding: 0;
}
}
// Quick look modal
.ql-modal,
.product-panel {
.modal-dialog {
max-width: none;
width: auto;
margin: 2rem;
}
.modal-header {
text-align: center;
}
.price {
.badge {
background-color: $rgba-red-strong;
font-size: 1.4rem;
display: inline-block;
margin-left: 1rem;
}
p {
display: inline-block;
font-size: 1.3rem;
.price-before {
color: black;
text-decoration: line-through;
margin-left: 0.5rem;
}
.price-after {
font-size: 1.7rem;
color: green;
}
}
}
.media img {
max-width: 60px;
}
}
@media (max-width: 1200px) {
.ql-modal {
.modal-dialog {
margin: 0;
}
padding-left: 0;
}
}
.wishlist {
@extend .btn-sm;
background-color: $danger-color;
}
// Collection card
.collection-card {
.stripe {
position: absolute;
bottom: 3rem;
width: 100%;
text-align: center;
padding: 1.2rem;
&.dark {
background-color: $rgba-black-strong;
a p {
color: #eeeeee;
}
}
&.light {
background-color: $rgba-white-strong;
a p {
color: #424242;
}
}
a {
p {
padding: 0;
margin: 0;
letter-spacing: 4px;
font-size: 1rem;
}
}
}
}
// Cart modal
.cart-modal {
.table,
th {
text-align: center;
}
.table {
.total {
text-transform: uppercase;
font-weight: 600;
}
.fa-remove {
color: $primary-color;
}
}
}

View File

@@ -0,0 +1,40 @@
/***********
File Input
***********/
.file-field {
position: relative;
.file-path-wrapper {
overflow: hidden;
padding-left: 10px;
height: 2.5rem;
}
input.file-path {
width: 100%;
height: 2.1rem;
}
.btn {
float: left;
}
span {
cursor: pointer;
}
input[type=file] {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
width: 100%;
margin: 0;
padding: 0;
font-size: 1px;
cursor: pointer;
opacity: 0;
filter: alpha(opacity=0);
}
}
.btn-file {
padding-top: 1px;
}

380
html/sass/mdb/pro/_forms-pro.scss Executable file
View File

@@ -0,0 +1,380 @@
// FORMS PRO
// hide default radio / checkbox
%hide-radio-checkbox {
position: absolute;
left: -9999px;
visibility: hidden;
}
%base-radio-checkbox-label {
position: relative;
padding-left: 35px;
cursor: pointer;
display: inline-block;
height: 25px;
line-height: 25px;
font-size: 1rem;
/* webkit (safari, chrome) browsers */
-webkit-user-select: none;
-moz-user-select: none;
/* mozilla browsers */
/* webkit (konqueror) browsers */
-khtml-user-select: none;
/* IE10+ */
-ms-user-select: none;
}
%user-select-none {
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
-o-user-select:none;
user-select:none;
}
/**************
Radio
***************/
[type="radio"] {
@extend %hide-radio-checkbox;
+ label {
@extend %base-radio-checkbox-label;
@include transition(.28s ease);
&:before, &:after {
content: '';
position: absolute;
left: 0;
top: 0;
margin: 4px;
width: 16px;
height: 16px;
z-index: 0;
border-radius: 50%;
border-style: solid;
border-width: 2px;
@include transition(.28s ease);
}
}
&:not(:checked) {
+ label:before, + label:after {
border-color: $radio-empty-color;
}
+ label:after {
z-index: -1;
@include transform(scale(0));
}
}
&:checked {
+ label:before {
border-color: transparent;
}
+ label:after {
border-color: $radio-fill-color;
background-color: $radio-fill-color;
z-index: 0;
@include transform(scale(1.02));
}
}
&:disabled {
+ label {
color: $input-disabled-color;
&:before {
background-color: transparent;
border-color: $input-disabled-color;
}
}
&:not(:checked) + label:before {
border-color: $input-disabled-color;
}
&:checked + label:after {
background-color: $input-disabled-color;
border-color: $input-disabled-solid-color;
}
}
&.with-gap {
&:checked {
+ label:before {
border-color: $radio-fill-color;
}
+ label:after {
@include transform(scale(.5));
}
&:disabled {
+ label:before {
border-color: $input-disabled-color;
}
}
}
}
}
/***************
Checkboxes
***************/
[type="checkbox"] {
@extend %hide-radio-checkbox;
+ label {
@extend %base-radio-checkbox-label;
&:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 18px;
height: 18px;
z-index: 0;
border: 2px solid $radio-empty-color;
border-radius: 1px;
margin-top: 2px;
@include transition(.2s);
}
}
&:checked {
+ label:before {
top: -4px;
left: -3px;
width: 12px;
height: 22px;
border-style: solid;
border-width: 2px;
border-color: transparent $radio-fill-color $radio-fill-color transparent;
@include transform(rotate(40deg));
-webkit-backface-visibility: hidden;
@include transform-origin(100% 100%);
}
}
&:indeterminate {
+ label:before {
left: -10px;
top: -11px;
width: 10px;
height: 22px;
border: none;
border-right: 2px solid $radio-fill-color;
@include transform(rotate(90deg));
-webkit-backface-visibility: hidden;
@include transform-origin(100% 100%);
}
}
&:disabled {
&:checked + label:before {
border-color: transparent $input-disabled-color $input-disabled-color transparent;
}
&:not(:checked) + label:before {
border: none;
margin-left: 2px;
margin-top: 2px;
background-color: $input-disabled-color;
}
&:indeterminate + label:before {
border-right: 2px solid $input-disabled-color;
background-color: transparent;
}
}
&[class*='filled-in'] {
+ label:after, + label:before {
content: '';
left: 0;
position: absolute;
/* .1s delay is for check animation */
transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
z-index: 1;
border-style: solid;
border-width: 2px;
}
+ label:after {
border-radius: 2px;
height: 20px;
width: 20px;
}
+ label:before {
@include transform(rotateZ(37deg));
@include transform-origin(100% 100%); // ? 20% 40%
}
&:not(:checked) {
+ label:before {
width: 0;
height: 0;
border-style: 3px;
border-color: transparent;
left: 6px;
top: 10px;
}
+ label:after {
background-color: transparent;
border-color: $radio-empty-color;
top: 0;
z-index: 0;
}
}
&:checked {
+ label:before {
top: 0;
left: 1px;
width: 8px;
height: 13px;
border-color: transparent $input-bg-color $input-bg-color transparent;
}
+ label:after {
border-color: $secondary-color;
background-color: $secondary-color;
z-index: 0;
}
}
&:disabled {
&:not(:checked) {
+ label:before {
background-color: transparent;
border-color: $input-disabled-solid-color;
}
+ label:after {
border-color: transparent;
background-color: $input-disabled-solid-color;
}
}
&:checked {
+ label:before {
background-color: transparent;
}
+ label:after {
background-color: $input-disabled-solid-color;
border-color: $input-disabled-solid-color;
}
}
}
}
&.filled-in-danger {
&:checked + label:after {
background-color: red;
border-color: red;
}
}
}
/***************
Select Field
***************/
.select-label {
position: absolute;
}
.select-wrapper {
position: relative;
input.select-dropdown {
position: relative;
cursor: pointer;
// color: #444;
background-color: transparent;
border: none;
border-bottom-style: solid;
border-bottom-width: 1px;
border-bottom-color: $input-border-color;
outline: none;
height: 3rem;
line-height: 3rem;
width: 100%;
font-size: 1rem;
margin: 0 0 15px 0;
padding: 0;
display: block;
&:disabled {
color: $rgba-black-light;
border-bottom-color: $rgba-black-light;
cursor: default;
}
}
.select-dropdown {
@extend %user-select-none;
}
span.caret {
color: initial;
position: absolute;
right: 0;
top: 16px;
font-size: 10px;
&.disabled {
color: $input-disabled-color;
}
}
& + label {
position: absolute;
top: -14px;
font-size: $label-font-size;
}
i {
color: $rgba-black-light;
}
}
select {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
display: none;
&.browser-default {
display: block;
}
&:disabled {
color: $rgba-black-light;
}
}
.select-dropdown {
li {
img {
height: $dropdown-item-height - 10;
width: $dropdown-item-height - 10;
margin: 3px 12px;
float: right;
}
&.disabled, &.disabled > span, &.optgroup {
color: $rgba-black-light;
background-color: transparent!important;
cursor: context-menu;
}
&.optgroup {
border-top: 1px solid $dropdown-hover-bg-color;
&.selected > span {
color: rgba(0, 0, 0, .7);
}
& > span {
color: rgba(0, 0, 0, .4);
}
& ~ li:not(.optgroup) {
padding-left: 1rem;
}
}
}
}
.multiple-select-dropdown li [type="checkbox"] + label {
height: 10px;
}

View File

@@ -0,0 +1,30 @@
/***************
Input group
***************/
.input-group {
.input-group-addon {
background-color: #e0e0e0;
[type="checkbox"] + label {
padding-left: 18px;
height: 13px;
}
[type="radio"] + label {
padding-left: 24px;
height: 13px;
}
// Style Placeholders
@include placeholder {
padding-left: 1rem;
}
}
span {
z-index: 10;
}
.form-control {
margin-top: 3px;
padding-top: 14px;
padding-bottom: 7px;
padding-left: 1.2rem;
}
}

832
html/sass/mdb/pro/_light-box.scss Executable file
View File

@@ -0,0 +1,832 @@
/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*
Styles for basic PhotoSwipe functionality (sliding area, open/close transitions)
*/
// PhotoSwipe uses Autoprefixer, so vendor prefixed are added automatically when needed.
/* pswp = photoswipe */
.pswp {
display: none;
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: hidden;
-ms-touch-action: none;
touch-action: none;
z-index: $pswp__root-z-index;
-webkit-text-size-adjust: 100%;
/* create separate layer, to avoid paint on window.onscroll in webkit/blink */
-webkit-backface-visibility: hidden;
outline: none;
@if $pswp__box-sizing-border-box==true {
* {
box-sizing: border-box;
}
}
img {
max-width: none;
}
}
/* style is added when JS option showHideOpacity is set to true */
.pswp--animate_opacity {
/* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
opacity: 0.001;
will-change: opacity;
/* for open/close transition */
transition: opacity $pswp__show-hide-transition-duration cubic-bezier(.4, 0, .22, 1);
}
.pswp--open {
display: block;
}
.pswp--zoom-allowed .pswp__img {
/* autoprefixer: off */
cursor: -webkit-zoom-in;
cursor: -moz-zoom-in;
cursor: zoom-in;
}
.pswp--zoomed-in .pswp__img {
/* autoprefixer: off */
cursor: -webkit-grab;
cursor: -moz-grab;
cursor: grab;
}
.pswp--dragging .pswp__img {
/* autoprefixer: off */
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
cursor: grabbing;
}
/*
Background is added as a separate element.
As animating opacity is much faster than animating rgba() background-color.
*/
.pswp__bg {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: $pswp__background-color;
opacity: 0;
-webkit-backface-visibility: hidden;
will-change: opacity;
}
.pswp__scroll-wrap {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.pswp__container,
.pswp__zoom-wrap {
-ms-touch-action: none;
touch-action: none;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-touch-callout: none;
}
.pswp__zoom-wrap {
position: absolute;
width: 100%;
-webkit-transform-origin: left top;
-moz-transform-origin: left top;
-ms-transform-origin: left top;
transform-origin: left top;
/* for open/close transition */
transition: transform $pswp__show-hide-transition-duration cubic-bezier(.4, 0, .22, 1);
}
.pswp__bg {
will-change: opacity;
/* for open/close transition */
transition: opacity $pswp__show-hide-transition-duration cubic-bezier(.4, 0, .22, 1);
}
.pswp--animated-in {
.pswp__bg,
.pswp__zoom-wrap {
-webkit-transition: none;
transition: none;
}
}
.pswp__container,
.pswp__zoom-wrap {
-webkit-backface-visibility: hidden;
}
.pswp__item {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow: hidden;
}
.pswp__img {
position: absolute;
width: auto;
height: auto;
top: 0;
left: 0;
}
/*
stretched thumbnail or div placeholder element (see below)
style is added to avoid flickering in webkit/blink when layers overlap
*/
.pswp__img--placeholder {
-webkit-backface-visibility: hidden;
}
/*
div element that matches size of large image
large image loads on top of it
*/
.pswp__img--placeholder--blank {
background: $pswp__placeholder-color;
}
.pswp--ie .pswp__img {
width: 100% !important;
height: auto !important;
left: 0;
top: 0;
}
/*
Error message appears when image is not loaded
(JS option errorMsg controls markup)
*/
.pswp__error-msg {
position: absolute;
left: 0;
top: 50%;
width: 100%;
text-align: center;
font-size: 14px;
line-height: 16px;
margin-top: -8px;
color: $pswp__error-text-color;
}
.pswp__error-msg a {
color: $pswp__error-text-color;
text-decoration: underline;
}
/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*
Contents:
1. Buttons
2. Share modal and links
3. Index indicator ("1 of X" counter)
4. Caption
5. Loading indicator
6. Additional styles (root element, top bar, idle state, hidden state, etc.)
*/
// PhotoSwipe uses Autoprefixer, so vendor prefixed are added automatically when needed.
/*
1. Buttons
*/
/* <button> css reset */
.pswp__button {
width: 44px;
height: 44px;
position: relative;
background: none;
cursor: pointer;
overflow: visible;
-webkit-appearance: none;
display: block;
border: 0;
padding: 0;
margin: 0;
float: right;
opacity: 0.75;
transition: opacity 0.2s;
box-shadow: none;
&:focus,
&:hover {
opacity: 1;
}
&:active {
outline: none;
opacity: 0.9;
}
&::-moz-focus-inner {
padding: 0;
border: 0
}
}
/* pswp__ui--over-close class it added when mouse is over element that should close gallery */
.pswp__ui--over-close .pswp__button--close {
opacity: 1;
}
.pswp__button,
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
background: url(../img/lightbox/default-skin.png) 0 0 no-repeat;
background-size: 264px 88px;
width: 44px;
height: 44px;
}
@media (-webkit-min-device-pixel-ratio: 1.1),
(min-resolution: 105dpi),
(min-resolution: 1.1dppx) {
/* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */
.pswp--svg .pswp__button,
.pswp--svg .pswp__button--arrow--left:before,
.pswp--svg .pswp__button--arrow--right:before {
background-image: url(../img/lightbox/default-skin.svg);
}
.pswp--svg .pswp__button--arrow--left,
.pswp--svg .pswp__button--arrow--right {
background: none;
}
}
.pswp__button--close {
background-position: 0 -44px;
}
.pswp__button--share {
background-position: -44px -44px;
}
.pswp__button--fs {
display: none;
}
.pswp--supports-fs .pswp__button--fs {
display: block;
}
.pswp--fs .pswp__button--fs {
background-position: -44px 0;
}
.pswp__button--zoom {
display: none;
background-position: -88px 0;
}
.pswp--zoom-allowed .pswp__button--zoom {
display: block;
}
.pswp--zoomed-in .pswp__button--zoom {
background-position: -132px 0;
}
/* no arrows on touch screens */
.pswp--touch {
.pswp__button--arrow--left,
.pswp__button--arrow--right {
visibility: hidden;
}
}
/*
Arrow buttons hit area
(icon is added to :before pseudo-element)
*/
.pswp__button--arrow--left,
.pswp__button--arrow--right {
background: none;
top: 50%;
margin-top: -50px;
width: 70px;
height: 100px;
position: absolute;
}
.pswp__button--arrow--left {
left: 0;
}
.pswp__button--arrow--right {
right: 0;
}
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
content: '';
top: 35px;
background-color: rgba(0, 0, 0, 0.3);
height: 30px;
width: 32px;
position: absolute;
}
.pswp__button--arrow--left:before {
left: 6px;
background-position: -138px -44px;
}
.pswp__button--arrow--right:before {
right: 6px;
background-position: -94px -44px;
}
/*
2. Share modal/popup and links
*/
.pswp__counter,
.pswp__share-modal {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.pswp__share-modal {
display: block;
background: rgba(0, 0, 0, 0.5);
width: 100%;
height: 100%;
top: 0;
left: 0;
padding: 10px;
position: absolute;
z-index: $pswp__root-z-index + 100;
opacity: 0;
transition: opacity 0.25s ease-out;
-webkit-backface-visibility: hidden;
will-change: opacity;
}
.pswp__share-modal--hidden {
display: none;
}
.pswp__share-tooltip {
z-index: $pswp__root-z-index + 120;
position: absolute;
background: #FFF;
top: 56px;
border-radius: 2px;
display: block;
width: auto;
right: 44px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
transform: translateY(6px);
transition: transform 0.25s;
-webkit-backface-visibility: hidden;
will-change: transform;
a {
display: block;
padding: 8px 12px;
color: #000;
text-decoration: none;
font-size: 14px;
line-height: 18px;
&:hover {
text-decoration: none;
color: #000;
}
&:first-child {
/* round corners on the first/last list item */
border-radius: 2px 2px 0 0;
}
&:last-child {
border-radius: 0 0 2px 2px;
}
}
}
.pswp__share-modal--fade-in {
opacity: 1;
.pswp__share-tooltip {
transform: translateY(0);
}
}
/* increase size of share links on touch devices */
.pswp--touch .pswp__share-tooltip a {
padding: 16px 12px;
}
a.pswp__share--facebook {
&:before {
content: '';
display: block;
width: 0;
height: 0;
position: absolute;
top: -12px;
right: 15px;
border: 6px solid rgba(0, 0, 0, 0);
border-bottom-color: #FFF;
-webkit-pointer-events: none;
-moz-pointer-events: none;
pointer-events: none;
}
&:hover {
background: #3E5C9A;
color: #FFF;
&:before {
border-bottom-color: #3E5C9A;
}
}
}
a.pswp__share--twitter {
&:hover {
background: #55ACEE;
color: #FFF;
}
}
a.pswp__share--pinterest {
&:hover {
background: #CCC;
color: #CE272D;
}
}
a.pswp__share--download {
&:hover {
background: #DDD;
}
}
/*
3. Index indicator ("1 of X" counter)
*/
.pswp__counter {
position: absolute;
left: 0;
top: 0;
height: 44px;
font-size: 13px;
line-height: 44px;
color: #FFF;
opacity: 0.75;
padding: 0 10px;
}
/*
4. Caption
*/
.pswp__caption {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
min-height: 44px;
small {
font-size: 11px;
color: #BBB;
}
}
.pswp__caption__center {
text-align: left;
max-width: 420px;
margin: 0 auto;
font-size: 13px;
padding: 10px;
line-height: 20px;
color: #CCC;
}
.pswp__caption--empty {
display: none;
}
/* Fake caption element, used to calculate height of next/prev image */
.pswp__caption--fake {
visibility: hidden;
}
/*
5. Loading indicator (preloader)
You can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR
*/
.pswp__preloader {
width: 44px;
height: 44px;
position: absolute;
top: 0;
left: 50%;
margin-left: -22px;
opacity: 0;
transition: opacity 0.25s ease-out;
will-change: opacity;
direction: ltr;
}
.pswp__preloader__icn {
width: 20px;
height: 20px;
margin: 12px;
}
.pswp__preloader--active {
opacity: 1;
.pswp__preloader__icn {
/* We use .gif in browsers that don't support CSS animation */
background: url(../img/lightbox/preloader.gif) 0 0 no-repeat;
}
}
.pswp--css_animation {
.pswp__preloader--active {
opacity: 1;
.pswp__preloader__icn {
animation: clockwise 500ms linear infinite;
}
.pswp__preloader__donut {
animation: donut-rotate 1000ms cubic-bezier(.4, 0, .22, 1) infinite;
}
}
.pswp__preloader__icn {
background: none;
opacity: 0.75;
width: 14px;
height: 14px;
position: absolute;
left: 15px;
top: 15px;
margin: 0;
}
.pswp__preloader__cut {
/*
The idea of animating inner circle is based on Polymer ("material") loading indicator
by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html
*/
position: relative;
width: 7px;
height: 14px;
overflow: hidden;
}
.pswp__preloader__donut {
box-sizing: border-box;
width: 14px;
height: 14px;
border: 2px solid #FFF;
border-radius: 50%;
border-left-color: transparent;
border-bottom-color: transparent;
position: absolute;
top: 0;
left: 0;
background: none;
margin: 0;
}
}
@media screen and (max-width: 1024px) {
.pswp__preloader {
position: relative;
left: auto;
top: auto;
margin: 0;
float: right;
}
}
@keyframes clockwise {
0% {
transform: rotate(0deg)
}
100% {
transform: rotate(360deg)
}
}
@keyframes donut-rotate {
0% {
transform: rotate(0)
}
50% {
transform: rotate(-140deg)
}
100% {
transform: rotate(0)
}
}
/*
6. Additional styles
*/
/* root element of UI */
.pswp__ui {
-webkit-font-smoothing: auto;
visibility: visible;
opacity: 1;
z-index: $pswp__root-z-index + 50;
}
/* top black bar with buttons and "1 of X" indicator */
.pswp__top-bar {
position: absolute;
left: 0;
top: 0;
height: 44px;
width: 100%;
}
.pswp__caption,
.pswp__top-bar,
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
-webkit-backface-visibility: hidden;
will-change: opacity;
transition: opacity $pswp__controls-transition-duration cubic-bezier(.4, 0, .22, 1);
}
/* pswp--has_mouse class is added only when two subsequent mousemove events occur */
.pswp--has_mouse {
.pswp__button--arrow--left,
.pswp__button--arrow--right {
visibility: visible;
}
}
.pswp__top-bar,
.pswp__caption {
background-color: rgba(0, 0, 0, 0.5);
}
/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */
.pswp__ui--fit {
.pswp__top-bar,
.pswp__caption {
background-color: rgba(0, 0, 0, 0.3);
}
}
/* pswp__ui--idle class is added when mouse isn't moving for several seconds (JS option timeToIdle) */
.pswp__ui--idle {
.pswp__top-bar {
opacity: 0;
}
.pswp__button--arrow--left,
.pswp__button--arrow--right {
opacity: 0;
}
}
/*
pswp__ui--hidden class is added when controls are hidden
e.g. when user taps to toggle visibility of controls
*/
.pswp__ui--hidden {
.pswp__top-bar,
.pswp__caption,
.pswp__button--arrow--left,
.pswp__button--arrow--right {
/* Force paint & create composition layer for controls. */
opacity: 0.001;
}
}
/* pswp__ui--one-slide class is added when there is just one item in gallery */
.pswp__ui--one-slide {
.pswp__button--arrow--left,
.pswp__button--arrow--right,
.pswp__counter {
display: none;
}
}
.pswp__element--disabled {
display: none !important;
}
@if $pswp__include-minimal-style==true {
.pswp--minimal--dark {
.pswp__top-bar {
background: none;
}
}
}
.mdb-lightbox {
figure {
margin: 0;
float:left;
.img-fluid {
display: inline
}
img {
cursor: zoom-in;
@include transition(opacity .4s);
@include border-radius(0);
&:hover {
opacity: 0.8;
}
}
}
&.no-margin {
[class*="col-"] {
padding: 0;
}
}
[class*="col-"] {
padding: 0.5rem;
}
}

View File

@@ -0,0 +1,123 @@
/***************
Material select
***************/
%user-select-none {
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
-o-user-select:none;
user-select:none;
}
.select-label {
position: absolute;
}
.select-wrapper {
position: relative;
input.select-dropdown {
position: relative;
cursor: pointer;
background-color: transparent;
border: none;
border-bottom-style: solid;
border-bottom-width: 1px;
border-bottom-color: $input-border-color;
outline: none;
height: 3rem;
line-height: 3rem;
width: 100%;
font-size: 1rem;
margin: 0 0 15px 0;
padding: 0;
display: block;
&:disabled {
color: $rgba-black-light;
border-bottom-color: $rgba-black-light;
cursor: default;
}
}
.select-dropdown {
@extend %user-select-none;
}
.search-wrap {
padding: 1rem 0;
width: 93%;
display: block;
margin: 0 auto;
input {
padding-bottom: .4rem;
}
}
span.caret {
color: initial;
position: absolute;
right: 0;
top: 16px;
font-size: 10px;
&.disabled {
color: $input-disabled-color;
}
}
& + label {
position: absolute;
top: -14px;
font-size: $label-font-size;
}
i {
color: $rgba-black-light;
}
ul {
list-style-type: none;
padding-left: 0;
}
}
select {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
display: none !important;
&.browser-default {
display: block !important;
}
&:disabled {
color: $rgba-black-light;
}
}
.select-dropdown {
ul {
list-style-type:none;
padding:0;
}
li {
img {
height: $dropdown-item-height - 10;
width: $dropdown-item-height - 10;
margin: 3px 12px;
float: right;
}
&.disabled, &.disabled > span, &.optgroup {
color: $rgba-black-light;
background-color: transparent!important;
cursor: context-menu;
}
&.optgroup {
border-top: 1px solid $dropdown-hover-bg-color;
&.selected > span {
color: rgba(0, 0, 0, .7);
}
& > span {
color: rgba(0, 0, 0, .4);
}
}
}
}
.multiple-select-dropdown li [type="checkbox"] + label {
height: 10px;
}

View File

@@ -0,0 +1,107 @@
/*********************
Modals
**********************/
// Modal Login & Modal Register
.modal-ext .modal-content {
.modal-header {
text-align: center;
}
.options {
float: left;
}
.modal-body .text-xs-center fieldset {
margin-top: 20px;
}
.call {
margin-top: 1rem;
}
.modal-body {
padding: 2rem 2rem 1rem 2rem;
}
}
.modal-content {
.close {
position: absolute;
right: 15px;
}
}
// Modal Cart
.modal-cart {
li p {
margin: 5px;
font-weight: 400;
.badge {
margin-left: 10px;
margin-top: 3px;
font-weight: 400;
position: absolute;
}
.quantity {
font-size: 16px;
margin-right: 7px;
font-weight: 300;
}
}
.cartPageLink {
margin-left: 10px;
a {
text-decoration: underline;
color: #666;
}
}
.total {
float: right;
font-weight: 400;
}
}
// Modals normalize
.cf-phone {
margin-left: 7px;
}
// Container that the modal scrolls within
.side-modal {
position: fixed;
width: 400px;
height: 100%;
width: 100%;
z-index: 9999;
// Shell div to position the modal with bottom padding
.modal-dialog {
position: absolute;
bottom: 10px;
right: 10px;
width: 400px;
margin: 10px;
@extend .z-depth-1-half;
@media (max-width: 760px) {
display: none;
}
}
// Actual modal
.modal-header {
padding: 1rem;
.heading {
margin: 0;
padding: 0;
}
}
.modal-content {
border: none;
}
// Modal background
}
.side-modal.fade:not(.show) .modal-dialog {
-webkit-transform: translate3d(25%, 0, 0);
transform: translate3d(25%, 0, 0);
}
// Transparent backdrop
.transparent-bd {
opacity: 0!important;
}

102
html/sass/mdb/pro/_msc.scss Executable file
View File

@@ -0,0 +1,102 @@
// Miscellaneous
// Advanced tables
.table {
a {
margin-left: 1rem;
}
fieldset {
margin-bottom: 0;
label {
height: 8px;
}
}
}
// Product table
.product-table {
img {
max-height: $product-table-img-max-height;
min-width: $product-table-img-min-width;
}
td {
vertical-align: middle;
}
}
// hide default radio / checkbox
%hide-radio-checkbox {
position: absolute;
left: -9999px;
visibility: hidden;
}
%base-radio-checkbox-label {
position: relative;
padding-left: 35px;
cursor: pointer;
display: inline-block;
height: 25px;
line-height: 25px;
font-size: 1rem;
/* webkit (safari, chrome) browsers */
-webkit-user-select: none;
-moz-user-select: none;
/* mozilla browsers */
/* webkit (konqueror) browsers */
-khtml-user-select: none;
/* IE10+ */
-ms-user-select: none;
}
.streak {
display: block;
position: relative;
overflow: hidden;
height: 250px;
&.streak-md {
height: 400px;
@media (max-width: 736px) {
height: 300px;
}
}
&.streak-lg {
height: 650px;
@media (max-width: 450px) {
height: 900px;
}
}
&.streak-long {
height: 200px;
@media (max-width: 450px) {
height: 620px;
}
}
&.streak-long-2 {
height: 400px;
@media (max-width: 450px) {
height: 700px;
}
}
&.streak-photo {
background-repeat: no-repeat;
background-size: cover;
background-position: center;
@media (min-width: 1366px) {
background-attachment: fixed;
}
}
&.no-flex {
padding-top: 3.125rem;
padding-bottom: 3.125rem;
height: auto;
}
}
// Gradients Premium
@each $name, $val in $gradients-premium {
.#{$name}-gradient {
background: linear-gradient(40deg, map-get($val, start), map-get($val, end));
}
}

View File

@@ -0,0 +1,67 @@
// Navbars pro
.navbar {
.nav-item {
&.avatar {
padding: 0;
&.active {
background-color: transparent!important;
}
.dropdown-toggle {
padding: 0;
img {
height: $navbar-avatar-height;
}
&:after {
display: none;
}
}
}
}
}
.double-nav {
z-index: 100;
color: $white;
@media (max-width: $medium-screen) {
padding-top: $navbar-double-small-padding;
padding-bottom: $navbar-double-small-padding;
}
.container {
@media (max-width: 768px) {
padding-left: 0;
padding-right: 0;
}
}
a {
color: $white;
font-size: $navbar-double-font-size;
}
.breadcrumb-dn {
// margin-top: $navbar-double-small-padding;
p {
margin: 0;
padding-top: 0;
padding-left: $navbar-breadcrumb-dn-padding;
}
@media (max-width: 993px) {
display: none;
}
}
.button-collapse {
position: absolute;
// top: $navbar-button-collapse-top;
left: $navbar-button-collapse-left;
font-size: $navbar-button-collapse-font-size;
@media (min-width: $sidenav-breakpoint) {
display: none;
}
@media (max-width: $sidenav-breakpoint) {
display: block;
position: relative;
font-size: $navbar-button-collapse-fs-sm;
// margin-top: $navbar-button-collapse-mt;
margin-right: $navbar-button-collapse-mx;
margin-left: $navbar-button-collapse-mx;
}
}
}

View File

@@ -0,0 +1,7 @@
// Just Another Parallax
.jarallax {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
min-height: 700px;
}

434
html/sass/mdb/pro/_progress.scss Executable file
View File

@@ -0,0 +1,434 @@
// Progress
.progress {
box-shadow: none;
position: relative;
display: block;
width: 100%;
height: 4px;
overflow: hidden;
margin-bottom: 1rem;
background-color: #eee;
.progress-bar {
box-shadow: none;
height: 4px;
border-radius: 0;
background-color: $primary-color-dark;
}
.progress-bar-animated {
transition: width 2s ease-in-out;
}
.indeterminate {
background-color: #90caf9;
&:before {
content: '';
position: absolute;
background-color: inherit;
top: 0;
left: 0;
bottom: 0;
will-change: left, right;
// Custom bezier
@include animation(indeterminate 2.1s cubic-bezier(0.650, 0.815, 0.735, 0.395) infinite);
}
&:after {
content: '';
position: absolute;
background-color: inherit;
top: 0;
left: 0;
bottom: 0;
will-change: left, right;
// Custom bezier
@include animation(indeterminate-short 2.1s cubic-bezier(0.165, 0.840, 0.440, 1.000) infinite);
@include animation-delay(1.15s);
}
}
@include keyframes(indeterminate) {
0% {
left: -35%;
right: 100%;
}
60% {
left: 100%;
right: -90%;
}
100% {
left: 100%;
right: -90%;
}
}
@include keyframes(indeterminate-short) {
0% {
left: -200%;
right: 100%;
}
60% {
left: 107%;
right: -8%;
}
100% {
left: 107%;
right: -8%;
}
}
}
/*********************
CIRCLE
**********************/
/*
@license
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
/**************************/
/* STYLES FOR THE SPINNER */
/**************************/
/*
* Constants:
* STROKEWIDTH = 3px
* ARCSIZE = 270 degrees (amount of circle the arc takes up)
* ARCTIME = 1333ms (time it takes to expand and contract arc)
* ARCSTARTROT = 216 degrees (how much the start location of the arc
* should rotate each time, 216 gives us a
* 5 pointed star shape (it's 360/5 * 3).
* For a 7 pointed star, we might do
* 360/7 * 3 = 154.286)
* CONTAINERWIDTH = 28px
* SHRINK_TIME = 400ms
*/
.preloader-wrapper {
display: inline-block;
position: relative;
width: 48px;
height: 48px;
&.small {
width: 36px;
height: 36px;
}
&.big {
width: 64px;
height: 64px;
}
&.active {
/* duration: 360 * ARCTIME / (ARCSTARTROT + (360-ARCSIZE)) */
animation: container-rotate 1568ms linear infinite;
}
&.crazy{
animation-duration: 333ms;
}
.spinner-layer {
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
/**
* Patch the gap that appear between the two adjacent div.circle-clipper while the
* spinner is rotating (appears on Chrome 38, Safari 7.1, and IE 11).
*/
.gap-patch {
position: absolute;
top: 0;
left: 45%;
width: 10%;
height: 100%;
overflow: hidden;
border-color: inherit;
.circle {
width: 1000%;
left: -450%;
}
}
.circle-clipper {
display: inline-block;
position: relative;
width: 50%;
height: 100%;
overflow: hidden;
border-color: inherit;
.circle {
width: 200%;
height: 100%;
border-width: 3px;
/* STROKEWIDTH */
border-style: solid;
border-color: inherit;
border-bottom-color: transparent !important;
border-radius: 50%;
animation: none;
position: absolute;
top: 0;
right: 0;
bottom: 0;
}
&.left .circle {
left: 0;
border-right-color: transparent !important;
transform: rotate(129deg);
}
&.right .circle {
left: -100%;
border-left-color: transparent !important;
transform: rotate(-129deg);
}
}
}
.spinner-blue,
.spinner-blue-only {
border-color: #4285f4;
}
.spinner-red,
.spinner-red-only {
border-color: #db4437;
}
.spinner-yellow,
.spinner-yellow-only {
border-color: #f4b400;
}
.spinner-green,
.spinner-green-only {
border-color: #0f9d58;
}
}
@keyframes container-rotate {
to {
transform: rotate(360deg)
}
}
/**
* IMPORTANT NOTE ABOUT CSS ANIMATION PROPERTIES (keanulee):
*
* iOS Safari (tested on iOS 8.1) does not handle animation-delay very well - it doesn't
* guarantee that the animation will start _exactly_ after that value. So we avoid using
* animation-delay and instead set custom keyframes for each color (as redundant as it
* seems).
*
* We write out each animation in full (instead of separating animation-name,
* animation-duration, etc.) because under the polyfill, Safari does not recognize those
* specific properties properly, treats them as -webkit-animation, and overrides the
* other animation rules. See https://github.com/Polymer/platform/issues/53.
*/
.active {
.spinner-layer {
&.spinner-blue {
/* durations: 4 * ARCTIME */
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, blue-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
}
&.spinner-red {
/* durations: 4 * ARCTIME */
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, red-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
}
&.spinner-yellow {
/* durations: 4 * ARCTIME */
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, yellow-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
}
&.spinner-green {
/* durations: 4 * ARCTIME */
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, green-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
}
&.spinner-blue-only,
&.spinner-red-only,
&.spinner-yellow-only,
&.spinner-green-only,
&.spinner-primary-color-only {
/* durations: 4 * ARCTIME */
opacity: 1;
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
}
}
.circle-clipper.left .circle {
/* duration: ARCTIME */
animation: left-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
}
.circle-clipper.right .circle {
/* duration: ARCTIME */
animation: right-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
}
}
@keyframes fill-unfill-rotate {
12.5% {
transform: rotate(135deg);
}
/* 0.5 * ARCSIZE */
25% {
transform: rotate(270deg);
}
/* 1 * ARCSIZE */
37.5% {
transform: rotate(405deg);
}
/* 1.5 * ARCSIZE */
50% {
transform: rotate(540deg);
}
/* 2 * ARCSIZE */
62.5% {
transform: rotate(675deg);
}
/* 2.5 * ARCSIZE */
75% {
transform: rotate(810deg);
}
/* 3 * ARCSIZE */
87.5% {
transform: rotate(945deg);
}
/* 3.5 * ARCSIZE */
to {
transform: rotate(1080deg);
}
/* 4 * ARCSIZE */
}
@keyframes blue-fade-in-out {
from {
opacity: 1;
}
25% {
opacity: 1;
}
26% {
opacity: 0;
}
89% {
opacity: 0;
}
90% {
opacity: 1;
}
100% {
opacity: 1;
}
}
@keyframes red-fade-in-out {
from {
opacity: 0;
}
15% {
opacity: 0;
}
25% {
opacity: 1;
}
50% {
opacity: 1;
}
51% {
opacity: 0;
}
}
@keyframes yellow-fade-in-out {
from {
opacity: 0;
}
40% {
opacity: 0;
}
50% {
opacity: 1;
}
75% {
opacity: 1;
}
76% {
opacity: 0;
}
}
@keyframes green-fade-in-out {
from {
opacity: 0;
}
65% {
opacity: 0;
}
75% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes left-spin {
from {
transform: rotate(130deg);
}
50% {
transform: rotate(-5deg);
}
to {
transform: rotate(130deg);
}
}
@keyframes right-spin {
from {
transform: rotate(-130deg);
}
50% {
transform: rotate(5deg);
}
to {
transform: rotate(-130deg);
}
}
#spinnerContainer.cooldown {
/* duration: SHRINK_TIME */
animation: container-rotate 1568ms linear infinite, fade-out 400ms cubic-bezier(0.4, 0.0, 0.2, 1);
}
@keyframes fade-out {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
#mdb-preloader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #000;
/* change if the mask should have another color then white */
z-index: 9998;
/* makes sure it stays on top */
height: 100%;
width: 100%;
}

86
html/sass/mdb/pro/_radio.scss Executable file
View File

@@ -0,0 +1,86 @@
/**************
Radio
***************/
[type="radio"] {
@extend %hide-radio-checkbox;
+ label {
@extend %base-radio-checkbox-label;
@include transition(.28s ease);
&:before, &:after {
content: '';
position: absolute;
left: 0;
top: 0;
margin: 4px;
width: 16px;
height: 16px;
z-index: 0;
border-radius: 50%;
border-style: solid;
border-width: 2px;
@include transition(.28s ease);
}
}
&:not(:checked) {
+ label:before, + label:after {
border-color: $radio-empty-color;
}
+ label:after {
z-index: -1;
@include transform(scale(0));
}
}
&:checked {
+ label:before {
border-color: transparent;
}
+ label:after {
border-color: $radio-fill-color;
background-color: $radio-fill-color;
z-index: 0;
@include transform(scale(1.02));
}
}
&:disabled {
+ label {
color: $input-disabled-color;
&:before {
background-color: transparent;
border-color: $input-disabled-color;
}
}
&:not(:checked) + label:before {
border-color: $input-disabled-color;
}
&:checked + label:after {
background-color: $input-disabled-color;
border-color: $input-disabled-solid-color;
}
}
&.with-gap {
&:checked {
+ label:before {
border-color: $radio-fill-color;
}
+ label:after {
@include transform(scale(.5));
}
&:disabled {
+ label:before {
border-color: $input-disabled-color;
}
}
}
}
}

136
html/sass/mdb/pro/_range.scss Executable file
View File

@@ -0,0 +1,136 @@
/***************
Range
***************/
.range-field {
position: relative;
}
input[type=range] {
cursor: pointer;
position: relative;
background-color: transparent;
border: none;
outline: none;
width: 100%;
margin: 15px 0px;
padding: 0;
&:focus {
outline: none;
}
+ .thumb {
position: absolute;
border: none;
height: 0;
width: 0;
border-radius: 50%;
background-color: $radio-fill-color;
top: 10px;
margin-left: -6px;
@include transform-origin(50% 50%);
@include transform(rotate(-45deg));
.value {
display: block;
width: 30px;
text-align: center;
color: $radio-fill-color;
font-size: 0;
@include transform(rotate(45deg));
}
&.active {
border-radius: 50% 50% 50% 0;
.value {
color: $input-bg-color;
margin-left: -1px;
margin-top: 8px;
font-size: 10px;
}
}
}
/* Browser support */
// Webkit
-webkit-appearance: none;
&::-webkit-slider-runnable-track {
height: 3px;
background: #c2c0c2;
border: none;
}
&::-webkit-slider-thumb {
-webkit-appearance: none;
border: none;
height: 14px;
width: 14px;
border-radius: 50%;
background-color: $radio-fill-color;
transform-origin: 50% 50%;
margin: -5px 0 0 0;
@include transition(.3s);
}
&:focus::-webkit-slider-runnable-track {
background: #ccc;
}
// Firefox
border: 1px solid white; /* fix for FF unable to apply focus style bug */
&::-moz-range-track { /*required for proper track sizing in FF*/
height: 3px;
background: #ddd;
border: none;
}
&::-moz-range-thumb {
border: none;
height: 14px;
width: 14px;
border-radius: 50%;
background: $radio-fill-color;
margin-top: -5px;
}
&:-moz-focusring { /*hide the outline behind the border*/
outline: 1px solid white;
outline-offset: -1px;
}
&:focus::-moz-range-track {
background: #ccc;
}
// IE 10+
&::-ms-track {
height: 3px;
background: transparent; /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
border-color: transparent; /*leave room for the larger thumb to overflow with a transparent border */
border-width: 6px 0;
color: transparent; /*remove default tick marks*/
}
&::-ms-fill-lower {
background: #777;
}
&::-ms-fill-upper {
background: #ddd;
}
&::-ms-thumb {
border: none;
height: 14px;
width: 14px;
border-radius: 50%;
background: $radio-fill-color;
}
&:focus::-ms-fill-lower {
background: #888;
}
&:focus::-ms-fill-upper {
background: #ccc;
}
}

133
html/sass/mdb/pro/_scrollbar.scss Executable file
View File

@@ -0,0 +1,133 @@
// Scroll bar
.ps {
touch-action: auto;
overflow: hidden !important;
&.ps--active-x > .ps__scrollbar-x-rail,
&.ps--active-y > .ps__scrollbar-y-rail {
display: block;
background-color: transparent;
}
&.ps--active-y > .ps__scrollbar-y-rail {
top:0 !important;
}
&.ps--in-scrolling.ps--x {
> .ps__scrollbar-x-rail {
background-color: #eee;
opacity: 0.9;
> .ps__scrollbar-x {
background-color: #999;
height: 11px;
}
}
}
> .ps__scrollbar-x-rail {
display: none;
position: absolute;
/* please don't change 'position' */
opacity: 0;
transition: background-color .2s linear, opacity .2s linear;
bottom: 0px;
/* there must be 'bottom' for ps__scrollbar-x-rail */
height: 15px;
> .ps__scrollbar-x {
position: absolute;
/* please don't change 'position' */
background-color: #aaa;
border-radius: 6px;
transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;
bottom: 2px;
/* there must be 'bottom' for ps__scrollbar-x */
height: 6px;
}
&:hover > .ps__scrollbar-x,
> .ps__scrollbar-x-rail:active > .ps__scrollbar-x {
height: 11px;
}
}
&.ps--in-scrolling.ps--y {
> .ps__scrollbar-y-rail {
background-color: #eee;
opacity: 0.9;
> .ps__scrollbar-y {
background-color: #999;
width: 11px;
}
}
}
> .ps__scrollbar-y-rail {
display: none;
position: absolute;
/* please don't change 'position' */
opacity: 0;
transition: background-color .2s linear, opacity .2s linear;
right: 0;
/* there must be 'right' for ps__scrollbar-y-rail */
width: 15px;
z-index: 999;
> .ps__scrollbar-y {
position: absolute;
/* please don't change 'position' */
background-color: #aaa;
border-radius: 6px;
transition: background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;
right: 2px;
/* there must be 'right' for ps__scrollbar-y */
width: 6px;
}
&:hover > .ps__scrollbar-y,
> .ps__scrollbar-y-rail:active > .ps__scrollbar-y {
width: 11px;
}
}
&:hover.ps--in-scrolling.ps--x {
> .ps__scrollbar-x-rail {
background-color: #eee;
opacity: 0.9;
> .ps__scrollbar-x {
background-color: #999;
height: 11px;
}
}
}
&:hover.ps--in-scrolling.ps--y {
> .ps__scrollbar-y-rail {
background-color: #eee;
opacity: 0.9;
> .ps__scrollbar-y {
background-color: #999;
width: 11px;
}
}
}
&:hover > .ps__scrollbar-x-rail,
&:hover > .ps__scrollbar-y-rail {
opacity: 0.6;
}
&:hover {
> .ps__scrollbar-x-rail{
&:hover {
background-color: #eee;
opacity: 0.9;
> .ps__scrollbar-x {
background-color: #999;
}
}
}
}
&:hover {
> .ps__scrollbar-y-rail {
&:hover {
background-color: #eee;
opacity: 0.9;
> .ps__scrollbar-y {
background-color: #999;
}
}
}
}
}

111
html/sass/mdb/pro/_scrollspy.scss Executable file
View File

@@ -0,0 +1,111 @@
// Scrollspy
.nav-pills .nav-item {
a {
text-align:left;
color: #666;
border-radius:0;
&:hover {
background-color: transparent;
color: color($mdb-color, "base");
font-weight: 500;
border-left: 1px solid color($mdb-color, "base");
}
&.active {
background-color: transparent;
color: map-get($mdb-color, "base");
border-left: 2px solid color($mdb-color, "base");
font-weight: 500;
box-shadow:none;
&:hover,
&:active,
&:focus {
background-color: transparent;
color: color($mdb-color, "base");
font-weight: 500;
}
}
}
}
.nav-pills .nav-item+.nav-item {
margin-left: 0;
}
@media only screen and (max-width: 991px) {
.sticky,
.sticky-placeholder {
display: none;
}
}
#scrollspy {
width: 100%;
}
@media only screen and (max-width: $medium-screen) {
.col-md-4 .sticky, .col-lg-4 .sticky, .col-xl-4 .sticky {
width: 200px;
}
}
@media only screen and (min-width: $medium-screen) {
.col-md-4 .sticky .col-lg-4 .sticky, .col-xl-4 .sticky {
width: 400px;
}
}
@media only screen and (min-width: $large-screen) {
.col-md-4 .sticky {
width: 300px;
}
}
@media only screen and (min-width: $sidenav-breakpoint) {
.col-md-4 .sticky {
width: 350px;
}
}
// Dotted scrollspy
.dotted-scrollspy {
display:block;
position: fixed;
top:50%;
right:0;
transform: translateY(-50%);
background: rgba(0,0,0,.55);
border-radius:2px 0 0 2px;
li {
display:block;
padding:0 16px;
&:first-child {
padding-top:10px;
}
&:last-child {
padding-bottom: 10px;
}
a {
padding:0.5rem;
span {
display:block;
background-color:rgba(255,255,255,.54);
width:8px;
height:8px;
border-radius:50%;
}
&.active {
span {
background:#fff;
}
}
}
}
}
.scrollspy-example {
overflow-y: scroll;
position: relative;
height: 200px;
padding: 1rem;
}

View File

@@ -0,0 +1,6 @@
.section {
img {
max-width: 100%;
height: auto;
}
}

324
html/sass/mdb/pro/_side-nav.scss Executable file
View File

@@ -0,0 +1,324 @@
// SIDENAV
.side-nav {
position: fixed;
width: 240px;
left: 0;
top: 0;
margin: 0;
transform: translateX(-100%);
height: 100%;
height: calc(100%+ 60px);
height: -moz-calc(100%);
padding-bottom: 60px;
color:#d8d8d8;
background-color: #2c2f34;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
z-index: 999;
backface-visibility: hidden;
overflow: hidden;
will-change: transform;
backface-visibility: hidden;
transform: translateX(-105%);
list-style-type:none;
padding:0;
@extend .white-text;
@extend .z-depth-1;
> ul {
max-height:100vh;
}
ul {
list-style-type:none;
li {
padding:0;
}
}
&.right-aligned {
right: 0;
left: auto;
transform: translateX(100%);
}
.collapsible {
margin: 0;
padding:0;
li {
a{
&:hover {
background-color: rgba(0,0,0,.15);
}
}
}
>li {
border-radius:2px;
a.collapsible-header {
&:hover {
background-color: rgba(255, 255, 255, 0.15);
}
&.active {
background-color: rgba(255, 255, 255, 0.15);
}
}
}
ul {
padding:0;
list-style-type:none;
}
a {
color:#fff;
font-weight: 300;
font-size: 0.8rem;
height: 36px;
line-height: 36px;
&.active,
&:hover {
border-radius: 2px;
}
}
.fa {
font-size: 0.8rem;
margin-right: 13px;
}
}
.collapsible-body a {
padding-left: 47px;
height: 36px;
line-height: 36px;
background-color: rgba(0,0,0,.15);
}
a {
display: block;
font-size: 1rem;
height: 56px;
line-height: 56px;
padding-left: 20px;
}
// SideNav logo
.logo-wrapper {
height: 140px;
a {
height: 140px;
width: 240px;
padding: 0;
}
img {
padding-left: 50px;
padding-right: 50px;
padding-top: 20%;
padding-bottom: 20%;
height: auto;
}
}
@media (max-height: $medium-screen) {
.logo-wrapper {
height: 80px;
a {
height: 80px;
}
img {
padding-left: 50px;
padding-right: 50px;
padding-top: 7%;
padding-bottom: 7%;
}
}
}
// About
.about {
padding: 1rem;
border-bottom: 1px solid rgba(153, 153, 153, 0.3);
p {
margin-bottom: 0;
text-align: center;
}
}
//Social
.social {
padding: 0;
text-align: center;
border-bottom: 1px solid rgba(153, 153, 153, 0.3);
li {
display: inline-block;
padding: 0;
margin: 0;
}
a {
padding: 0;
margin: 0;
padding-right: 0.6rem;
padding-left: 0.6rem;
}
.fa {
color: #dbe4e7;
}
}
//Search form
.search-form {
padding: 0;
input[type=text] {
border-bottom: 1px solid #fff;
font-weight: 300;
padding-left: 30px;
@include placeholder {
color: #fff!important;
}
}
.form-control {
@extend .white-text;
margin-bottom: 0;
}
}
.sn-avatar-wrapper {
padding-left: 33%;
padding-right: 33%;
padding-top: 10%;
img {
margin: 0;
padding: 0;
max-width: 90px;
border-radius: 5rem;
}
}
@media only screen and (max-height: $medium-screen) {
.sn-avatar-wrapper {
padding-left: 40%;
padding-right: 40%;
padding-top: 3%;
img {
max-width: 50px;
}
}
}
.sn-ad-avatar-wrapper {
height: auto;
margin-bottom: 0;
img {
max-width: 60px;
padding: 20px 10px;
float: left;
}
p {
font-size: 15px;
padding-top: 20px;
padding-bottom: 20px;
margin: 0;
}
}
.user-box {
padding: 20px 10px 0 10px;
img {
margin: 0 auto 10px auto;
max-width: 80px;
}
}
.fa-angle-down {
&.rotate-icon {
position: absolute;
right: 0;
top: 13px;
margin-right: 20px;
}
}
.sidenav-bg {
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 240px;
z-index: -1;
background-attachment: fixed;
&:after {
width: 100%;
display: block;
content: "";
position: absolute;
height: 100%;
top: 0;
left: 0;
bottom: 0;
z-index:-1;
margin-bottom: -99999px;
padding-bottom: 99999px;
}
}
// Fixed side-nav shown
&.fixed {
left: 0;
transform: translateX(0);
position: fixed;
// Right Align
&.right-aligned {
right: 0;
left: auto;
}
}
// Fixed sideNav hide on smaller
@media #{$hide-sidenav} {
&.fixed {
transform: translateX(-105%);
&.right-aligned {
transform: translateX(105%);
}
}
}
&.side-nav-light {
background-color:#e5e5e5;
a {
color:#555;
font-weight:400;
}
.social .fa {
color:#555;
}
.search-form input[type=text] {
border-bottom-color:rgba(153, 153, 153, 0.3);
color:#555 !important;
@include placeholder {
color:#555 !important;
}
}
.collapsible-body a {
background-color: rgba(0,0,0,.1);
}
.collapsible li .collapsible-header {
&:hover {
background-color: rgba(0, 0, 0, 0.05);
}
&.active {
color: #4285F4;
background-color: transparent;
}
}
}
}
// Touch interaction
.drag-target {
height: 100%;
width: 10px;
position: fixed;
top: 0;
z-index: 998;
}
#sidenav-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 120vh;
background-color: rgba(0, 0, 0, .5);
z-index: 997;
will-change: opacity;
}
//Button Collapse Without Navbar
.side-nav .double-navbar .bc-min {
padding: 5px 10px;
.button-collapse {
padding-left: 0px;
}
}

File diff suppressed because it is too large Load Diff

243
html/sass/mdb/pro/_skins.scss Executable file
View File

@@ -0,0 +1,243 @@
// Sidenav background variants
.sn-bg-1 {
background-image: url(https://mdbootstrap.com/img/Photos/Others/sidenav1.jpg);
}
.sn-bg-2 {
background-image: url(https://mdbootstrap.com/img/Photos/Others/sidenav2.jpg);
}
.sn-bg-3 {
background-image: url(https://mdbootstrap.com/img/Photos/Others/sidenav3.jpg);
}
.sn-bg-4 {
background-image: url(https://mdbootstrap.com/img/Photos/Others/sidenav4.jpg);
}
@each $skin, $data in $skins {
.#{$skin}-skin {
.gradient {
background: map-get($data, skin-gradient-start);
/* Old browsers */
background: -moz-linear-gradient(-45deg, map-get($data, skin-gradient-start) 0%, map-get($data, skin-gradient-end) 100%);
/* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, map-get($data, skin-gradient-start) 0%, map-get($data, skin-gradient-end) 100%);
/* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, map-get($data, skin-gradient-start) 0%, map-get($data, skin-gradient-end) 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.primary-color {
background-color: map-get($data, skin-primary-color)!important;
}
.navbar {
background-color: map-get($data, skin-navbar);
color: map-get($data, skin-text);
.navbar-nav {
.nav-item {
.dropdown-menu a {
&:hover,
&:focus,
&:active {
background-color: darken( map-get($data, skin-accent), 5%);
}
}
@if $skin == "white" {
a {
color: map-get($data, skin-text);
}
}
}
}
&.double-nav {
@if $skin == "white" {
a {
color: map-get($data, skin-text);
}
}
}
}
.page-footer {
background-color: map-get($data, skin-footer-color);
}
.side-nav {
background-color: map-get($data, skin-flat);
.logo-wrapper {
&> div {
background-color: transparent!important;
}
}
.sn-avatar-wrapper img {
border: 3px solid darken( map-get($data, skin-accent), 15%);
}
.social a {
@if $skin == "white" {
.fa {
color: map-get($data, skin-text);
}
}
&:hover {
.fa {
color: map-get($data, skin-accent) !important;
@include transition (all 0.3s linear);
}
}
}
@if $skin == "white" {
.search-form input[type=text] {
color: #424242 !important;
border-bottom: 1px solid rgba(153, 153, 153, 0.3);
@include placeholder {
color: rgba(map-get($data, skin-text), .5) !important;
}
}
}
.collapsible {
li {
background-color: transparent;
@if $skin == "white" {
a {
font-weight: 400;
}
}
.collapsible-header {
color: map-get($data, skin-text);
@include transition (all 0.3s linear);
&.active {
@if $skin == "white" {
color: map-get($data, skin-sidenav-item);
background-color: transparent;
} @else {
background-color: map-get($data, skin-sidenav-item-hover);
}
}
&:hover {
background-color: map-get($data, skin-sidenav-item-hover);
}
}
.collapsible-body a {
color: map-get($data, skin-text);
&:hover {
color:map-get($data, skin-sn-child);
}
}
}
@if $skin == "white" {
a {
color: map-get($data, skin-text);
@include transition (all 0.3s linear);
&:hover {
background-color: map-get($data, skin-sidenav-item-hover);
}
}
}
}
.fa {
color: map-get($data, skin-text);
}
.sidenav-bg {
&:after,
&.mask-strong:after,
{
background: map-get($data, skin-mask-strong);
}
&.mask-light:after {
background: map-get($data, skin-mask-light);
}
&.mask-slight:after {
background: map-get($data, skin-mask-slight);
}
}
}
@include make-button('primary', map-get($data, skin-btn-primary));
@include make-button('secondary', map-get($data, skin-btn-secondary));
@include make-button('default', map-get($data, skin-btn-default));
.card .btn-action {
background: map-get($data, skin-btn-default);
&:hover,
&:focus {
background-color: lighten( map-get($data, skin-btn-default), 5%)!important;
}
&.active {
background-color: darken( map-get($data, skin-btn-default), 20%)!important;
}
}
// Custom inputs
input[type="email"]:focus:not([readonly]),
input[type="text"]:focus:not([readonly]),
input[type="password"]:focus:not([readonly]),
textarea.md-textarea:focus:not([readonly]) {
border-color: map-get($data, skin-accent);
box-shadow: 0 1px 0 0 map-get($data, skin-accent);
&+label {
color: map-get($data, skin-accent);
}
}
input[type=checkbox]:checked {
&+label {
&:before {
border-right: 2px solid map-get($data, skin-accent);
border-bottom: 2px solid map-get($data, skin-accent);
}
}
}
input[type=checkbox].filled-in:checked {
&+label {
&:before {
border-right: 2px solid #fff;
border-bottom: 2px solid #fff;
}
&:after {
background-color: map-get($data, skin-accent);
border-color: map-get($data, skin-accent);
}
}
}
.md-form {
.prefix {
&.active {
color: map-get($data, skin-accent);
}
}
}
/* Select colors */
.dropdown-content {
li:not(.disabled) {
span {
color: map-get($data, skin-accent);
}
}
}
.top-nav-collapse {
background-color: map-get($data, skin-navbar);
}
.carousel-multi-item {
.controls-top > a,
.carousel-indicators li,
.carousel-indicators li.active {
background-color: map-get($data, skin-accent);
}
}
// Form-header, card-header
.form-header,
.card-header {
background-color: lighten( map-get($data, skin-accent), 2%);
}
.spinner-primary-color,
.spinner-primary-color-only {
border-color: map-get($data, skin-primary-color);
}
.pagination-primary-color {
.page-item.active .page-link,
.page-item.active .page-link:focus,
.page-item.active .page-link:hover {
color: #fff;
background-color: map-get($data, skin-primary-color);
border-color: map-get($data, skin-primary-color);
}
.page-link {
color: map-get($data, skin-primary-color);
}
}
}
}

View File

@@ -0,0 +1,62 @@
// Social Buttons
@each $medium, $color in $social-colors {
.btn-#{$medium} {
background-color: $color;
&:hover,
&:focus {
background-color: lighten($color, 5%);
}
}
.#{$medium}-ic {
color: $color!important;
&:hover,
&:focus {
color: $color;
}
}
}
.btn-social-all {
background-color: #436281;
&:hover,
&:focus {
background-color: #5c7fa3;
}
i {
&.fa {
margin-top: 0px;
}
}
}
.counter {
position: absolute;
margin-left: -23px;
margin-top: -1px;
background-color: rgb(254, 18, 18);
color: #fff;
padding: 1px 7px;
font-size: 11px;
z-index: 2;
border-radius: 10rem;
@extend .z-depth-1;
}
.social-counters {
.btn {
margin-left: 9px;
}
}
.icons-sm {
padding: .5rem;
margin: .5rem;
font-size: 1.2rem;
}
@each $medium, $color in $social-colors {
@include make-button($medium, $color);
}

138
html/sass/mdb/pro/_stepper.scss Executable file
View File

@@ -0,0 +1,138 @@
// Steppers
// Common styles for steppers
.stepper {
li {
a {
padding:24px;
font-size:14px;
text-align:center;
.circle {
display:inline-block;
color:#fff;
border-radius:50%;
background:rgba(0,0,0,.38);
width:24px;
height:24px;
text-align:center;
line-height:24px;
margin-right:8px;
}
.label {
display:inline-block;
color:rgba(0,0,0,.38);
}
}
&.active, &.completed {
a {
.circle {
@extend .primary-color;
}
.label {
font-weight:600;
color:rgba(0,0,0,.87);
}
}
}
&.warning {
a {
.circle {
@extend .danger-color;
}
}
}
}
}
// Horizontal
.stepper-horizontal {
position:relative;
display:flex;
justify-content: space-between;
li {
transition: 0.5s;
display: flex;
align-items: center;
flex: 1;
a {
.label {
margin-top: 10px;
}
}
&:not(:last-child):after {
content: '';
position: relative;
flex: 1;
margin: 8px 0 0 0;
height: 1px;
background-color: rgba(0,0,0,0.1);
}
&:not(:first-child):before {
content: '';
position: relative;
flex: 1;
margin: 8px 0 0 0;
height: 1px;
background-color: rgba(0,0,0,0.1);
}
&:hover {
background:#ddd;
}
}
}
// Vertical
.stepper-vertical {
position:relative;
display:flex;
flex-direction:column;
justify-content: space-between;
li {
display: flex;
align-items: flex-start;
flex: 1;
flex-direction: column;
position:relative;
a {
align-self: flex-start;
display:flex;
position:relative;
.circle {
order:1;
}
.label {
flex-flow: column nowrap;
order:2;
}
}
&.completed {
a {
.label {
font-weight:500;
}
}
}
.step-content {
display:block;
margin-top:0;
margin-left:50px;
padding:15px;
p {
font-size:0.875rem;
}
}
&:not(:last-child):after {
content:" ";
position:absolute;
width:1px;
height:calc(100% - 40px);
left:35px;
top:55px;
background-color: rgba(0,0,0,0.1);
}
}
}

69
html/sass/mdb/pro/_switch.scss Executable file
View File

@@ -0,0 +1,69 @@
/***************
Switch
***************/
.switch,
.switch * {
-webkit-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-ms-user-select: none;
}
.switch label {
cursor: pointer;
input[type=checkbox] {
opacity: 0;
width: 0;
height: 0;
&:checked + .lever {
background-color: map-get($switch-colors, "checked-lever-bg");
}
&:checked + .lever:after {
background-color: map-get($switch-colors, "bg");
left: 24px;
}
&:checked:not(:disabled) ~ .lever:active:after {
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .4), 0 0 0 15px transparentize(map-get($switch-colors, "bg"), .9);
}
&:not(:disabled) ~ .lever:active:after {
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .4), 0 0 0 15px rgba(0, 0, 0, .08);
}
&:disabled + .lever {
cursor: default;
}
&:disabled + .lever:after, &:disabled:checked + .lever:after {
background-color: $input-disabled-solid-color;
}
}
.lever {
content: "";
display: inline-block;
position: relative;
width: 40px;
height: 15px;
background-color: map-get($switch-colors, "unchecked-lever-bg");
border-radius: 15px;
margin-right: 10px;
transition: background 0.3s ease;
vertical-align: middle;
margin: 0 16px;
&:after {
content: "";
position: absolute;
display: inline-block;
width: 21px;
height: 21px;
background-color: map-get($switch-colors, "unchecked-bg");
border-radius: 21px;
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .4);
left: -5px;
top: -3px;
transition: left 0.3s ease, background .3s ease, box-shadow 0.1s ease;
}
}
}

131
html/sass/mdb/pro/_tabs.scss Executable file
View File

@@ -0,0 +1,131 @@
//Navs, Tabs and Pills
.nav-tabs {
border: 0;
padding: $tabs-padding;
margin-left: $tabs-margin-x;
margin-right: $tabs-margin-x;
margin-bottom: $tabs-margin-y;
background-color: $default-color;
z-index: 2;
position: relative;
@include border-radius(2px);
@extend .z-depth-1-half;
.nav-item + .nav-item {
margin-left: 0;
}
.nav-link {
border: 0;
color: $white;
}
}
.nav-tabs {
.nav-link.active,
.nav-item.open .nav-link {
background-color: rgba(255, 255, 255, 0.2);
color: #fff;
@include transition(all 1s);
@include border-radius(2px);
}
.nav-link.dropdown-toggle,
.nav-item.show .nav-link {
background-color: $default-color;
color: #fff;
@include transition(all 1s);
@include border-radius(2px);
}
}
.md-pills {
border: 0;
li {
padding: $pills-padding;
}
.nav-link {
@include transition(all 0.4s);
@include border-radius(2px);
color: #666;
text-align: center;
&:hover {
background-color: $rgba-grey-light;
}
&.active {
color: $white; //comment because when we have background color white, we didnt see a
@extend .z-depth-1;
background-color: $default-color;
}
&.active:hover {
@extend .z-depth-1-half;
}
}
}
@each $name, $color in $material-colors {
.pills-#{$name} {
.nav-item {
.nav-link {
&.active {
background-color: $color;
}
}
}
}
.tabs-#{$name} {
background-color: $color;
}
}
.tab-content {
padding: 1rem;
padding-top: 2rem;
z-index: 1;
border-radius: 0 0 0.3rem 0.3rem;
&.vertical {
padding-top: 0;
}
}
.classic-tabs {
@include flexbox();
white-space: nowrap;
overflow-x: auto;
border-radius: 0.3rem 0.3rem 0 0;
@media (min-width: 62rem) {
overflow-x: hidden;
}
li {
@include flex(1 0 30%);
@media (min-width: 62em) {
flex:inherit;
}
a {
display: block;
padding: $classic-tabs-padding-y $classic-tabs-padding-x;
font-size: $classic-tabs-font-size;
text-transform: uppercase;
color: $classic-tabs-color;
text-align: center;
border-radius: 0;
&.active {
border-bottom: 3px solid;
color: $white;
}
}
@media (min-width: 62em) {
&:first-child {
margin-left: $classic-tabs-margin-left;
}
}
}
@each $name, $color in $ctbc {
&.#{$name} {
li {
a {
&.active {
border-color: $color;
}
}
}
}
}
}

178
html/sass/mdb/pro/_toasts.scss Executable file
View File

@@ -0,0 +1,178 @@
.toast-title {
font-weight: bold;
}
.toast-message {
-ms-word-wrap: break-word;
word-wrap: break-word;
}
.toast-message a,
.toast-message label {
@extend .white-text;
}
.toast-message a:hover {
color: #cccccc;
text-decoration: none;
}
.toast-close-button {
position: relative;
right: -0.3em;
top: -0.3em;
float: right;
font-size: 20px;
font-weight: bold;
@extend .white-text;
-webkit-text-shadow: 0 1px 0 #ffffff;
text-shadow: 0 1px 0 #ffffff;
opacity: 0.8;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
filter: alpha(opacity=80);
}
.toast-close-button:hover,
.toast-close-button:focus {
@extend .black-text;
text-decoration: none;
cursor: pointer;
opacity: 0.4;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
filter: alpha(opacity=40);
}
button.toast-close-button {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}
.toast-top-center {
top: 0;
right: 0;
width: 100%;
}
.toast-bottom-center {
bottom: 0;
right: 0;
width: 100%;
}
.toast-top-full-width {
top: 0;
right: 0;
width: 100%;
}
.toast-bottom-full-width {
bottom: 0;
right: 0;
width: 100%;
}
.toast-top-left {
top: 12px;
left: 12px;
}
.toast-top-right {
top: 12px;
right: 12px;
}
.toast-bottom-right {
right: 12px;
bottom: 12px;
}
.toast-bottom-left {
bottom: 12px;
left: 12px;
}
#toast-container {
position: fixed;
z-index: 999999;
}
#toast-container * {
box-sizing: border-box;
}
#toast-container > div {
position: relative;
overflow: hidden;
margin: 0 0 6px;
padding: 15px 15px 15px 50px;
width: 300px;
background-position: 15px center;
background-repeat: no-repeat;
@extend .z-depth-1;
@extend .white-text;
opacity: 0.95;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=95);
filter: alpha(opacity=95);
}
#toast-container > :hover {
transition: .45s;
box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
opacity: 1;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
filter: alpha(opacity=100);
cursor: pointer;
}
#toast-container.toast-top-center > div,
#toast-container.toast-bottom-center > div {
width: 300px;
margin: auto;
}
#toast-container.toast-top-full-width > div,
#toast-container.toast-bottom-full-width > div {
width: 96%;
margin: auto;
}
.toast {
background-color: #030303;
}
.toast-success {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==") !important;
@extend .success-color;
}
.toast-error {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=") !important;
@extend .danger-color;
}
.toast-info {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=") !important;
@extend .info-color;
}
.toast-warning {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=") !important;
@extend .warning-color;
}
.toast-progress {
position: absolute;
left: 0;
bottom: 0;
height: 4px;
background-color: #000000;
opacity: 0.4;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
filter: alpha(opacity=40);
}
/*Responsive Design*/
@media all and (max-width: 240px) {
#toast-container > div {
padding: 8px 8px 8px 50px;
width: 11em;
}
#toast-container .toast-close-button {
right: -0.2em;
top: -0.2em;
}
}
@media all and (min-width: 241px) and (max-width: 480px) {
#toast-container > div {
padding: 8px 8px 8px 50px;
width: 18em;
}
#toast-container .toast-close-button {
right: -0.2em;
top: -0.2em;
}
}
@media all and (min-width: 481px) and (max-width: 768px) {
#toast-container > div {
padding: 15px 15px 15px 50px;
width: 25em;
}
}

View File

@@ -0,0 +1,294 @@
// LIGHT BOX
$pswp__show-hide-transition-duration: 333ms !default;
$pswp__controls-transition-duration: 333ms !default;
$pswp__background-color: #000 !default;
$pswp__placeholder-color: #222 !default;
$pswp__box-sizing-border-box: true !default; // disable .pswp * { box-sizing:border-box } (in case you already have it in your site css)
$pswp__root-z-index: 1500 !default;
$pswp__assets-path: '' !default; // path to skin assets folder (preloader, PNG and SVG sprite)
$pswp__error-text-color: #CCC !default; // "Image not loaded" text color
$pswp__include-minimal-style: true !default;
// Navbars Pro Variables
// SideNav Variables
$sidenav-breakpoint: 1440px !default;
$hide-sidenav: "only screen and (max-width : #{$sidenav-breakpoint})" !default;
// Buttons Pro Varoables
$btn-floating-size: 47px !default;
$btn-floating-icon-size: 1.25rem !default;
$btn-floating-color-raised: $white !default;
$btn-floating-color: $secondary-color !default;
// Chips
$chip-height: 32px;
$chip-font-size: 13px;
$chip-font-weight: 500;
$chip-font-color: rgba($black, .6);
$chip-line-height: 32px;
$chip-padding-right: 12px;
$chip-br: 16px;
$chip-background-color: map-get($blue-grey, "lighten-5");
$chip-margin-bottom: 1rem;
$chip-margin-right: 1rem;
$chip-img-margin-right: 8px;
$chip-img-margin-left: -12px;
$chip-img-height: 32px;
$chip-img-width: 32px;
$chip-close-font-size: 16px;
$chip-close-line-height: 32px;
$chip-close-padding-left: 8px;
$chips-margin-bottom: 30px;
$chips-min-height: 45px;
$chips-padding-bottom: 1rem;
$chips-input-font-color: rgba($black, .6);
$chips-input-font-size: 13px;
$chips-input-font-weight: 500;
$chips-input-height: 32px;
$chips-input-margin-right: 20px;
$chips-input-line-height: 32px;
$chips-input-width: 120px;
// Radio Buttons
$radio-fill-color: $primary-color !default;
$radio-empty-color: #5a5a5a !default;
// Date Picker
$datepicker-weekday-bg: darken($primary-color, 7%) !default;
$datepicker-date-bg: $primary-color !default;
$datepicker-year: rgba(255, 255, 255, .4) !default;
$datepicker-focus: rgba(0,0,0, .05) !default;
$datepicker-selected: $primary-color !default;
$datepicker-selected-outfocus: desaturate(lighten($primary-color, 35%), 15%) !default;
//default time picker
$timepicker-pickerbox-breakpoint: 40.125em;
$timepicker-pickerlistitem-breakpoint: 46.75em;
//default time & date picker
$pickerframe-wrap-box-breakpoint: 28.875em;
$pickerframe-mb-breakpoint: 40.125em;
$pickerframe-pos-breakpoint: 35.875em;
//default date picker
$pickerweekday-padb-breakpoint: 33.875em;
// Tabs classic
$classic-tabs-padding-y: 20px;
$classic-tabs-padding-x: 24px;
$classic-tabs-font-size: 13px;
$classic-tabs-color: rgba($white, .7);
$classic-tabs-margin-left: 56px;
// Gradients Premium
$gradients-premium: (
"purple": (
"start": #ff6ec4,
"end": #7873f5
),
"peach": (
"start": #FFD86F,
"end": #FC6262
),
"aqua": (
"start": #2096ff,
"end": #05ffa3
),
"blue": (
"start": #45cafc,
"end": #303f9f
),
);
$skins: (
"white": (
"skin-primary-color": #4285F4,
"skin-navbar": #fff,
"skin-footer-color": #6f7178,
"skin-accent": #4285F4,
"skin-flat": #F9F9F9,
"skin-sidenav-item": #4285F4,
"skin-sidenav-item-hover": rgba(0,0,0,0.05),
"skin-gradient-start": #ababab,
"skin-gradient-end": #fff,
"skin-mask-slight": rgba(255, 255, 255, 0.5),
"skin-mask-light": rgba(255, 255, 255, 0.65),
"skin-mask-strong": rgba(255, 255, 255, 0.8),
"skin-sn-child": #4285F4,
"skin-btn-primary": #4285F4,
"skin-btn-secondary": #fc685f,
"skin-btn-default": #454545,
"skin-text": #424242
),
"black": (
"skin-primary-color": #2AD1A3,
"skin-navbar": #222,
"skin-footer-color": #222,
"skin-accent": #2AD1A3,
"skin-flat": #222,
"skin-sidenav-item": #2AD1A3,
"skin-sidenav-item-hover": #2AD1A3,
"skin-gradient-start": #000,
"skin-gradient-end": #616161,
"skin-mask-slight": rgba(0, 0, 0, 0.5),
"skin-mask-light": rgba(0, 0, 0, 0.65),
"skin-mask-strong": rgba(0, 0, 0, 0.8),
"skin-sn-child": #2AD1A3,
"skin-btn-primary": #2AD1A3,
"skin-btn-secondary": #0f478a,
"skin-btn-default": #222222,
"skin-text": #fff
),
"cyan": (
"skin-primary-color": #4fada7,
"skin-navbar": #114861,
"skin-footer-color": #114861,
"skin-accent": #f0b247,
"skin-flat": #24879d,
"skin-sidenav-item": rgba(29, 65, 82, 0.8),
"skin-sidenav-item-hover": rgba(29, 65, 82, 0.8),
"skin-gradient-start": #114861,
"skin-gradient-end": #45b0c0,
"skin-mask-slight": rgba(21, 78, 96, 0.5),
"skin-mask-light": rgba(21, 78, 96, 0.65),
"skin-mask-strong": rgba(21, 78, 96, 0.8),
"skin-sn-child": #ffa742,
"skin-btn-primary": #ffa742,
"skin-btn-secondary": #45b0c0,
"skin-btn-default": #114861,
"skin-text": #fff
),
"mdb": (
"skin-primary-color": #33b5e5,
"skin-navbar": #243a51,
"skin-footer-color": #243a51,
"skin-accent": #33b5e5,
"skin-flat": #224562,
"skin-sidenav-item": rgba(72, 198, 255, 0.8),
"skin-sidenav-item-hover": rgba(72, 198, 255, 0.8),
"skin-gradient-start": #0e2135,
"skin-gradient-end": #2c76b8,
"skin-mask-slight": rgba(13, 36, 60, 0.5),
"skin-mask-light": rgba(13, 36, 60, 0.65),
"skin-mask-strong": rgba(13, 36, 60, 0.8),
"skin-sn-child": #67d5ff,
"skin-btn-primary": #33b5e5,
"skin-btn-secondary": #0e3d67,
"skin-btn-default": #1a6398,
"skin-text": #fff
),
"deep-purple": (
"skin-primary-color": #d0637c,
"skin-navbar": #7f7e91,
"skin-footer-color": #7f7e91,
"skin-accent": #ac85f0,
"skin-flat": #372e5f,
"skin-sidenav-item": rgba(176, 139, 240, 0.5),
"skin-sidenav-item-hover": rgba(176, 139, 240, 0.5),
"skin-gradient-start": #2e1f49,
"skin-gradient-end": #a47fe3,
"skin-mask-slight": rgba(36, 9, 56, 0.5),
"skin-mask-light": rgba(36, 9, 56, 0.65),
"skin-mask-strong": rgba(36, 9, 56, 0.88),
"skin-sn-child": #c9abfc,
"skin-btn-primary": #ac85f0,
"skin-btn-secondary": #6e4ca3,
"skin-btn-default": #372e5f,
"skin-text": #fff
),
"navy-blue": (
"skin-primary-color": #309e9e,
"skin-navbar": #353b50,
"skin-footer-color": #353b50,
"skin-accent": #40c6c6,
"skin-flat": #4c5678,
"skin-sidenav-item": rgba(37, 207, 207, 0.8),
"skin-sidenav-item-hover": rgba(37, 207, 207, 0.8),
"skin-gradient-start": #222735,
"skin-gradient-end": #4f68a6,
"skin-mask-slight": rgba(14, 15, 32, 0.5),
"skin-mask-light": rgba(14, 15, 32, 0.65),
"skin-mask-strong": rgba(14, 15, 32, 0.8),
"skin-sn-child": #40c6c6,
"skin-btn-primary": #40c6c6,
"skin-btn-secondary": #7e51b4,
"skin-btn-default": #293756,
"skin-text": #fff
),
"pink": (
"skin-primary-color": #bd5d70,
"skin-navbar": #535466,
"skin-footer-color": #535466,
"skin-accent": #9fa0ae,
"skin-flat": #aa5077,
"skin-sidenav-item": rgba(0, 0, 0, 0.4),
"skin-sidenav-item-hover": rgba(0, 0, 0, 0.4),
"skin-gradient-start": #812b5a,
"skin-gradient-end": #f28cc0,
"skin-mask-slight": rgba(152, 47, 88, 0.5),
"skin-mask-light": rgba(152, 47, 88, 0.65),
"skin-mask-strong": rgba(152, 47, 88, 0.8),
"skin-sn-child": #ffb0e6,
"skin-btn-primary": #601f39,
"skin-btn-secondary": #e7649d,
"skin-btn-default": #535466,
"skin-text": #fff
),
"indigo": (
"skin-primary-color": #7f82c5,
"skin-navbar": #9095aa,
"skin-footer-color": #9095aa,
"skin-accent": #fd668c,
"skin-flat": #404f9f,
"skin-sidenav-item": rgba(250, 80, 121, 0.8),
"skin-sidenav-item-hover": rgba(250, 80, 121, 0.8),
"skin-gradient-start": #272d6e,
"skin-gradient-end": #90a8ff,
"skin-mask-slight": rgba(35, 65, 134, 0.5),
"skin-mask-light": rgba(35, 65, 134, 0.65),
"skin-mask-strong": rgba(35, 65, 134, 0.8),
"skin-sn-child": #ff89ac,
"skin-btn-primary": #fd668c,
"skin-btn-secondary": #3c61ae,
"skin-btn-default": #9095aa,
"skin-text": #fff
),
"light-blue": (
"skin-primary-color": #3d799c,
"skin-navbar": #3f5c80,
"skin-footer-color": #3f5c80,
"skin-accent": #b4c2c9,
"skin-flat": #6a9ed3,
"skin-sidenav-item": rgba(29, 54, 86, 0.6),
"skin-sidenav-item-hover": rgba(29, 54, 86, 0.6),
"skin-gradient-start": #69adf4,
"skin-gradient-end": #69adf4,
"skin-mask-slight": rgba(87, 134, 180, 0.5),
'skin-mask-light': rgba(87, 134, 180, 0.65),
"skin-mask-strong": rgba(87, 134, 180, 0.8),
"skin-sn-child": #aadeff,
"skin-btn-primary": #ff4a67,
"skin-btn-secondary": #64c3f0,
"skin-btn-default": #2d486a,
"skin-text": #fff
),
"grey": (
"skin-primary-color": #2b2b2b,
"skin-navbar": #44474b,
"skin-footer-color": #44474b,
"skin-accent": #75c1f0,
"skin-flat": #a5a4a4,
"skin-sidenav-item": rgba(0, 0, 0, 0.4),
"skin-sidenav-item-hover": rgba(0, 0, 0, 0.4),
"skin-gradient-start": #383838,
"skin-gradient-end": #a5a4a4,
"skin-mask-slight": rgba(121, 121, 121, 0.5),
"skin-mask-light": rgba(121, 121, 121, 0.65),
"skin-mask-strong": rgba(121, 121, 121, 0.8),
"skin-sn-child": #afdffc,
"skin-btn-primary": #46aded,
"skin-btn-secondary": #7d8488,
"skin-btn-default": #353637,
"skin-text": #fff
)
);

View File

@@ -0,0 +1,337 @@
/* ==========================================================================
$BASE-DATE-PICKER
========================================================================== */
/**
* The picker box.
*/
.picker__box {
padding: 0;
border-radius: 2px;
overflow: hidden;
/**
* The header containing the month and year stuff.
*/
.picker__header {
text-align: center;
position: relative;
margin-bottom: 20px;
select {
display: inline-block !important;
}
.picker__date-display {
text-align: center;
background-color: $datepicker-date-bg;
@extend .white-text;
padding-bottom: 15px;
font-weight: 300;
margin-bottom: 1rem;
.picker__weekday-display {
background-color: $datepicker-weekday-bg;
padding: 10px;
font-weight: 200;
letter-spacing: .5;
font-size: 1rem;
margin-bottom: 15px;
}
.picker__month-display {
text-transform: uppercase;
font-size: 2rem;
}
.picker__day-display {
font-size: 4.5rem;
font-weight: 400;
}
.picker__year-display {
font-size: 1.8rem;
color: $datepicker-year;
}
}
/**
* The month and year labels.
*/
.picker__month,
.picker__year {
display: inline-block;
margin-left: .25em;
margin-right: .25em;
}
/**
* The month and year selectors.
*/
.picker__select--month,
.picker__select--year {
height: 2em;
padding: 0;
margin-left: .25em;
margin-right: .25em;
display: inline-block;
&:focus {
border-color: $datepicker-focus;
}
}
.picker__select--year {
width: 30%;
}
// Modified
.picker__select--month.browser-default {
display: inline;
@extend .white;
width: 40%;
}
.picker__select--year.browser-default {
display: inline;
@extend .white;
width: 25%;
}
/**
* The month navigation buttons.
*/
.picker__nav--prev,
.picker__nav--next {
position: absolute;
padding: .5em 1.55em;
width: 1em;
height: 1em;
box-sizing: content-box;
bottom: 0;
&:hover {
cursor: pointer;
color: #000000;
background: $datepicker-selected-outfocus;
}
&:before {
content: " ";
border-top: .5em solid transparent;
border-bottom: .5em solid transparent;
border-right: 0.75em solid #676767;
width: 0;
height: 0;
display: block;
margin: 0 auto;
}
}
.picker__nav--prev {
left: -1em;
padding-right: 1.25em;
}
.picker__nav--next {
right: -1em;
padding-left: 1.25em;
&:before {
border-right: 0;
border-left: 0.75em solid #676767;
}
}
.picker__nav--disabled,
.picker__nav--disabled:hover,
.picker__nav--disabled:before,
.picker__nav--disabled:before:hover {
cursor: default;
background: none;
border-right-color: #f5f5f5;
border-left-color: #f5f5f5;
}
}
/**
* The calendar table of dates
*/
.picker__table {
text-align: center;
border-collapse: collapse;
border-spacing: 0;
table-layout: fixed;
font-size: 1rem;
width: 100%;
margin-top: .75em;
margin-bottom: .5em;
th, td {
text-align: center;
}
td {
margin: 0;
padding: 0;
}
/**
* The weekday labels
*/
.picker__weekday {
width: 14%;
font-size: .9em;
padding-bottom: .25em;
color: #999999;
font-weight: 500;
/* Increase the spacing a tad */
@media (min-height: $pickerweekday-padb-breakpoint) {
padding-bottom: .5em;
}
}
/**
* The days on the calendar
*/
.picker__day--today {
position: relative;
letter-spacing: -.3;
padding: .75rem 0;
font-weight: 400;
border: 1px solid transparent;
}
.picker__day.picker__day--today {
color: $datepicker-selected;
}
.picker__day--disabled{
&:before {
border-top-color: #aaaaaa;
}
}
.picker__day--infocus{
color: #595959;
letter-spacing: -.3;
padding: .75rem 0;
font-weight: 400;
border: 1px solid transparent;
&:hover {
cursor: pointer;
color: #000;
font-weight: 500;
}
}
.picker__day--outfocus {
display: none;
padding: .75rem 0;
@extend .white-text;
&:hover {
cursor: pointer;
color: #dddddd;
font-weight: 500;
}
}
.picker__day--highlighted:hover,
.picker--focused .picker__day--highlighted {
cursor: pointer;
}
.picker__day--selected,
.picker__day--selected:hover,
.picker--focused {
// Circle background
border-radius: 50%;
@include transform(scale(.9));
background-color: $datepicker-selected;
&.picker__day--outfocus {
background-color: $datepicker-selected-outfocus;
}
@extend .white-text;
@extend .z-depth-1-half;
}
.picker__day--disabled,
.picker__day--disabled:hover,
.picker--focused {
background: #f5f5f5;
border-color: #f5f5f5;
color: #dddddd;
cursor: default;
}
.picker__day--highlighted.picker__day--disabled,
.picker__day--highlighted.picker__day--disabled:hover {
background: #bbbbbb;
}
}
/**
* The footer containing the "today", "clear", and "close" buttons.
*/
.picker__footer {
text-align: right;
padding: 5px 10px;
display: flex;
align-items: center;
justify-content: space-between;
.picker__button--today,
.picker__button--clear,
.picker__button--close {
border: 1px solid #ffffff;
background: #ffffff;
font-size: .8em;
padding: 1rem 0 0.7rem 0;
font-weight: bold;
width: 33%;
display: inline-block;
vertical-align: bottom;
text-transform: uppercase;
&:hover {
cursor: pointer;
color: #000000;
background: #b1dcfb;
border-bottom-color: #b1dcfb;
}
&:focus {
background: #b1dcfb;
border-color: $datepicker-focus;
outline: none;
}
&:before {
position: relative;
display: inline-block;
height: 0;
}
}
.picker__button--today,
.picker__button--clear{
&:before {
content: " ";
margin-right: .45em;
}
}
.picker__button--today{
&:before {
top: -0.05em;
width: 0;
border-top: 0.66em solid #0059bc;
border-left: .66em solid transparent;
}
}
.picker__button--clear{
&:before {
top: -0.25em;
width: .66em;
border-top: 3px solid #ee2200;
}
}
.picker__button--close{
&:before {
content: "\D7";
top: -0.1em;
vertical-align: top;
font-size: 1.1em;
margin-right: .35em;
color: #777777;
}
}
.picker__button--today[disabled],
.picker__button--today[disabled]:hover {
background: #f5f5f5;
border-color: #f5f5f5;
color: #dddddd;
cursor: default;
}
.picker__button--today[disabled]:before {
border-top-color: #aaaaaa;
}
}
}
/* ==========================================================================
CUSTOM MATERIALIZE STYLES
========================================================================== */
.picker__calendar-container {
padding: 0 1rem;
thead {
border: none;
}
}

View File

@@ -0,0 +1,146 @@
/* ==========================================================================
$BASE-PICKER
========================================================================== */
/**
* Note: the root picker element should *NOT* be styled more than what's here.
*/
/**
* The picker input element.
*/
.picker__input {
cursor: default;
}
/**
* When the picker is opened, the input element is "activated".
*/
.picker__input.picker__input--active {
border-color: #0089ec;
}
/**
* Note: the root picker element should *NOT* be styled more than what's here.
*/
.picker {
font-size: 16px;
text-align: center;
line-height: 1.2;
color: #000000;
position: absolute;
z-index: 10000;
user-select: none;
/**
* The holder is the only "scrollable" top-level container element. The holder should overlay the entire screen.
*/
.picker__holder {
width: 100%;
overflow-y: auto;
overflow-scrolling: touch;
position: fixed;
transition: background 0.15s ease-out, top 0s 0.15s;
backface-visibility: hidden;
}
/*!
* Default mobile-first, responsive styling for pickadate.js
* Demo: http://amsul.github.io/pickadate.js
*/
/**
* Note: the root picker element should *NOT* be styled more than what's here.
*/
/**
* Make the holder and frame fullscreen.
*/
.picker__holder,
.picker__frame {
bottom: 0;
left: 0;
right: 0;
top: 100%;
}
/**
* The frame that bounds the box contents of the picker.
*/
.picker__frame {
position: absolute;
margin: 0 auto;
min-width: 256px;
max-width: 325px;
// picker width
width: 300px;
max-height: 350px;
filter: alpha(opacity=0);
opacity: 0;
transition: all 0.15s ease-out;
@media (min-height: $pickerframe-wrap-box-breakpoint) {
overflow: visible;
top: auto;
bottom: -100%;
max-height: 80%;
}
@media (min-height: $pickerframe-mb-breakpoint) {
margin-bottom: 7.5%;
}
/**
* The wrapper sets the stage to vertically align the box contents.
*/
.picker__wrap {
display: table;
width: 100%;
height: 100%;
@media (min-height: $pickerframe-wrap-box-breakpoint) {
display: block;
}
}
}
/**
* The box contains all the picker contents.
*/
.picker__box {
background: #ffffff;
display: table-cell;
vertical-align: middle;
@media (min-height: $pickerframe-wrap-box-breakpoint) {
display: block;
border: 1px solid #777777;
border-top-color: #898989;
border-bottom-width: 0;
border-radius: 5px 5px 0 0;
box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
}
}
}
/**
* When the picker opens...
*/
.picker--opened {
.picker__holder {
top: 0;
background: transparent;
zoom: 1;
background: rgba(0, 0, 0, 0.32);
transition: background 0.15s ease-out;
}
.picker__frame {
top: 0;
filter: alpha(opacity=100);
opacity: 1;
@media (min-height: $pickerframe-pos-breakpoint) {
top: 10%;
bottom: auto;
}
}
}
/**
* For `large` screens, transform into an inline picker.
*/
/* ==========================================================================
CUSTOM MATERIALIZE STYLES
========================================================================== */
.picker__input.picker__input--active {
border-color: color("blue", "lighten-5");
}

View File

@@ -0,0 +1,419 @@
/* ==========================================================================
$BASE-TIME-PICKER
========================================================================== */
/**
* The list of times.
*/
.picker__list {
list-style: none;
padding: 0.75em 0 4.2em;
margin: 0;
}
/**
* The times on the clock.
*/
.picker__list-item {
border-bottom: 1px solid #dddddd;
border-top: 1px solid #dddddd;
margin-bottom: -1px;
position: relative;
@extend .white;
padding: .75em 1.25em;
@media (min-height: $timepicker-pickerlistitem-breakpoint) {
padding: .5em 1em;
}
/* Hovered time */
&:hover {
cursor: pointer;
@extend .black;
background: #b1dcfb;
border-color: #0089ec;
z-index: 10;
}
}
/* Highlighted and hovered/focused time */
.picker__list-item--highlighted {
border-color: #0089ec;
z-index: 10;
}
.picker__list-item--highlighted:hover,
.picker--focused .picker__list-item--highlighted {
cursor: pointer;
color: #000000;
background: #b1dcfb;
}
/* Selected and hovered/focused time */
.picker__list-item--selected,
.picker__list-item--selected:hover,
.picker--focused .picker__list-item--selected {
background: #0089ec;
@extend .white-text;
z-index: 10;
}
/* Disabled time */
.picker__list-item--disabled,
.picker__list-item--disabled:hover,
.picker--focused .picker__list-item--disabled {
background: #f5f5f5;
border-color: #f5f5f5;
color: #dddddd;
cursor: default;
border-color: #dddddd;
z-index: auto;
}
/**
* The clear button
*/
.picker--time {
.picker__button--clear {
display: block;
width: 80%;
margin: 1em auto 0;
padding: 1em 1.25em;
background: none;
border: 0;
font-weight: 500;
font-size: .67em;
text-align: center;
text-transform: uppercase;
color: #666;
&:hover,
&:focus {
color: #000000;
background: #b1dcfb;
background: #ee2200;
border-color: #ee2200;
cursor: pointer;
@extend .white-text;
outline: none;
&:before {
@extend .white-text;
}
}
&:before {
top: -0.25em;
color: #666;
font-size: 1.25em;
font-weight: bold;
}
}
}
/* ==========================================================================
$DEFAULT-TIME-PICKER
========================================================================== */
/**
* The frame the bounds the time picker.
*/
.picker--time .picker__frame {
min-width: 256px;
max-width: 320px;
}
/**
* The picker box.
*/
.picker--time .picker__box {
font-size: 1em;
background: #f2f2f2;
padding: 0;
@media (min-height: $timepicker-pickerbox-breakpoint) {
margin-bottom: 5em;
}
}
/*!
* ClockPicker v0.0.7 for jQuery (http://weareoutman.github.io/clockpicker/)
* Copyright 2014 Wang Shenwei.
* Licensed under MIT (https://github.com/weareoutman/clockpicker/blob/gh-pages/LICENSE)
*
* Further modified
* Copyright 2015 Ching Yaw Hao.
*
* Bootstrap v3.1.1 (http://getbootstrap.com)
* Copyright 2011-2014 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
.picker__date-display {
text-align: center;
background-color: $datepicker-date-bg;
@extend .white-text;
padding-bottom: 15px;
font-weight: 300;
margin-bottom: 1rem;
.clockpicker-display {
vertical-align: middle;
display: inline-block;
margin: auto;
height: 85px;
font-size: 70px;
padding: 10px;
padding-bottom: 0px;
color: #b2dfdb;
.clockpicker-display-column {
float: left;
.clockpicker-span-hours.text-primary, .clockpicker-span-minutes.text-primary, #click-am.text-primary, #click-pm.text-primary {
animation-name: pulse;
@extend .white-text;
}
#click-am, #click-pm {
cursor: pointer;
}
}
.clockpicker-display-am-pm {
padding-left: 5px;
vertical-align: bottom;
height: 85px;
.clockpicker-span-am-pm {
display: inline-block;
font-size: 23px;
line-height: 25px;
color: #b2dfdb;
}
}
.clockpicker-span-hours, .clockpicker-span-minutes {
animation-duration: 500ms;
animation-fill-mode: both;
transition: color 500ms;
cursor: pointer;
}
}
}
.clockpicker-display {
text-align: center;
vertical-align: middle;
display: inline-block;
margin: auto;
height: 85px;
font-size: 70px;
padding: 10px;
padding-bottom: 0px;
color: #b2dfdb;
.clockpicker-display-column {
float: left;
.clockpicker-span-hours.text-primary, .clockpicker-span-minutes.text-primary, #click-am.text-primary, #click-pm.text-primary {
animation-name: pulse;
@extend .white-text;
}
#click-am, #click-pm {
cursor: pointer;
}
}
.clockpicker-display-am-pm {
padding-left: 5px;
vertical-align: bottom;
height: 85px;
.clockpicker-span-am-pm {
display: inline-block;
font-size: 23px;
line-height: 25px;
color: #b2dfdb;
}
}
.clockpicker-span-hours, .clockpicker-span-minutes {
animation-duration: 500ms;
animation-fill-mode: both;
transition: color 500ms;
cursor: pointer;
}
}
@keyframes pulse {
from {
transform: scale3d(1, 1, 1);
}
50% {
transform: scale3d(1.1, 1.1, 1.1);
}
to {
transform: scale3d(1, 1, 1);
}
}
.clockpicker-moving {
cursor: move;
}
.clockpicker-plate {
background-color: #eeeeee;
border-radius: 50%;
width: 270px;
height: 270px;
overflow: visible;
position: relative;
margin: auto;
margin-top: 20px;
/* Disable text selection highlighting. Thanks to Hermanya */
user-select: none;
.clockpicker-canvas,
.clockpicker-dial {
width: 270px;
height: 270px;
position: absolute;
left: -1px;
top: -1px;
}
.clockpicker-dial {
transition: transform 350ms, opacity 350ms;
.clockpicker-tick {
border-radius: 50%;
color: #666;
line-height: 40px;
text-align: center;
width: 40px;
height: 40px;
position: absolute;
cursor: pointer;
transition: background-color 300ms;
background-color: rgba(0, 150, 136, 0);
&.active,
&:hover {
background-color: rgba(0, 150, 136, 0.25);
}
}
}
.clockpicker-minutes {
visibility: hidden;
}
.clockpicker-dial-out {
opacity: 0;
}
.clockpicker-hours.clockpicker-dial-out {
transform: scale(1.2, 1.2);
}
.clockpicker-minutes.clockpicker-dial-out {
transform: scale(.8, .8);
}
}
.clockpicker-canvas {
transition: opacity 300ms;
line {
stroke: rgba(0, 150, 136, 0.25);
stroke-width: 1;
}
}
.clockpicker-canvas-out {
opacity: 0.25;
}
.clockpicker-canvas-bearing {
stroke: none;
fill: rgba(0, 77, 64, 0.75);
}
.clockpicker-canvas-fg {
stroke: none;
fill: rgba(0, 77, 64, 0);
&.active {
fill: rgba(0, 77, 64, 0.5);
}
}
.clockpicker-canvas-bg {
stroke: none;
fill: rgba(0, 150, 136, 0.25);
}
.clockpicker-canvas-bg-trans {
fill: rgba(0, 150, 136, 0.25);
}
.clockpicker-am-pm-block{
margin-top: -10px;
width: 100%;
height: 50px;
.clockpicker-button.am-button {
height: 45px;
width: 45px;
float: left;
}
.clockpicker-button.pm-button {
height: 45px;
width: 45px;
float: right;
}
}
.btn-floating.btn-flat {
padding: 0;
background: $primary-color;
&:hover {
box-shadow: none;
}
&:hover,
&:focus {
background-color: lighten( $primary-color, 5%)!important;
}
&.active {
background-color: darken( $primary-color, 20%)!important;
@extend .z-depth-1-half;
}
}
.picker__footer {
.clockpicker-button {
margin: auto;
margin-top: 15px;
background-color: transparent;
text-transform: uppercase;
&:focus {
background-color: transparent;
}
&:active {
background-color: rgba(0, 150, 136, 0.25);
}
}
}
.darktheme {
.picker__box {
background-color: #212121;
.picker__date-display {
background-color: transparent;
.clockpicker-display {
@extend .white-text;
.clockpicker-span-am-pm {
@extend .white-text;
}
}
}
.picker__calendar-container{
.clockpicker-plate {
background-color: transparent;
.clockpicker-tick {
@extend .white-text;
background-color: rgba(255, 64, 129, 0);
&.active, &:hover {
background-color: rgba(255, 64, 129, 0.25);
}
}
.clockpicker-canvas line {
stroke: rgba(255, 64, 129, 0.25);
}
.clockpicker-canvas-bearing {
fill: white;
}
.clockpicker-canvas-fg {
fill: rgba(255, 64, 129, 0);
&.active {
fill: rgba(255, 64, 129, 0.5);
}
}
.clockpicker-canvas-bg {
fill: rgba(255, 64, 129, 0.25);
}
.clockpicker-canvas-bg-trans {
fill: rgba(255, 64, 129, 0.25);
}
}
}
.picker__footer{
button {
@extend .white-text;
}
.clockpicker-button:active {
background-color: rgba(255, 64, 129, 0.25);
}
}
}
}

View File

@@ -0,0 +1,75 @@
.section .section-heading {
margin-top: 2rem;
margin-bottom: 4rem;
}
.section-heading {
text-align: center;
h1 {
@extend .h1-responsive;
margin-top: 2rem;
margin-bottom: 3rem;
}
p {
margin-bottom: 3rem;
margin-right: 15%;
margin-left: 15%;
}
}
.section-description {
color: #757575;
margin-bottom: 4rem;
margin-left: 15%;
margin-right: 15%;
text-align: center;
@media (max-width: $medium-screen) {
margin-left: 5%;
margin-right: 5%;
}
}
.section-blog-fw {
.view {
img {
@extend .img-fluid;
@include border-radius(2px);
}
}
.jumbotron {
@extend .m-1;
text-align: center;
}
h2 {
@extend .h2-responsive;
margin-bottom: 1rem;
font-weight: 300;
a {
color: #424242;
@include transition (0.2s);
&:hover {
color: #616161;
@include transition (0.2s);
}
}
}
.excerpt,
.post-text {
margin-left: 10%;
margin-right: 10%;
text-align: justify;
@media (max-width: $medium-screen) {
margin-left: 5%;
margin-right: 5%;
}
}
hr {
display: block;
}
}
.hr-width {
@media (min-width: 1200px) {
width: 83%;
}
}

View File

@@ -0,0 +1,68 @@
.form-header {
color: #fff;
text-align: center;
margin-top: -50px;
margin-bottom: 3rem;
padding: 1rem;
@extend .z-depth-1-half;
@include border-radius(2px);
}
.card .card-body h3 {
margin-bottom: 0;
padding: 0.7rem;
}
.md-form {
.prefix.grey-text {
font-size: 1.5rem;
margin-top: 1rem;
}
}
.section .contact-icons {
text-align: center;
list-style-type:none;
padding:0;
li {
margin-bottom: 2.2rem;
}
}
section{
.form{
form{
.btn-floating{
float: right;
position: relative;
bottom: 3rem;
margin-right: 0;
}
}
}
.contact{
background-color: #103f6d;
height: 100%;
@extend .white-text;
.contact-icons{
li{
i{
float: left;
clear: both;
margin-right: 1rem;
&.fa{
font-size: 1.5rem;
}
}
p{
padding-top: .5rem;
text-align: left;
}
}
}
i{
color: #6b89a5;
}
}
}

View File

@@ -0,0 +1,23 @@
// Features
.feature-box {
text-align: center;
.feature-title {
font-weight: 500;
margin-bottom: 1rem;
}
.features-big {
.feature-title {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
.fa {
font-size: 4rem;
}
}
.features-small {
text-align: left;
.fa {
font-size: 2rem;
}
}
}

View File

@@ -0,0 +1,18 @@
// Form sets
.card .form-header {
color: #fff;
text-align: center;
margin-top: -50px;
margin-bottom: 3rem;
padding: 1rem;
@extend .z-depth-1-half;
@include border-radius(2px);
h3 {
margin: 0;
padding: 0.7rem;
}
}
.call .fa {
margin-right: 5px;
}

View File

@@ -0,0 +1,62 @@
// Magazine components
.magazine-section {
.view {
margin-bottom: 2rem;
}
.single-news {
border-bottom: 1px solid #e0e0e0;
margin-bottom: 1.5rem;
&:last-of-type {
border-bottom: none;
}
@media (max-width: 772px) {
padding-bottom: 1rem;
}
.news-data {
margin-bottom: 5rem;
h6 {
float: left;
}
p {
float: right;
}
}
h3 {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
a {
color: #424242;
font-weight: 300;
margin-bottom: 1rem;
&:hover {
color: #616161;
@include transition (0.2s);
}
.fa-angle-right {
float: right;
}
}
p {
color: #757575;
}
strong{
font-weight: 500;
}
}
&.multi-columns {
h6 {
margin-bottom: 1.5rem;
text-align: center;
}
.view {
margin-bottom: 2rem;
}
.single-news {
padding-bottom: 1rem;
strong {
font-size: 1.2rem;
}
}
}
}

View File

@@ -0,0 +1,137 @@
// Pricing
//Pricing Card
.pricing-card {
text-align: center;
p {
font-size: 1rem;
}
ul {
list-style-type:none;
padding:0;
}
.header {
border-radius:6px 6px 0 0;
color: $white;
@extend .z-depth-1-half;
h4{
padding: 2.5rem;
font-weight: 500;
}
}
.price {
position: relative;
padding-top: 3rem;
h1, h2 {
font-size: 5rem;
padding: 1.5rem;
font-weight:300;
&:before {
content: "$";
font-size: 30px;
position: absolute;
margin-left: -1.2rem;
margin-top: 0.7rem;
}
&:after {
content: "/mo";
font-size: 30px;
position: absolute;
margin-top: 3rem;
}
}
.version {
position: absolute;
top: 0;
width: 100%;
background-color: $rgba-black-light;
padding: 1rem;
@extend .z-depth-1;
h5 {
padding: 0;
margin: 0;
}
}
}
.heading {
h1 {
font-size: 4rem;
font-weight:400;
}
}
.striped {
padding: 0.6rem;
.fa {
margin-right: 5px;
}
.fa-check {
color: green;
}
.fa-times {
color: red;
}
li {
border-bottom: 1px solid rgba(153, 153, 153, 0.298039);
margin-bottom: 1rem;
}
}
// Card overlay
&.card-overlay {
display: block;
color: $white;
p {
color: $white;
}
.price {
padding-top: 0;
}
}
.green-striped {
li {
border-color: #33c28a ;
}
}
.orange-striped {
li {
border-color: #e97d63 ;
}
}
.purple-striped {
li {
border-color: #963c94 ;
}
}
.card-background {
background-color: #28283f;
border-radius: 0 0 6px 6px;
}
}
// Additional pricing cards
.card {
.card-circle {
border: 2px solid #e0e0e0;
height: 120px;
width: 120px;
margin-bottom: 2rem;
@extend .flex-center;
border-radius: 50%;
.fa {
font-size: 4rem;
}
}
}
.naked-card {
h5 {
margin-top: 1.2rem;
}
.price {
padding-top: 0rem;
}
li p {
color: color($grey, "darken-1");
strong {
color: color($grey, "darken-2");
}
}
}

View File

@@ -0,0 +1,18 @@
.card-body{
h3,
h5 {
font-weight: 400;
margin-bottom: 1rem;
}
h4 {
font-weight: 500;
margin-bottom: 1rem;
}
a {
h5 {
font-size: 1rem;
}
}
}

View File

@@ -0,0 +1,193 @@
//Social feed
.mdb-feed {
margin: 1rem 0 1rem 0;
.news {
display: flex;
.label {
display: block;
flex: 0 0 auto;
align-self: stretch;
width: 2.5rem;
img {
width: 100%;
height: auto;
}
}
.excerpt {
display: block;
flex: 1 1 auto;
align-self: stretch;
word-wrap: break-word;
margin: 0 0 1.2rem 1.2rem;
.brief {
padding-bottom: 0.5rem;
font-weight: 500;
a {
color: $primary-color;
}
.name {
display: inline-block;
vertical-align: baseline;
}
.date {
display: inline-block;
float: none;
padding-left: 0.7rem;
font-weight: 300;
font-size: 0.86rem;
color: map-get($grey, "base");
}
}
.added-images {
margin-bottom: 0.6rem;
img {
display: inline-block;
margin-right: 0.3rem;
width: 7rem;
}
}
.added-text {
margin-bottom: 0.6rem;
max-width: 450px;
}
.feed-footer {
.like {
font-weight: 300;
font-size: 0.86rem;
color: map-get($grey, "base");
&:hover {
.fa {
color: map-get($red, "base");
transition: 0.4s;
}
span {
color: $black;
transition: 0.4s;
}
}
.fa {
padding-right: 0.5rem;
}
}
span a {
padding-right: 0.3rem;
color: $primary-color;
cursor: default;
}
.thumbs {
.fa {
color: map-get($grey, "base");
transition: 0.4s;
&:hover {
color: map-get($grey, "darken-1");
}
}
.fa-thumbs-up {
padding-right: 0.3rem;
}
}
.comment {
color: map-get($grey, "base");
}
}
}
}
}
//Card
.card-personal {
.card-body {
.card-title {
font-weight: 400;
&.title-one {
@include transition(0.4s);
&:hover {
color: $primary-color;
}
}
}
.card-title {
margin-bottom: 0.3rem;
}
.card-meta {
font-weight: 300;
font-size: 0.86rem;
color: map-get($grey, "darken-1");
.fa {
padding-right: 0.5rem;
}
}
span {
@include transition(0.5s);
&:hover {
color: $primary-color;
}
}
}
}
//News card
.news-card {
.content {
.right-side-meta {
float: right;
font-weight: 300;
color: map-get($grey, "base");
margin-top: 0.3rem;
}
.avatar-img {
width: 2rem;
margin-right: 1rem;
}
img {
border-radius: 50%;
display: inline-block;
vertical-align: middle;
max-width: 100%;
}
}
.social-meta {
.fa {
padding-right: 0.6rem;
}
.fa-heart-o {
cursor: pointer;
color: rgba($black, .4);
@include transition(0.53s);
&:hover {
color: map-get($red, "base");
}
}
span {
float: right;
}
}
.md-form {
margin-top: 1.3rem;
margin-bottom: 0.3rem;
.prefix {
font-size: 1.5rem;
margin-left: 0.2rem;
color: rgba($black, .4);
~input,
.md-form .prefix~textarea {
width: calc(100% - 4rem);
}
}
.prefix.active {
color: rgba($black, .4);
}
.form-control {
padding-top: 0;
padding-bottom: 0.5rem;
margin-left: 3rem;
margin-bottom: 0;
height: 1.3rem;
border-bottom: 1px solid rgba($black, .1);
}
}
}
.no-radius {
border-radius: 0!important;
}

View File

@@ -0,0 +1,37 @@
// Team
.section {
&.team-section {
.avatar {
margin-bottom: 2rem;
@extend .flex-center;
height: auto;
.rounded-circle {
max-width: 170px;
}
img{
max-width: 200px;
height: auto;
}
}
.title-color {
font-weight: 400;
color: rgba($black, .6);
}
h4,h5 {
margin-bottom: 1rem;
}
.grey-text {
color: #6e6e6e !important;
}
}
h4{
font-weight: 400;
}
.card-wrapper{
.fa-repeat, .fa-undo {
font-size: 15px;
}
}
}

View File

@@ -0,0 +1,55 @@
// Templates
// Fixed SideNav
.fixed-sn {
.double-nav,
main,
footer {
padding-left: 240px;
}
main {
padding-top: 5.5rem;
}
@media (max-width: $sidenav-breakpoint) {
.double-nav,
main,
footer {
padding-left: 0;
}
}
@media (min-width: $small-screen) {
main,
.page-footer .container-fluid {
margin-left: 2%;
margin-right: 2%;
}
}
@media (min-width: $medium-screen) {
main,
.page-footer .container-fluid {
margin-left: 5%;
margin-right: 5%;
}
}
@media (min-width: $large-screen) {
main,
.page-footer .container-fluid {
margin-left: 6%;
margin-right: 6%;
}
}
}
// Hidden SideNav
.hidden-sn {
main {
padding-top: 5.5rem;
}
.button-collapse {
display: block;
position: relative;
font-size: 1.4rem;
margin-right: 10px;
margin-left: -6px;
padding-left: 0;
}
}

View File

@@ -0,0 +1,54 @@
// Testimonials
.testimonial-carousel {
.carousel-control {
background-image: none;
top:50%;
transform: translateY(-35%);
&:before {
font-size: 5rem;
color: rgba($black,.6);
}
&:hover {
&:before {
color: $black;
@include transition(0.4s);
}
}
&.left {
left:6%;
&:before {
content: "\2039";
}
}
&.right {
right:6%;
&:before {
content: "\203a";
}
}
}
.testimonial {
margin-right: 15%;
margin-left: 15%;
.avatar {
margin-bottom: 2rem;
@extend .flex-center;
img {
max-width: 170px;
@extend .z-depth-2;
}
}
h4 {
margin-bottom: 1.3rem;
font-weight: 500;
}
h5 {
margin-bottom: 0.9rem;
color: map-get($grey, "darken-3");
font-weight: 400;
}
p {
color: #666;
}
}
}