0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-21 13:38:21 -05:00

[CodeFactor] Apply fixes

This commit is contained in:
codefactor-io 2023-11-21 20:30:47 +00:00
parent 9bb1544bd7
commit 69eb815d25
No known key found for this signature in database
GPG Key ID: B66B2D63282C190F
6 changed files with 26 additions and 27 deletions

View File

@ -7,5 +7,5 @@
--color-four: #f9e2af; --color-four: #f9e2af;
--color-five: #89b4fa; --color-five: #89b4fa;
--color-six: #f5c2e7; --color-six: #f5c2e7;
--color-seven: #ffffff; --color-seven: #fff;
} }

View File

@ -1,11 +1,11 @@
:root { :root {
--background-color: #000000; --background-color: #000;
--foreground-color: #ffffff; --foreground-color: #fff;
--color-one: #121212; --color-one: #121212;
--color-two: #808080; --color-two: #808080;
--color-three: #999999; --color-three: #999;
--color-four: #666666; --color-four: #666;
--color-five: #bfbfbf; --color-five: #bfbfbf;
--color-six: #e0e0e0; --color-six: #e0e0e0;
--color-seven: #555555; --color-seven: #555;
} }

View File

@ -1,11 +1,11 @@
:root { :root {
--background-color: #44475a; --background-color: #44475a;
--foreground-color: #8be9fd; --foreground-color: #8be9fd;
--color-one: #ff5555; --color-one: #f55;
--color-two: #50fa7b; --color-two: #50fa7b;
--color-three: #ffb86c; --color-three: #ffb86c;
--color-four: #bd93f9; --color-four: #bd93f9;
--color-five: #ff79c6; --color-five: #ff79c6;
--color-six: #94a3a5; --color-six: #94a3a5;
--color-seven: #ffffff; --color-seven: #fff;
} }

View File

@ -7,5 +7,5 @@
--color-four: #458588; --color-four: #458588;
--color-five: #b16286; --color-five: #b16286;
--color-six: #689d6a; --color-six: #689d6a;
--color-seven: #ffffff; --color-seven: #fff;
} }

View File

@ -7,5 +7,5 @@
--color-four: #fc9867; --color-four: #fc9867;
--color-five: #ab9df2; --color-five: #ab9df2;
--color-six: #78dce8; --color-six: #78dce8;
--color-seven: #ffffff; --color-seven: #fff;
} }

View File

@ -45,7 +45,7 @@ body {
height: 3rem; height: 3rem;
outline: none; outline: none;
border: none; border: none;
box-shadow: rgba(0, 0, 0, 1); box-shadow: rgb(0 0 0 / 1);
background: var(--foreground-color); background: var(--foreground-color);
} }
@ -126,9 +126,11 @@ body {
min-height: 20rem; min-height: 20rem;
min-width: 22rem; min-width: 22rem;
} }
.error_box .dropdown_error_box.show { .error_box .dropdown_error_box.show {
display: flex; display: flex;
} }
.error_box .dropdown_error_box .error_item, .error_box .dropdown_error_box .error_item,
.error_box .dropdown_error_box .no_errors { .error_box .dropdown_error_box .no_errors {
display: flex; display: flex;
@ -138,22 +140,25 @@ body {
padding: 1rem; padding: 1rem;
font-size: 1.2rem; font-size: 1.2rem;
} }
.error_box .dropdown_error_box .error_item { .error_box .dropdown_error_box .error_item {
justify-content: space-between; justify-content: space-between;
} }
.error_box .dropdown_error_box .no_errors { .error_box .dropdown_error_box .no_errors {
min-height: 18rem; min-height: 18rem;
justify-content: center; justify-content: center;
} }
.error_box .dropdown_error_box .error_item:hover { .error_box .dropdown_error_box .error_item:hover {
box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 100px 100px rgb(255 255 255 / 0.1);
} }
.error_box .error_item .severity_color { .error_box .error_item .severity_color {
width: 1.2rem; width: 1.2rem;
height: 1.2rem; height: 1.2rem;
} }
.results .result_disallowed, .results .result_disallowed,
.results .result_filtered, .results .result_filtered,
.results .result_engine_not_selected { .results .result_engine_not_selected {
@ -163,7 +168,7 @@ body {
gap: 10rem; gap: 10rem;
font-size: 2rem; font-size: 2rem;
color: var(--foreground-color); color: var(--foreground-color);
margin: 0rem 7rem; margin: 0 7rem;
} }
.results .result_disallowed .user_query, .results .result_disallowed .user_query,
@ -367,7 +372,7 @@ footer {
} }
.page_navigation { .page_navigation {
padding: 0 0 2rem 0; padding: 0 0 2rem;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
@ -441,7 +446,7 @@ footer {
.settings hr { .settings hr {
border-color: var(--color-three); border-color: var(--color-three);
margin: 0.3rem 0 1rem 0; margin: 0.3rem 0 1rem;
} }
.settings_container .sidebar { .settings_container .sidebar {
@ -564,10 +569,11 @@ footer {
} }
.settings_container .cookies input { .settings_container .cookies input {
margin: 1rem 0rem; margin: 1rem 0;
} }
/* Styles for the toggle button */ /* Styles for the toggle button */
/* The switch - the box around the slider */ /* The switch - the box around the slider */
.switch { .switch {
position: relative; position: relative;
@ -587,16 +593,12 @@ footer {
.slider { .slider {
position: absolute; position: absolute;
cursor: pointer; cursor: pointer;
top: 0; inset: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--background-color); background-color: var(--background-color);
-webkit-transition: 0.4s;
transition: 0.4s; transition: 0.4s;
} }
.slider:before { .slider::before {
position: absolute; position: absolute;
content: ''; content: '';
height: 2.6rem; height: 2.6rem;
@ -604,7 +606,6 @@ footer {
left: 0.4rem; left: 0.4rem;
bottom: 0.4rem; bottom: 0.4rem;
background-color: var(--foreground-color); background-color: var(--foreground-color);
-webkit-transition: 0.4s;
transition: 0.4s; transition: 0.4s;
} }
@ -616,9 +617,7 @@ input:focus + .slider {
box-shadow: 0 0 1px var(--color-three); box-shadow: 0 0 1px var(--color-three);
} }
input:checked + .slider:before { input:checked + .slider::before {
-webkit-transform: translateX(2.6rem);
-ms-transform: translateX(2.6rem);
transform: translateX(2.6rem); transform: translateX(2.6rem);
} }
@ -627,6 +626,6 @@ input:checked + .slider:before {
border-radius: 3.4rem; border-radius: 3.4rem;
} }
.slider.round:before { .slider.round::before {
border-radius: 50%; border-radius: 50%;
} }