Skip to content

Commit c42a810

Browse files
committed
refactor(assets): updated version 2.0.0
1 parent 404032b commit c42a810

File tree

146 files changed

+34570
-36324
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+34570
-36324
lines changed

assets/css/demo.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
font-size: 1.25rem;
2121
}
2222

23+
.authentication-wrapper .app-brand-text.demo {
24+
font-size: 1.5rem;
25+
text-transform: capitalize;
26+
}
2327
/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
2428
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
2529
padding-top: 64px !important;

assets/img/icons/misc/aviato.png

-139 Bytes
Loading

assets/img/icons/misc/bitbank.png

-210 Bytes
Loading

assets/img/icons/misc/zipcar.png

-170 Bytes
Loading
1.43 KB
Loading
94 Bytes
Loading

assets/js/config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88
'use strict';
99

1010
// JS global variables
11-
let config = {
11+
window.config = {
1212
colors: {
13-
primary: '#9055fd',
13+
primary: '#8c57ff',
1414
secondary: '#8a8d93',
1515
success: '#56ca00',
1616
info: '#16b1ff',
1717
warning: '#ffb400',
1818
danger: '#ff4c51',
1919
dark: '#4b4b4b',
20-
black: '#3a3541',
20+
black: '#2e263d',
2121
white: '#fff',
2222
cardColor: '#fff',
2323
bodyBg: '#f4f5fa',
24-
bodyColor: '#89868d',
25-
headingColor: '#544f5a',
26-
textMuted: '#b4b2b7',
27-
borderColor: '#e7e7e8',
24+
bodyColor: '#6D6777',
25+
headingColor: '#433C50',
26+
textMuted: '#ABA8B1',
27+
borderColor: '#E6E5E8',
2828
chartBgColor: '#F0F2F8'
2929
}
3030
};

assets/js/dashboards-analytics.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@
7070
}
7171
},
7272
xaxis: {
73+
axisTicks: { show: false },
74+
crosshairs: { opacity: 0 },
75+
axisBorder: { show: false },
7376
categories: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
7477
tickPlacement: 'on',
7578
labels: {
@@ -92,7 +95,7 @@
9295
return parseInt(val) + 'K';
9396
},
9497
style: {
95-
fontSize: '0.75rem',
98+
fontSize: '13px',
9699
fontFamily: 'Inter',
97100
colors: labelColor
98101
}

assets/js/main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,14 @@ let menu, animate;
117117
return new bootstrap.Tooltip(tooltipTriggerEl);
118118
});
119119

120-
// Accordion active class
120+
// Accordion active class and previous-active class
121121
const accordionActiveFunction = function (e) {
122122
if (e.type == 'show.bs.collapse' || e.type == 'show.bs.collapse') {
123123
e.target.closest('.accordion-item').classList.add('active');
124+
e.target.closest('.accordion-item').previousElementSibling?.classList.add('previous-active');
124125
} else {
125126
e.target.closest('.accordion-item').classList.remove('active');
127+
e.target.closest('.accordion-item').previousElementSibling?.classList.remove('previous-active');
126128
}
127129
};
128130

assets/js/ui-toasts.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
function toastDispose(toast) {
1616
if (toast && toast._element !== null) {
1717
if (toastPlacementExample) {
18-
toastPlacementExample.querySelector('i.mdi').classList.remove(selectedType);
18+
toastPlacementExample.querySelectorAll('i[class^="ri-"]').forEach(function (element) {
19+
element.classList.remove(selectedType);
20+
});
1921
DOMTokenList.prototype.remove.apply(toastPlacementExample.classList, selectedPlacement);
2022
}
2123
toast.dispose();
@@ -30,7 +32,9 @@
3032
selectedType = document.querySelector('#selectTypeOpt').value;
3133
selectedPlacement = document.querySelector('#selectPlacement').value.split(' ');
3234

33-
toastPlacementExample.querySelector('i.mdi').classList.add(selectedType);
35+
toastPlacementExample.querySelectorAll('i[class^="ri-"]').forEach(function (element) {
36+
element.classList.add(selectedType);
37+
});
3438
DOMTokenList.prototype.add.apply(toastPlacementExample.classList, selectedPlacement);
3539
toastPlacement = new bootstrap.Toast(toastPlacementExample);
3640
toastPlacement.show();

0 commit comments

Comments
 (0)