Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
odb2 committed Jun 5, 2023
0 parents commit 77e23cf
Show file tree
Hide file tree
Showing 13 changed files with 7,428 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
93 changes: 93 additions & 0 deletions costAnalysisDashboard.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
cost-analysis-dashboard input {
border: 1px solid black;
text-align: center;
}

/* The Modal (background) */
cost-analysis-dashboard .modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

cost-analysis-dashboard .close {
font-size: 45px;
font-weight: bold;
width: 25px;
height: 25px;
display: flex;
justify-content: center;
align-items: center;
}

cost-analysis-dashboard .close:hover,
cost-analysis-dashboard .close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

cost-analysis-dashboard input[type=number]::-webkit-inner-spin-button,
cost-analysis-dashboard input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
}

cost-analysis-dashboard #dashboardSidebar {
overflow-y: overlay;
}

cost-analysis-dashboard .input-wrapper:hover .input-description {
visibility: visible;
opacity: 1;
}

/* For Webkit-based browsers (Chrome, Safari, etc.) */
::-webkit-scrollbar {
width: 8px; /* Adjust width of the scrollbar */
height: 12px; /* Adjust height of the scrollbar */
}

::-webkit-scrollbar-track {
background-color: #f0f0f0; /* Set the background color of the track */
border-radius: 10px; /* Add border-radius to the track */
}

::-webkit-scrollbar-thumb {
background-color: #888; /* Set the color of the thumb (scrollbar handle) */
border-radius: 10px; /* Add border-radius to the thumb */
}

::-webkit-scrollbar-thumb:hover {
background-color: #555; /* Change the color of the thumb when hovered */
}

/* For Firefox */
* {
scrollbar-width: thin; /* Adjust width of the scrollbar */
scrollbar-color: #888 #f0f0f0; /* Set the colors of the thumb and track, respectively */
}

/* For Internet Explorer and Edge */
::-ms-scrollbar {
width: 12px; /* Adjust width of the scrollbar */
}

::-ms-scrollbar-track {
background-color: #f0f0f0; /* Set the background color of the track */
}

::-ms-scrollbar-thumb {
background-color: #888; /* Set the color of the thumb (scrollbar handle) */
border-radius: 10px; /* Add border-radius to the thumb */
}

::-ms-scrollbar-thumb:hover {
background-color: #555; /* Change the color of the thumb when hovered */
}
20 changes: 20 additions & 0 deletions costAnalysisDashboard.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Product Explorer</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100;300;500;600&family=Roboto+Condensed:wght@400;700&family=Roboto+Slab:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./output.css" />
<link rel="stylesheet" href="./costAnalysisDashboard.css" />
<script src="./costAnalysisDashboard.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>

<cost-analysis-dashboard></cost-analysis-dashboard>

</body>
</html>
Loading

0 comments on commit 77e23cf

Please sign in to comment.