mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
slight html/js/css changes
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
body {
|
body {
|
||||||
background-color: #2e2e2e;
|
background-color: #252525;
|
||||||
/* Dark background color */
|
|
||||||
color: #e0e0e0;
|
color: #e0e0e0;
|
||||||
/* Light text color */
|
margin: 0;
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
#container {
|
#container {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
margin-bottom: 20px
|
margin-bottom: 20px
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-container {
|
.table-container {
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
/* Space between tables */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.csv-table {
|
.csv-table {
|
||||||
@@ -23,3 +23,50 @@ body {
|
|||||||
h3 {
|
h3 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav {
|
||||||
|
background-color: #121212;
|
||||||
|
padding: 1em 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav .logo {
|
||||||
|
margin-left: 40px;
|
||||||
|
height: 40px;
|
||||||
|
/* Adjust height as needed */
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul {
|
||||||
|
list-style-type: none;
|
||||||
|
margin: 0;
|
||||||
|
margin-left: 1px;
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
justify-content: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul li {
|
||||||
|
margin-right: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul li a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul li a:hover,
|
||||||
|
nav ul li a.active {
|
||||||
|
color: #3fb449;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav .bottom-bar {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 2px;
|
||||||
|
background-color: #25682a;
|
||||||
|
}
|
||||||
@@ -137,6 +137,7 @@ function addTableElement(blenderId, csvData, filename) {
|
|||||||
|
|
||||||
var table = new Tabulator("#table-" + blenderId, {
|
var table = new Tabulator("#table-" + blenderId, {
|
||||||
height: "400px",
|
height: "400px",
|
||||||
|
resizableColumnGuide: true,
|
||||||
index: "GlobalId",
|
index: "GlobalId",
|
||||||
data: csvData,
|
data: csvData,
|
||||||
importFormat: "csv",
|
importFormat: "csv",
|
||||||
|
|||||||
@@ -27,7 +27,12 @@
|
|||||||
<script defer src="./static/js/index.js"></script>
|
<script defer src="./static/js/index.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>IFC Data</h1>
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/">IFC Data</a></li>
|
||||||
|
</ul>
|
||||||
|
<div class="bottom-bar"></div>
|
||||||
|
</nav>
|
||||||
<div id="container"></div>
|
<div id="container"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user