commitall
This commit is contained in:
@ -0,0 +1,58 @@
|
||||
//
|
||||
// Plugin: Bootstrap Slider
|
||||
//
|
||||
|
||||
// Tooltip fix
|
||||
.slider .tooltip.in {
|
||||
opacity: $tooltip-opacity;
|
||||
}
|
||||
|
||||
// Style override
|
||||
.slider {
|
||||
&.slider-vertical {
|
||||
height: 100%;
|
||||
}
|
||||
&.slider-horizontal {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
// Colors
|
||||
@each $name, $color in $theme-colors {
|
||||
.slider-#{$name} .slider {
|
||||
.slider-selection {
|
||||
background: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@each $name, $color in $colors {
|
||||
.slider-#{$name} .slider {
|
||||
.slider-selection {
|
||||
background: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include dark-mode () {
|
||||
.slider-track {
|
||||
background-color: lighten($dark, 10%);
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
@each $name, $color in $theme-colors-alt {
|
||||
.slider-#{$name} .slider {
|
||||
.slider-selection {
|
||||
background: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@each $name, $color in $colors-alt {
|
||||
.slider-#{$name} .slider {
|
||||
.slider-selection {
|
||||
background: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
204
account/theme/pages/build/scss/plugins/_bootstrap-switch.scss
Normal file
204
account/theme/pages/build/scss/plugins/_bootstrap-switch.scss
Normal file
@ -0,0 +1,204 @@
|
||||
/**
|
||||
* bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
|
||||
*
|
||||
* @version v3.4 (MODDED)
|
||||
* @homepage https://bttstrp.github.io/bootstrap-switch
|
||||
* @author Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
$bootstrap-switch-border-radius: $btn-border-radius;
|
||||
$bootstrap-switch-handle-border-radius: .1rem;
|
||||
|
||||
.bootstrap-switch {
|
||||
border: $input-border-width solid $input-border-color;
|
||||
border-radius: $bootstrap-switch-border-radius;
|
||||
cursor: pointer;
|
||||
direction: ltr;
|
||||
display: inline-block;
|
||||
line-height: .5rem;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
||||
user-select: none;
|
||||
vertical-align: middle;
|
||||
z-index: 0;
|
||||
|
||||
.bootstrap-switch-container {
|
||||
border-radius: $bootstrap-switch-border-radius;
|
||||
display: inline-block;
|
||||
top: 0;
|
||||
transform: translate3d(0, 0, 0);
|
||||
|
||||
}
|
||||
|
||||
&:focus-within {
|
||||
box-shadow: $input-btn-focus-box-shadow;
|
||||
}
|
||||
|
||||
.bootstrap-switch-handle-on,
|
||||
.bootstrap-switch-handle-off,
|
||||
.bootstrap-switch-label {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: table-cell;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.2rem;
|
||||
padding: .25rem .5rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.bootstrap-switch-handle-on,
|
||||
.bootstrap-switch-handle-off {
|
||||
text-align: center;
|
||||
z-index: 1;
|
||||
|
||||
&.bootstrap-switch-default {
|
||||
background: $gray-200;
|
||||
color: color-yiq($gray-200);
|
||||
}
|
||||
|
||||
@each $name, $color in $theme-colors {
|
||||
&.bootstrap-switch-#{$name} {
|
||||
background: $color;
|
||||
color: color-yiq($color);
|
||||
}
|
||||
}
|
||||
|
||||
@each $name, $color in $colors {
|
||||
&.bootstrap-switch-#{$name} {
|
||||
background: $color;
|
||||
color: color-yiq($color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bootstrap-switch-handle-on {
|
||||
border-bottom-left-radius: $bootstrap-switch-handle-border-radius;
|
||||
border-top-left-radius: $bootstrap-switch-handle-border-radius;
|
||||
}
|
||||
|
||||
.bootstrap-switch-handle-off {
|
||||
border-bottom-right-radius: $bootstrap-switch-handle-border-radius;
|
||||
border-top-right-radius: $bootstrap-switch-handle-border-radius;
|
||||
}
|
||||
|
||||
input[type='radio'],
|
||||
input[type='checkbox'] {
|
||||
filter: alpha(opacity=0);
|
||||
left: 0;
|
||||
margin: 0;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
visibility: hidden;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
&.bootstrap-switch-mini {
|
||||
.bootstrap-switch-handle-on,
|
||||
.bootstrap-switch-handle-off,
|
||||
.bootstrap-switch-label {
|
||||
font-size: .875rem;
|
||||
line-height: 1.5;
|
||||
padding: .1rem .3rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.bootstrap-switch-small {
|
||||
.bootstrap-switch-handle-on,
|
||||
.bootstrap-switch-handle-off,
|
||||
.bootstrap-switch-label {
|
||||
font-size: .875rem;
|
||||
line-height: 1.5;
|
||||
padding: .2rem .4rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.bootstrap-switch-large {
|
||||
.bootstrap-switch-handle-on,
|
||||
.bootstrap-switch-handle-off,
|
||||
.bootstrap-switch-label {
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.3333333rem;
|
||||
padding: .3rem .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.bootstrap-switch-disabled,
|
||||
&.bootstrap-switch-readonly,
|
||||
&.bootstrap-switch-indeterminate {
|
||||
cursor: default;
|
||||
|
||||
.bootstrap-switch-handle-on,
|
||||
.bootstrap-switch-handle-off,
|
||||
.bootstrap-switch-label {
|
||||
cursor: default;
|
||||
filter: alpha(opacity=50);
|
||||
opacity: .5;
|
||||
}
|
||||
}
|
||||
|
||||
&.bootstrap-switch-animate .bootstrap-switch-container {
|
||||
transition: margin-left .5s;
|
||||
}
|
||||
|
||||
&.bootstrap-switch-inverse {
|
||||
.bootstrap-switch-handle-on {
|
||||
border-radius: 0 $bootstrap-switch-handle-border-radius $bootstrap-switch-handle-border-radius 0;
|
||||
}
|
||||
|
||||
.bootstrap-switch-handle-off {
|
||||
border-radius: $bootstrap-switch-handle-border-radius 0 0 $bootstrap-switch-handle-border-radius;
|
||||
}
|
||||
}
|
||||
|
||||
// &.bootstrap-switch-focused {
|
||||
// border-color: $input-btn-focus-color;
|
||||
// box-shadow: $input-btn-focus-box-shadow;
|
||||
// outline: 0;
|
||||
// }
|
||||
|
||||
&.bootstrap-switch-on .bootstrap-switch-label,
|
||||
&.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label {
|
||||
border-bottom-right-radius: $bootstrap-switch-handle-border-radius;
|
||||
border-top-right-radius: $bootstrap-switch-handle-border-radius;
|
||||
}
|
||||
|
||||
&.bootstrap-switch-off .bootstrap-switch-label,
|
||||
&.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label {
|
||||
border-bottom-left-radius: $bootstrap-switch-handle-border-radius;
|
||||
border-top-left-radius: $bootstrap-switch-handle-border-radius;
|
||||
}
|
||||
}
|
||||
|
||||
@include dark-mode () {
|
||||
.bootstrap-switch {
|
||||
border-color: $gray-600;
|
||||
|
||||
.bootstrap-switch-handle-off.bootstrap-switch-default,
|
||||
.bootstrap-switch-handle-on.bootstrap-switch-default {
|
||||
background-color: lighten($dark, 2.5%);
|
||||
color: $white;
|
||||
border-color: lighten($dark, 7.5%);
|
||||
}
|
||||
.bootstrap-switch-handle-on,
|
||||
.bootstrap-switch-handle-off {
|
||||
@each $name, $color in $theme-colors-alt {
|
||||
&.bootstrap-switch-#{$name} {
|
||||
background: $color;
|
||||
color: color-yiq($color);
|
||||
}
|
||||
}
|
||||
|
||||
@each $name, $color in $colors-alt {
|
||||
&.bootstrap-switch-#{$name} {
|
||||
background: $color;
|
||||
color: color-yiq($color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
69
account/theme/pages/build/scss/plugins/_daterangepicker.scss
Normal file
69
account/theme/pages/build/scss/plugins/_daterangepicker.scss
Normal file
@ -0,0 +1,69 @@
|
||||
@include dark-mode() {
|
||||
.daterangepicker {
|
||||
background-color: lighten($dark, 5%);
|
||||
border: inherit;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
border-bottom-color: lighten($dark, 5%);
|
||||
}
|
||||
|
||||
td.available:hover,
|
||||
th.available:hover {
|
||||
background-color: lighten($dark, 5%);
|
||||
}
|
||||
td.in-range {
|
||||
background-color: lighten($dark, 10%);
|
||||
color: $white;
|
||||
}
|
||||
|
||||
td.off,
|
||||
td.off.in-range,
|
||||
td.off.start-date,
|
||||
td.off.end-date {
|
||||
background-color: darken($dark, 5%);
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.ranges li:hover {
|
||||
background-color: $dark;
|
||||
}
|
||||
|
||||
&.show-ranges.ltr .drp-calendar {
|
||||
border-color: lighten($dark, 10%);
|
||||
|
||||
&.left,
|
||||
&.right {
|
||||
border-color: lighten($dark, 10%);
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.drp-buttons {
|
||||
border-color: lighten($dark, 10%);
|
||||
}
|
||||
|
||||
.calendar-table {
|
||||
background-color: $dark;
|
||||
border-color: lighten($dark, 10%);
|
||||
|
||||
th,
|
||||
td {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.next span,
|
||||
.prev span {
|
||||
border-color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
select.hourselect,
|
||||
select.minuteselect,
|
||||
select.secondselect,
|
||||
select.ampmselect {
|
||||
background-color: $dark;
|
||||
border-color: lighten($dark, 10%);
|
||||
}
|
||||
}
|
||||
}
|
133
account/theme/pages/build/scss/plugins/_fullcalendar.scss
Normal file
133
account/theme/pages/build/scss/plugins/_fullcalendar.scss
Normal file
@ -0,0 +1,133 @@
|
||||
//
|
||||
// Plugin: Full Calendar
|
||||
//
|
||||
|
||||
// Buttons
|
||||
.fc-button {
|
||||
background: $gray-100;
|
||||
background-image: none;
|
||||
border-bottom-color: #ddd;
|
||||
border-color: #ddd;
|
||||
color: $gray-700;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&.hover {
|
||||
background-color: #e9e9e9;
|
||||
}
|
||||
}
|
||||
|
||||
// Calendar title
|
||||
.fc-header-title h2 {
|
||||
color: #666;
|
||||
font-size: 15px;
|
||||
line-height: 1.6em;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.fc-header-right {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.fc-header-left {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
// Calendar table header cells
|
||||
.fc-widget-header {
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
.fc-grid {
|
||||
border: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.fc-widget-header:first-of-type,
|
||||
.fc-widget-content:first-of-type {
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.fc-widget-header:last-of-type,
|
||||
.fc-widget-content:last-of-type {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.fc-toolbar,
|
||||
.fc-toolbar.fc-header-toolbar {
|
||||
margin: 0;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(xs) {
|
||||
.fc-toolbar {
|
||||
flex-direction: column;
|
||||
|
||||
.fc-left {
|
||||
order: 1;
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
|
||||
.fc-center {
|
||||
order: 0;
|
||||
margin-bottom: .375rem;
|
||||
}
|
||||
|
||||
.fc-right {
|
||||
order: 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fc-day-number {
|
||||
font-size: 20px;
|
||||
font-weight: 300;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.fc-color-picker {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
> li {
|
||||
float: left;
|
||||
font-size: 30px;
|
||||
line-height: 30px;
|
||||
margin-right: 5px;
|
||||
|
||||
.fa,
|
||||
.fas,
|
||||
.far,
|
||||
.fab,
|
||||
.fal,
|
||||
.fad,
|
||||
.svg-inline--fa,
|
||||
.ion {
|
||||
transition: transform linear .3s;
|
||||
|
||||
&:hover {
|
||||
@include rotate(30deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#add-new-event {
|
||||
transition: all linear .3s;
|
||||
}
|
||||
|
||||
.external-event {
|
||||
@include box-shadow($card-shadow);
|
||||
|
||||
border-radius: $border-radius;
|
||||
cursor: move;
|
||||
font-weight: 700;
|
||||
margin-bottom: 4px;
|
||||
padding: 5px 10px;
|
||||
|
||||
&:hover {
|
||||
@include box-shadow(inset 0 0 90px rgba(0, 0, 0, 0.2));
|
||||
}
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
//
|
||||
// Plugin: iCheck Bootstrap
|
||||
//
|
||||
|
||||
// iCheck colors (theme colors)
|
||||
@each $name, $color in $theme-colors {
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + label::before,
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
|
||||
border-color: #{$color};
|
||||
}
|
||||
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + label::before,
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before {
|
||||
border-color: #{$color};
|
||||
}
|
||||
|
||||
.icheck-#{$name} > input:first-child:checked + label::before,
|
||||
.icheck-#{$name} > input:first-child:checked + input[type="hidden"] + label::before {
|
||||
background-color: #{$color};
|
||||
border-color: #{$color};
|
||||
}
|
||||
}
|
||||
|
||||
// iCheck colors (colors)
|
||||
@each $name, $color in $colors {
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + label::before,
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
|
||||
border-color: #{$color};
|
||||
}
|
||||
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + label::before,
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before {
|
||||
border-color: #{$color};
|
||||
}
|
||||
|
||||
.icheck-#{$name} > input:first-child:checked + label::before,
|
||||
.icheck-#{$name} > input:first-child:checked + input[type="hidden"] + label::before {
|
||||
background-color: #{$color};
|
||||
border-color: #{$color};
|
||||
}
|
||||
}
|
||||
|
||||
@include dark-mode () {
|
||||
[class*="icheck-"] > input:first-child:not(:checked) {
|
||||
+ input[type="hidden"] + label::before,
|
||||
+ label::before {
|
||||
border-color: $gray-600;
|
||||
}
|
||||
}
|
||||
// iCheck colors (theme colors)
|
||||
@each $name, $color in $theme-colors-alt {
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + label::before,
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
|
||||
border-color: #{$color};
|
||||
}
|
||||
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + label::before,
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before {
|
||||
border-color: #{$color};
|
||||
}
|
||||
|
||||
.icheck-#{$name} > input:first-child:checked + label::before,
|
||||
.icheck-#{$name} > input:first-child:checked + input[type="hidden"] + label::before {
|
||||
background-color: #{$color};
|
||||
border-color: #{$color};
|
||||
}
|
||||
}
|
||||
|
||||
// iCheck colors (colors)
|
||||
@each $name, $color in $colors-alt {
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + label::before,
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
|
||||
border-color: #{$color};
|
||||
}
|
||||
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + label::before,
|
||||
.icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before {
|
||||
border-color: #{$color};
|
||||
}
|
||||
|
||||
.icheck-#{$name} > input:first-child:checked + label::before,
|
||||
.icheck-#{$name} > input:first-child:checked + input[type="hidden"] + label::before {
|
||||
background-color: #{$color};
|
||||
border-color: #{$color};
|
||||
}
|
||||
}
|
||||
}
|
22
account/theme/pages/build/scss/plugins/_jqvmap.scss
Normal file
22
account/theme/pages/build/scss/plugins/_jqvmap.scss
Normal file
@ -0,0 +1,22 @@
|
||||
//
|
||||
// Plugins: JQVMap
|
||||
//
|
||||
|
||||
// Zoom Button size fixes
|
||||
.jqvmap-zoomin,
|
||||
.jqvmap-zoomout {
|
||||
background-color: $button-default-background-color;
|
||||
border: 1px solid $button-default-border-color;
|
||||
border-radius: $btn-border-radius;
|
||||
color: $button-default-color;
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
padding: 1px 2px;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&.hover {
|
||||
background-color: darken($button-default-background-color, 5%);
|
||||
color: darken($button-default-color, 10%);
|
||||
}
|
||||
}
|
70
account/theme/pages/build/scss/plugins/_mapael.scss
Normal file
70
account/theme/pages/build/scss/plugins/_mapael.scss
Normal file
@ -0,0 +1,70 @@
|
||||
//
|
||||
// Plugins: jQuery Mapael
|
||||
//
|
||||
|
||||
.mapael {
|
||||
.map {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.mapTooltip {
|
||||
@include reset-text();
|
||||
@include border-radius($tooltip-border-radius);
|
||||
@include font-size($tooltip-font-size);
|
||||
background-color: $tooltip-bg;
|
||||
color: $tooltip-color;
|
||||
display: block;
|
||||
max-width: $tooltip-max-width;
|
||||
padding: $tooltip-padding-y $tooltip-padding-x;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
word-wrap: break-word;
|
||||
z-index: $zindex-tooltip;
|
||||
}
|
||||
|
||||
.myLegend {
|
||||
background-color: $gray-100;
|
||||
border: 1px solid $gray-500;
|
||||
padding: 10px;
|
||||
width: 600px;
|
||||
}
|
||||
|
||||
.zoomButton {
|
||||
background-color: $button-default-background-color;
|
||||
border: 1px solid $button-default-border-color;
|
||||
border-radius: $btn-border-radius;
|
||||
color: $button-default-color;
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
height: 16px;
|
||||
left: 10px;
|
||||
line-height: 14px;
|
||||
padding-left: 1px;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
|
||||
user-select: none;
|
||||
width: 16px;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&.hover {
|
||||
background-color: darken($button-default-background-color, 5%);
|
||||
color: darken($button-default-color, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
.zoomReset {
|
||||
line-height: 12px;
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
.zoomIn {
|
||||
top: 30px;
|
||||
}
|
||||
|
||||
.zoomOut {
|
||||
top: 50px;
|
||||
}
|
||||
}
|
65
account/theme/pages/build/scss/plugins/_miscellaneous.scss
Normal file
65
account/theme/pages/build/scss/plugins/_miscellaneous.scss
Normal file
@ -0,0 +1,65 @@
|
||||
//
|
||||
// Plugins: Miscellaneous
|
||||
// Old plugin codes
|
||||
//
|
||||
|
||||
// _fix for sparkline tooltip
|
||||
.jqstooltip {
|
||||
height: auto !important;
|
||||
padding: 5px !important;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
// jQueryUI
|
||||
.connectedSortable {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.ui-helper-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.sort-highlight {
|
||||
background: $gray-100;
|
||||
border: 1px dashed $gray-300;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
// Charts
|
||||
.chart {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
@include dark-mode () {
|
||||
.irs--flat .irs-line {
|
||||
background-color: lighten($dark, 10%);
|
||||
}
|
||||
.jsgrid-edit-row > .jsgrid-cell,
|
||||
.jsgrid-filter-row > .jsgrid-cell,
|
||||
.jsgrid-grid-body, .jsgrid-grid-header,
|
||||
.jsgrid-header-row > .jsgrid-header-cell,
|
||||
.jsgrid-insert-row > .jsgrid-cell,
|
||||
.jsgrid-row > .jsgrid-cell,
|
||||
.jsgrid-alt-row > .jsgrid-cell {
|
||||
border-color: $gray-600;
|
||||
}
|
||||
.jsgrid-header-row > .jsgrid-header-cell,
|
||||
.jsgrid-row > .jsgrid-cell {
|
||||
background-color: $dark;
|
||||
}
|
||||
.jsgrid-alt-row > .jsgrid-cell {
|
||||
background-color: lighten($dark, 2.5%);
|
||||
}
|
||||
.jsgrid-selected-row > .jsgrid-cell {
|
||||
background-color: lighten($dark, 5%);
|
||||
}
|
||||
}
|
74
account/theme/pages/build/scss/plugins/_mixins.scss
Normal file
74
account/theme/pages/build/scss/plugins/_mixins.scss
Normal file
@ -0,0 +1,74 @@
|
||||
//
|
||||
// General: Mixins
|
||||
//
|
||||
|
||||
// Select2 Variant
|
||||
@mixin select2-variant($name, $color) {
|
||||
.select2-#{$name} {
|
||||
|
||||
+ .select2-container--default {
|
||||
&.select2-container--open {
|
||||
.select2-selection--single {
|
||||
border-color: lighten($color, 25%);
|
||||
}
|
||||
}
|
||||
|
||||
&.select2-container--focus .select2-selection--single {
|
||||
border-color: lighten($color, 25%);
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container--default &,
|
||||
.select2-container--default {
|
||||
&.select2-dropdown,
|
||||
.select2-dropdown,
|
||||
.select2-search--inline {
|
||||
.select2-search__field {
|
||||
&:focus {
|
||||
border: $input-border-width solid lighten($color, 25%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.select2-results__option--highlighted {
|
||||
background-color: $color;
|
||||
color: color-yiq($color);
|
||||
|
||||
&[aria-selected] {
|
||||
&,
|
||||
&:hover {
|
||||
background-color: darken($color, 3%);
|
||||
color: color-yiq(darken($color, 3%));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Multiple select
|
||||
& {
|
||||
.select2-selection--multiple {
|
||||
&:focus {
|
||||
border-color: lighten($color, 25%);
|
||||
}
|
||||
|
||||
.select2-selection__choice {
|
||||
background-color: $color;
|
||||
border-color: darken($color, 5%);
|
||||
color: color-yiq($color);
|
||||
}
|
||||
|
||||
.select2-selection__choice__remove {
|
||||
color: rgba(color-yiq($color), 0.7);
|
||||
|
||||
&:hover {
|
||||
color: color-yiq($color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.select2-container--focus .select2-selection--multiple {
|
||||
border-color: lighten($color, 25%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
211
account/theme/pages/build/scss/plugins/_pace.scss
Normal file
211
account/theme/pages/build/scss/plugins/_pace.scss
Normal file
@ -0,0 +1,211 @@
|
||||
//
|
||||
// Plugin: Pace
|
||||
//
|
||||
|
||||
.pace {
|
||||
z-index: $zindex-main-sidebar + 10;
|
||||
|
||||
.pace-progress {
|
||||
z-index: $zindex-main-sidebar + 11;
|
||||
}
|
||||
|
||||
.pace-activity {
|
||||
z-index: $zindex-main-sidebar + 12;
|
||||
}
|
||||
}
|
||||
|
||||
// Mixin
|
||||
@mixin pace-variant($name, $color) {
|
||||
.pace-#{$name} {
|
||||
.pace {
|
||||
.pace-progress {
|
||||
background: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-barber-shop-#{$name} {
|
||||
.pace {
|
||||
background: color-yiq($color);
|
||||
|
||||
.pace-progress {
|
||||
background: $color;
|
||||
}
|
||||
|
||||
.pace-activity {
|
||||
background-image: linear-gradient(45deg, rgba(color-yiq($color), 0.2) 25%, transparent 25%, transparent 50%, rgba(color-yiq($color), 0.2) 50%, rgba(color-yiq($color), 0.2) 75%, transparent 75%, transparent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-big-counter-#{$name} {
|
||||
.pace {
|
||||
.pace-progress::after {
|
||||
color: rgba($color, .19999999999999996);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-bounce-#{$name} {
|
||||
.pace {
|
||||
.pace-activity {
|
||||
background: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-center-atom-#{$name} {
|
||||
.pace-progress {
|
||||
height: 100px;
|
||||
width: 80px;
|
||||
|
||||
&::before {
|
||||
background: $color;
|
||||
color: color-yiq($color);
|
||||
font-size: .8rem;
|
||||
line-height: .7rem;
|
||||
padding-top: 17%;
|
||||
}
|
||||
}
|
||||
|
||||
.pace-activity {
|
||||
border-color: $color;
|
||||
|
||||
&::after,
|
||||
&::before {
|
||||
border-color: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-center-circle-#{$name} {
|
||||
.pace {
|
||||
.pace-progress {
|
||||
background: rgba($color, .8);
|
||||
color: color-yiq($color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-center-radar-#{$name} {
|
||||
.pace {
|
||||
.pace-activity {
|
||||
border-color: $color transparent transparent;
|
||||
}
|
||||
|
||||
.pace-activity::before {
|
||||
border-color: $color transparent transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-center-simple-#{$name} {
|
||||
.pace {
|
||||
background: color-yiq($color);
|
||||
border-color: $color;
|
||||
|
||||
.pace-progress {
|
||||
background: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-material-#{$name} {
|
||||
.pace {
|
||||
color: $color;
|
||||
}
|
||||
}
|
||||
|
||||
.pace-corner-indicator-#{$name} {
|
||||
.pace {
|
||||
.pace-activity {
|
||||
background: $color;
|
||||
}
|
||||
|
||||
.pace-activity::after,
|
||||
.pace-activity::before {
|
||||
border: 5px solid color-yiq($color);
|
||||
}
|
||||
|
||||
|
||||
.pace-activity::before {
|
||||
border-right-color: rgba($color, .2);
|
||||
border-left-color: rgba($color, .2);
|
||||
}
|
||||
|
||||
.pace-activity::after {
|
||||
border-top-color: rgba($color, .2);
|
||||
border-bottom-color: rgba($color, .2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-fill-left-#{$name} {
|
||||
.pace {
|
||||
.pace-progress {
|
||||
background-color: rgba($color, 0.19999999999999996);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-flash-#{$name} {
|
||||
.pace {
|
||||
.pace-progress {
|
||||
background: $color;
|
||||
}
|
||||
|
||||
.pace-progress-inner {
|
||||
box-shadow: 0 0 10px $color, 0 0 5px $color;
|
||||
}
|
||||
|
||||
.pace-activity {
|
||||
border-top-color: $color;
|
||||
border-left-color: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-loading-bar-#{$name} {
|
||||
.pace {
|
||||
.pace-progress {
|
||||
background: $color;
|
||||
color: $color;
|
||||
box-shadow: 120px 0 color-yiq($color), 240px 0 color-yiq($color);
|
||||
}
|
||||
|
||||
.pace-activity {
|
||||
box-shadow: inset 0 0 0 2px $color, inset 0 0 0 7px color-yiq($color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-mac-osx-#{$name} {
|
||||
.pace {
|
||||
.pace-progress {
|
||||
background-color: $color;
|
||||
box-shadow: inset -1px 0 $color, inset 0 -1px $color, inset 0 2px rgba(color-yiq($color), 0.5), inset 0 6px rgba(color-yiq($color), .3);
|
||||
}
|
||||
|
||||
.pace-activity {
|
||||
background-image: radial-gradient(rgba(color-yiq($color), .65) 0%, rgba(color-yiq($color), .15) 100%);
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pace-progress-color-#{$name} {
|
||||
.pace-progress {
|
||||
color: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@each $name, $color in $theme-colors {
|
||||
@include pace-variant($name, $color);
|
||||
}
|
||||
|
||||
@each $name, $color in $colors {
|
||||
@include pace-variant($name, $color);
|
||||
}
|
||||
|
327
account/theme/pages/build/scss/plugins/_select2.scss
Normal file
327
account/theme/pages/build/scss/plugins/_select2.scss
Normal file
@ -0,0 +1,327 @@
|
||||
//
|
||||
// Plugin: Select2
|
||||
//
|
||||
|
||||
//Signle select
|
||||
// .select2-container--default,
|
||||
// .select2-selection {
|
||||
// &.select2-container--focus,
|
||||
// &:focus,
|
||||
// &:active {
|
||||
// outline: none;
|
||||
// }
|
||||
// }
|
||||
|
||||
.select2-container--default {
|
||||
.select2-selection--single {
|
||||
border: $input-border-width solid $input-border-color;
|
||||
//border-radius: $input-radius;
|
||||
padding: ($input-padding-y * 1.25) $input-padding-x;
|
||||
height: $input-height;
|
||||
}
|
||||
|
||||
&.select2-container--open {
|
||||
.select2-selection--single {
|
||||
border-color: lighten($primary, 25%);
|
||||
}
|
||||
}
|
||||
|
||||
& .select2-dropdown {
|
||||
border: $input-border-width solid $input-border-color;
|
||||
//border-radius: $input-radius;
|
||||
}
|
||||
|
||||
& .select2-results__option {
|
||||
padding: 6px 12px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
& .select2-selection--single .select2-selection__rendered {
|
||||
padding-left: 0;
|
||||
//padding-right: 0;
|
||||
height: auto;
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
&[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
||||
padding-right: 6px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
& .select2-selection--single .select2-selection__arrow {
|
||||
height: 31px;
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
& .select2-selection--single .select2-selection__arrow b {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.select2-dropdown,
|
||||
.select2-search--inline {
|
||||
.select2-search__field {
|
||||
border: $input-border-width solid $input-border-color;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
border: $input-border-width solid $input-focus-border-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.select2-dropdown {
|
||||
&.select2-dropdown--below {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
&.select2-dropdown--above {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-results__option {
|
||||
&[aria-disabled='true'] {
|
||||
color: $gray-600;
|
||||
}
|
||||
|
||||
&[aria-selected='true'] {
|
||||
$color: $gray-300;
|
||||
|
||||
background-color: $color;
|
||||
|
||||
&,
|
||||
&:hover {
|
||||
color: color-yiq($color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.select2-results__option--highlighted {
|
||||
$color: $primary;
|
||||
background-color: $color;
|
||||
color: color-yiq($color);
|
||||
|
||||
&[aria-selected] {
|
||||
$color: darken($color, 3%);
|
||||
|
||||
&,
|
||||
&:hover {
|
||||
background-color: $color;
|
||||
color: color-yiq($color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Multiple select
|
||||
& {
|
||||
.select2-selection--multiple {
|
||||
border: $input-border-width solid $input-border-color;
|
||||
min-height: $input-height;
|
||||
|
||||
&:focus {
|
||||
border-color: $input-focus-border-color;
|
||||
}
|
||||
|
||||
.select2-selection__rendered {
|
||||
padding: 0 $input-padding-x * 0.5 $input-padding-y;
|
||||
margin-bottom: -$input-padding-x * 0.5;
|
||||
|
||||
li:first-child.select2-search.select2-search--inline {
|
||||
width: 100%;
|
||||
margin-left: $input-padding-x * 0.5;
|
||||
|
||||
.select2-search__field {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.select2-search.select2-search--inline {
|
||||
.select2-search__field {
|
||||
border: 0;
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.select2-selection__choice {
|
||||
background-color: $primary;
|
||||
border-color: darken($primary, 5%);
|
||||
color: color-yiq($primary);
|
||||
padding: 0 10px;
|
||||
margin-top: .31rem;
|
||||
}
|
||||
|
||||
.select2-selection__choice__remove {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
margin-right: -2px;
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
.text-sm &,
|
||||
&.text-sm {
|
||||
.select2-search.select2-search--inline {
|
||||
.select2-search__field {
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-selection__choice {
|
||||
margin-top: .4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.select2-container--focus {
|
||||
.select2-selection--single,
|
||||
.select2-selection--multiple {
|
||||
border-color: $input-focus-border-color;
|
||||
}
|
||||
|
||||
.select2-search__field {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
& .select2-selection--single .select2-selection__rendered li {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.input-group-prepend ~ & {
|
||||
.select2-selection {
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group > &:not(:last-child) {
|
||||
.select2-selection {
|
||||
border-bottom-right-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Select2 Bootstrap4 Theme overrides
|
||||
.select2-container--bootstrap4 {
|
||||
&.select2-container--focus .select2-selection {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
// text-sm / form-control-sm override
|
||||
select.form-control-sm ~ {
|
||||
.select2-container--default {
|
||||
font-size: 75%;
|
||||
}
|
||||
}
|
||||
|
||||
.text-sm,
|
||||
select.form-control-sm ~ {
|
||||
.select2-container--default {
|
||||
.select2-selection--single {
|
||||
height: $input-height-sm;
|
||||
|
||||
.select2-selection__rendered {
|
||||
margin-top: -.4rem;
|
||||
}
|
||||
|
||||
.select2-selection__arrow {
|
||||
top: -.12rem;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-selection--multiple {
|
||||
min-height: $input-height-sm;
|
||||
|
||||
.select2-selection__rendered {
|
||||
padding: 0 $input-padding-x-sm * 0.5 $input-padding-y-sm;
|
||||
margin-top: -($input-padding-x-sm * .2);
|
||||
|
||||
li:first-child.select2-search.select2-search--inline {
|
||||
margin-left: $input-padding-x-sm * 0.5;
|
||||
}
|
||||
|
||||
.select2-search.select2-search--inline {
|
||||
.select2-search__field {
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Dropdown Fix inside maximized card
|
||||
.maximized-card .select2-dropdown {
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
// Background colors (theme colors)
|
||||
@each $name, $color in $theme-colors {
|
||||
@include select2-variant($name, $color);
|
||||
}
|
||||
|
||||
// Background colors (colors)
|
||||
@each $name, $color in $colors {
|
||||
@include select2-variant($name, $color);
|
||||
}
|
||||
|
||||
@include dark-mode () {
|
||||
.select2-selection {
|
||||
background-color: $dark;
|
||||
border-color: $gray-600;
|
||||
}
|
||||
|
||||
.select2-container--disabled .select2-selection--single {
|
||||
background-color: lighten($dark, 7.5%);
|
||||
}
|
||||
|
||||
.select2-selection--single {
|
||||
background-color: $dark;
|
||||
border-color: $gray-600;
|
||||
|
||||
.select2-selection__rendered {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
.select2-dropdown .select2-search__field,
|
||||
.select2-search--inline .select2-search__field {
|
||||
background-color: $dark;
|
||||
border-color: $gray-600;
|
||||
color: white;
|
||||
}
|
||||
.select2-dropdown {
|
||||
background-color: $dark;
|
||||
border-color: $gray-600;
|
||||
color: white;
|
||||
}
|
||||
.select2-results__option[aria-selected="true"] {
|
||||
background-color: lighten($dark, 5%) !important;
|
||||
color: $gray-300;
|
||||
}
|
||||
.select2-container .select2-search--inline .select2-search__field {
|
||||
background-color: transparent;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
// Background colors (theme colors)
|
||||
@each $name, $color in $theme-colors-alt {
|
||||
@include select2-variant($name, $color);
|
||||
}
|
||||
|
||||
// Background colors (colors)
|
||||
@each $name, $color in $colors-alt {
|
||||
@include select2-variant($name, $color);
|
||||
}
|
||||
}
|
51
account/theme/pages/build/scss/plugins/_sweetalert2.scss
Normal file
51
account/theme/pages/build/scss/plugins/_sweetalert2.scss
Normal file
@ -0,0 +1,51 @@
|
||||
//
|
||||
// Plugin: SweetAlert2
|
||||
//
|
||||
|
||||
// Icon Colors
|
||||
.swal2-icon {
|
||||
&.swal2-info {
|
||||
border-color: ligthen($info, 20%);
|
||||
color: $info;
|
||||
}
|
||||
|
||||
&.swal2-warning {
|
||||
border-color: ligthen($warning, 20%);
|
||||
color: $warning;
|
||||
}
|
||||
|
||||
&.swal2-error {
|
||||
border-color: ligthen($danger, 20%);
|
||||
color: $danger;
|
||||
}
|
||||
|
||||
&.swal2-question {
|
||||
border-color: ligthen($secondary, 20%);
|
||||
color: $secondary;
|
||||
}
|
||||
|
||||
&.swal2-success {
|
||||
border-color: ligthen($success, 20%);
|
||||
color: $success;
|
||||
|
||||
.swal2-success-ring {
|
||||
border-color: ligthen($success, 20%);
|
||||
}
|
||||
|
||||
[class^='swal2-success-line'] {
|
||||
background-color: $success;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include dark-mode () {
|
||||
.swal2-popup {
|
||||
background-color: $dark;
|
||||
color: $gray-200;
|
||||
|
||||
.swal2-content,
|
||||
.swal2-title {
|
||||
color: $gray-200;
|
||||
}
|
||||
}
|
||||
}
|
60
account/theme/pages/build/scss/plugins/_toastr.scss
Normal file
60
account/theme/pages/build/scss/plugins/_toastr.scss
Normal file
@ -0,0 +1,60 @@
|
||||
//
|
||||
// Plugin: Toastr
|
||||
//
|
||||
|
||||
// Background to FontAwesome Icons
|
||||
// #toast-container > .toast {
|
||||
// background-image: none !important;
|
||||
// }
|
||||
// #toast-container > .toast .toast-message:before {
|
||||
// font-family: 'Font Awesome 5 Free';
|
||||
// font-size: 24px;
|
||||
// font-weight: 900;
|
||||
// line-height: 18px;
|
||||
// float: left;
|
||||
// color: $white;
|
||||
// padding-right: 0.5em;
|
||||
// margin: auto 0.5em auto -1.5em;
|
||||
// }
|
||||
// #toast-container > .toast-warning .toast-message:before {
|
||||
// content: "\f06a";
|
||||
// }
|
||||
// #toast-container > .toast-error .toast-message:before {
|
||||
// content: "\f071";
|
||||
// }
|
||||
// #toast-container > .toast-info .toast-message:before {
|
||||
// content: "\f05a";
|
||||
// }
|
||||
// #toast-container > .toast-success .toast-message:before {
|
||||
// content: "\f058";
|
||||
// }
|
||||
|
||||
|
||||
#toast-container {
|
||||
// Background color
|
||||
.toast {
|
||||
background-color: $primary;
|
||||
}
|
||||
|
||||
.toast-success {
|
||||
background-color: $success;
|
||||
}
|
||||
|
||||
.toast-error {
|
||||
background-color: $danger;
|
||||
}
|
||||
|
||||
.toast-info {
|
||||
background-color: $info;
|
||||
}
|
||||
|
||||
.toast-warning {
|
||||
background-color: $warning;
|
||||
}
|
||||
}
|
||||
|
||||
// full width fix
|
||||
.toast-bottom-full-width .toast,
|
||||
.toast-top-full-width .toast {
|
||||
max-width: inherit;
|
||||
}
|
Reference in New Issue
Block a user