first part of new theme integration

This commit is contained in:
2021-09-07 20:52:58 +02:00
parent 1c5350c8c6
commit 4ae9e36050
53 changed files with 4249 additions and 57 deletions

View File

@@ -0,0 +1,51 @@
//
// accordions.scss
//
.custom-accordion {
.card {
box-shadow: none;
}
.card-header {
background-color: $gray-100;
}
.card-body {
border: 1px solid $gray-100;
}
.accordion-arrow {
font-size: 1.2rem;
position: absolute;
right: 0;
}
a {
&.collapsed {
i.accordion-arrow {
&:before {
content: "\F142";
}
}
}
}
}
.custom-accordion-title {
color: $custom-accordion-title-color;
position: relative;
&:hover {
color: lighten($custom-accordion-title-color,7.5%)
}
}
.accordion {
>.card {
>.card-header {
border-radius: 0;
margin-bottom: -1px;
}
}
}

View File

@@ -0,0 +1,92 @@
//
// dropdown.scss
//
.dropdown-menu {
box-shadow: $box-shadow;
}
.dropdown-menu-animated {
&.dropdown-menu-end[style] {
left: auto!important;
right: 0!important;
}
}
// Dropdown Animated (Custom)
.dropdown-menu-animated {
animation-name: DropDownSlide;
animation-duration: .3s;
animation-fill-mode: both;
position: absolute;
margin: 0;
z-index: 1000;
&.show {
top: 100%!important;
}
i {
display: inline-block;
}
&.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% {
transform: translateY(0)
}
0% {
transform: translateY(10px)
}
}
// Dropdown Large (Custom)
@media (min-width: 600px) {
.dropdown-lg {
width: $dropdown-lg-width;
}
}
// Dropdown with Icons
.dropdown-icon-item {
display: block;
border-radius: 3px;
line-height: 34px;
text-align: center;
padding: 15px 0 9px;
display: block;
border: 1px solid transparent;
color: $dropdown-link-color;
img {
height: 24px;
}
span {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&:hover {
background-color: $dropdown-link-hover-bg;
color: $dropdown-link-hover-color;
}
}
// Dropdown arrow hide
.arrow-none {
&:after {
display: none;
}
}

View File

@@ -0,0 +1,8 @@
//
// mixins.scss
//
// Components
@import "mixins/background-variant";
@import "mixins/buttons";
@import "mixins/badge";

View File

@@ -0,0 +1,46 @@
//
// tabs.scss
//
.nav-tabs,.nav-pills {
> li {
> a {
color: $gray-700;
font-weight: $font-weight-semibold;
}
}
}
.nav-pills {
> a {
color: $gray-700;
font-weight: $font-weight-semibold;
}
}
.bg-nav-pills {
background-color: $nav-pills-bg;
}
//
// nav-bordered
//
.nav-tabs.nav-bordered {
border-bottom: 2px solid rgba($gray-600, 0.2);
.nav-item {
margin-bottom: -1px;
}
li {
a {
border: 0;
padding: 0.625rem 1.25rem;
}
a.active {
border-bottom: 2px solid $primary;
}
}
}

View File

@@ -0,0 +1,5 @@
// Background lighten
@mixin bg-variant-light($color) {
background-color: rgba($color, 0.25) !important;
}

View File

@@ -0,0 +1,14 @@
// Lighten badge
@mixin badge-variant-light($bg) {
color: $bg;
background-color: rgba($bg, 0.18);
}
// Outline badge
@mixin badge-variant-outline($bg) {
color: $bg;
border: 1px solid $bg;
background-color: transparent;
}

View File

@@ -0,0 +1,5 @@
// Button shadow
@mixin button-shadow($color) {
box-shadow: $btn-box-shadow rgba($color, 0.5);
}