dyna3/app-proto/main.css

120 lines
1.4 KiB
CSS
Raw Normal View History

body {
margin: 0px;
color: #fcfcfc;
background-color: #222;
}
/* sidebar */
2024-09-13 21:53:12 +00:00
#sidebar {
display: flex;
flex-direction: column;
2024-09-13 21:53:12 +00:00
float: left;
width: 450px;
height: 100vh;
2024-09-13 21:53:12 +00:00
margin: 0px;
padding: 0px;
border-width: 0px 1px 0px 0px;
border-style: solid;
border-color: #555;
}
/* add-remove */
#add-remove {
display: flex;
gap: 8px;
margin: 8px;
}
#add-remove > button {
width: 32px;
height: 32px;
font-size: large;
}
/* outline */
#outline {
flex-grow: 1;
margin: 0px;
padding: 0px;
overflow-y: scroll;
}
2024-09-23 07:39:14 +00:00
li {
user-select: none;
}
summary {
display: flex;
}
summary.selected {
2024-09-13 21:53:12 +00:00
color: #fff;
background-color: #444;
2024-09-13 21:53:12 +00:00
}
summary > div, .cst {
padding-top: 4px;
padding-bottom: 4px;
}
.elt, .cst {
display: flex;
flex-grow: 1;
padding-left: 8px;
padding-right: 8px;
}
.elt-switch {
width: 18px;
padding-left: 2px;
text-align: center;
}
details:has(li) .elt-switch::after {
content: '▸';
2024-09-13 21:53:12 +00:00
}
details[open]:has(li) .elt-switch::after {
content: '▾';
}
.elt-label {
flex-grow: 1;
2024-09-13 21:53:12 +00:00
}
2024-09-23 07:39:14 +00:00
.cst-label {
flex-grow: 1;
}
.elt-rep {
display: flex;
}
2024-09-23 07:39:14 +00:00
.elt-rep > div, .cst-rep {
padding: 2px 0px 0px 0px;
font-size: 10pt;
text-align: center;
width: 56px;
}
2024-09-23 07:39:14 +00:00
.cst {
font-style: italic;
}
2024-09-13 21:53:12 +00:00
/* display */
canvas {
float: left;
margin-left: 20px;
margin-top: 20px;
2024-09-13 21:53:12 +00:00
background-color: #020202;
border: 1px solid #555;
border-radius: 16px;
}
canvas:focus {
border-color: #aaa;
}