Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 52 additions & 22 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ body{
font-family: 'Open Sans', sans-serif;
/*-webkit-transition: opacity 0.5s ease-in;
opacity:1;*/

overflow:hidden;

/*make things unselectable, cross browser*/
-webkit-touch-callout: none;
-webkit-user-select: none;
Expand All @@ -36,7 +36,6 @@ body{
top: 0px;
left: 0px;
width: 100%;

}

.jam input[type=text]{
Expand All @@ -46,6 +45,37 @@ body{
background-color: rgba(244, 244, 244, 0.25); /*#fff; #f5f5f5;*/
}

.errorElem {
/*
height: 20px;
left: 10px;
*/
width:100%;
position: absolute;
bottom: 32px;
color: #f99c49;

/* Firefox */
display:-moz-box;
-moz-box-pack:center;
-moz-box-align:center;

/* Safari and Chrome */
display:-webkit-box;
-webkit-box-pack:center;
-webkit-box-align:center;

/* W3C */
display:box;
box-pack:center;
box-align:center;
}
.errorElem .inner{
width: 50%;
background: #fef9eb;
text-align: center;
}

/*without this we get red outlines in number inputs*/
:invalid {
box-shadow: none;
Expand Down Expand Up @@ -331,16 +361,16 @@ input[type=color]:focus{
@keyframes spinner {
to {transform: rotate(360deg);}
}

@-webkit-keyframes spinner {
to {-webkit-transform: rotate(360deg);}
}

.spinner {
min-width: 30px;
min-height: 30px;
}

.spinner:before {
content: 'Loading…';
position: absolute;
Expand All @@ -351,7 +381,7 @@ input[type=color]:focus{
margin-top: -13px;
margin-left: -13px;
}

.spinner:not(:required):before {
content: '';
border-radius: 50%;
Expand All @@ -360,7 +390,7 @@ input[type=color]:focus{
animation: spinner .6s linear infinite;
-webkit-animation: spinner .6s linear infinite;
}

/*//////////////*/
/*camview controls overlay*/
.camViewControls{
Expand Down Expand Up @@ -541,7 +571,7 @@ input[type=color]:focus{
}
.fullScreenToggler button{
margin: 0;
padding: 0;
padding: 0;
}

/*//////////////////*/
Expand Down Expand Up @@ -685,16 +715,16 @@ input[type=color]:focus{
@keyframes spinner {
to {transform: rotate(360deg);}
}

@-webkit-keyframes spinner {
to {-webkit-transform: rotate(360deg);}
}

.spinner {
min-width: 30px;
min-height: 30px;
}

.spinner:before {
content: 'Loading…';
position: absolute;
Expand All @@ -705,7 +735,7 @@ input[type=color]:focus{
margin-top: -13px;
margin-left: -13px;
}

.spinner:not(:required):before {
content: '';
border-radius: 50%;
Expand All @@ -720,7 +750,7 @@ input[type=color]:focus{
}

.visible{
opacity: 1!important;
opacity: 1!important;
}

.innerWrapper{
Expand Down Expand Up @@ -985,15 +1015,15 @@ http://cbracco.me/a-simple-css-tooltip/
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
opacity: 0;
-webkit-transition:
-webkit-transition:
opacity 0.2s ease-in-out,
visibility 0.2s ease-in-out,
-webkit-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
-moz-transition:
-moz-transition:
opacity 0.2s ease-in-out,
visibility 0.2s ease-in-out,
-moz-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
transition:
transition:
opacity 0.2s ease-in-out,
visibility 0.2s ease-in-out,
transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
Expand Down Expand Up @@ -1084,7 +1114,7 @@ http://cbracco.me/a-simple-css-tooltip/
.tooltip-top:focus:after*/ {
-webkit-transform: translateY(-12px);
-moz-transform: translateY(-12px);
transform: translateY(-12px);
transform: translateY(-12px);
}

/* Left */
Expand All @@ -1110,7 +1140,7 @@ http://cbracco.me/a-simple-css-tooltip/
.tooltip-left:focus:after*/ {
-webkit-transform: translateX(-12px);
-moz-transform: translateX(-12px);
transform: translateX(-12px);
transform: translateX(-12px);
}

/* Bottom */
Expand All @@ -1135,7 +1165,7 @@ http://cbracco.me/a-simple-css-tooltip/
.tooltip-bottom:focus:after */{
-webkit-transform: translateY(12px);
-moz-transform: translateY(12px);
transform: translateY(12px);
transform: translateY(12px);
}

/* Right */
Expand All @@ -1159,7 +1189,7 @@ http://cbracco.me/a-simple-css-tooltip/
.tooltip-right:focus:after */{
-webkit-transform: translateX(12px);
-moz-transform: translateX(12px);
transform: translateX(12px);
transform: translateX(12px);
}

/* Move directional arrows down a bit for left/right tooltips */
Expand All @@ -1180,4 +1210,4 @@ http://cbracco.me/a-simple-css-tooltip/
z-index: 10;
left: 100;
top: 300;
}
}
10 changes: 10 additions & 0 deletions src/components/main/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,15 @@ function renderUiElements(uiElements){
.filter(exists)
.map(widgetMaker=> widgetMaker(state, uiElements) )

function renderErrors(state){
return <div className='errorElem'>
<div className="inner">
lots of errors
</div>
</div>
}
//{renderErrors(state)}


return <div className="jam" >
{progressBar}
Expand All @@ -272,6 +281,7 @@ function renderUiElements(uiElements){

{makeTopToolBar(state)}


</div>
}

Expand Down