cosmicoptima_loom/styles.css

204 lines
3.4 KiB
CSS
Raw Permalink Normal View History

2023-03-01 12:26:46 +00:00
.loom {
2023-02-26 23:15:37 +00:00
overflow-y: auto;
}
2023-03-01 12:26:46 +00:00
.loom-buttons {
margin-top: 0.5em;
}
2023-03-20 13:29:18 +00:00
.loom-zport {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
margin-bottom: 0.5em;
}
.loom-zport input {
flex-grow: 1;
}
.loom-zport button {
margin-left: 0.5em;
}
.loom-vspacer {
padding-top: 0.5em;
}
2023-03-01 12:26:46 +00:00
.loom-settings {
margin-bottom: 0.3em;
}
.hidden {
display: none;
}
.loom-setting {
display: flex;
flex-direction: column;
}
.loom-setting label {
font-size: 0.9em;
margin-bottom: 0.3em;
}
.loom-setting input {
margin-bottom: 0.6em;
}
2023-03-21 20:14:39 +00:00
.loom-setting select {
margin-bottom: 0.6em;
}
2023-03-01 10:44:08 +00:00
.loom-collapse {
margin-left: 0.6em;
}
.loom-collapse.is-collapsed {
transform: rotate(-90deg);
}
2023-03-15 03:28:11 +00:00
.loom-node-footer {
2023-03-12 11:50:44 +00:00
color: var(--text-faint);
font-size: 0.9em;
2023-03-15 03:42:41 +00:00
margin-left: calc(0.85em + 1px);
padding: 0.35em 0 0.35em 1.2em;
2023-03-12 11:50:44 +00:00
white-space: nowrap;
display: flex;
align-items: center;
width: max-content;
2023-03-15 03:42:41 +00:00
border-left: 1px solid var(--color-base-35);
2023-03-12 11:50:44 +00:00
}
.loom-hoist-button:hover {
color: var(--text-normal);
}
2023-03-15 03:28:11 +00:00
.loom-node-footer-text {
2023-03-15 03:42:41 +00:00
margin-left: 0.35em;
2023-03-12 11:50:44 +00:00
}
2023-02-26 02:44:25 +00:00
.loom-children {
2023-03-13 10:28:46 +00:00
margin-left: 0.85em;
padding-left: 0.6em;
2023-03-13 10:28:46 +00:00
border-left: 1px solid var(--color-base-35);
2023-02-26 02:44:25 +00:00
}
2023-02-18 03:22:38 +00:00
2023-02-26 02:44:25 +00:00
.loom-node {
display: flex;
align-items: center;
2023-02-26 21:21:58 +00:00
padding: 0;
2023-02-26 02:44:25 +00:00
}
2023-02-18 03:22:38 +00:00
2023-02-26 02:44:25 +00:00
.loom-node.is-active {
background-color: var(--nav-item-background-active);
}
2023-02-18 03:22:38 +00:00
2023-03-13 18:08:11 +00:00
.loom-node-red {
background-color: rgba(var(--color-red-rgb), 0.2) !important;
}
2023-03-15 04:10:17 +00:00
.loom-node-red.is-active {
background-color: rgba(var(--color-red-rgb), 0.3) !important;
}
2023-03-13 18:08:11 +00:00
.loom-node-orange {
background-color: rgba(var(--color-orange-rgb), 0.2) !important;
}
2023-03-15 04:10:17 +00:00
.loom-node-orange.is-active {
background-color: rgba(var(--color-orange-rgb), 0.3) !important;
}
2023-03-13 18:08:11 +00:00
.loom-node-yellow {
background-color: rgba(var(--color-yellow-rgb), 0.2) !important;
}
2023-03-15 04:10:17 +00:00
.loom-node-yellow.is-active {
background-color: rgba(var(--color-yellow-rgb), 0.3) !important;
}
2023-03-13 18:08:11 +00:00
.loom-node-green {
background-color: rgba(var(--color-green-rgb), 0.2) !important;
}
2023-03-15 04:10:17 +00:00
.loom-node-green.is-active {
background-color: rgba(var(--color-green-rgb), 0.3) !important;
}
2023-03-13 18:08:11 +00:00
.loom-node-blue {
background-color: rgba(var(--color-blue-rgb), 0.2) !important;
}
2023-03-15 04:10:17 +00:00
.loom-node-blue.is-active {
background-color: rgba(var(--color-blue-rgb), 0.3) !important;
}
2023-03-13 18:08:11 +00:00
.loom-node-purple {
background-color: rgba(var(--color-purple-rgb), 0.2) !important;
}
2023-03-15 04:10:17 +00:00
.loom-node-purple.is-active {
background-color: rgba(var(--color-purple-rgb), 0.3) !important;
}
2023-03-13 18:08:11 +00:00
2023-02-26 02:44:25 +00:00
.loom-node-inner {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2023-02-26 21:31:24 +00:00
padding: 0.35em 0 0.35em 0.6em;
2023-02-26 02:44:25 +00:00
}
2023-03-13 14:58:31 +00:00
.loom-node-bookmark {
display: flex;
align-items: center;
margin-left: 0.3em;
margin-right: -0.3em;
}
2023-02-26 02:44:25 +00:00
.loom-node-unread {
font-weight: bold !important;
}
.loom-node-unread-indicator {
width: 0.3em;
height: 0.3em;
border-radius: 50%;
background-color: var(--nav-item-color);
2023-02-26 21:23:38 +00:00
margin-left: 0.6em;
2023-02-26 02:44:25 +00:00
flex-shrink: 0;
}
.loom-icon {
display: inline-flex !important;
2023-02-26 21:31:24 +00:00
margin-left: 0.1em;
2023-02-26 21:21:58 +00:00
--icon-size: 1.1rem;
2023-02-26 02:44:25 +00:00
}
2023-02-26 21:31:24 +00:00
2023-03-08 01:06:52 +00:00
.loom-icons:not(.is-mobile) {
2023-02-26 22:28:25 +00:00
display: none;
}
.loom-node:hover .loom-icons {
display: inline-flex !important;
}
.loom-spacer {
padding-right: 0.6em;
2023-02-26 21:31:24 +00:00
}
2023-03-13 14:58:31 +00:00
.loom-section {
margin-bottom: 0.5em;
}
.loom-section-header {
padding: 0.35em;
}
2023-03-13 15:05:22 +00:00
.loom-section-header-inner {
color: var(--text-normal);
font-weight: var(--font-medium);
}
2023-03-13 14:58:31 +00:00
.loom-section-count {
color: var(--text-faint);
}