diff --git a/.stylelintrc b/.stylelintrc index 079be0a0..b3da73da 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -10,6 +10,7 @@ "rules": { "at-rule-no-unknown": null, "no-descending-specificity": null, + "font-family-no-missing-generic-family-keyword": null, "declaration-colon-newline-after": "always-multi-line" }, "syntax": "scss" diff --git a/src/renderer/components/ModalAllConnections.vue b/src/renderer/components/ModalAllConnections.vue index 09910111..ea9f840a 100644 --- a/src/renderer/components/ModalAllConnections.vue +++ b/src/renderer/components/ModalAllConnections.vue @@ -126,7 +126,7 @@ key="trick" readonly class="p-absolute" - style="width: 1px; height: 1px; opacity: 0" + style="width: 1px; height: 1px; opacity: 0;" type="text" > @@ -270,89 +270,87 @@ onBeforeUnmount(() => { diff --git a/src/renderer/components/ModalSettings.vue b/src/renderer/components/ModalSettings.vue index a8311487..de945e5e 100644 --- a/src/renderer/components/ModalSettings.vue +++ b/src/renderer/components/ModalSettings.vue @@ -538,10 +538,10 @@ onBeforeUnmount(() => { .modal-body { overflow: hidden; - .tab-link{ - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; + .tab-link { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } .panel-body { diff --git a/src/renderer/components/TheSettingBar.vue b/src/renderer/components/TheSettingBar.vue index cbcc8db1..c276226c 100644 --- a/src/renderer/components/TheSettingBar.vue +++ b/src/renderer/components/TheSettingBar.vue @@ -245,7 +245,7 @@ watch(selectedWorkspace, (newVal, oldVal) => { height: calc(100vh - #{$excluding-size}); display: flex; flex-direction: column; - // justify-content: space-between; + // justify-content: space-between; align-items: center; padding: 0; z-index: 9; @@ -319,7 +319,7 @@ watch(selectedWorkspace, (newVal, oldVal) => { } } - .settingbar-element-pin{ + .settingbar-element-pin { margin: 0 auto; &::before { @@ -327,7 +327,7 @@ watch(selectedWorkspace, (newVal, oldVal) => { content: "\F0403"; color: $body-font-color-dark; transform: rotate(45deg); - opacity: .25; + opacity: 0.25; bottom: -8px; left: -4px; position: absolute; diff --git a/src/renderer/components/WorkspaceAddConnectionPanel.vue b/src/renderer/components/WorkspaceAddConnectionPanel.vue index f6c9bfcc..2338e407 100644 --- a/src/renderer/components/WorkspaceAddConnectionPanel.vue +++ b/src/renderer/components/WorkspaceAddConnectionPanel.vue @@ -560,7 +560,7 @@ setTimeout(() => { .connection-panel { margin-left: auto; margin-right: auto; - margin-bottom: .5rem; + margin-bottom: 0.5rem; margin-top: 1.5rem; .panel { diff --git a/src/renderer/components/WorkspaceEditConnectionPanel.vue b/src/renderer/components/WorkspaceEditConnectionPanel.vue index 610506ce..2afd29f1 100644 --- a/src/renderer/components/WorkspaceEditConnectionPanel.vue +++ b/src/renderer/components/WorkspaceEditConnectionPanel.vue @@ -551,7 +551,7 @@ localConnection.value = JSON.parse(JSON.stringify(props.connection)); .connection-panel { margin-left: auto; margin-right: auto; - margin-bottom: .5rem; + margin-bottom: 0.5rem; margin-top: 1.5rem; .panel { diff --git a/src/renderer/components/WorkspaceQueryConsole.vue b/src/renderer/components/WorkspaceQueryConsole.vue index 7f703ffe..570a1ab2 100644 --- a/src/renderer/components/WorkspaceQueryConsole.vue +++ b/src/renderer/components/WorkspaceQueryConsole.vue @@ -119,61 +119,62 @@ onMounted(() => { }); diff --git a/src/renderer/scss/_variables.scss b/src/renderer/scss/_variables.scss index 19da6c0e..aa024091 100644 --- a/src/renderer/scss/_variables.scss +++ b/src/renderer/scss/_variables.scss @@ -28,13 +28,14 @@ $settingbar-width: 3rem; $explorebar-width: 14rem; $footer-height: 1.5rem; -@function get-excluding-size(){ - @if $platform == linux{ - @return $footer-height; - } - @else { - @return $footer-height + $titlebar-height; - } +@function get-excluding-size() { + @if $platform == linux { + @return $footer-height; + } + + @else { + @return $footer-height + $titlebar-height; + } } $excluding-size: get-excluding-size(); diff --git a/src/renderer/scss/main.scss b/src/renderer/scss/main.scss index 05fae1e7..ce732073 100644 --- a/src/renderer/scss/main.scss +++ b/src/renderer/scss/main.scss @@ -362,8 +362,9 @@ option:checked { .accordion-body { max-height: 5000rem !important; } + .btn { - &:focus{ + &:focus { box-shadow: 0 0 3px 1px rgba($primary-color, 90%); } diff --git a/src/renderer/scss/themes/dark-theme.scss b/src/renderer/scss/themes/dark-theme.scss index b637223f..28e1afb8 100644 --- a/src/renderer/scss/themes/dark-theme.scss +++ b/src/renderer/scss/themes/dark-theme.scss @@ -256,7 +256,7 @@ } } - .connection-block{ + .connection-block { &:hover { background: $bg-color-light-dark; } @@ -308,13 +308,13 @@ .query-console { border-top: 1px solid #444; background-color: $bg-color-dark; - + .query-console-log { &:hover, &:focus { - background: $bg-color-gray; + background: $bg-color-gray; } - } + } } .tile { diff --git a/src/renderer/scss/themes/light-theme.scss b/src/renderer/scss/themes/light-theme.scss index 9bc788b0..55fad7aa 100644 --- a/src/renderer/scss/themes/light-theme.scss +++ b/src/renderer/scss/themes/light-theme.scss @@ -131,13 +131,13 @@ .query-console { border-top: 1px solid darken($bg-color-light-gray, 15%); background-color: $bg-color-light; - + .query-console-log { &:hover, &:focus { - background: $bg-color-light-gray; + background: $bg-color-light-gray; } - } + } } #titlebar { @@ -234,7 +234,7 @@ .table-size { opacity: 0.4; - + &:hover { opacity: 1; } @@ -290,8 +290,8 @@ background: rgba($bg-color-light-gray, 100%); } } - - .connection-block{ + + .connection-block { &:hover { background: $bg-color-light-gray; }