162 lines
2.9 KiB
CSS
162 lines
2.9 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
|
|
|
|
@font-face {
|
|
font-family: "Material Icons Outlined";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url("chrome-extension://__MSG_@@extension_id__/fonts/MaterialIconsOutlined-Regular.otf");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Material Icons";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: url("chrome-extension://__MSG_@@extension_id__/fonts/MaterialIcons-Regular.ttf");
|
|
}
|
|
|
|
:root {
|
|
--white: #f4f4f9;
|
|
--darkgray: #696969;
|
|
--lightgray: #857f74;
|
|
--darkblue: #0f2137;
|
|
--lightblue: #0ebbfe;
|
|
--green: #c1d830;
|
|
--darkgreen: #103900;
|
|
--black: #000;
|
|
}
|
|
|
|
/* General Styles */
|
|
body {
|
|
background-color: #303030;
|
|
}
|
|
|
|
/* Navbar */
|
|
#td_nav1,
|
|
#td_nav2,
|
|
#td_nav3,
|
|
#td_nav4,
|
|
#td_nav5,
|
|
#td_nav6,
|
|
#td_nav7,
|
|
#td_nav8,
|
|
#td_nav9,
|
|
.nav_btn_td {
|
|
background-color: #606060;
|
|
color: #C0C0C0;
|
|
}
|
|
|
|
/* 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;
|
|
font-size: 0.9em;
|
|
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;
|
|
cursor: default;
|
|
}
|
|
|
|
input[name="btnCancel"] + input[name="btnSave"] {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
}
|
|
|
|
input[name="btnCancel"] {
|
|
background-color: var(--lightblue);
|
|
color: var(--white);
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 90px;
|
|
}
|
|
|
|
input[id="btnSubmitForApproval"]:hover {
|
|
background-color: var(--darkblue);
|
|
color: var(--lightblue);
|
|
}
|
|
|
|
input[value="Mark Complete"]:hover {
|
|
background-color: var(--green);
|
|
color: var(--darkgray);
|
|
}
|
|
|
|
input[name="btnParts"] {
|
|
margin: 0;
|
|
padding: 0 1em;
|
|
}
|
|
|
|
input[name="btnIssue4Eval"] {
|
|
background-color: var(--darkgreen);
|
|
color: var(--green);
|
|
}
|
|
|
|
input[name="btnContract"] {
|
|
padding: 0.3em 0;
|
|
background-color: var(--darkgray);
|
|
color: var(--white);
|
|
}
|
|
|
|
input[name="btnExpandRepairHistory"] {
|
|
padding: 0.25em 0;
|
|
}
|
|
|
|
input[name="btnRepairCodes"] {
|
|
padding: 0.5em 0;
|
|
font-size: 1em;
|
|
}
|
|
|
|
input[value="Exit"] {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
input[value="View Repair"] {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
input[value="View Repair"],
|
|
input[value="Remove Repair"] {
|
|
padding: 4px 0;
|
|
}
|
|
|
|
label {
|
|
transition: background-color 250ms ease-in, color 250ms ease-in;
|
|
}
|
|
|
|
label[for="chkWarrantee"] {
|
|
padding: 0.35em;
|
|
}
|
|
|
|
/* Images */
|
|
|
|
img[id="Img1"],
|
|
img[id="Img2"] {
|
|
position: absolute;
|
|
content: url("chrome-extension://__MSG_@@extension_id__/img/autorenew.png");
|
|
width: 18px;
|
|
height: 18px;
|
|
/* BUG: The below lines aren't working.. */
|
|
outline: none;
|
|
border: none;
|
|
}
|
|
|
|
img[id="Img3"] {
|
|
content: url("chrome-extension://__MSG_@@extension_id__/img/autorenew.png");
|
|
width: 16px;
|
|
height: 16px;
|
|
outline: none;
|
|
border: none;
|
|
}
|