367 lines
6.6 KiB
CSS
367 lines
6.6 KiB
CSS
body {
|
|
font-family: 'Trebuchet MS', Roboto, Ubuntu, sans-serif;
|
|
background: #f9fafb;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background: linear-gradient(#64D2F7, #195172);
|
|
margin:0;
|
|
}
|
|
#master_panel{
|
|
width 1550px;
|
|
height 800px;
|
|
display: grid;
|
|
grid-template-columns: 1000px 550px;
|
|
grid-template-rows: 50px 500px 100px 100px;
|
|
}
|
|
.master_panel{
|
|
}
|
|
/*************** Popup forms *********************/
|
|
/* TODO I don't know what this does */
|
|
{box-sizing: border-box;}
|
|
|
|
/* The popup form - hidden by default */
|
|
.form-popup {
|
|
display: none;
|
|
position: fixed;
|
|
top: 100px;
|
|
right: 50%;
|
|
border: 3px solid black;
|
|
z-index: 102;
|
|
background-color:white;
|
|
width:500px;
|
|
}
|
|
.form-popup h1 {
|
|
text-align:center;
|
|
}
|
|
.form-popup #SigName_div, label, select, #Signal_type, span{
|
|
text-align:center;
|
|
height:20px;
|
|
}
|
|
/* Add styles to the form container */
|
|
.form-container {
|
|
padding: 10px;
|
|
background-color: white;
|
|
}
|
|
#panel_1{
|
|
display: grid;
|
|
}
|
|
#panel_2{
|
|
display: none;
|
|
}
|
|
#panel_3{
|
|
display: none;
|
|
}
|
|
#subpanel_1{
|
|
display:none;
|
|
}
|
|
#subpanel_2 {
|
|
text-align:center;
|
|
}
|
|
#subpanel_1 label{
|
|
display:inline-block;
|
|
width:100px;
|
|
text-align:center;
|
|
margin-left:100px;
|
|
}
|
|
/* When the inputs get focus, do something*/
|
|
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
|
|
background-color: #ddd;
|
|
outline: none;
|
|
}
|
|
|
|
/* Set a style for the submit/login button */
|
|
.form-container .btn {
|
|
background-color: #04AA6D;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
margin-bottom:10px;
|
|
opacity: 0.8;
|
|
height:30px;
|
|
}
|
|
.btn, form-container > select{
|
|
width: 150px;
|
|
margin-left:60px;
|
|
}
|
|
.padDiv{
|
|
padding:25px;
|
|
}
|
|
/* Add a red background color to the cancel button */
|
|
.form-container .cancel {
|
|
background-color: red;
|
|
}
|
|
|
|
/* Add some hover effects to buttons */
|
|
.form-container .btn:hover, .open-button:hover {
|
|
opacity: 1;
|
|
}
|
|
#rangeVal{
|
|
width:50px;
|
|
}
|
|
input[type="radio"],
|
|
input[type="checkbox"] {
|
|
width: 15px;
|
|
height: 15px;
|
|
accent-color: green;
|
|
}
|
|
#sig_operator{
|
|
padding-left: 30px;
|
|
}
|
|
/***************End popup forms *********************/
|
|
/***********************Three Charts ************************/
|
|
#app_header{
|
|
border-style: none;
|
|
grid-column: 1/3;
|
|
grid-row:1;
|
|
display: grid;
|
|
grid-template-columns:1fr 1fr;
|
|
background-color:#3E3AF2;
|
|
}
|
|
#app_title{
|
|
text-align:center;
|
|
width:1500px;
|
|
margin:10px;
|
|
color:#F5F3AD;
|
|
}
|
|
/* This class if for a child element of indicator_output created in general.js */
|
|
.legend {
|
|
width: 150px;
|
|
padding: 1px;
|
|
font-size: 14px;
|
|
background-color: rgba(255, 255, 255, 0.23);
|
|
text-align: left;
|
|
pointer-events: none;
|
|
}
|
|
.a1{
|
|
position: absolute;
|
|
z-index:98;
|
|
width: 200px;
|
|
padding: 15px;
|
|
border-style:none;
|
|
}
|
|
#indicator_output{
|
|
overflow-y: scroll;
|
|
width: 300px;
|
|
height:50px;
|
|
padding: 3px;
|
|
border-style: solid;
|
|
}
|
|
|
|
#chart_controls{
|
|
border-style:none;
|
|
width: 200px;
|
|
padding: 15px;
|
|
display: grid;
|
|
grid-template-columns:700px 1fr 1fr;
|
|
|
|
}
|
|
#indicators{
|
|
display: none;
|
|
position: absolute;
|
|
left: 100px; top: 50px;
|
|
width: 135px;
|
|
padding: 10px;
|
|
background-color: rgb(200,100,100);
|
|
border: solid black 1px;
|
|
text-align: justify; font-size: 12px;
|
|
z-index:99;
|
|
}
|
|
#enable_indicators{
|
|
height:20px;
|
|
}
|
|
|
|
#chart{
|
|
grid-column: 1;
|
|
grid-row:2;
|
|
}
|
|
|
|
|
|
#chart2{
|
|
grid-column: 1;
|
|
grid-row:3;
|
|
}
|
|
#chart3{
|
|
grid-column: 1;
|
|
grid-row:4;
|
|
}
|
|
/***************************************************/
|
|
|
|
|
|
/****************Right Panel***********************/
|
|
.collapsible {
|
|
background-color: #3E3AF2;
|
|
color: white;
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
width: 100%;
|
|
border: none;
|
|
text-align: center;
|
|
outline: none;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.active, .collapsible:hover {
|
|
background-color: #0A07DF;
|
|
}
|
|
|
|
.collapsible:after {
|
|
content: '\002B';
|
|
color: white;
|
|
font-weight: bold;
|
|
float: right;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.active:after {
|
|
content: "\2212";
|
|
}
|
|
|
|
.content {
|
|
padding: 0 18px;
|
|
max-height: 0;
|
|
min-height: 50px;
|
|
height:300px;
|
|
overflow: hidden;
|
|
transition: max-height 0.2s ease-out;
|
|
background-color: #f1f1f1;
|
|
}
|
|
.bg_red{
|
|
background-color:#9F180F;
|
|
}
|
|
.bg_blue{
|
|
background-color:#3E3AF2;
|
|
}
|
|
|
|
|
|
#right_panel{
|
|
grid-column: 2;
|
|
grid-row:2/5;
|
|
}
|
|
#bal_content{
|
|
display:grid;
|
|
grid-template-columns:1fr 1fr;
|
|
min-height: 100px;
|
|
min-height: 100px;
|
|
}
|
|
#balances{
|
|
width:250px;
|
|
height:50px;
|
|
grid-row:2;
|
|
grid-column:1;
|
|
overflow: hidden;
|
|
position:relative;
|
|
bottom:20;
|
|
left:5px;
|
|
}
|
|
#balances_tbl{
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: -17px; /* Increase/Decrease this value for cross-browser compatibility */
|
|
overflow-y: scroll;
|
|
}
|
|
#trade_content{
|
|
margin-top:8px;
|
|
}
|
|
.new_btn{
|
|
margin:5;
|
|
}
|
|
/***************************************************/
|
|
|
|
|
|
/************Edit/Add Indicators Panel**************/
|
|
#edit_indcr_panel{
|
|
width: 1000px;
|
|
height: 300px;
|
|
padding: 3px;
|
|
overflow: scroll;
|
|
border-style: solid;
|
|
background: url(../static/blue_img.jpg) no-repeat center center;
|
|
background-size: cover;
|
|
grid-column: 1;
|
|
}
|
|
#edit_indcr_head{
|
|
color: white;
|
|
width: 1025px;
|
|
display: grid;
|
|
grid-template-columns: 75px 150px repeat(8, 100px);
|
|
}
|
|
#h_name{
|
|
width: 150px;
|
|
grid-column: 2;
|
|
text-align: center;
|
|
}
|
|
#h_properties{
|
|
grid-column: 3/11;
|
|
text-align:center;
|
|
|
|
}
|
|
.ierow{
|
|
display: grid;
|
|
grid-template-columns: 75px 150px repeat(8, 100px);
|
|
}
|
|
#edit_indctr_controls{
|
|
height:25px;
|
|
width: 75px;
|
|
grid-column: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
}
|
|
.e_btn{
|
|
height:25px;
|
|
width:25;
|
|
font-weight: bold;
|
|
color:darkred;
|
|
background-color:EEC9C9;
|
|
}
|
|
.iename{
|
|
color:white;
|
|
text-align:center;
|
|
width: 150px; height: 25px;
|
|
grid-column: 2;
|
|
font-weight: bold;
|
|
overflow: hidden;
|
|
display: flex; justify-content: center; align-items: center;
|
|
}
|
|
#ieprop_container{
|
|
margin-left:20px;
|
|
grid-column: 3/11;
|
|
text-align:right;
|
|
|
|
|
|
}
|
|
.ieprop{
|
|
width: 150px;
|
|
height: 25px;
|
|
overflow: hidden;
|
|
display: inline-block;
|
|
color: white;
|
|
margin-bottom:15px;
|
|
}
|
|
.ietextbox{
|
|
width: 75px;
|
|
height: 25px;
|
|
}
|
|
.ie_value{
|
|
width: 75px;
|
|
height: 25px;
|
|
border: 0;
|
|
outline:0;
|
|
background: transparent;
|
|
font-weight: inherit;
|
|
font-size:inherit;
|
|
line-height:inherit;
|
|
color:inherit;
|
|
}
|
|
input[type=checkbox] {
|
|
vertical-align: middle;
|
|
position: relative;
|
|
bottom: 1px;
|
|
}
|
|
#create_indcr_container{
|
|
color:white;
|
|
}
|
|
/*******************************************************************/ |