Migrate to modernize template

This commit is contained in:
Marek Lesko
2025-10-19 16:34:01 +00:00
parent 9deee01ba3
commit aba8943d17
666 changed files with 25377 additions and 45152 deletions

View File

@@ -0,0 +1,33 @@
@use "../variables" as *;
.breadcrumb-icon {
position: absolute;
top: -20px;
right: 19px;
}
.breadcrumb {
list-style: none;
margin: 0;
padding: 0px;
display: flex;
}
.breadcrumb-item {
padding: 0 10px 0 0;
&:first-child {
&::marker {
display: none;
}
}
a {
text-decoration: none;
font-size: 14px;
&:hover {
color: $primary;
}
}
}

View File

@@ -0,0 +1,118 @@
@use "../variables" as *;
html .customizerNav {
border-radius: 0px !important;
width: 100%;
}
.customizer-button-group {
&.two-row {
display: inline-block;
&.theme-colors {
.mat-button-toggle-appearance-standard {
margin-left: 16px;
&:first-child {
margin-left: 0;
}
}
}
.mat-button-toggle-appearance-standard {
width: 80px;
height: 65px;
float: left;
display: flex;
align-items: center;
margin-bottom: 16px;
.mat-button-toggle-button {
display: flex;
justify-content: center;
}
&:nth-child(4) {
margin-left: 0;
}
&.mat-button-toggle-checked {
.theme-circle {
.theme-icon {
display: flex;
color: $white;
}
}
}
.theme-circle {
width: 25px;
height: 25px;
border-radius: var(--mat-sys-corner-full);
color: $white;
display: flex;
align-items: center;
justify-content: center;
.theme-icon {
display: none;
}
&.orange_theme {
background-color: rgb(250, 137, 107);
}
&.blue_theme {
background-color: rgb(93, 135, 255);
}
&.aqua_theme {
background-color: rgb(0, 116, 186);
}
&.purple_theme {
background-color: rgb(118, 62, 189);
}
&.green_theme {
background-color: rgb(10, 126, 164);
}
&.cyan_theme {
background-color: rgb(1, 192, 200);
}
}
}
}
.mat-button-toggle-appearance-standard {
padding: 9px;
border: 1px solid var(--mat-sys-outline-variant) !important;
box-shadow: none;
border-radius: $border-radius;
transition: all 0.1s ease-in 0s;
&:hover {
transform: scale(1.05);
}
&.mat-button-toggle-checked {
background-color: var(--mat-sys-primary-fixed-dim);
i-tabler.fill-icon {
color: var(--mat-sys-primary);
fill: var(--mat-sys-on-primary);
}
}
}
&.mat-button-toggle-group {
overflow: unset;
border-radius: 0;
}
.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,
&.mat-button-toggle-group-appearance-standard {
border: 0 !important;
}
}

View File

@@ -0,0 +1,64 @@
@use "../variables" as *;
html .topbar {
position: sticky;
top: 0;
z-index: 9;
height: $header-height;
.notification-badge{
.mat-badge-content{
left: 80%;
bottom: 85%;
width: 16px;
height: 16px;
}
}
}
.topbar-dd {
min-width: 360px !important;
}
.apps-dd {
min-width: 830px !important;
overflow: unset !important;
.mat-mdc-menu-content {
padding: 0;
}
}
.text-hover-primary:hover {
.hover-text {
color: $primary;
}
}
.upgrade-bg {
position: absolute;
top: 0px;
right: 0px;
height: 100%;
}
.object-cover {
object-fit: cover;
}
.profile-dd {
margin-top: -5px;
margin-left: -5px;
}
.dark-theme {
.topbar {
.mat-mdc-icon-button {
color: $dark-text-secondary !important;
}
.mdc-button {
--mat-button-text-label-text-color: $dark-text-secondary !important;
}
}
}

View File

