mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 09:16:38 +00:00
Merge pull request #4194 from balena-io/balena-lint/prettier
patch: configure prettier in the project to use balena-lint config
This commit is contained in:
commit
59356c5bd1
6
.prettierrc.js
Normal file
6
.prettierrc.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
const fs = require("fs");
|
||||||
|
const path = require("path");
|
||||||
|
|
||||||
|
module.exports = JSON.parse(
|
||||||
|
fs.readFileSync(path.join(__dirname, "node_modules", "@balena", "lint", "config", ".prettierrc"), "utf8"),
|
||||||
|
);
|
@ -15,36 +15,36 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "SourceSansPro";
|
font-family: 'SourceSansPro';
|
||||||
src: url("./fonts/SourceSansPro-Regular.ttf") format("truetype");
|
src: url('./fonts/SourceSansPro-Regular.ttf') format('truetype');
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "SourceSansPro";
|
font-family: 'SourceSansPro';
|
||||||
src: url("./fonts/SourceSansPro-SemiBold.ttf") format("truetype");
|
src: url('./fonts/SourceSansPro-SemiBold.ttf') format('truetype');
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
/* Prevent white flash when running application */
|
/* Prevent white flash when running application */
|
||||||
background-color: #4d5057;
|
background-color: #4d5057;
|
||||||
|
|
||||||
/* Prevent WebView bounce effect in OS X */
|
/* Prevent WebView bounce effect in OS X */
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prevent text selection */
|
/* Prevent text selection */
|
||||||
body {
|
body {
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prevent blue outline */
|
/* Prevent blue outline */
|
||||||
@ -52,15 +52,15 @@ a:focus,
|
|||||||
input:focus,
|
input:focus,
|
||||||
button:focus,
|
button:focus,
|
||||||
[tabindex]:focus,
|
[tabindex]:focus,
|
||||||
input[type="checkbox"] + div {
|
input[type='checkbox'] + div {
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.disabled {
|
.disabled {
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rendition-tooltip-root > div {
|
#rendition-tooltip-root > div {
|
||||||
font-family: "SourceSansPro", sans-serif;
|
font-family: 'SourceSansPro', sans-serif;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user