mirror of https://github.com/Fabio286/antares.git
chore: suppress some stylelint warns
This commit is contained in:
parent
c50d17e82b
commit
8cb2c197c8
|
@ -114,7 +114,6 @@ function startRenderer (callback) {
|
||||||
});
|
});
|
||||||
|
|
||||||
const server = new WebpackDevServer(compiler, {
|
const server = new WebpackDevServer(compiler, {
|
||||||
hot: true,
|
|
||||||
port: 9080,
|
port: 9080,
|
||||||
client: {
|
client: {
|
||||||
overlay: true,
|
overlay: true,
|
||||||
|
|
|
@ -35,7 +35,7 @@ const pressedKeys = computed(() => {
|
||||||
const keys: string[] = [];
|
const keys: string[] = [];
|
||||||
const singleKeysToIgnore = ['Dead', 'Backspace', 'ArrotLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown'];
|
const singleKeysToIgnore = ['Dead', 'Backspace', 'ArrotLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown'];
|
||||||
const specialKeys = ['Control', 'Alt', 'AltGraph', 'Shift', 'Meta', 'CapsLock', 'ContextMenu', 'Escape'];
|
const specialKeys = ['Control', 'Alt', 'AltGraph', 'Shift', 'Meta', 'CapsLock', 'ContextMenu', 'Escape'];
|
||||||
const keysFromCode = ['Space', 'Minus', 'Equal', 'Slash', 'Quote', 'Semicolon', 'Comma', 'Period', 'Backslash'];
|
const keysFromCode = ['Space', 'Minus', 'Equal', 'Slash', 'Quote', 'Semicolon', 'Comma', 'Period', 'Backslash', 'BracketLeft', 'BracketRight'];
|
||||||
|
|
||||||
if (keyboardEvent.value) {
|
if (keyboardEvent.value) {
|
||||||
if (keyboardEvent.value.altKey)
|
if (keyboardEvent.value.altKey)
|
||||||
|
@ -63,6 +63,8 @@ const pressedKeys = computed(() => {
|
||||||
.replace('Semicolon', ';')
|
.replace('Semicolon', ';')
|
||||||
.replace('Slash', '/')
|
.replace('Slash', '/')
|
||||||
.replace('Backslash', '\\')
|
.replace('Backslash', '\\')
|
||||||
|
.replace('BracketLeft', '[')
|
||||||
|
.replace('BracketRight', ']')
|
||||||
.replace('Comma', ',')
|
.replace('Comma', ',')
|
||||||
.replace('Period', '.')
|
.replace('Period', '.')
|
||||||
.replace('Minus', '-')
|
.replace('Minus', '-')
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
@mixin type-colors($types) {
|
@mixin type-colors($types) {
|
||||||
@each $type, $color in $types {
|
@each $type, $color in $types {
|
||||||
.type-#{$type} {
|
.type-#{$type} {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
display: table-row;
|
display: table-row;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scollable tables
|
/* Scollable tables */
|
||||||
&.table-scroll {
|
&.table-scroll {
|
||||||
display: block;
|
display: block;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* stylelint-disable selector-class-pattern */
|
||||||
.column-key {
|
.column-key {
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
font-size: 0.7rem;
|
font-size: 0.7rem;
|
||||||
|
|
|
@ -38,4 +38,5 @@ $footer-height: 1.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* stylelint-disable-next-line function-no-unknown */
|
||||||
$excluding-size: get-excluding-size();
|
$excluding-size: get-excluding-size();
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* stylelint-disable selector-class-pattern */
|
||||||
@import "~spectre.css/src/variables";
|
@import "~spectre.css/src/variables";
|
||||||
@import "variables";
|
@import "variables";
|
||||||
@import "transitions";
|
@import "transitions";
|
||||||
|
@ -108,7 +109,7 @@ option:checked {
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
padding: 0.1rem 0.2rem;
|
padding: 0.1rem 0.2rem;
|
||||||
min-width: -webkit-fill-available;
|
min-width: fill-available;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,13 +168,13 @@ option:checked {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scrollbars
|
/* Scrollbars */
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Animations
|
/* Animations */
|
||||||
@keyframes rotation {
|
@keyframes rotation {
|
||||||
from {
|
from {
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
|
@ -210,15 +211,14 @@ option:checked {
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-overlay {
|
.modal-overlay {
|
||||||
background: rgba(255, 255, 255, 0.1);
|
background: rgb(255 255 255 / 10%);
|
||||||
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
|
box-shadow: 0 8px 32px 0 rgb(31 38 135 / 37%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#wrapper:not(.no-blur) {
|
#wrapper:not(.no-blur) {
|
||||||
.modal-overlay {
|
.modal-overlay {
|
||||||
backdrop-filter: blur(4px);
|
backdrop-filter: blur(4px);
|
||||||
-webkit-backdrop-filter: blur(4px);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -330,7 +330,7 @@ option:checked {
|
||||||
z-index: 401 !important;
|
z-index: 401 !important;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
box-shadow: 0 8px 17px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.select__option--selected {
|
.select__option--selected {
|
||||||
|
@ -409,7 +409,7 @@ option:checked {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ace Editor
|
/* Ace Editor */
|
||||||
.ace_editor {
|
.ace_editor {
|
||||||
&.ace_autocomplete {
|
&.ace_autocomplete {
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
|
Loading…
Reference in New Issue