organic_ast_explorer/src/OrgAst.module.css

115 lines
1.8 KiB
CSS
Raw Normal View History

2024-01-24 02:27:12 +00:00
.OrgAst {
flex: 1;
2024-01-24 03:05:07 +00:00
background: #eeeeee;
padding: 5px;
overflow: auto;
2024-01-24 02:27:12 +00:00
}
.OrgAstNode {
2024-01-24 03:05:07 +00:00
border: 1px solid #000000;
background: #ffffff;
2024-01-24 03:27:31 +00:00
box-shadow: 3px 3px 4px #000000;
> details {
2024-01-24 04:07:26 +00:00
border: 1px solid #000000;
margin: 5px 5px 5px 2px;
2024-01-24 03:27:31 +00:00
> summary {
cursor: pointer;
padding: 5px 2px;
}
}
2024-01-24 04:07:26 +00:00
> details[open] {
> summary {
border-width: 0 0 1px 0;
border-style: dotted;
border-color: #000000;
}
}
2024-01-24 02:27:12 +00:00
}
2024-01-27 19:04:44 +00:00
.OrgAstNode.selected {
> .OrgAstNodeType {
background: #9cfc97;
}
}
.OrgAstNode.hovered:not(.selected) {
> .OrgAstNodeType {
background: #70f8ba;
}
}
2024-01-24 02:27:12 +00:00
.OrgAstNodeType {
2024-01-24 04:07:26 +00:00
background: #6ccff6;
padding: 3px;
2024-01-28 02:49:17 +00:00
overflow: hidden;
> span:first-child {
font-size: 1.3rem;
font-weight: 700;
2024-01-28 02:49:17 +00:00
white-space: nowrap;
}
> span:nth-child(2) {
margin-left: 1rem;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
2024-01-24 04:07:26 +00:00
}
.OrgAstChildren {
padding: 5px 5px 5px 20px;
background: #eeeeee;
2024-01-24 02:27:12 +00:00
}
2024-01-27 21:38:34 +00:00
2024-01-27 23:12:51 +00:00
.OrgAstProperties,
2024-01-28 01:49:43 +00:00
.OrgAstObjectTree,
.OrgAstOptionalPair {
2024-01-27 22:01:09 +00:00
border: 1px solid #000000;
margin: 5px;
2024-01-27 21:38:34 +00:00
> tbody {
> tr {
border-width: 1px 0;
border-style: solid;
border-color: #000000;
> th,
> td {
padding: 5px;
}
> th {
font-weight: 700;
text-align: right;
padding-right: 5px;
}
}
> tr:nth-child(odd) {
background-color: #eeeeee;
}
> tr:nth-child(even) {
background-color: #ffffff;
}
}
}
2024-01-27 23:12:51 +00:00
.OrgAstObjectTree {
> tbody {
border-style: dashed;
border-color: #000000;
}
> tbody:not(:first-child, :last-child) {
border-width: 3px 0;
}
> tbody:first-child:not(:only-child) {
border-width: 0 0 3px 0;
}
> tbody:last-child:not(:only-child) {
border-width: 3px 0 0 0;
}
}