Files
TRIMSP/ZGUI.css

205 lines
4.3 KiB
CSS

* {
box-sizing: border-box;
}
td {
white-space: wrap;
}
.guitable {
background-color: #DDDDDD;
border: 1px solid #000000;
/* border-collapse: collapse; */
border-radius: 10px;
border: none;
border-spacing: 0px;
padding: 5px;
margin-left: auto;
margin-right: auto;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.guitable tr:last-child td:first-child {
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;
}
/* For mobile phones: */
[class*="col-"] {
width: 100%;
}
@media only screen and (min-width: 700px) {
/* For tablets: */
.col-s-1 {width: 50%;background-color: #DDDDDD;}
.col-s-2 {width: 50%;background-color: #DDDDDD;}
.col-s-full {width: 100%;background-color: #F2F2F2;}
[class*="col-"] {
width: 100%;
}
@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;}
}
[class*="col-"] {
float: left;
padding: 5px;
border: none;
}
.row::after {
content: "";
clear: both;
display: table;
}
.group_name {
padding-left:1em;
padding-right:1em;
font-size:105%;
font-weight:bold;
width: 1%;
white-space: nowrap;
/* text-align: center; */
}
.yellow_td {
padding-left:1em;
padding-right:1em;
background-color: yellow;
width: 1%;
white-space: nowrap;
}
.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%;
white-space: nowrap;
}
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* 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: 0.3s;
font-size:105%;
font-weight:bold;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active {
background-color: #ccc;
}
/* 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;}
}
/* 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;}
}
#myBar {
width: 10%;
height: 30px;
background-color: #4CAF50;
text-align: center; /* To center it horizontally (if you want) */
line-height: 30px; /* To center it vertically */
color: white;
}
/* Tooltip container */
.tooltip {
position: relative;
display: inline-block;
/* border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}
/* Tooltip text */
.tooltip .tooltiptext {
visibility: hidden;
width: 320px;
background-color: black;
color: #fff;
text-align: left;
padding: 5px;
border-radius: 6px;
/* Position the tooltip text - see examples below! */
position: absolute;
z-index: 1;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
}