Skip to content

Commit

Permalink
fix: linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
timbru31 committed Sep 23, 2024
1 parent 42c0671 commit 45ba8a5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"prebuild": "rm -rf dist",
"build": "tsc",
"postbuild": "rsync -av --exclude='js' src/ dist",
"eslint": "eslint 'js/**/*.js'",
"eslint": "eslint 'src/js/**/*.ts'",
"stylelint": "stylelint --allow-empty-input 'src/**/*.css'",
"lint": "npm run eslint && npm run stylelint",
"prerelease": "npm run test && npm run build",
Expand Down
50 changes: 25 additions & 25 deletions src/css/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* General styling */
body {
background: #ededed;
font-size: 13px;
font: message-box;
font-size: 13px;
}

a {
Expand All @@ -13,26 +13,6 @@ a:visited {
color: #0921ea;
}

input[type='text']:invalid {
border: 1px solid #ff0000;
box-shadow:
inset 0 1px 1px rgba(0, 0, 0, 0.075),
0 0 8px rgba(255, 0, 0, 0.6);
}

input[type='button'] {
min-width: 100px;
width: auto;
}

input[type='button']:disabled,
input[type='button']:disabled:hover,
input[type='button']:disabled:focus {
background-color: grey;
border-color: grey;
cursor: not-allowed;
}

input[type='text'],
select {
background-color: #fff;
Expand All @@ -42,12 +22,16 @@ select {
min-height: 2em;
}

input[type='text']:focus,
select:focus {
border-color: #66afe9;
input[type='text']:invalid {
border: 1px solid #ff0000;
box-shadow:
inset 0 1px 1px rgba(0, 0, 0, 0.075),
0 0 8px rgba(102, 175, 233, 0.6);
0 0 8px rgba(255, 0, 0, 0.6);
}

input[type='button'] {
min-width: 100px;
width: auto;
}

input[type='button'],
Expand All @@ -73,6 +57,22 @@ input[type='submit']:focus {
border-color: #285e8e;
}

input[type='button']:disabled,
input[type='button']:disabled:hover,
input[type='button']:disabled:focus {
background-color: grey;
border-color: grey;
cursor: not-allowed;
}

input[type='text']:focus,
select:focus {
border-color: #66afe9;
box-shadow:
inset 0 1px 1px rgba(0, 0, 0, 0.075),
0 0 8px rgba(102, 175, 233, 0.6);
}

label {
font-size: 16px;
line-height: 25px;
Expand Down

0 comments on commit 45ba8a5

Please sign in to comment.