forked from lin-midas-pages/common_pages
405 lines
7.1 KiB
CSS
405 lines
7.1 KiB
CSS
html { font-size: 100%;}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
td {
|
|
white-space: nowrap;
|
|
/* font-size: 10vw;*/
|
|
}
|
|
|
|
.guitable {
|
|
background-color: #DDDDDD;
|
|
border: 0px;
|
|
width: 100%;
|
|
/* border-collapse: collapse; */
|
|
border-radius: 10px;
|
|
border: none;
|
|
border-spacing: 0px;
|
|
padding: 5px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 0px;
|
|
margin-bottom: 0px;
|
|
}
|
|
.guitable tr:last-child td:first-child {
|
|
/* font-size: 10vw;*/
|
|
border-bottom-left-radius: 12px;
|
|
}
|
|
.guitable tr:last-child td:last-child {
|
|
border-bottom-right-radius: 12px;
|
|
}
|
|
.guitable tr:first-child td:first-child {
|
|
border-top-left-radius: 12px;
|
|
}
|
|
.guitable tr:first-child td:last-child {
|
|
border-top-right-radius: 12px;
|
|
}
|
|
.guitable tr:nth-child(odd) {
|
|
background-color: #DDDDDD;
|
|
}
|
|
.guitable tr:nth-child(even) {
|
|
background-color: #DDDDDD;
|
|
}
|
|
|
|
.oddeven tr:nth-child(odd) {
|
|
background-color: #DDDDDD;
|
|
}
|
|
.oddeven tr:nth-child(even) {
|
|
background-color: #F2F2F2;
|
|
}
|
|
|
|
/* For mobile phones: */
|
|
[class*="col-"] {
|
|
width: 100%;
|
|
padding: 5px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 0px;
|
|
margin-bottom: 0px;
|
|
float: left;
|
|
padding: 5px;
|
|
overflow:hidden;
|
|
border: none;
|
|
}
|
|
|
|
|
|
@media only screen and (min-width: 990px) {
|
|
/* For desktop: */
|
|
.col-1 {width: 50%;background-color: #F2F2F2;}
|
|
.col-2 {width: 50%;background-color: #F2F2F2;}
|
|
.col-full {width: 100%;background-color: #F2F2F2;}
|
|
}
|
|
|
|
.row::after {
|
|
content: "";
|
|
clear: both;
|
|
display: table;
|
|
}
|
|
|
|
.group_name {
|
|
padding-left:1em;
|
|
padding-right:1em;
|
|
font-size:1.05rem;
|
|
font-weight:bold;
|
|
width: 1%;
|
|
white-space: nowrap;
|
|
/* text-align: center; */
|
|
}
|
|
.yellow_td {
|
|
padding-left:1em;
|
|
padding-right:1em;
|
|
background-color: #fff58b; /* yellow;*/
|
|
width: 1%;
|
|
white-space: nowrap;
|
|
font-size: 1rem;
|
|
}
|
|
.gray_td {
|
|
padding-left:1em;
|
|
padding-right:1em;
|
|
background-color: gray;
|
|
width: 1%;
|
|
white-space: nowrap;
|
|
}
|
|
.nocol_td {
|
|
padding-left:1em;
|
|
padding-right:1em;
|
|
width: 1%;
|
|
min-width: 9rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Style the tab */
|
|
.tab {
|
|
overflow: hidden;
|
|
border: 1px solid #ccc;
|
|
background-color: #f1f1f1;
|
|
}
|
|
|
|
.active {
|
|
background-color: #11f1f1;
|
|
}
|
|
|
|
/* Style the buttons that are used to open the tab content */
|
|
.tab button {
|
|
background-color: inherit;
|
|
float: left;
|
|
border: none;
|
|
outline: none;
|
|
cursor: pointer;
|
|
padding: 14px 16px;
|
|
transition: 10.3s;
|
|
font-size:1.1rem;
|
|
font-weight:bold;
|
|
}
|
|
|
|
/* Style the tab content */
|
|
.tabcontent {
|
|
display: none;
|
|
padding: 6px 12px;
|
|
border: 1px solid #ccc;
|
|
border-top: none;
|
|
}
|
|
|
|
.tabcontent {
|
|
animation: fadeEffect 1s; /* Fading effect takes 1 second */
|
|
}
|
|
|
|
/* Go from zero to full opacity */
|
|
@keyframes fadeEffect {
|
|
from {opacity: 0;}
|
|
to {opacity: 1;}
|
|
}
|
|
|
|
.scaler_head_left {
|
|
text-align:left;
|
|
padding-left:1em;
|
|
padding-right:1em;
|
|
}
|
|
.scaler_head_right {
|
|
text-align:right;
|
|
padding-left:1em;
|
|
padding-right:1em;
|
|
}
|
|
.scaler_name {
|
|
padding-left:1em;
|
|
padding-right:1em;
|
|
}
|
|
.scaler_val {
|
|
text-align:right;
|
|
padding-right:1em;
|
|
}
|
|
|
|
|
|
/* For the AutoRun tab */
|
|
.lar_label {
|
|
text-align:left;
|
|
padding-left:1em;
|
|
padding-right:1em;
|
|
}
|
|
.lar_label_right {
|
|
text-align:right;
|
|
padding-left:1em;
|
|
padding-right:1em;
|
|
}
|
|
.lar_value {
|
|
text-align:left;
|
|
padding-left:1em;
|
|
padding-right:1em;
|
|
}
|
|
.lar_script {
|
|
text-align:left;
|
|
font-family:Fixed;
|
|
font-size: 1rem;
|
|
line-height:1.25;
|
|
}
|
|
.lar_fatal {
|
|
background-color: #FF0000;
|
|
font-weight: bold;
|
|
}
|
|
.lar_err {
|
|
background-color: #FF8800;
|
|
font-weight: bold;
|
|
}
|
|
.lar_msg {
|
|
background-color: #11FF11;
|
|
font-weight: bold;
|
|
}
|
|
.lar_current_cmd {
|
|
background-color: #FFFF00;
|
|
font-weight: bold;
|
|
}
|
|
.lar_comment {
|
|
color: grey;
|
|
font-style: italic;
|
|
}
|
|
|
|
/*LOOP_ WAIT TITLE START TOF FIELD TEMP */
|
|
.lar_command {
|
|
color: #C81A1C;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/*ODB_TAG ALIAS */
|
|
.lar_tag {
|
|
color: #0A6E2B;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/*ODB_TAG ALIAS */
|
|
.lar_ntag {
|
|
color: #8E0F7E;
|
|
}
|
|
|
|
/*ODB_TAG ALIAS */
|
|
.lar_otag {
|
|
color: #9F4511;
|
|
}
|
|
|
|
/*ODB_PARAM ALIAS */
|
|
.lar_par {
|
|
color: #1817A2;
|
|
font-style: italic;
|
|
}
|
|
|
|
.lar_odb {
|
|
color: #D3AF37;
|
|
}
|
|
|
|
.lar_loop {
|
|
color: #8E0F7E;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.lar_area {
|
|
max-width:90vw;
|
|
width:100%;
|
|
height:40vh;
|
|
overflow:auto;
|
|
resize:both;
|
|
background-color:white;
|
|
overflow-wrap: break-word;
|
|
caret-color: red;
|
|
padding: 5px 10px 5px 10px;
|
|
white-space: pre;
|
|
font-family: monospace;
|
|
display: block;
|
|
}
|
|
|
|
/* Red/Green Mode */
|
|
#PulsOn {
|
|
width: 15px;
|
|
height: 15px;
|
|
background-color: red;
|
|
position: relative;
|
|
-webkit-animation-name: example; /* Chrome, Safari, Opera */
|
|
-webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
|
|
-webkit-animation-iteration-count: infinite; /* Chrome, Safari, Opera */
|
|
animation-name: example;
|
|
animation-duration: 3s;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
|
|
/* Chrome, Safari, Opera */
|
|
@-webkit-keyframes example {
|
|
0% {background-color:red; left:20px; top:0px;}
|
|
25% {background-color:orange; left:25px; top:0px;}
|
|
50% {background-color:green; left:30px; top:0px;}
|
|
75% {background-color:orange; left:25px; top:0px;}
|
|
100% {background-color:red; left:20px; top:0px;}
|
|
}
|
|
|
|
/* Standard syntax */
|
|
@keyframes example {
|
|
0% {background-color:red; left:20px; top:0px;}
|
|
25% {background-color:orange; left:25px; top:0px;}
|
|
50% {background-color:green; left:30px; top:0px;}
|
|
75% {background-color:orange; left:25px; top:0px;}
|
|
100% {background-color:red; left:20px; top:0px;}
|
|
}
|
|
|
|
/* HV table highlight */
|
|
.tdSelectable:hover {
|
|
background-color: yellow;
|
|
}
|
|
|
|
.tdSelected {
|
|
background: yellow;
|
|
}
|
|
|
|
.tdIgnorable:hover {
|
|
background-color: red;
|
|
}
|
|
|
|
.tdIgnored {
|
|
background: red;
|
|
}
|
|
|
|
/* Proposal ID checks */
|
|
.propIDcorrect {
|
|
background: red;
|
|
}
|
|
|
|
|
|
/* Vacuum related */
|
|
.chamber {
|
|
stroke: #000000;
|
|
stroke-width: 2px;
|
|
fill: #E0E0E0;
|
|
}
|
|
.pump_line {
|
|
stroke: #505050;
|
|
stroke-width: 5px;
|
|
fill: none;
|
|
}
|
|
|
|
/* The switch - the box around the slider */
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 30px;
|
|
height: 17px;
|
|
}
|
|
|
|
/* Hide default HTML checkbox */
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
/* The slider */
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ccc;
|
|
-webkit-transition: .4s;
|
|
transition: .4s;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 13px;
|
|
width: 13px;
|
|
left: 2px;
|
|
bottom: 2px;
|
|
background-color: white;
|
|
-webkit-transition: .4s;
|
|
transition: .4s;
|
|
}
|
|
|
|
input:checked + .slider {
|
|
background-color: green;
|
|
}
|
|
|
|
input:focus + .slider {
|
|
box-shadow: 0 0 1px #2196F3;
|
|
}
|
|
|
|
input:checked + .slider:before {
|
|
-webkit-transform: translateX(13px);
|
|
-ms-transform: translateX(13px);
|
|
transform: translateX(13px);
|
|
}
|
|
|
|
/* Rounded sliders */
|
|
.slider.round {
|
|
border-radius: 17px;
|
|
}
|
|
|
|
.slider.round:before {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* Style calculator inputs */
|
|
.calculator {
|
|
background-color:#F2F2F2;
|
|
color:#0645AD;
|
|
}
|