face-recognition.js/public_html/css/layout.scss

77 lines
1.1 KiB
SCSS
Raw Normal View History

2016-10-07 15:48:53 +00:00
$image-size: 500px;
2016-10-05 08:06:51 +00:00
body{
background-color: #ccc;
2016-10-05 08:06:51 +00:00
font-family: 'Courier';
font-size: 12px;
2016-10-05 08:06:51 +00:00
}
#loader{
display: block;
position: absolute;
width: 500px;
height: 500px;
margin-left: 20px;
background: url('../../src/loader.svg') center center no-repeat;
background-size: 0 0;
z-index: 1;
}
2016-10-05 08:06:51 +00:00
#loader.active{
background-size: 4em 4em;
}
2016-10-05 08:06:51 +00:00
#image-loader{
display: none;
}
#canvas{
2016-10-05 08:06:51 +00:00
display: block;
position: relative;
width: calc( #{$image-size} - 2*2px );
height: calc( #{$image-size} - 2*2px );
margin: 20px;
border: 2px solid #000;
}
#log{
display: block;
position: relative;
width: calc( #{$image-size} - 2*2px - 2*10px );
2016-11-04 18:14:39 +00:00
height: calc( 100vh - 2*14px - 500px - 3*20px);
2016-10-05 08:06:51 +00:00
margin: 10px 20px;
padding: 10px;
border: 2px solid #555;
2016-11-04 18:14:39 +00:00
overflow-x: hidden;
overflow-y: auto;
span{
display: block;
}
}
// ADDED TO DAT.GUI
.dg.a .save-row{ background-color: #1a1a1a !important; }
.dg li.save-row > select{
background-color: #7d7d7d !important;
color: #fff !important;
border: 0 !important;
}
.dg li.save-row > span{
background-color: #303030 !important;
box-shadow: none !important;
text-shadow: none !important;
}