You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ELAB-partsearch/parts/static/style.css

386 lines
5.6 KiB

html {
background-color: #D7E2E2;
color: #000F0F;
font-family: 'Roboto', sans-serif;
}
body {
margin: 0;
}
h1 {
padding: 16pt;
margin: 0 0 20pt 0;
text-align: center;
color: #D7E2E2;
background-color: #013A3A;
}
h2 {
background-color: #013A3A;
padding: 12pt 0 12pt 0;
margin-top: 0;
}
h3 {
color: #5E9292;
text-align: center;
padding: 12pt;
font-size: 20pt;
opacity: 0;
}
p {
text-align: center;
}
a {
color: #000F0F;
}
input[type=text].search-bar {
color: #404040;
font-size: 20pt;
padding: 5pt 8pt 5pt 8pt;
margin-top: 8pt;
margin-bottom: 8pt;
margin-left: 20pt;
width: 70%;
border: 2pt solid grey;
border-radius: 5pt;
}
.search-bar-container {
text-align: center;
}
.filter-container {
background-color: #226666;
padding: 10pt 15pt 10pt 15pt;
margin-top: 10pt;
margin-bottom: 10pt;
border-radius: 2pt;
display: inline-block;
}
.filter-container p {
text-align: left;
color: #D7E2E2;
font-size: 10pt;
margin-top: 4pt;
margin-left: 16pt;
margin-bottom: 4pt;
}
.filter-concontainertainer {
text-align: center;
}
input[type=checkbox]{
display: none;
}
input[type=checkbox] + label.toggle-btn {
border-radius: 3pt;
display: inline-block;
padding: 5pt;
color: #D7E2E2;
margin-top: 6pt;
margin-bottom: 6pt;
margin-left: 3pt;
margin-right: 3pt;
width: 100pt;
text-align: center;
border: 1pt solid #D7E2E2;
transition: 0.2s;
-webkit-transition: 0.2s;
}
input[type=checkbox]:checked + label.toggle-btn {
background-color: #D7E2E2;
color: #000F0F;
}
div label input {
margin-right:100px;
}
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
font-size: 10pt;
visibility: hidden;
width: 120px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
z-index: 1;
top: -5px;
right: 105%;
margin-left: -60px;
/* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
opacity: 0;
transition: opacity 0.2s;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
.tooltip .tooltiptext::after {
content: " ";
position: absolute;
top: 50%;
left: 100%; /* To the right of the tooltip */
margin-top: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent transparent black;
}
.shadow {
background-color: black;
display: none;
height: 100%;
left: 0;
opacity: 0.0;
position: absolute;
top: 0;
width: 100%;
z-index: 200;
}
.overlay {
background-color: #226666;
color: #D7E2E2;
display: none;
height: 90%;
left: 20%;
padding: 0;
position: fixed;
top:0;
width: 60%;
z-index: 201;
border-radius: 2pt;
text-align: center;
opacity: 0.0;
}
.details-item {
display: inline-block;
width: 25%;
padding: 12pt 10pt 12pt 0;
text-align: right;
text-transform: uppercase;
}
.details-content {
display: inline-block;
width: 65%;
padding-left: 20pt;
text-align: left;
}
.details-content p {
text-align: left;
}
.round-button {
position: absolute;
bottom: 15pt;
left: calc(15% - 20pt);
width: 40pt;
height: 32pt;
border-radius: 20pt;
background-color: #5E9292;
font-size: 20pt;
padding-top: 8pt;
box-shadow: 2pt 1pt 8pt black;
}
.round-button-left {
position: absolute;
bottom: 15pt;
left: calc(30% - 20pt);
width: 40pt;
height: 32pt;
border-radius: 20pt;
background-color: #5E9292;
font-size: 20pt;
padding-top: 8pt;
box-shadow: 2pt 1pt 8pt black;
}
.round-button a{
color: #D7E2E2;
}
.round-button-left a{
color: #D7E2E2;
}
.small-square-button {
position: absolute;
top: 5pt;
right: 5pt;
padding-right: 5pt;
font-size: 16pt;
}
.small-square-button a {
color: #D7E2E2;
}
.round-floating-button {
position: fixed;
bottom: 15pt;
right: 15pt;
width: 40pt;
height: 32pt;
border-radius: 20pt;
background-color: #5E9292;
font-size: 22pt;
padding-top: 8pt;
box-shadow: 2pt 1pt 8pt black;
text-align: center;
}
.round-floating-button a{
color: #D7E2E2;
}
#datasheet-info p {
font-size: 12pt;
}
.bottom-spacer {
height: 80pt;
}
table#results {
width: 100%;
border-collapse: collapse;
}
table#results th {
background-color: #226666;
color: #D7E2E2;
padding: 4pt;
border-right: 2px solid #D7E2E2;
border-left: 2px solid #D7E2E2;
}
table#results tr:nth-child(odd) {
background-color: #5E9292;
}
table#results td {
padding: 4pt;
cursor: pointer;
}
table#results #location {
width: 15%;
}
table#results #partno {
/*width: 20%;*/
}
table#results #description {
width: 70%;
}
table#results #docs {
width: 5%;
}
table#details {
position: absolute;
left: 0;
width: 45%;
margin-top: 4%;
}
table#details #location-head {
height: 10%;
color: #013A3A;
}
table#details #location {
height: 10%;
}
table#details #location td{
height: 10%;
}
table#details #partno-head {
height: 10%;
color: #013A3A;
}
table#details #partno-head td{
padding-top: 16pt;
}
table#details #partno{
height: 10%;
}
table#details #partno td{
height: 10%;
}
table#details #description-head {
height: 10%;
color: #013A3A;
}
table#details #description-head td {
padding-top: 16pt;
}
table#details #description {
height: 20%;
}
table#details #description td {
padding-left: 5%;
padding-right: 5%;
}
table#details #datasheet-head {
height: 10%;
color: #013A3A;
}
table#details #datasheet-head td {
padding-top: 16pt;
}
td p {
margin: 0;
padding: 0;
}
.overlay img#map {
position: absolute;
right: 5%;
margin-top: 4%;
max-height: calc(90% - 42pt);
max-width: 50%;
}
.pinfo-input {
display: none;
width: 90%;
}