Add title
This commit is contained in:
parent
8f66d8663a
commit
317d79da23
2 changed files with 28 additions and 10 deletions
|
|
@ -6,7 +6,9 @@
|
|||
<link rel="stylesheet" href="styles.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container"></div>
|
||||
<div id="container">
|
||||
<div id="graphTitle" class="graph-title">Microsoft Common Data Model - Network Graph Visualization</div>
|
||||
</div>
|
||||
<div id="nodeDrawer" class="drawer">
|
||||
<div class="drawer-content">
|
||||
<span class="close">×</span>
|
||||
|
|
|
|||
34
styles.css
34
styles.css
|
|
@ -6,23 +6,39 @@ html, body {
|
|||
}
|
||||
|
||||
#container {
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: white;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.graph-title {
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
font-size: 32px;
|
||||
color: #333;
|
||||
z-index: 10;
|
||||
background-color: rgba(255, 255, 255, 0.8);
|
||||
padding: 5px 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
|
||||
/* The Drawer (background) */
|
||||
.drawer {
|
||||
display: none; /* Hidden by default */
|
||||
position: fixed; /* Stay in place */
|
||||
z-index: 1; /* Sit on top */
|
||||
right: 0; /* Align to the right side */
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 30%; /* Adjust width as needed */
|
||||
height: 100%; /* Full height */
|
||||
background-color: white; /* Drawer background color */
|
||||
box-shadow: -2px 0 5px rgba(0,0,0,0.5); /* Shadow for better visibility */
|
||||
overflow-x: hidden; /* Prevent horizontal scroll */
|
||||
width: 30%;
|
||||
height: 100%;
|
||||
background-color: white;
|
||||
box-shadow: -2px 0 5px rgba(0,0,0,0.5);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.drawer-content {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue