first init
This commit is contained in:
3
resources/scss/components/_accordion.scss
Executable file
3
resources/scss/components/_accordion.scss
Executable file
@@ -0,0 +1,3 @@
|
||||
//
|
||||
// accordions.scss
|
||||
//
|
||||
5
resources/scss/components/_alerts.scss
Executable file
5
resources/scss/components/_alerts.scss
Executable file
@@ -0,0 +1,5 @@
|
||||
// alert.scss
|
||||
|
||||
.alert-icon {
|
||||
padding: $alert-padding-y * 0.5 $alert-padding-y * 0.5;
|
||||
}
|
||||
59
resources/scss/components/_avatar.scss
Executable file
59
resources/scss/components/_avatar.scss
Executable file
@@ -0,0 +1,59 @@
|
||||
//
|
||||
// _avatar.scss
|
||||
//
|
||||
|
||||
// avatar height
|
||||
.avatar-xs {
|
||||
height: 1.5rem;
|
||||
width: 1.5rem;
|
||||
}
|
||||
|
||||
.avatar-sm {
|
||||
height: 2.25rem;
|
||||
width: 2.25rem;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
height: 3rem;
|
||||
width: 3rem;
|
||||
}
|
||||
|
||||
.avatar-md {
|
||||
height: 3.5rem;
|
||||
width: 3.5rem;
|
||||
}
|
||||
|
||||
.avatar-lg {
|
||||
height: 4.5rem;
|
||||
width: 4.5rem;
|
||||
}
|
||||
|
||||
.avatar-xl {
|
||||
height: 6rem;
|
||||
width: 6rem;
|
||||
}
|
||||
|
||||
.avatar-xxl {
|
||||
height: 7.5rem;
|
||||
width: 7.5rem;
|
||||
}
|
||||
|
||||
.avatar-title {
|
||||
align-items: center;
|
||||
color: $white;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.avatar-group {
|
||||
padding-left: 12px;
|
||||
|
||||
.avatar-group-item {
|
||||
margin: 0 0 0 -12px;
|
||||
display: inline-block;
|
||||
border: $border-width * 2 solid $border-color;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
25
resources/scss/components/_backgrounds.scss
Executable file
25
resources/scss/components/_backgrounds.scss
Executable file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// backgrounds.scss
|
||||
//
|
||||
|
||||
@each $color, $value in $theme-colors-rgb {
|
||||
.bg-soft-#{$color} {
|
||||
--#{$prefix}bg-opacity: 0.25;
|
||||
background-color: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity)) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-ghost {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.bg-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
opacity: 0.7;
|
||||
}
|
||||
25
resources/scss/components/_badge.scss
Executable file
25
resources/scss/components/_badge.scss
Executable file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// _badges.scss
|
||||
//
|
||||
|
||||
|
||||
|
||||
// Soft badge
|
||||
@each $color, $value in $theme-colors-rgb {
|
||||
.badge-soft-#{$color} {
|
||||
--#{$prefix}badge-color: var(--#{$prefix}#{$color});
|
||||
--#{$prefix}bg-opacity: 0.18;
|
||||
background-color: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity)) !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Outline Badge
|
||||
@each $color, $value in $theme-colors-rgb {
|
||||
.badge-outline-#{$color} {
|
||||
--#{$prefix}badge-color: var(--#{$prefix}#{$color});
|
||||
border: 1px solid var(--#{$prefix}#{$color});
|
||||
background-color: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
25
resources/scss/components/_breadcrumb.scss
Executable file
25
resources/scss/components/_breadcrumb.scss
Executable file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// breadcrumb.scss
|
||||
//
|
||||
|
||||
// Breadcrumb item arrow
|
||||
.breadcrumb-item {
|
||||
>a {
|
||||
color: var(--#{$prefix}body-color);
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
+.breadcrumb-item {
|
||||
&::before {
|
||||
font-family: "boxicons";
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: $breadcrumb-active-color;
|
||||
}
|
||||
}
|
||||
182
resources/scss/components/_buttons.scss
Executable file
182
resources/scss/components/_buttons.scss
Executable file
@@ -0,0 +1,182 @@
|
||||
//
|
||||
// buttons.scss
|
||||
//
|
||||
|
||||
.button-list {
|
||||
margin-left: -8px;
|
||||
margin-bottom: -8px;
|
||||
|
||||
.btn {
|
||||
margin-bottom: 8px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
button:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
// Icon Button
|
||||
.btn {
|
||||
|
||||
i,
|
||||
span {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.icon {
|
||||
svg {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
margin-left: 0.1rem;
|
||||
margin-top: -2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Link buttons (Make a button look and behave like a link)
|
||||
.btn-link {
|
||||
font-weight: $font-weight-normal;
|
||||
color: $link-color;
|
||||
background-color: transparent;
|
||||
|
||||
&:hover {
|
||||
color: $link-hover-color;
|
||||
text-decoration: $link-hover-decoration;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
text-decoration: $link-hover-decoration;
|
||||
border-color: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
color: $btn-link-disabled-color;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Button Extra Small Size
|
||||
.btn-xs {
|
||||
padding: 0.2rem 0.6rem;
|
||||
font-size: 0.75rem;
|
||||
border-radius: $border-radius-sm;
|
||||
}
|
||||
|
||||
// Soft Variants
|
||||
@mixin button-variant-soft($bg) {
|
||||
--#{$prefix}btn-color: #{$bg};
|
||||
--#{$prefix}btn-bg: #{rgba($bg, 0.1)};
|
||||
--#{$prefix}btn-border-color: #{transparent};
|
||||
--#{$prefix}btn-hover-color: #{$white};
|
||||
--#{$prefix}btn-hover-bg: #{$bg};
|
||||
--#{$prefix}btn-hover-border-color: #{$bg};
|
||||
--#{$prefix}btn-active-color: #{$white};
|
||||
--#{$prefix}btn-active-bg: #{$bg};
|
||||
--#{$prefix}btn-active-border-color: #{$bg};
|
||||
--#{$prefix}btn-disabled-color: #{$white};
|
||||
--#{$prefix}btn-disabled-bg: #{$bg};
|
||||
--#{$prefix}btn-disabled-border-color: #{$bg};
|
||||
--#{$prefix}btn-focus-shadow-rgb: 0 0 0 $btn-focus-width rgba($bg, 0.5);
|
||||
}
|
||||
|
||||
|
||||
// Button Soft
|
||||
@each $color,
|
||||
$value in $theme-colors {
|
||||
.btn-soft-#{$color} {
|
||||
@include button-variant-soft($value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Button Light and Dark
|
||||
.btn-light {
|
||||
--#{$prefix}btn-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-bg: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-border-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-hover-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-hover-bg: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-hover-border-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-disabled-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-disabled-bg: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-disabled-border-color: var(--#{$prefix}light);
|
||||
}
|
||||
|
||||
.btn-dark {
|
||||
--#{$prefix}btn-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-bg: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-border-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-hover-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-hover-bg: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-hover-border-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-disabled-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-disabled-bg: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-disabled-border-color: var(--#{$prefix}dark);
|
||||
}
|
||||
|
||||
.btn-outline-dark {
|
||||
--#{$prefix}btn-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-bg: transparent;
|
||||
--#{$prefix}btn-border-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-hover-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-hover-bg: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-hover-border-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-active-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-active-bg: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-active-border-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-disabled-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-disabled-bg: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-disabled-border-color: var(--#{$prefix}dark);
|
||||
}
|
||||
|
||||
.btn-outline-light {
|
||||
--#{$prefix}btn-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-bg: transparent;
|
||||
--#{$prefix}btn-border-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-hover-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-hover-bg: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-hover-border-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-active-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-active-bg: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-active-border-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-disabled-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-disabled-bg: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-disabled-border-color: var(--#{$prefix}light);
|
||||
}
|
||||
|
||||
.btn-soft-dark {
|
||||
--#{$prefix}btn-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-bg: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-border-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-hover-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-hover-bg: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-hover-border-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-active-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-active-bg: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-active-border-color: var(--#{$prefix}dark);
|
||||
}
|
||||
|
||||
// Dark Mode
|
||||
html[data-bs-theme="dark"] {
|
||||
.btn-light {
|
||||
--#{$prefix}btn-active-color: var(--#{$prefix}dark);
|
||||
--#{$prefix}btn-active-bg: var(--#{$prefix}border-color);
|
||||
--#{$prefix}btn-active-border-color: var(--#{$prefix}border-color);
|
||||
}
|
||||
|
||||
.btn-dark {
|
||||
--#{$prefix}btn-active-color: var(--#{$prefix}light);
|
||||
--#{$prefix}btn-active-bg: var(--#{$prefix}tertiary-color);
|
||||
--#{$prefix}btn-active-border-color: var(--#{$prefix}tertiary-color);
|
||||
}
|
||||
}
|
||||
48
resources/scss/components/_card.scss
Executable file
48
resources/scss/components/_card.scss
Executable file
@@ -0,0 +1,48 @@
|
||||
//
|
||||
// card.scss
|
||||
//
|
||||
|
||||
.card {
|
||||
margin-bottom: $spacer;
|
||||
transition: all .35s;
|
||||
box-shadow: $box-shadow;
|
||||
// background-image: var(--bs-gradient);
|
||||
border-style: double;
|
||||
border-width: 3px;
|
||||
}
|
||||
|
||||
.card-link+.card-link {
|
||||
margin-left: $card-spacer-x;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.card-drop {
|
||||
font-size: $h4-font-size;
|
||||
line-height: 0;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.card-height-100 {
|
||||
height: calc(100% - #{$spacer});
|
||||
}
|
||||
|
||||
|
||||
// Card title / Card Header
|
||||
.card-title,
|
||||
.card-header {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.card-subtitle {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.sub-header {
|
||||
font-size: $font-size-base;
|
||||
margin-bottom: $spacer;
|
||||
color: $text-muted;
|
||||
}
|
||||
131
resources/scss/components/_dropdown.scss
Executable file
131
resources/scss/components/_dropdown.scss
Executable file
@@ -0,0 +1,131 @@
|
||||
//
|
||||
// dropdown.scss
|
||||
//
|
||||
|
||||
.dropdown-toggle::after {
|
||||
font-family: boxicons;
|
||||
content: "\ea4a";
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
top: 3px;
|
||||
margin-left: 0.255em;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
text-rendering: auto;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.btn-sm {
|
||||
&.dropdown-toggle::after {
|
||||
top: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.arrow-none::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dropup {
|
||||
.dropdown-toggle::after {
|
||||
content: "\ea57";
|
||||
}
|
||||
}
|
||||
|
||||
.dropend {
|
||||
.dropdown-toggle::after {
|
||||
content: "\ea50";
|
||||
}
|
||||
}
|
||||
|
||||
.dropstart {
|
||||
.dropdown-toggle::before {
|
||||
content: "\ea4d";
|
||||
font-family: boxicons;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
margin-right: 0.255em;
|
||||
}
|
||||
|
||||
.dropdown-toggle::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.dropdown-toggle-split {
|
||||
|
||||
&::after,
|
||||
.dropup &::after,
|
||||
.dropend &::after {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.dropstart &::before {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.dropdown-menu {
|
||||
box-shadow: $box-shadow-lg;
|
||||
animation-name: DropDownSlide;
|
||||
animation-duration: 0.3s;
|
||||
animation-fill-mode: both;
|
||||
font-size: $font-size-base;
|
||||
top: 100%;
|
||||
|
||||
&.show {
|
||||
top: 100% !important;
|
||||
margin-top: 2px !important;
|
||||
}
|
||||
|
||||
i {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu-end {
|
||||
right: 0 !important;
|
||||
left: auto !important;
|
||||
}
|
||||
|
||||
.dropdown-menu[data-popper-placement^="right"],
|
||||
.dropdown-menu[data-popper-placement^="top"],
|
||||
.dropdown-menu[data-popper-placement^="left"] {
|
||||
top: auto !important;
|
||||
animation: none !important;
|
||||
}
|
||||
|
||||
@keyframes DropDownSlide {
|
||||
100% {
|
||||
-webkit-transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
0% {
|
||||
-webkit-transform: translateY(-3px);
|
||||
transform: translateY(-3px);
|
||||
}
|
||||
}
|
||||
|
||||
// Dropdown Large (Custom)
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.dropdown-lg {
|
||||
width: 320px;
|
||||
}
|
||||
}
|
||||
|
||||
// Dropdown size
|
||||
@include media-breakpoint-up(lg) {
|
||||
.dropdown-mega-menu-xl {
|
||||
width: 40rem;
|
||||
}
|
||||
|
||||
.dropdown-mega-menu-lg {
|
||||
width: 26rem;
|
||||
}
|
||||
}
|
||||
74
resources/scss/components/_forms.scss
Executable file
74
resources/scss/components/_forms.scss
Executable file
@@ -0,0 +1,74 @@
|
||||
//
|
||||
// forms.scss
|
||||
//
|
||||
|
||||
|
||||
// Forms
|
||||
label {
|
||||
font-weight: $font-weight-medium;
|
||||
}
|
||||
|
||||
.form-check {
|
||||
|
||||
.form-check-input,
|
||||
label {
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Form elements (Color and Range)
|
||||
input.form-control[type="color"],
|
||||
input.form-control[type="range"] {
|
||||
min-height: 39px;
|
||||
}
|
||||
|
||||
|
||||
// Search box
|
||||
.search-bar {
|
||||
position: relative;
|
||||
|
||||
.form-control {
|
||||
padding-left: 40px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
span {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
font-size: 16px;
|
||||
top: 8px;
|
||||
left: 13px;
|
||||
color: $text-muted;
|
||||
}
|
||||
}
|
||||
|
||||
// checkbox
|
||||
.form-check-input {
|
||||
margin-top: 0.125rem;
|
||||
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Color Checkbox and Radio
|
||||
@each $color,
|
||||
$value in $theme-colors {
|
||||
|
||||
.form-checkbox-#{$color},
|
||||
.form-radio-#{$color} {
|
||||
.form-check-input {
|
||||
&:checked {
|
||||
background-color: $value;
|
||||
border-color: $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-todo {
|
||||
input[type="checkbox"]:checked + label {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
}
|
||||
59
resources/scss/components/_helper.scss
Executable file
59
resources/scss/components/_helper.scss
Executable file
@@ -0,0 +1,59 @@
|
||||
//
|
||||
// helper.scss
|
||||
//
|
||||
|
||||
// Minimum width
|
||||
|
||||
.width-xs {
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.width-sm {
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
.width-md {
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.width-lg {
|
||||
min-width: 140px;
|
||||
}
|
||||
|
||||
.width-xl {
|
||||
min-width: 160px;
|
||||
}
|
||||
|
||||
|
||||
// dashed line
|
||||
@each $color,
|
||||
$value in $theme-colors {
|
||||
.border-dashed-#{$color} {
|
||||
border-bottom: 1px dashed ($value);
|
||||
}
|
||||
}
|
||||
|
||||
// sticky bar
|
||||
.sticky-bar {
|
||||
position: sticky;
|
||||
z-index: 998;
|
||||
top: calc(#{$topbar-height} + #{$spacer});
|
||||
}
|
||||
|
||||
//
|
||||
.flex-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
// cursor
|
||||
.cursor-pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.border-transparent {
|
||||
--#{$prefix}border-color: transparent !important;
|
||||
}
|
||||
15
resources/scss/components/_list-group.scss
Executable file
15
resources/scss/components/_list-group.scss
Executable file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// _list-group.scss
|
||||
//
|
||||
|
||||
@each $color,
|
||||
$value in $theme-colors {
|
||||
.list-group-item-#{$color} {
|
||||
color: shade-color($value, 5%);
|
||||
background-color: rgba($value, .15);
|
||||
|
||||
.alert-link {
|
||||
color: shade-color($value, 20%);
|
||||
}
|
||||
}
|
||||
}
|
||||
54
resources/scss/components/_modal.scss
Executable file
54
resources/scss/components/_modal.scss
Executable file
@@ -0,0 +1,54 @@
|
||||
//
|
||||
// modal.scss
|
||||
//
|
||||
|
||||
// Title text within header
|
||||
.modal-title {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
// Modal full width
|
||||
.modal-full-width {
|
||||
width: 95%;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
// Modal Positions
|
||||
.modal-top {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
// Bottom modal
|
||||
.modal-bottom {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
-ms-flex-pack: end;
|
||||
justify-content: flex-end;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
// Colored modal header
|
||||
.modal-colored-header {
|
||||
color: $white;
|
||||
border-radius: 0;
|
||||
|
||||
.close {
|
||||
color: $white !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Full filled modals
|
||||
.modal-filled {
|
||||
color: $white;
|
||||
|
||||
.modal-header {
|
||||
background-color: rgba($white, 0.07);
|
||||
}
|
||||
|
||||
.btn-close {
|
||||
color: $white !important;
|
||||
}
|
||||
}
|
||||
75
resources/scss/components/_nav.scss
Executable file
75
resources/scss/components/_nav.scss
Executable file
@@ -0,0 +1,75 @@
|
||||
//
|
||||
// nav.scss
|
||||
//
|
||||
|
||||
.nav-link {
|
||||
&.active {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-tabs {
|
||||
|
||||
.nav-item {
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
|
||||
li {
|
||||
a {
|
||||
border-color: transparent !important;
|
||||
// padding: 0.375rem 1rem;
|
||||
}
|
||||
|
||||
a.active {
|
||||
border-bottom: $border-width solid $primary !important;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// pills
|
||||
.nav-tabs,
|
||||
.nav-pills {
|
||||
>li {
|
||||
>a {
|
||||
font-weight: $font-weight-semibold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-pills {
|
||||
background: var(--#{$prefix}tertiary-bg);
|
||||
border-radius: $border-radius-sm;
|
||||
|
||||
.nav-link {
|
||||
background-color: transparent;
|
||||
color: var(--#{$prefix}link-color);
|
||||
}
|
||||
|
||||
.nav-link.active,
|
||||
.show>.nav-link {
|
||||
color: $white;
|
||||
background-color: $primary;
|
||||
box-shadow: $box-shadow-sm;
|
||||
}
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
padding: 20px 0 0 0;
|
||||
}
|
||||
|
||||
|
||||
.icon-wizard {
|
||||
.nav-item {
|
||||
.nav-link {
|
||||
padding: 11px 14px !important;
|
||||
box-shadow: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 3px;
|
||||
border-radius: var(--#{$prefix}border-radius) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
18
resources/scss/components/_pagination.scss
Executable file
18
resources/scss/components/_pagination.scss
Executable file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// pagination.scss
|
||||
//
|
||||
.page-link {
|
||||
i {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
// Pagination rounded (Custom)
|
||||
.pagination-rounded {
|
||||
.page-link {
|
||||
border-radius: 3px !important;
|
||||
margin: 0 3px;
|
||||
border: none;
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
22
resources/scss/components/_popover.scss
Executable file
22
resources/scss/components/_popover.scss
Executable file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// popover.scss
|
||||
//
|
||||
.popover {
|
||||
box-shadow: $box-shadow-lg;
|
||||
}
|
||||
|
||||
.popover-header {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@each $color,
|
||||
$value in $theme-colors {
|
||||
.#{$color}-popover {
|
||||
--#{$prefix}popover-max-width: 200px !important;
|
||||
--#{$prefix}popover-border-color: var(--#{$prefix}#{$color}) !important;
|
||||
--#{$prefix}popover-header-bg: var(--#{$prefix}#{$color}) !important;
|
||||
--#{$prefix}popover-header-color: var(--#{$prefix}white) !important;
|
||||
--#{$prefix}popover-body-padding-x: 1rem !important;
|
||||
--#{$prefix}popover-body-padding-y: .5rem !important;
|
||||
}
|
||||
}
|
||||
24
resources/scss/components/_print.scss
Executable file
24
resources/scss/components/_print.scss
Executable file
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// print.scss
|
||||
//
|
||||
|
||||
// Used invoice page
|
||||
@media print {
|
||||
|
||||
.topbar,
|
||||
.app-sidebar,
|
||||
.footer,
|
||||
.page-title-box {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.card,
|
||||
.card-body,
|
||||
.page-content,
|
||||
body {
|
||||
padding: 0;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
29
resources/scss/components/_progress.scss
Executable file
29
resources/scss/components/_progress.scss
Executable file
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// progress.scss
|
||||
//
|
||||
|
||||
// Custom height
|
||||
|
||||
.progress-xs {
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
// Progress height small
|
||||
.progress-sm {
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
// Progress height medium
|
||||
.progress-md {
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
// Progress height large
|
||||
.progress-lg {
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
// Progress height extra large
|
||||
.progress-xl {
|
||||
height: 15px;
|
||||
}
|
||||
30
resources/scss/components/_reboot.scss
Executable file
30
resources/scss/components/_reboot.scss
Executable file
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// _reboot.scss
|
||||
//
|
||||
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.row>* {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.scroll-hidden {
|
||||
&::-webkit-scrollbar {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar:vertical {
|
||||
width: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Iconify
|
||||
iconify-icon {
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
98
resources/scss/components/_switch.scss
Executable file
98
resources/scss/components/_switch.scss
Executable file
@@ -0,0 +1,98 @@
|
||||
//
|
||||
// switch.scss
|
||||
//
|
||||
|
||||
input[data-switch] {
|
||||
display: none;
|
||||
|
||||
+label {
|
||||
width: 56px;
|
||||
height: 24px;
|
||||
background-color: var(--#{$prefix}border-color);
|
||||
background-image: none;
|
||||
border-radius: 2rem;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
transition: all 0.1s ease-in-out;
|
||||
|
||||
&::before {
|
||||
color: var(--#{$prefix}dark);
|
||||
content: attr(data-off-label);
|
||||
display: block;
|
||||
font-family: inherit;
|
||||
font-weight: $font-weight-semibold;
|
||||
font-size: 0.75rem;
|
||||
line-height: 24px;
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
margin: 0 0.21667rem;
|
||||
top: 0;
|
||||
text-align: center;
|
||||
min-width: 1.66667rem;
|
||||
overflow: hidden;
|
||||
transition: all 0.1s ease-in-out;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
background-color: var(--#{$prefix}link-color);
|
||||
box-shadow: none;
|
||||
border-radius: 2rem;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
top: 3px;
|
||||
transition: all 0.1s ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
&:checked {
|
||||
+label {
|
||||
background-color: $primary;
|
||||
|
||||
&::before {
|
||||
color: $white;
|
||||
content: attr(data-on-label);
|
||||
right: auto;
|
||||
left: 4px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
left: 34px;
|
||||
background-color: var(--#{$prefix}tertiary-bg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input[data-switch="bool"] {
|
||||
+label {
|
||||
background-color: $danger;
|
||||
}
|
||||
}
|
||||
|
||||
input:disabled {
|
||||
+label {
|
||||
opacity: 0.5;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
||||
input[data-switch="bool"]+label:before,
|
||||
input[data-switch="bool"]:checked+label:before {
|
||||
color: $white !important;
|
||||
}
|
||||
|
||||
input[data-switch="bool"]+label:after {
|
||||
background-color: var(--#{$prefix}tertiary-bg);
|
||||
}
|
||||
|
||||
@each $color,
|
||||
$value in $theme-colors {
|
||||
input[data-switch="#{$color}"]:checked+label {
|
||||
background-color: #{$value};
|
||||
}
|
||||
}
|
||||
64
resources/scss/components/_tables.scss
Executable file
64
resources/scss/components/_tables.scss
Executable file
@@ -0,0 +1,64 @@
|
||||
//
|
||||
// tables.scss
|
||||
//
|
||||
|
||||
|
||||
th {
|
||||
font-weight: $font-weight-medium;
|
||||
}
|
||||
|
||||
// Table centered
|
||||
.table-centered {
|
||||
|
||||
td,
|
||||
th {
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Table
|
||||
.table-nowrap {
|
||||
|
||||
th,
|
||||
td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
// Custom table components
|
||||
.table {
|
||||
tbody tr:last-child td {
|
||||
border-bottom: 0px;
|
||||
}
|
||||
|
||||
&.table-dashed>:not(caption)>*>* {
|
||||
border-style: dashed;
|
||||
}
|
||||
|
||||
.table-user {
|
||||
img {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.action-icon {
|
||||
color: var(--#{$prefix}body-color);
|
||||
font-size: 1.2rem;
|
||||
display: inline-block;
|
||||
padding: 0 3px;
|
||||
|
||||
&:hover {
|
||||
color: var(--#{$prefix}tertiary-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
html[data-bs-theme="dark"] {
|
||||
.table-light {
|
||||
--#{$prefix}table-color: var(--#{$prefix}body-color);
|
||||
--#{$prefix}table-bg: var(--#{$prefix}light);
|
||||
--#{$prefix}table-border-color: #{$table-group-separator-color};
|
||||
}
|
||||
}
|
||||
10
resources/scss/components/_tooltip.scss
Executable file
10
resources/scss/components/_tooltip.scss
Executable file
@@ -0,0 +1,10 @@
|
||||
//
|
||||
// tooltip.scss
|
||||
//
|
||||
|
||||
@each $color,
|
||||
$value in $theme-colors {
|
||||
.#{$color}-tooltip {
|
||||
--#{$prefix}tooltip-bg: var(--#{$prefix}#{$color}) !important;
|
||||
}
|
||||
}
|
||||
22
resources/scss/components/_type.scss
Executable file
22
resources/scss/components/_type.scss
Executable file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// type.scss
|
||||
//
|
||||
|
||||
// Font sizes (Custom)
|
||||
|
||||
$font-size-mixing: 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 48,60;
|
||||
|
||||
@each $font-size-mixing in $font-size-mixing {
|
||||
.fs-#{$font-size-mixing} {
|
||||
font-size: #{$font-size-mixing}px !important;
|
||||
}
|
||||
}
|
||||
|
||||
// text utilities
|
||||
.text-unline-dashed {
|
||||
border-bottom: $border-width dashed $border-color !important;
|
||||
}
|
||||
|
||||
.text-dark {
|
||||
color: var(--#{$prefix}headings-color) !important;
|
||||
}
|
||||
201
resources/scss/components/_widgets.scss
Executable file
201
resources/scss/components/_widgets.scss
Executable file
@@ -0,0 +1,201 @@
|
||||
//
|
||||
// widgets.scss
|
||||
//
|
||||
|
||||
.widget-icon {
|
||||
font-size: 5rem;
|
||||
position: absolute;
|
||||
right: -25px;
|
||||
bottom: -15px;
|
||||
opacity: 0.2;
|
||||
animation: bounce 7s ease infinite;
|
||||
}
|
||||
|
||||
@keyframes bounce {
|
||||
0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
|
||||
40% {transform: translateY(-10px);}
|
||||
60% {transform: translateY(-5px);}
|
||||
}
|
||||
|
||||
// milestones
|
||||
|
||||
.milestones {
|
||||
position: relative;
|
||||
padding-left: 25px;
|
||||
|
||||
&::after {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: $primary;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 0;
|
||||
content: "";
|
||||
}
|
||||
|
||||
&::before {
|
||||
height: 75px;
|
||||
width: 2px;
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
bottom: 5px;
|
||||
left: 4px;
|
||||
right: 0;
|
||||
background: var(--#{$prefix}border-color);
|
||||
content: "";
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
&::before {
|
||||
height: 28px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// chat
|
||||
|
||||
.conversation-list {
|
||||
list-style: none;
|
||||
height: 332px;
|
||||
padding: 0 7px;
|
||||
|
||||
li {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.chat-avatar {
|
||||
float: left;
|
||||
text-align: center;
|
||||
width: 38px;
|
||||
|
||||
img {
|
||||
border-radius: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.ctext-wrap {
|
||||
background: var(--#{$prefix}light);
|
||||
color: $primary;
|
||||
border-radius: $border-radius-sm;
|
||||
display: inline-block;
|
||||
padding: 4px 12px;
|
||||
position: relative;
|
||||
// min-width: 160px;
|
||||
|
||||
i {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
font-weight: $font-weight-bold;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
padding-top: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.conversation-text {
|
||||
float: left;
|
||||
font-size: 12px;
|
||||
margin-left: 12px;
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.odd {
|
||||
.chat-avatar {
|
||||
float: right !important;
|
||||
}
|
||||
|
||||
.conversation-text {
|
||||
float: right !important;
|
||||
margin-right: 12px;
|
||||
text-align: right;
|
||||
width: 70% !important;
|
||||
}
|
||||
|
||||
.ctext-wrap {
|
||||
background-color: $primary;
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// project activity
|
||||
.activity {
|
||||
.activity-list {
|
||||
display: flex;
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
content: "\F4FE";
|
||||
font-family: "bootstrap-icons";
|
||||
font-size: 22px;
|
||||
color: $white;
|
||||
left: 56px;
|
||||
top: -6px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 57px;
|
||||
top: 0;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
background: $primary;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// project activity
|
||||
.activity-widget {
|
||||
.activity-list {
|
||||
border-bottom: $border-width solid $border-color;
|
||||
padding: 10px 0px;
|
||||
|
||||
&:last-child {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// chart card
|
||||
.chart-card {
|
||||
.left-chart-card {
|
||||
padding-right: $spacer;
|
||||
border-right: $border-width solid $border-color;
|
||||
}
|
||||
|
||||
.right-chart-card {
|
||||
padding-left: $spacer;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(lg) {
|
||||
.chart-card {
|
||||
.left-chart-card {
|
||||
padding-right: $spacer * 0.5;
|
||||
padding-bottom: $spacer;
|
||||
border-right: 0;
|
||||
border-bottom: $border-width solid $border-color;
|
||||
}
|
||||
|
||||
.right-chart-card {
|
||||
padding-left: $spacer * 0.5;
|
||||
padding-top: $spacer;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user