integarting admin dashboard
This commit is contained in:
70
public/Dashboard/scss/common/dark/mixins/_animation.scss
Normal file
70
public/Dashboard/scss/common/dark/mixins/_animation.scss
Normal file
@ -0,0 +1,70 @@
|
||||
/* Animation Mixins */
|
||||
@keyframes dropdownAnimation {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, -30px, 0);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
transform: translate3d(0, 0px, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.dropdownAnimation {
|
||||
animation-name: dropdownAnimation;
|
||||
@include animation-duration($action-transition-duration);
|
||||
@include animation-fill-mode(both);
|
||||
}
|
||||
@mixin transition($settings) {
|
||||
-webkit-transition: $settings;
|
||||
-moz-transition: $settings;
|
||||
-ms-transition: $settings;
|
||||
-o-transition: $settings;
|
||||
transition: $settings;
|
||||
}
|
||||
@keyframes fadeOut {
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.fadeOut {
|
||||
animation-name: fadeOut;
|
||||
}
|
||||
|
||||
.infinite-spin {
|
||||
@keyframes spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
animation-name: spin;
|
||||
animation-duration: 3s;
|
||||
animation-iteration-count: infinite;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, 100%, 0);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
.fadeInUp {
|
||||
animation-name: fadeInUp;
|
||||
}
|
7
public/Dashboard/scss/common/dark/mixins/_badges.scss
Normal file
7
public/Dashboard/scss/common/dark/mixins/_badges.scss
Normal file
@ -0,0 +1,7 @@
|
||||
//Badge Mixins
|
||||
|
||||
// Badge outlined variations
|
||||
@mixin badge-outline-variations($color) {
|
||||
color: $color;
|
||||
border: 1px solid $color;
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
// BlockQuote Mixins //
|
||||
|
||||
@mixin blockquote($color) {
|
||||
border-color: $color;
|
||||
.blockquote-footer {
|
||||
color: $color;
|
||||
}
|
||||
}
|
42
public/Dashboard/scss/common/dark/mixins/_breadcrumbs.scss
Normal file
42
public/Dashboard/scss/common/dark/mixins/_breadcrumbs.scss
Normal file
@ -0,0 +1,42 @@
|
||||
// Breadcrumb color variations
|
||||
@mixin breadcrumb-inverse-variant($color) {
|
||||
background: lighten($color, 25%);
|
||||
border-color: $color;
|
||||
|
||||
.breadcrumb-item {
|
||||
color: $color;
|
||||
|
||||
&:before {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
&.breadcrumb-custom {
|
||||
background: transparent;
|
||||
|
||||
.breadcrumb-item {
|
||||
background: lighten($color, 25%);
|
||||
|
||||
a {
|
||||
color: $color;
|
||||
border: none;
|
||||
|
||||
&:before {
|
||||
border-left-color: lighten($color, 25%);
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
color: $color;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
62
public/Dashboard/scss/common/dark/mixins/_buttons.scss
Normal file
62
public/Dashboard/scss/common/dark/mixins/_buttons.scss
Normal file
@ -0,0 +1,62 @@
|
||||
@mixin social-button($color) {
|
||||
background: $color;
|
||||
color: $white;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: darken($color, 10%);
|
||||
color: $white;
|
||||
}
|
||||
&.btn-social-icon-text {
|
||||
padding: 0 1.5rem 0 0;
|
||||
background: lighten($color, 10%);
|
||||
i {
|
||||
background: $color;
|
||||
padding: .75rem;
|
||||
display: inline-block;
|
||||
margin-right: 1.5rem;
|
||||
border-radius: 15px 0 0 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@mixin social-outline-button($color) {
|
||||
border: 1px solid $color;
|
||||
background: transparent;
|
||||
color: $color;
|
||||
&:hover {
|
||||
background: $color;
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
@mixin button-inverse-variant($color, $color-hover: $white) {
|
||||
background-color: rgba($color, 0.2);
|
||||
background-image: none;
|
||||
border-color: rgba($color, 0);
|
||||
&:not(.btn-inverse-light) {
|
||||
color: $color;
|
||||
}
|
||||
@include hover {
|
||||
color: $color-hover;
|
||||
background-color: $color;
|
||||
border-color: $color;
|
||||
}
|
||||
|
||||
&.focus,
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 3px rgba($color, .5);
|
||||
}
|
||||
|
||||
&.disabled,
|
||||
&:disabled {
|
||||
color: $color;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
&.active,
|
||||
&:active,
|
||||
.show > &.dropdown-toggle {
|
||||
color: $color-hover;
|
||||
background-color: $color;
|
||||
border-color: $color;
|
||||
}
|
||||
}
|
7
public/Dashboard/scss/common/dark/mixins/_cards.scss
Normal file
7
public/Dashboard/scss/common/dark/mixins/_cards.scss
Normal file
@ -0,0 +1,7 @@
|
||||
// Cards Mixins
|
||||
|
||||
@mixin card-inverse-variant($bg, $border, $color) {
|
||||
background: $bg;
|
||||
border: 1px solid $border;
|
||||
color: $color;
|
||||
}
|
72
public/Dashboard/scss/common/dark/mixins/_misc.scss
Normal file
72
public/Dashboard/scss/common/dark/mixins/_misc.scss
Normal file
@ -0,0 +1,72 @@
|
||||
/* Miscellaneous Mixins */
|
||||
|
||||
// general transform
|
||||
@mixin transform($transforms) {
|
||||
-moz-transform: $transforms;
|
||||
-o-transform: $transforms;
|
||||
-ms-transform: $transforms;
|
||||
-webkit-transform: $transforms;
|
||||
transform: $transforms;
|
||||
}
|
||||
|
||||
// rotate
|
||||
@mixin rotate ($deg) {
|
||||
@include transform(rotate(#{$deg}deg));
|
||||
}
|
||||
|
||||
// scale
|
||||
@mixin scale($scale) {
|
||||
@include transform(scale($scale));
|
||||
}
|
||||
// translate
|
||||
@mixin translate ($x, $y) {
|
||||
@include transform(translate($x, $y));
|
||||
}
|
||||
// skew
|
||||
@mixin skew ($x, $y) {
|
||||
@include transform(skew(#{$x}deg, #{$y}deg));
|
||||
}
|
||||
//transform origin
|
||||
@mixin transform-origin ($origin) {
|
||||
moz-transform-origin: $origin;
|
||||
-o-transform-origin: $origin;
|
||||
-ms-transform-origin: $origin;
|
||||
-webkit-transform-origin: $origin;
|
||||
transform-origin: $origin;
|
||||
}
|
||||
//Ellipsis
|
||||
%ellipsor{
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
max-width:100%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
// Placeholder
|
||||
@mixin placeholder {
|
||||
&::-webkit-input-placeholder {
|
||||
@content
|
||||
}
|
||||
&:-moz-placeholder {
|
||||
@content
|
||||
}
|
||||
&::-moz-placeholder {
|
||||
@content
|
||||
}
|
||||
&:-ms-input-placeholder {
|
||||
@content
|
||||
}
|
||||
}
|
||||
|
||||
%ellipsor {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@mixin ellipsor {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
white-space: nowrap;
|
||||
}
|
24
public/Dashboard/scss/common/dark/mixins/_no-ui-slider.scss
Normal file
24
public/Dashboard/scss/common/dark/mixins/_no-ui-slider.scss
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
// Sider color variations
|
||||
@mixin slider-color-variant($color) {
|
||||
.noUi-base {
|
||||
.noUi-connect {
|
||||
background: $color;
|
||||
}
|
||||
|
||||
.noUi-origin {
|
||||
background: $color;
|
||||
|
||||
.noUi-handle {
|
||||
&:after {
|
||||
background: $color;
|
||||
}
|
||||
|
||||
.noUi-tooltip {
|
||||
background: $color;
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
18
public/Dashboard/scss/common/dark/mixins/_pagination.scss
Normal file
18
public/Dashboard/scss/common/dark/mixins/_pagination.scss
Normal file
@ -0,0 +1,18 @@
|
||||
// Pagination variations
|
||||
@mixin pagination-variants($color) {
|
||||
.page-item {
|
||||
&.active {
|
||||
.page-link {
|
||||
background: $color;
|
||||
border-color: $color;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
.page-link {
|
||||
background: lighten($color,5%);
|
||||
border-color: $color;
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
public/Dashboard/scss/common/dark/mixins/_popovers.scss
Normal file
42
public/Dashboard/scss/common/dark/mixins/_popovers.scss
Normal file
@ -0,0 +1,42 @@
|
||||
// popover color variations //
|
||||
|
||||
@mixin popover-variant($color) {
|
||||
border-color: $color;
|
||||
.popover-header {
|
||||
background: theme-color($color);
|
||||
color: $white;
|
||||
border-bottom: 0;
|
||||
}
|
||||
&.bs-popover-top {
|
||||
.arrow {
|
||||
&:before,
|
||||
&:after {
|
||||
border-top-color: theme-color($color);
|
||||
}
|
||||
}
|
||||
}
|
||||
&.bs-popover-right {
|
||||
.arrow {
|
||||
&:before,
|
||||
&:after {
|
||||
border-right-color: theme-color($color);
|
||||
}
|
||||
}
|
||||
}
|
||||
&.bs-popover-bottom {
|
||||
.arrow {
|
||||
&:before,
|
||||
&:after {
|
||||
border-bottom-color: theme-color($color);
|
||||
}
|
||||
}
|
||||
}
|
||||
&.bs-popover-left {
|
||||
.arrow {
|
||||
&:before,
|
||||
&:after {
|
||||
border-left-color: theme-color($color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
28
public/Dashboard/scss/common/dark/mixins/_tooltips.scss
Normal file
28
public/Dashboard/scss/common/dark/mixins/_tooltips.scss
Normal file
@ -0,0 +1,28 @@
|
||||
// Tooltip color variations
|
||||
|
||||
@mixin tooltip-variant($color) {
|
||||
.tooltip-inner {
|
||||
background: theme-color($color);
|
||||
color: $white;
|
||||
}
|
||||
&.bs-tooltip-top {
|
||||
.arrow::before {
|
||||
border-top-color: theme-color($color);
|
||||
}
|
||||
}
|
||||
&.bs-tooltip-right {
|
||||
.arrow::before {
|
||||
border-right-color: theme-color($color);
|
||||
}
|
||||
}
|
||||
&.bs-tooltip-bottom {
|
||||
.arrow::before {
|
||||
border-bottom-color: theme-color($color);
|
||||
}
|
||||
}
|
||||
&.bs-tooltip-left {
|
||||
.arrow::before {
|
||||
border-left-color: theme-color($color);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user