@@ -0,0 +1,4 @@
@use "sidebar";
@use "header";
@use "customizer";
@use "breacrumb";

View File

@@ -0,0 +1,210 @@
@use "../variables" as *;
.mat-drawer.sidebarNav {
width: $sidenav-desktop;
flex-shrink: 0;
transition: swift-ease-out(width);
position: absolute;
overflow-x: hidden;
border-right: 1px solid $borderColor;
border-radius: 0px !important;
}
.branding {
padding: 20px;
}
.sidebarNav-mini {
.sidebarNav {
width: $sidenav-mini;
.profile-bar {
display: none;
}
.sidebar-list {
.menu-list-item {
padding: 8px 17px;
.mdc-list-item__content {
display: none;
}
.mdc-list-item__start {
margin-left: 6px !important;
margin-right: 8px !important;
}
}
}
&:hover {
width: $sidenav-desktop;
.profile-bar {
display: block;
}
.sidebar-list {
.menu-list-item {
padding: 8px 10px;
.mdc-list-item__content {
display: inline;
}
.mdc-list-item__start {
margin-left: 0 !important;
}
}
&.mdc-list {
padding: 0 24px;
max-width: $sidenav-desktop;
.mdc-list-group__subheader {
text-align: left;
}
}
}
}
}
.hideMenu {
overflow: hidden;
width: $sidenav-mini;
}
.branding {
width: $sidenav-mini - 15px;
overflow: hidden;
}
.sidebar-list {
&.mdc-list {
padding: 0 12px;
.mdc-list-group__subheader {
text-align: center;
}
}
}
.contentWrapper {
transition: swift-ease-out(width);
}
}
@media (min-width: 1024px) {
.sidebarNav-mini {
.contentWrapper {
margin-left: $sidenav-mini !important;
}
}
}
.customizerBtn {
position: fixed;
right: 30px;
bottom: 30px;
z-index: 9;
}
.sidebar-list {
&.mdc-list {
padding: 0 24px;
.mdc-list-group__subheader {
margin: 12px 0;
text-transform: uppercase;
font-size: 0.75rem;
font-weight: 700;
margin-top: 24px;
}
.menu-list-item {
height: 45px;
padding: 8px 10px !important;
margin-bottom: 2px;
&.twoline {
height: 60px;
align-items: center;
}
&:before,
&:focus {
z-index: -1;
}
&.disabled {
opacity: 0.38;
}
.item-chip {
height: 24px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
}
&.activeMenu {
background-color: var(--mat-sys-primary);
.mdc-list-item__primary-text {
color: $white !important;
}
.mat-mdc-list-item-icon {
color: $white !important;
}
}
.mdc-list-item__start {
margin-right: 14px;
margin-left: 0 !important;
width: 20px;
height: 20px;
line-height: 0px;
fill: transparent !important;
}
.mdc-list-item__primary-text {
display: flex;
align-items: center;
justify-content: space-between;
.arrow-icon {
display: flex;
.mat-icon {
font-size: 18px;
width: 18px;
height: 18px;
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
}
}
.sidebar-list .top-parent .menu-list-item.activemenu {
background-color: color-mix(in srgb, var(--mat-sys-primary) 10%, transparent);
.mdc-list-item__primary-text {
color: var(--mat-sys-primary) !important;
}
.mat-mdc-list-item-icon {
color: var(--mat-sys-primary) !important;
}
}
.flex-layout {
display: flex;
flex-direction: column;
height: 100%;
}

View File

@@ -0,0 +1,17 @@
$swift-ease-out-duration: 400ms;
$swift-ease-out-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
@function swift-ease-out($property) {
// The Material default animation curves.
$transition: $property $swift-ease-out-duration
$swift-ease-out-timing-function;
@return $transition;
}
@function fast-out-slow($property) {
// The Material default animation curves.
$transition: $property 225ms cubic-bezier(0.4, 0, 0.2, 1);
@return $transition;
}