Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

7 changes: 0 additions & 7 deletions .prettierrc.json

This file was deleted.

27 changes: 17 additions & 10 deletions eslint.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import pluginVue from 'eslint-plugin-vue'
import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'
import pluginVue from "eslint-plugin-vue";
import {
defineConfigWithVueTs,
vueTsConfigs,
} from "@vue/eslint-config-typescript";
import prettierConfig from "@vue/eslint-config-prettier";

// To allow more languages other than `ts` in `.vue` files, uncomment the following lines:
// import { configureVueProject } from '@vue/eslint-config-typescript'
Expand All @@ -9,17 +12,21 @@ import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'

export default defineConfigWithVueTs(
{
name: 'app/files-to-lint',
files: ['**/*.{ts,mts,tsx,vue}'],
name: "app/files-to-lint",
files: ["**/*.{ts,mts,tsx,vue}"],
},

{
name: 'app/files-to-ignore',
name: "app/files-to-ignore",
// todo: change or remove assets/js
ignores: ['src/assets/js', '**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
ignores: [
"src/assets/js",
"**/dist/**",
"**/dist-ssr/**",
"**/coverage/**"]
},

pluginVue.configs['flat/essential'],
pluginVue.configs["flat/essential"],
vueTsConfigs.recommended,
skipFormatting,
)
prettierConfig,
)
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "datta-able-free-vue-admin-template",
"version": "1.1.0",
"version": "1.2.0",
"private": false,
"license": "MIT",
"author": "CodedThemes",
Expand Down
8 changes: 4 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script setup lang="ts">
import { RouterView } from 'vue-router'
import { RouterView } from "vue-router";

document.body.setAttribute('data-pc-theme', 'light')
document.body.setAttribute('data-pc-direction', 'ltr')
document.body.setAttribute('data-pc-preset', 'preset-1')
document.body.setAttribute("data-pc-theme", "light");
document.body.setAttribute("data-pc-direction", "ltr");
document.body.setAttribute("data-pc-preset", "preset-1");
</script>

<template>
Expand Down
12 changes: 7 additions & 5 deletions src/assets/scss/landing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ File: style.css
=================================================================================== */

// main framework
@use 'sass:color';

