CryptoAssist/src/styles.scss

167 lines
2.7 KiB
SCSS
Raw Normal View History

2017-02-20 14:40:25 +00:00
html, body{
margin: 0;
border: 0;
font-family: sans-serif;
}
body{
display: flex;
flex-direction: column;
}
2017-03-18 17:08:15 +00:00
#importUpload{
display: none;
2017-02-26 23:38:06 +00:00
}
2017-02-20 15:22:16 +00:00
#blocks{
display: flex;
flex-direction: row;
2017-02-25 11:34:58 +00:00
overflow-x: scroll;
2017-02-20 15:22:16 +00:00
.block{
margin: 10px;
}
2017-02-26 13:19:28 +00:00
.topHidden{
display: none;
}
2017-02-20 15:22:16 +00:00
}
2017-02-20 14:40:25 +00:00
.block{
width: 200px;
height: 200px;
border: 1px solid black;
display: flex;
flex-direction: column;
2017-02-25 11:34:58 +00:00
flex-shrink: 0;
2017-02-21 10:16:51 +00:00
background-color: white;
2017-02-20 14:40:25 +00:00
.inputs{
display: flex;
flex-direction: row;
>div{
2017-02-20 15:22:16 +00:00
font-weight: bold;
2017-02-20 14:40:25 +00:00
border: 1px solid black;
flex-grow: 1;
text-align: center;
padding-top: 5px;
padding-bottom: 5px;
>input{
width: 40px;
}
2017-02-20 14:40:25 +00:00
}
}
.main{
flex-grow: 1;
display: flex;
2017-02-26 13:19:28 +00:00
flex-direction: column;
2017-02-20 14:40:25 +00:00
>div{
margin: auto;
2017-02-26 13:19:28 +00:00
display: flex;
flex-direction: column;
2017-02-20 14:40:25 +00:00
>.title{
text-align: center;
}
2017-03-14 00:01:50 +00:00
>.error{
color: red;
text-align: center;
}
2017-02-20 14:40:25 +00:00
}
}
>.output{
2017-02-20 15:22:16 +00:00
font-weight: bold;
2017-02-20 14:40:25 +00:00
border: 1px solid black;
text-align: center;
padding-top: 5px;
padding-bottom: 5px;
}
}
#workspace{
position: relative;
.block{
position: absolute;
}
2017-02-21 13:25:27 +00:00
.line{
border-top: 2px solid black;
position: absolute;
z-index: 1;
2017-02-21 16:58:48 +00:00
pointer-events: none;
2017-02-21 13:25:27 +00:00
}
2017-02-20 14:40:25 +00:00
}
2017-03-21 23:54:04 +00:00
#header, #header ul{
list-style: none;
margin: 0;
padding: 0;
}
#header{
$headerColour: rgba(0, 0, 0, 0.7);
display: flex;
flex-direction: row;
background-color: $headerColour;
>li{
text-align: center;
display: flex;
flex-grow: 1;
max-width: 150px;
padding-top: 5px;
padding-bottom: 5px;
border-right: solid 1px white;
2017-03-21 23:54:04 +00:00
>a{
margin: auto;
color: white;
text-decoration: none;
}
}
2017-04-03 14:52:27 +01:00
>li#snapshots-parent{
2017-03-21 23:54:04 +00:00
position: relative;
min-width: 150px;
ul#snapshots{
display: none;
}
&:hover{
ul#snapshots{
display: flex;
flex-direction: column;
position: absolute;
top: 100%;
left: 0;
background-color: white;
width: 100%;
border: 1px solid $headerColour;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
li{
padding-top: 5px;
padding-bottom: 5px;
border-bottom: 1px solid $headerColour;
&:last-child{
border-bottom: none;
}
}
}
}
}
ul#snapshots{
display: none;
}
}
2017-04-03 14:52:27 +01:00
#help{
position: fixed;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.7);
width: 100vw;
height: 100vh;
display: none;
>div{
background-color: white;
width: 80%;
margin: auto;
padding: 20px;
border-radius: 20px;
}
}