HBMonv2/html/css/styles.php

185 lines
3.8 KiB
PHP
Raw Normal View History

2021-05-18 11:37:04 -04:00
<?php
include_once '../include/config.php';
// Output CSS and not plain text
header("Content-type: text/css");
?>
.link <?php echo "{".THEME_COLOR."}\n"; ?>
.button <?php echo "{".THEME_COLOR."}\n"; ?>
.dropbtn <?php echo "{".THEME_COLOR."}\n"; ?>
2021-05-30 12:41:57 -04:00
#lact {
height:<?php echo HEIGHT_ACTIVITY; ?>;
width: 100%;
border-collapse: collapse;
border:none;
}
#rcorner {
2021-06-03 04:04:05 -04:00
display: flex;
2021-06-03 10:01:39 -04:00
align-items: center;
justify-content: center;
vertical-align: middle;
text-align:center;
2021-06-03 04:04:05 -04:00
justify-content: center;
align-items: center;
2021-05-30 12:41:57 -04:00
border-radius: 10px;
-moz-border-radius:10px;
-webkit-border-radius:10px;
2021-06-03 04:04:05 -04:00
border: 1px solid LightGrey;
2021-05-30 12:41:57 -04:00
background: #e9e9e9;
font: 10pt arial, sans-serif;
font-weight:bold;
2021-06-03 04:04:05 -04:00
margin-top:2px;
margin-right:0px;
margin-left:0px;
margin-bottom:0px;
2021-05-30 12:41:57 -04:00
color:#002d62;
white-space:normal;
2021-06-03 10:01:39 -04:00
height: 100%;
2021-06-03 06:44:53 -04:00
line-height:20px;
2021-05-30 12:41:57 -04:00
}
#rcornerh {
2021-06-03 04:04:05 -04:00
display: flex;
display: -webkit-flex;
justify-content: center;
align-items: center;
2021-05-30 12:41:57 -04:00
border-radius:8px;
-moz-border-radius:8px;
-webkit-border-radius:8px;
font: 9pt arial, sans-serif;
font-weight:bold;
color:white;
height:25px;
line-height:25px;
2021-06-03 04:04:05 -04:00
<?php echo THEME_COLOR."\n"; ?>
2021-05-30 12:41:57 -04:00
}
table, td, th {
border: .5px solid #d0d0d0;
padding: 2px;
border-collapse: collapse;
border-spacing: 0;
text-align:center;}
2021-05-18 11:37:04 -04:00
tr.theme_color <?php echo "{".THEME_COLOR."}\n"; ?>
th.theme_color <?php echo "{".THEME_COLOR."}\n"; ?>
html {
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}
2021-05-23 13:25:39 -04:00
2021-05-24 04:01:19 -04:00
table.log {background-color: #f0f0f0; border-collapse: collapse; border: 1px solid #C1DAD7; width: 100%;}
2021-05-23 13:25:39 -04:00
th.log {height: 30px; text-align: center;}
2021-05-24 11:50:32 -04:00
tr:nth-child(even).log {background-color: #fafafa;text-align: center;}
2021-05-23 13:25:39 -04:00
td.log {font-family: Monospace; height: 20px;}
2021-05-18 11:37:04 -04:00
a:link {
color: #0066ff;
text-decoration: none;
}
/* visited link */
a:visited {
color: #0066ff;
text-decoration: none;
}
/* mouse over link */
a:hover {
color: hotpink;
text-decoration: underline;
}
/* selected link */
a:active {
color: #0066ff;
text-decoration: none;
}
.tooltip {
position: relative;
opacity: 1;
display: inline-block;
border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 280px;
background-color: #6E6E6E;
box-shadow: 4px 4px 6px #3b3b3b;
color: #FFFFFF;
text-align: left;
border-radius: 6px;
padding: 8px 0;
left: 100%;
opacity: 1;
/* Position the tooltip */
position: absolute;
z-index: 1;
}
.tooltip:hover .tooltiptext {
right: 100%;
opacity: 1;
visibility: visible;
}
.button {
border: none;
padding: 8px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
font-weight: 500;
margin: 4px 2px;
border-radius: 8px;
box-shadow: 0px 8px 10px rgba(0,0,0,0.1);
}
.link:hover {background-color:rgb(140,140,140);background: rgb(140,140,140); color:white;}
.dropdown:hover .dropbtn {background-color:rgb(140,140,140);background: rgb(140,140,140); color:white;}
.dropbtn {
border: none;
padding: 8px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
font-weight: 500;
margin: 4px 2px;
border-radius: 8px;
box-shadow: 0px 8px 10px rgba(0,0,0,0.1);
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 140px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1000;
}
/* Links inside the dropdown */
.dropdown-content a {
color: black;
padding: 6px 16px;
text-decoration: none;
display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}