@import 'bootstrap/scss/functions';
@import 'bootstrap/scss/variables';
@import 'settings/color-variables';
Expand Down Expand Up @@ -65,12 +67,11 @@ section {

&.top-nav-collapse.default {
padding: 26px 0;
box-shadow: none;

@include media-breakpoint-up(md) {
@media (min-width: 776px) {
background: transparent !important;
}

box-shadow: none;
}

&.default,
Expand Down Expand Up @@ -506,6 +507,7 @@ header {
section {
padding: 40px 0;
}

.call-to-action .cta-block .gift-icon {
display: none;
}
Expand Down Expand Up @@ -545,8 +547,8 @@ header {
background: $dark-layout-color;

.bg-white {
background: lighten($dark-layout-color, 4%) !important;
--bs-white: lighten($dark-layout-color, 4%);
background: #{color.adjust($dark-layout-color, $lightness: 4%)} !important;
--bs-white: #{color.adjust($dark-layout-color, $lightness: 4%)};
}
}

Expand Down
5 changes: 3 additions & 2 deletions src/assets/scss/settings/_bootstrap-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ $position-values: (
body {
font-feature-settings: 'salt';
}

$body-bg: #f4f7fa; // change
$body-color: #888; // change
$body-text-align: null;
Expand Down Expand Up @@ -888,14 +889,14 @@ $form-validation-states: (
// of components dependent on the z-axis and are designed to all work together.

// scss-docs-start zindex-stack
$zindex-dropdown: 1026;
$zindex-dropdown: 1024;
$zindex-sticky: 1020;
$zindex-fixed: 1030;
$zindex-offcanvas-backdrop: 1040;
$zindex-offcanvas: 1045;
$zindex-modal-backdrop: 1050;
$zindex-modal: 1055;
$zindex-popover: 1070;
$zindex-popover: 1025;
$zindex-tooltip: 1081;
$zindex-toast: 1090;
// scss-docs-end zindex-stack
Expand Down
10 changes: 2 additions & 8 deletions src/assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,9 @@ File: style.css
@import 'themes/pages/admin';

// custom plugins
@import 'themes/plugins/sweatalert';
@import 'themes/plugins/lightbox';
@import 'themes/plugins/notification';
@import 'themes/plugins/modal';
@import 'themes/plugins/rangeslider';
@import 'themes/plugins/daterange';
@import 'themes/plugins/tags-input';
@import 'themes/plugins/slider';
@import 'themes/plugins/switches';
@import 'themes/plugins/apexchart';
@import 'themes/plugins/data-tables';
@import 'themes/plugins/scrollbar';

@import 'themes/layouts/customizer';
1 change: 1 addition & 0 deletions src/assets/scss/themes/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
2. Custom css start
========================== **/
@use 'sass:map';

* {
&:focus {
outline: none;
Expand Down
1 change: 1 addition & 0 deletions src/assets/scss/themes/_generic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
========================== **/
/*====== Padding , Margin css starts ======*/
@use 'sass:map';

$i: 0;
@while $i<=50 {
.p {
Expand Down
3 changes: 2 additions & 1 deletion src/assets/scss/themes/components/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// 19. Form css start
// ============================
@use 'sass:color';

select.form-control,
.form-control {
&:hover {
Expand Down Expand Up @@ -79,7 +80,7 @@ select.form-control {

i {
position: absolute;
top: 14px;
top: 12px;
left: 15px;
font-size: 20px;
}
Expand Down
1 change: 1 addition & 0 deletions src/assets/scss/themes/components/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// 17. Table css start
// ============================
@use 'sass:color';

.table {
&.table-align-center {
td,
Expand Down
6 changes: 6 additions & 0 deletions src/assets/scss/themes/layouts/_customizer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
36. Customizer css start
========================== **/
@use 'sass:map';

// main framework
.pct-c-btn {
display: block;
Expand Down Expand Up @@ -50,6 +51,7 @@
transform: rotate(360deg);
}
}

.pct-tabs {
background: rgba(var(--bs-primary-rgb), 0.06);
border-top: 1px solid var(--bs-border-color);
Expand Down Expand Up @@ -220,6 +222,7 @@
$i: $i + 1;
}
}

&.navbar-img {
> a {
width: 45px;
Expand All @@ -228,16 +231,19 @@
background-size: cover;
}
}

&.drp-menu-link-icon,
&.drp-menu-icon {
> a {
width: 45px;
height: 45px;
border: 2px solid var(--bs-border-color);

i {
transform: scale(1);
color: var(--bs-body-color);
}

&.active {
flex: none;
border-color: var(--bs-primary);
Expand Down
1 change: 1 addition & 0 deletions src/assets/scss/themes/layouts/_pc-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// 6. Common layout css start
// ============================
@use 'sass:color';

.pc-container {
$temp: $header-height + 66;
position: relative;
Expand Down
1 change: 1 addition & 0 deletions src/assets/scss/themes/layouts/_pc-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// 4. header css start
// ============================
@use 'sass:color';

.pc-header {
background: var(--pc-header-background);
color: var(--pc-header-color);
Expand Down
3 changes: 3 additions & 0 deletions src/assets/scss/themes/layouts/_pc-horizontal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// 8. Horizontal layout css start
// ========================================
@use 'sass:color';

[data-pc-layout='horizontal'] {
@media (min-width: 1025px) {
.pc-header {
Expand Down Expand Up @@ -180,6 +181,7 @@
.pc-item {
display: block;
position: relative;

.pc-link {
display: block;
}
Expand Down Expand Up @@ -268,6 +270,7 @@
&:hover {
> .pc-submenu {
display: block;
z-index: 1020;
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions src/assets/scss/themes/layouts/_pc-sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// ============================
@use 'sass:map';
@use 'sass:color';

.b-brand {
display: flex;
align-items: center;
Expand All @@ -18,6 +19,7 @@
svg {
stroke: #fff;
}

i {
color: #fff;
}
Expand Down Expand Up @@ -177,6 +179,7 @@

.pc-submenu {
padding: 15px 0;

.pc-item {
> .pc-link {
&:after {
Expand Down Expand Up @@ -357,9 +360,11 @@
display: none;
}
}

[data-pc-navimg*='preset-'] {
.pc-sidebar {
background-size: cover;

.navbar-wrapper {
background: rgba(0, 0, 0, 0.5);
}
Expand All @@ -386,6 +391,7 @@
top: 6px;
opacity: 0;
}

&.active,
&:hover {
> .pc-link:after {
Expand All @@ -396,6 +402,7 @@
}
}
}

@media (min-width: 1025px) {
.navbar-overlay {
.pc-sidebar {
Expand Down Expand Up @@ -521,6 +528,7 @@
&:focus,
&:hover {
color: var(--pc-header-color);

> svg,
> i {
color: var(--pc-header-color);
Expand Down Expand Up @@ -587,6 +595,7 @@
.breadcrumb-item,
a {
color: #fff;

&:active,
&:focus,
&:hover {
Expand Down
Loading