You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
181 lines
3.2 KiB
181 lines
3.2 KiB
/* Styles for the main content area */
|
|
main {
|
|
display: block;
|
|
}
|
|
|
|
/* Styles for the main container div */
|
|
#mainDiv {
|
|
width: 100%;
|
|
display: flex;
|
|
padding: 10px;
|
|
}
|
|
|
|
/* Styles for the chart container div */
|
|
#chartDiv {
|
|
flex-basis: 75%;
|
|
height: 400px;
|
|
}
|
|
|
|
/* Styles for the settings container div */
|
|
#settings_div {
|
|
text-align: center;
|
|
flex-basis: 25%;
|
|
}
|
|
|
|
/* Styles for submenu label */
|
|
.submenuLabel+div {
|
|
display: none;
|
|
}
|
|
|
|
/* Styles for chart metadata groups */
|
|
div[id^="chart_metadata_group"] {
|
|
padding: 0.5em;
|
|
/* Padding around metadata groups */
|
|
margin-bottom: 0.5em;
|
|
/* Margin below metadata groups */
|
|
background-color: var(--side);
|
|
/* Background color */
|
|
}
|
|
|
|
/* Style for arrow after submenu label */
|
|
.submenuLabel::after {
|
|
content: " ";
|
|
border: solid black;
|
|
border-width: 0 2px 2px 0;
|
|
display: inline-block;
|
|
padding: 0.2rem;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.arrow-down::after {
|
|
transform: rotate(45deg);
|
|
-webkit-transform: rotate(45deg);
|
|
}
|
|
|
|
.arrow-up::after {
|
|
transform: rotate(225deg);
|
|
-webkit-transform: rotate(225deg);
|
|
}
|
|
|
|
|
|
/* Styles for the table container div */
|
|
#tableDiv {
|
|
padding: 0;
|
|
/* Remove padding */
|
|
overflow: auto;
|
|
/* Add scrollbars if content overflows */
|
|
flex-basis: 100%;
|
|
/* Set the size of the table area */
|
|
}
|
|
|
|
/* Styles for secondary div */
|
|
#secondaryDiv {
|
|
display: flex;
|
|
/* Use flexbox layout */
|
|
}
|
|
|
|
/* Styles for table elements */
|
|
#dataTable tr,
|
|
#dataTable td,
|
|
#dataTable th {
|
|
padding: 0;
|
|
}
|
|
|
|
#dataTable td,
|
|
#dataTable th {
|
|
height: 2em;
|
|
/* Set height of table cells */
|
|
}
|
|
|
|
/* Styles for table input elements */
|
|
#dataTable th input {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Styles for table header input */
|
|
#dataTable input,
|
|
#dataTable div {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#dataTable input {
|
|
text-align: center;
|
|
background-color: transparent;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Styles for table header input */
|
|
#dataTable th div:has(input[type=text]) {
|
|
display: inline-block;
|
|
width: 85%;
|
|
}
|
|
|
|
/* Styles for table color input */
|
|
#dataTable th div:has(input[type=color]) {
|
|
display: inline-block;
|
|
width: 15%;
|
|
}
|
|
|
|
#dataTable input[type=color] {
|
|
border-width: 0;
|
|
}
|
|
|
|
#rcMenu {
|
|
z-index: 1000;
|
|
position: absolute;
|
|
background-color: white;
|
|
border: 1px solid lightgrey;
|
|
box-shadow: 2px 2px 2px gray;
|
|
display: none;
|
|
margin: 0;
|
|
width: 180px;
|
|
}
|
|
|
|
#rcMenu ul {
|
|
list-style-type: none;
|
|
padding-left: 10px;
|
|
width: 180px;
|
|
}
|
|
|
|
#rcMenu a {
|
|
text-decoration: none;
|
|
border-bottom: 1px solid lightgrey;
|
|
width: 160px;
|
|
display: block;
|
|
}
|
|
|
|
#rcMenu a:hover {
|
|
background-color: lightgrey;
|
|
}
|
|
|
|
/* Media query for smaller screens */
|
|
@media (max-width: 950px) {
|
|
#mainDiv {
|
|
display: block
|
|
}
|
|
|
|
#chartDiv {
|
|
width: 100%;
|
|
}
|
|
|
|
#settings_div {
|
|
width: 100%;
|
|
display: block
|
|
}
|
|
|
|
#tableDiv {
|
|
width: 100%
|
|
}
|
|
|
|
#shareDiv {
|
|
width: 100%
|
|
}
|
|
|
|
#secondaryDiv {
|
|
display: block
|
|
}
|
|
} |