Files
CHIEFSOFT\ameye 346346573f first commit
2024-01-25 13:06:29 -05:00

279 lines
4.5 KiB
SCSS

//
// _helper.scss
//
$font-size-mixing: 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 36, 48;
@each $font-size-mixing in $font-size-mixing {
.fs-#{$font-size-mixing} {
font-size: #{$font-size-mixing}px !important;
}
}
// Border Style
$border-style-mixing: double, dashed, groove, outset, ridge, dotted, inset;
@each $border-style-mixing in $border-style-mixing {
.border-#{$border-style-mixing} {
border-style: #{$border-style-mixing} !important;
}
.border-top-#{$border-style-mixing} {
border-top-style: #{$border-style-mixing} !important;
}
.border-bottom-#{$border-style-mixing} {
border-bottom-style: #{$border-style-mixing} !important;
}
.border-end-#{$border-style-mixing} {
border-right-style: #{$border-style-mixing} !important;
}
.border-start-#{$border-style-mixing} {
border-left-style: #{$border-style-mixing} !important;
}
// List Group Flush Style
.list-group-flush {
&.border-#{$border-style-mixing} {
border: none !important;
.list-group-item {
border-style: #{$border-style-mixing} !important;
}
}
}
}
// Font Family
.ff-base {
font-family: $font-family-base;
}
.ff-secondary {
font-family: $font-family-secondary;
}
// Social
.social-list-item {
height: 2rem;
width: 2rem;
line-height: calc(2rem - 4px);
display: block;
border: 2px solid $gray-500;
border-radius: 50%;
color: $gray-500;
text-align: center;
transition: all 0.4s;
&:hover {
color: $gray-600;
background-color: $gray-200;
}
}
// Fixed minimum width
.w-xs {
min-width: 80px;
}
.w-sm {
min-width: 95px;
}
.w-md {
min-width: 110px;
}
.w-lg {
min-width: 140px;
}
.w-xl {
min-width: 160px;
}
// Icons Sizes
.icon-xs {
height: 16px;
width: 16px;
}
.icon-sm {
height: 18px;
width: 18px;
}
.icon-md {
height: 22px;
width: 22px;
}
.icon-lg {
height: 24px;
width: 24px;
}
.icon-xl {
height: 28px;
width: 28px;
}
.icon-xxl {
height: 32px;
width: 32px;
}
// Dual Icons
.icon-dual {
color: $gray-500;
fill: rgba($gray-500, 0.16);
}
@each $color,
$value in $theme-colors {
.icon-dual-#{$color} {
color: $value;
fill: rgba($value, 0.16);
}
}
// Search
.search-box {
position: relative;
.form-control {
padding-left: 40px;
}
.search-icon {
font-size: 14px;
position: absolute;
left: 13px;
top: 0;
height: 100%;
display: flex;
align-items: center;
color: $text-muted;
}
}
// overlay
.bg-overlay {
position: absolute;
height: 100%;
width: 100%;
right: 0;
bottom: 0;
left: 0;
top: 0;
opacity: 0.7;
background-color: $black;
}
// Btn Customizer
.customizer-setting {
position: fixed;
bottom: 40px;
right: 20px;
z-index: 1000;
}
//
code {
user-select: all;
}
// text-truncate-two-lines
.text-truncate-two-lines {
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 3;
display: -webkit-box;
-webkit-box-orient: vertical;
white-space: normal;
}
// text-truncate-three-lines
.text-truncate-three-lines {
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 3;
display: -webkit-box;
-webkit-box-orient: vertical;
white-space: normal;
}
// card
.card-logo-light {
display: var(--#{$prefix}card-logo-light);
}
.card-logo-dark {
display: var(--#{$prefix}card-logo-dark);
}
// [data-bs-theme="dark"] {
// .btn-close {
// filter: invert(1) grayscale(100%) brightness(200%);
// }
// }
#back-to-top {
position: fixed;
bottom: 100px;
right: 24px;
transition: all 0.5s ease;
display: none;
z-index: 1000;
&:hover {
animation: fade-up 1.5s infinite linear;
}
@media (max-width: 767.98px) {
bottom: 50px;
}
}
@keyframes fade-up {
0% {
transform: translateY(0);
opacity: 1;
}
75% {
transform: translateY(-20px);
opacity: 0;
}
}
.cursor-pointer {
cursor: pointer;
}
.section {
position: relative;
padding: 80px 0;
}
.svg-shape {
position: absolute;
pointer-events: none;
right: 0;
bottom: 0px;
left: 0;
&>svg {
width: 100%;
height: auto;
}
}
.container-custom {
@media (min-width: 992px){
max-width: 90%;
}
}