run stylelint for the project

This commit is contained in:
LouisLam
2021-08-24 23:38:25 +08:00
parent 2b68be52b0
commit 302d2665d2
10 changed files with 45 additions and 40 deletions

View File

@@ -2,7 +2,7 @@
@import "node_modules/bootstrap/scss/bootstrap";
#app {
font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,noto sans,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol,noto color emoji;
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji;
}
h1 {
@@ -18,7 +18,7 @@ h2 {
}
::-webkit-scrollbar-thumb {
background: #CCC;
background: #ccc;
border-radius: 20px;
}
@@ -28,7 +28,7 @@ h2 {
.modal-content {
border-radius: 1rem;
box-shadow: 0 15px 70px rgba(0, 0, 0, .1);
box-shadow: 0 15px 70px rgba(0, 0, 0, 0.1);
.dark & {
box-shadow: 0 15px 70px rgb(0 0 0);
@@ -41,10 +41,9 @@ h2 {
text-align: center;
}
.shadow-box {
//overflow: hidden; // Forget why add this, but multiple select hide by this
box-shadow: 0 15px 70px rgba(0, 0, 0, .1);
box-shadow: 0 15px 70px rgba(0, 0, 0, 0.1);
padding: 10px;
border-radius: 10px;
@@ -81,7 +80,6 @@ h2 {
}
@media (max-width: 550px) {
.table-shadow-box {
padding: 10px !important;
@@ -89,7 +87,7 @@ h2 {
display: none;
}
tbody {
tbody {
.shadow-box {
background-color: white;
}
@@ -126,12 +124,11 @@ h2 {
}
}
}
}
// Dark Theme override here
.dark {
background-color: #090C10;
background-color: #090c10;
color: $dark-font-color;
&::-webkit-scrollbar-thumb {
@@ -173,7 +170,7 @@ h2 {
}
.table-hover > tbody > tr:hover {
--bs-table-accent-bg: #070A10;
--bs-table-accent-bg: #070a10;
color: $dark-font-color;
}
@@ -263,11 +260,13 @@ h2 {
// page-change
.slide-fade-enter-active {
transition: all 0.20s $easing-in;
transition: all 0.2s $easing-in;
}
.slide-fade-leave-active {
transition: all 0.20s $easing-in;
transition: all 0.2s $easing-in;
}
.slide-fade-enter-from,
.slide-fade-leave-to {
transform: translateY(50px);

View File

@@ -1,5 +1,5 @@
$primary: #5CDD8B;
$danger: #DC3545;
$primary: #5cdd8b;
$danger: #dc3545;
$warning: #f8a306;
$link-color: #111;
$border-radius: 50rem;
@@ -9,10 +9,10 @@ $highlight-white: #e7faec;
$dark-font-color: #b1b8c0;
$dark-font-color2: #020b05;
$dark-bg: #0D1117;
$dark-bg2: #070A10;
$dark-bg: #0d1117;
$dark-bg2: #070a10;
$dark-border-color: #1d2634;
$easing-in: cubic-bezier(0.54,0.78,0.55,0.97);
$easing-in: cubic-bezier(0.54, 0.78, 0.55, 0.97);
$easing-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
$easing-in-out: cubic-bezier(0.79, 0.14, 0.15, 0.86);