96 lines
1.9 KiB
CSS
96 lines
1.9 KiB
CSS
/*
|
|
|
|
TODO float buttons on bottom of RO
|
|
TODO float location entry on RO (sidebar?)
|
|
TODO style individual buttons
|
|
TODO options page
|
|
- move parts list buttons top or bottom
|
|
- color themes?
|
|
BUG close button on photo pages is styled along with the btnCancel
|
|
HACK display tiny images next to parts list?
|
|
TODO shrink navbar/header/location on scroll
|
|
TODO fancy button animations
|
|
*/
|
|
|
|
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
|
|
|
|
:root {
|
|
--white: #f4f4f9;
|
|
--darkgray: #696969;
|
|
--lightgray: #857f74;
|
|
--darkblue: #0f2137;
|
|
--lightblue: #0ebbfe;
|
|
--green: #c1d830;
|
|
--darkgreen: #103900;
|
|
--black: #000;
|
|
}
|
|
|
|
/* Buttons */
|
|
|
|
input[type="button"] {
|
|
font-family: Roboto, sans-serif;
|
|
background-color: var(--darkgray);
|
|
color: var(--white);
|
|
border-radius: 5px;
|
|
padding: 0.55em 1.25em;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: color 250ms ease-in, background-color 250ms ease-in;
|
|
}
|
|
|
|
input[type="button"]:hover {
|
|
background-color: var(--lightgray);
|
|
}
|
|
|
|
input[type="button"]:disabled {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
input[name="btnCancel"] + input[name="btnSave"] {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
}
|
|
|
|
input[name="btnCancel"] {
|
|
background-color: lightcoral;
|
|
color: var(--white);
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 100px;
|
|
}
|
|
|
|
input[id="btnSubmitForApproval"]:hover {
|
|
background-color: var(--darkblue);
|
|
color: var(--lightblue);
|
|
}
|
|
|
|
input[value="Mark Complete"]:hover {
|
|
background-color: var(--green);
|
|
color: var(--darkgray);
|
|
font-weight: bolder;
|
|
}
|
|
|
|
input[name="btnParts"] {
|
|
margin: 0;
|
|
padding: 0 1em;
|
|
}
|
|
|
|
input[name="btnExpandRepairHistory"] {
|
|
padding: 0.25em 0;
|
|
/* margin: 0; */
|
|
}
|
|
|
|
input[name="btnRepairCodes"] {
|
|
padding: 0.5em 0;
|
|
}
|
|
|
|
img[id="Img1"],
|
|
img[id="Img2"] {
|
|
position: absolute;
|
|
content: url("https://upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Plus_symbol.svg/500px-Plus_symbol.svg.png");
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|