1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-29 02:18:06 +00:00

More base styles merged into styled components

This commit is contained in:
Vladimir Volek 2018-08-10 18:29:58 +02:00
parent db8c711ec4
commit c51612f13e
2 changed files with 13 additions and 19 deletions

View File

@ -4,7 +4,7 @@ import normalize from 'styled-normalize';
const baseStyles = () => injectGlobal`
${normalize};
* , *:before , *:after {
box-sizing: border-box;
}
@ -19,6 +19,18 @@ const baseStyles = () => injectGlobal`
-webkit-appearance: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a {
text-decoration: none;
cursor: pointer;
}
a:focus,
button:focus,
input:focus,
textarea:focus {
outline: 0;
}
`;
export default baseStyles;

View File

@ -37,22 +37,4 @@ main {
border-radius: 0px;
margin-top: 0px;
}
}
a {
text-decoration: none;
cursor: pointer;
}
a:focus,
button:focus,
input:focus,
textarea:focus {
outline: 0;
}
h1, h2, h3 {
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}