You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-wallet/src/styles/base.less

73 lines
1.3 KiB

* , *:before , *:after {
box-sizing: border-box;
}
* {
margin: 0;
padding: 0;
}
*:focus, *:active, *:active:focus, *::selection, *::-moz-selection {
outline: 0 !important;
-webkit-appearance: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html, body {
width: 100%;
height: 100%;
position: relative;
background-color: @color_body;
font-family: @font-default;
font-weight: 400;
font-size: 14px;
}
.app {
position: relative;
min-height: 100vh;
min-width: 720px;
display: flex;
flex-direction: column;
&.resized {
// to make sure that unpacked coin menu will not overflow main container
// 512 dropdown height + 50 header + 30 margin + 64 topnav height
min-height: 680px;
}
}
main {
width: 100%;
max-width: 1170px;
margin: 0 auto;
flex: 1;
background: @color_main;
display: flex;
flex-direction: row;
border-radius: 4px 4px 0px 0px;
overflow: hidden;
margin-top: 32px;
@media screen and (max-width: 1170px) {
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;
}