style: general lint fix

This commit is contained in:
Fabio Di Stasio 2022-08-09 16:18:21 +02:00
parent 44eb507a12
commit 19205e0736
11 changed files with 142 additions and 140 deletions

View File

@ -10,6 +10,7 @@
"rules": { "rules": {
"at-rule-no-unknown": null, "at-rule-no-unknown": null,
"no-descending-specificity": null, "no-descending-specificity": null,
"font-family-no-missing-generic-family-keyword": null,
"declaration-colon-newline-after": "always-multi-line" "declaration-colon-newline-after": "always-multi-line"
}, },
"syntax": "scss" "syntax": "scss"

View File

@ -126,7 +126,7 @@
key="trick" key="trick"
readonly readonly
class="p-absolute" class="p-absolute"
style="width: 1px; height: 1px; opacity: 0" style="width: 1px; height: 1px; opacity: 0;"
type="text" type="text"
> >
<!-- workaround for useFocusTrap $lastFocusable --> <!-- workaround for useFocusTrap $lastFocusable -->
@ -276,7 +276,6 @@ onBeforeUnmount(() => {
} }
.column-resizable { .column-resizable {
&:hover, &:hover,
&:active { &:active {
resize: horizontal; resize: horizontal;
@ -315,29 +314,28 @@ onBeforeUnmount(() => {
.connection-block { .connection-block {
cursor: pointer; cursor: pointer;
transition: all .2s; transition: all 0.2s;
border-radius: $border-radius; border-radius: $border-radius;
outline: none; outline: none;
&:focus { &:focus {
box-shadow: 0 0 3px .1rem rgba($primary-color, 80%); box-shadow: 0 0 3px 0.1rem rgba($primary-color, 80%);
} }
&:hover { &:hover {
.all-connections-buttons { .all-connections-buttons {
.all-connections-delete, .all-connections-delete,
.all-connections-pinned, .all-connections-pinned,
.all-connections-pin { .all-connections-pin {
opacity: .5; opacity: 0.5;
} }
} }
} }
.all-connections-buttons { .all-connections-buttons {
.all-connections-pinned { .all-connections-pinned {
opacity: .3; opacity: 0.3;
transition: opacity .2s; transition: opacity 0.2s;
&:hover { &:hover {
opacity: 1; opacity: 1;
@ -347,7 +345,7 @@ onBeforeUnmount(() => {
.all-connections-delete, .all-connections-delete,
.all-connections-pin { .all-connections-pin {
opacity: 0; opacity: 0;
transition: opacity .2s; transition: opacity 0.2s;
&:hover { &:hover {
opacity: 1; opacity: 1;

View File

@ -327,7 +327,7 @@ watch(selectedWorkspace, (newVal, oldVal) => {
content: "\F0403"; content: "\F0403";
color: $body-font-color-dark; color: $body-font-color-dark;
transform: rotate(45deg); transform: rotate(45deg);
opacity: .25; opacity: 0.25;
bottom: -8px; bottom: -8px;
left: -4px; left: -4px;
position: absolute; position: absolute;

View File

@ -560,7 +560,7 @@ setTimeout(() => {
.connection-panel { .connection-panel {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-bottom: .5rem; margin-bottom: 0.5rem;
margin-top: 1.5rem; margin-top: 1.5rem;
.panel { .panel {

View File

@ -551,7 +551,7 @@ localConnection.value = JSON.parse(JSON.stringify(props.connection));
.connection-panel { .connection-panel {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-bottom: .5rem; margin-bottom: 0.5rem;
margin-top: 1.5rem; margin-top: 1.5rem;
.panel { .panel {

View File

@ -143,6 +143,7 @@ onMounted(() => {
.query-console { .query-console {
padding: 0; padding: 0;
padding-bottom: $footer-height; padding-bottom: $footer-height;
.query-console-header { .query-console-header {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@ -165,8 +166,9 @@ onMounted(() => {
.query-console-log-sql { .query-console-log-sql {
font-size: 95%; font-size: 95%;
opacity: .8; opacity: 0.8;
font-weight: 700; font-weight: 700;
&:hover { &:hover {
user-select: text; user-select: text;
} }
@ -174,6 +176,5 @@ onMounted(() => {
} }
} }
} }
} }
</style> </style>

View File

@ -32,6 +32,7 @@ $footer-height: 1.5rem;
@if $platform == linux { @if $platform == linux {
@return $footer-height; @return $footer-height;
} }
@else { @else {
@return $footer-height + $titlebar-height; @return $footer-height + $titlebar-height;
} }

View File

@ -362,6 +362,7 @@ option:checked {
.accordion-body { .accordion-body {
max-height: 5000rem !important; max-height: 5000rem !important;
} }
.btn { .btn {
&:focus { &:focus {
box-shadow: 0 0 3px 1px rgba($primary-color, 90%); box-shadow: 0 0 3px 1px rgba($primary-color, 90%);