Info, layout, sidebar updates

This commit is contained in:
Gene Mecija 2020-02-06 02:43:21 -08:00
parent 030a0386df
commit 2f19154e90
8 changed files with 344 additions and 197 deletions

View file

@ -59,9 +59,10 @@ html, body {
min-width: -webkit-fit-content;
min-width: -moz-fit-content;
min-width: fit-content;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
width: 100%;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
@ -73,7 +74,6 @@ html, body {
}
#main-content .sidebar#left {
border: 1px solid yellowgreen;
background: #f1f1f1;
-webkit-box-shadow: 3px 0px 5px rgba(0, 0, 0, 0.2);
box-shadow: 3px 0px 5px rgba(0, 0, 0, 0.2);
@ -84,44 +84,69 @@ html, body {
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-pack: space-evenly;
-ms-flex-pack: space-evenly;
justify-content: space-evenly;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
height: calc(100% - 5em);
min-width: 500px;
width: 500px;
min-width: 400px;
width: 30%;
margin-top: 50px;
padding: 1.5em;
position: fixed;
top: 0px;
left: 0px;
z-index: 100;
-webkit-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
-webkit-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
}
#main-content .sidebar#left #mainOptions, #main-content .sidebar#left #legend {
-webkit-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
opacity: 100%;
}
#main-content .sidebar#left #mainOptions h1, #main-content .sidebar#left #legend h1 {
margin-bottom: 0.3em;
}
#main-content .sidebar#left.hide {
background: blue;
left: -460px;
left: calc(-30% + 40px);
top: 0px;
overflow-y: hidden;
}
#main-content .sidebar#left #info {
font-family: 'Roboto', sans-serif;
line-height: 1.5em;
#main-content .sidebar#left.hide #mainOptions, #main-content .sidebar#left.hide #legend {
opacity: 0%;
}
#main-content .sidebar#left #info h3 {
font-family: "Roboto", sans-serif;
margin-top: 1em;
margin-bottom: 0.5;
#main-content .sidebar#left.hide #settings {
-webkit-transform: rotateZ(270deg);
transform: rotateZ(270deg);
}
#main-content .sidebar#left #info p {
margin-bottom: 10px;
#main-content .sidebar#left #settings-icon {
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
height: -webkit-fit-content;
height: -moz-fit-content;
height: fit-content;
position: absolute;
top: 3px;
right: 5px;
-webkit-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
}
#main-content .sidebar#left #settings-icon i {
font-size: 2rem;
}
#main-content .sidebar#right {
border: 1px solid green;
background: #f1f1f1;
-webkit-box-shadow: -3px 0px 5px rgba(0, 0, 0, 0.2);
box-shadow: -3px 0px 5px rgba(0, 0, 0, 0.2);
@ -132,40 +157,62 @@ html, body {
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
height: calc(100% - 5em);
min-width: 400px;
width: 400px;
padding: 1.5em;
padding-top: 70px;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
position: fixed;
top: 0px;
margin-top: 50px;
position: fixed;
right: 0px;
right: 0;
height: calc(100% - 5em);
min-width: 400px;
width: 30%;
z-index: 100;
font-family: 'Roboto', sans-serif;
line-height: 1.5em;
-webkit-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
-webkit-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
}
#main-content .sidebar#right.hide {
background: blue;
right: -360px;
right: calc(-30% + 43px);
}
#main-content .sidebar#right.hide #mainOptions, #main-content .sidebar#right.hide #legend {
#main-content .sidebar#right.hide #info {
opacity: 0%;
overflow-y: hidden;
}
#main-content .sidebar#right.hide #settings {
-webkit-transform: rotateZ(270deg);
transform: rotateZ(270deg);
#main-content .sidebar#right #info {
padding: 2.5em;
font-family: "Roboto", sans-serif;
font-size: 1em;
line-height: 1.5em;
opacity: 100%;
overflow-y: scroll;
-webkit-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
}
#main-content .sidebar#right #settings {
#main-content .sidebar#right #info h1, #main-content .sidebar#right #info h2 {
margin-bottom: 0.3em;
}
#main-content .sidebar#right #info h3 {
display: inline-block;
margin-bottom: 0.1em;
}
#main-content .sidebar#right #info p {
margin-bottom: 1.5em;
}
#main-content .sidebar#right #info img {
width: 50%;
image-rendering: optimizeSpeed;
}
#main-content .sidebar#right #info-icon {
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
@ -177,9 +224,10 @@ html, body {
left: 5px;
-webkit-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
z-index: 1010;
}
#main-content .sidebar#right #settings i {
#main-content .sidebar#right #info-icon i {
font-size: 2rem;
}
@ -198,8 +246,10 @@ html, body {
-ms-flex-pack: start;
justify-content: flex-start;
height: 100%;
width: 600px;
min-width: 600px;
width: 40%;
position: relative;
padding-top: 150px;
left: 0px;
}
@ -236,7 +286,7 @@ i[class*="ri-"] {
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
width: 100%;
width: 380px;
max-width: 95vw;
height: 200px;
}
@ -262,15 +312,13 @@ i[class*="ri-"] {
#mainOptions .mode-picker #title {
font-weight: bold;
font-size: 1.08em;
font-size: 1.3em;
min-width: 100px;
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
padding-left: 0px;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
@ -289,7 +337,6 @@ i[class*="ri-"] {
}
#mainOptions .mode-picker #input {
margin-left: 10px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
@ -306,8 +353,8 @@ i[class*="ri-"] {
text-align: center;
border-radius: 3px;
border: 1px solid #ddd;
height: 1.3rem;
font-size: 0.75em;
height: 1.5rem;
font-size: 0.8em;
}
#mainOptions .mode-picker #input select {
@ -315,15 +362,14 @@ i[class*="ri-"] {
}
#mainOptions .mode-picker #input button {
width: 20px;
height: 20px;
width: 1.6em;
height: 1.6em;
border-radius: 3px;
font-size: 0.9em;
}
#mainOptions .mode-picker #input button i {
position: relative;
left: -1px;
font-size: 1.1em;
font-weight: bold;
}
@ -336,7 +382,7 @@ i[class*="ri-"] {
padding: 0.3em;
margin-left: 10px;
margin-right: 10px;
font-size: 0.75em;
font-size: 0.9em;
color: #333;
}
@ -347,7 +393,7 @@ i[class*="ri-"] {
#legend {
background: #f1f1f1;
width: 100%;
width: 380px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
@ -374,38 +420,48 @@ i[class*="ri-"] {
width: 100%;
}
#legend #legend-items .item, #legend #legend-items span {
cursor: pointer;
}
#legend #legend-items .item {
font-family: "Courier", monospace;
font-size: 0.9em;
border: 1px solid #ccc;
margin: 1px;
width: 19%;
width: 20%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
#legend #legend-items .item button {
width: 20px;
height: 20px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin: 4px;
padding: 0.3em;
border: 0px;
border-radius: 2px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
}
#legend #legend-items .item button:active {
#legend #legend-items .item:active {
-webkit-transform: translateY(3px);
transform: translateY(3px);
-webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
}
#legend #legend-items .item span {
width: 60%;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
#legend #legend-items .item span:first-child {
display: inline-block;
padding: 1px;
padding-left: 5px;
padding-right: 5px;
background: #DDD;
border-radius: 2px;
font-size: 1.3em;
}
#legend #legend-items .item span:last-child {
width: 100%;
}
#morseButton {
@ -814,6 +870,7 @@ i[class*="ri-"] {
#morseBufferDisplay #alphanumeric-container {
text-align: center;
max-width: 100%;
width: 300px;
overflow: hidden;
display: inline-block;
padding-top: 10px;
@ -822,6 +879,7 @@ i[class*="ri-"] {
#morseBufferDisplay #alphanumeric-container #alphanumeric {
background: #fdfdfd;
height: 5rem;
width: 100%;
padding-left: 5px;
padding-right: 5px;
padding-top: 0.45rem;
@ -829,8 +887,6 @@ i[class*="ri-"] {
min-width: 4rem;
margin-bottom: 10px;
border-radius: 3px;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3), 0px -1px 1px white;
float: right;
}

File diff suppressed because one or more lines are too long