mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-30 19:00:53 +00:00
More base styles merged into styled components
This commit is contained in:
parent
db8c711ec4
commit
c51612f13e
@ -4,7 +4,7 @@ import normalize from 'styled-normalize';
|
|||||||
|
|
||||||
const baseStyles = () => injectGlobal`
|
const baseStyles = () => injectGlobal`
|
||||||
${normalize};
|
${normalize};
|
||||||
|
|
||||||
* , *:before , *:after {
|
* , *:before , *:after {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
@ -19,6 +19,18 @@ const baseStyles = () => injectGlobal`
|
|||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
-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;
|
export default baseStyles;
|
||||||
|
@ -37,22 +37,4 @@ main {
|
|||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
margin-top: 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;
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user