CryptoAssist/src/styles.scss

87 lines
1.3 KiB
SCSS

html, body{
margin: 0;
border: 0;
font-family: sans-serif;
}
body{
display: flex;
flex-direction: column;
}
#header{
#importUpload{
display: none;
}
}
#blocks{
display: flex;
flex-direction: row;
overflow-x: scroll;
.block{
margin: 10px;
}
.topHidden{
display: none;
}
}
.block{
width: 200px;
height: 200px;
border: 1px solid black;
display: flex;
flex-direction: column;
flex-shrink: 0;
background-color: white;
.inputs{
display: flex;
flex-direction: row;
>div{
font-weight: bold;
border: 1px solid black;
flex-grow: 1;
text-align: center;
padding-top: 5px;
padding-bottom: 5px;
>input{
width: 40px;
}
}
}
.main{
flex-grow: 1;
display: flex;
flex-direction: column;
>div{
margin: auto;
display: flex;
flex-direction: column;
>.title{
text-align: center;
}
}
}
>.output{
font-weight: bold;
border: 1px solid black;
text-align: center;
padding-top: 5px;
padding-bottom: 5px;
}
}
#workspace{
position: relative;
.block{
position: absolute;
}
.line{
border-top: 2px solid black;
position: absolute;
z-index: 1;
pointer-events: none;
}
}