1000 lines
15 KiB
Plaintext
1000 lines
15 KiB
Plaintext
@import "theme.less";
|
|
|
|
html {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
*, *:before, *:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
*,*:focus,*:hover{
|
|
outline:none;
|
|
}
|
|
|
|
[onClick] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
label {
|
|
user-select: none;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
font-family: 'Liberation Mono', monospace;
|
|
font-size: @fontsize;
|
|
|
|
background-color: @background;
|
|
height: 100%;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.25em;
|
|
color: @header_1;
|
|
border-bottom: 1px solid #ccc;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.0em;
|
|
color: @header_1;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.0em;
|
|
}
|
|
|
|
button {
|
|
font-size: 1em;
|
|
padding: 6px;
|
|
}
|
|
|
|
#blackout {
|
|
position: absolute;
|
|
left: 0px;
|
|
right: 0px;
|
|
top: 0px;
|
|
bottom: 0px;
|
|
z-index: 1024;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
#menu {
|
|
position: absolute;
|
|
top: 24px;
|
|
right: 24px;
|
|
background: #fff;
|
|
color: #000;
|
|
border: 2px solid #000;
|
|
box-shadow: 5px 5px 8px 0px rgba(0,0,0,0.5);
|
|
z-index: 1025;
|
|
width: min-content;
|
|
|
|
.section {
|
|
padding: 16px 16px 0px 16px;
|
|
font-weight: bold;
|
|
white-space: nowrap;
|
|
color: @accent_3;
|
|
}
|
|
|
|
.item {
|
|
padding: 16px;
|
|
border-bottom: 1px solid #aaa;
|
|
user-select: none;
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
&.separator {
|
|
border-bottom: 2px solid #000;
|
|
}
|
|
|
|
&:hover {
|
|
background: #ddd;
|
|
}
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
#upload {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
|
|
color: #333;
|
|
background: #fff;
|
|
border: 2px solid #000;
|
|
padding: 16px;
|
|
z-index: 1025;
|
|
|
|
input {
|
|
border: 1px solid #000;
|
|
}
|
|
|
|
.files {
|
|
display: grid;
|
|
grid-template-columns: 1fr min-content;
|
|
padding-top: 12px;
|
|
|
|
.file {
|
|
margin-top: 8px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid #ddd;
|
|
&:nth-child(1) {
|
|
padding-top: 0px;
|
|
margin-top: 0px;
|
|
border-top: none;
|
|
}
|
|
|
|
&.done {
|
|
color: #0a0;
|
|
}
|
|
}
|
|
|
|
.progress {
|
|
justify-self: end;
|
|
margin-top: 8px;
|
|
padding-top: 8px;
|
|
padding-left: 8px;
|
|
border-top: 1px solid #ddd;
|
|
&:nth-child(2) {
|
|
padding-top: 0px;
|
|
margin-top: 0px;
|
|
border-top: none;
|
|
}
|
|
|
|
&.done {
|
|
color: #0a0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#properties {
|
|
color: #333;
|
|
padding: 16px;
|
|
|
|
.key {
|
|
margin-top: 8px;
|
|
|
|
&.locked {
|
|
color: #888;
|
|
}
|
|
&.locked:after {
|
|
content: " (locked)";
|
|
}
|
|
label {
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
|
|
.checks {
|
|
display: grid;
|
|
grid-template-columns: min-content 1fr;
|
|
grid-gap: 4px 8px;
|
|
}
|
|
}
|
|
|
|
header {
|
|
display: grid;
|
|
grid-area: header;
|
|
grid-template-columns: min-content 1fr repeat(6, min-content);
|
|
align-items: center;
|
|
padding: 8px 0px;
|
|
color: darken(@accent_1, 35%);
|
|
background: @theme_gradient;
|
|
color: #fff;
|
|
|
|
&.modified {
|
|
background: @accent_3;
|
|
color: lighten(@accent_3, 45%);
|
|
}
|
|
|
|
.tree {
|
|
padding-left: 16px;
|
|
img {
|
|
display: block;
|
|
height: 24px;
|
|
width: 24px;
|
|
}
|
|
}
|
|
|
|
.name {
|
|
font-weight: bold;
|
|
padding-left: 16px;
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
.markdown, .checklist, .search, .add, .keys {
|
|
padding-right: 16px;
|
|
|
|
img {
|
|
cursor: pointer;
|
|
height: 24px;
|
|
}
|
|
}
|
|
|
|
.menu {
|
|
font-size: 1.75em;
|
|
padding-right: 16px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
}
|
|
|
|
#tree {
|
|
grid-area: tree;
|
|
padding: 16px;
|
|
background-color: #333;
|
|
color: #ddd;
|
|
z-index: 100; // Over crumbs shadow
|
|
|
|
.node {
|
|
display: grid;
|
|
grid-template-columns: 24px min-content;
|
|
grid-template-rows:
|
|
min-content
|
|
1fr;
|
|
margin-top: 12px;
|
|
|
|
|
|
.expand-toggle {
|
|
img {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
}
|
|
|
|
.name {
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
|
|
&:hover {
|
|
color: @accent_2;
|
|
}
|
|
&.selected {
|
|
color: @accent_2;
|
|
font-weight: bold;
|
|
}
|
|
|
|
}
|
|
|
|
.children {
|
|
padding-left: 24px;
|
|
margin-left: 8px;
|
|
border-left: 1px solid #555;
|
|
grid-column: 1 / -1;
|
|
|
|
&.collapsed {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#crumbs {
|
|
grid-area: crumbs;
|
|
background: linear-gradient(to right, #fdc830, #f37335);
|
|
}
|
|
|
|
.crumbs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding: 8px 16px;
|
|
background: #505050;
|
|
color: #fff;
|
|
box-shadow: 0px 5px 8px 0px rgba(128, 128, 128, 0.5);
|
|
|
|
.crumb {
|
|
margin-right: 8px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
.crumb:after {
|
|
content: "•";
|
|
margin-left: 8px;
|
|
color: @accent_1;
|
|
}
|
|
|
|
.crumb:last-child {
|
|
margin-right: 0;
|
|
}
|
|
.crumb:last-child:after {
|
|
content: '';
|
|
margin-left: 0px;
|
|
}
|
|
|
|
}
|
|
|
|
.child-nodes {
|
|
grid-area: child-nodes;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding: 16px 16px 0px 16px;
|
|
|
|
.child-node {
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
background-color: #333;
|
|
margin-right: 12px;
|
|
margin-bottom: 16px;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
}
|
|
|
|
.node-name {
|
|
grid-area: name;
|
|
background: #fff;
|
|
color: #000;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
margin-top: 32px;
|
|
margin-bottom: 32px;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
#notes-version {
|
|
margin-top: 64px;
|
|
color: #888;
|
|
text-align: center;
|
|
}
|
|
|
|
#node-content.encrypted {
|
|
color: #a00;
|
|
}
|
|
|
|
.node-content {
|
|
grid-area: content;
|
|
justify-self: center;
|
|
word-wrap: break-word;
|
|
font-family: monospace;
|
|
color: #333;
|
|
width: calc(100% - 32px);
|
|
max-width: 900px;
|
|
resize: none;
|
|
border: none;
|
|
outline: none;
|
|
|
|
&:invalid {
|
|
background: #f5f5f5;
|
|
padding-top: 16px;
|
|
}
|
|
}
|
|
|
|
#markdown {
|
|
color: #333;
|
|
grid-area: content;
|
|
|
|
justify-self: center;
|
|
width: calc(100% - 32px);
|
|
max-width: 900px;
|
|
padding: 0.5rem;
|
|
border-radius: 8px;
|
|
margin-top: 8px;
|
|
margin-bottom: 0px;
|
|
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
|
|
th, td {
|
|
border: 1px solid #ddd;
|
|
padding: 4px 8px;
|
|
}
|
|
}
|
|
|
|
code {
|
|
background: #e6eeee;
|
|
padding: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
pre {
|
|
background: #f5f5f5;
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
pre > code {
|
|
background: unset;
|
|
padding: 0px;
|
|
border-radius: 0px;
|
|
}
|
|
}
|
|
|
|
#checklist {
|
|
grid-area: checklist;
|
|
color: #333;
|
|
|
|
justify-self: center;
|
|
width: calc(100% - 32px);
|
|
max-width: 900px;
|
|
padding: 0.5rem;
|
|
border-radius: 8px;
|
|
margin-top: 8px;
|
|
margin-bottom: 0px;
|
|
|
|
.header {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, min-content);
|
|
align-items: center;
|
|
grid-gap: 0 16px;
|
|
|
|
img {
|
|
height: 20px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.header + .checklist-group.edit {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.checklist-group {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, min-content);
|
|
align-items: center;
|
|
grid-gap: 0 8px;
|
|
|
|
margin-top: 1em;
|
|
margin-bottom: 8px;
|
|
font-weight: bold;
|
|
|
|
.label {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.label.ok {
|
|
color: #54b356;
|
|
}
|
|
|
|
.label.error {
|
|
color: #d13636;
|
|
}
|
|
|
|
&.edit {
|
|
margin-top: 32px;
|
|
border-bottom: 1px solid #aaa;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
&:not(.edit) {
|
|
.reorder { display: none; }
|
|
img { display: none; }
|
|
}
|
|
|
|
img {
|
|
height: 14px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.checklist-item {
|
|
transform: translate(0, 0);
|
|
display: grid;
|
|
grid-template-columns: repeat(3, min-content);
|
|
grid-gap: 0 8px;
|
|
align-items: center;
|
|
padding: 4px 0;
|
|
border-bottom: 2px solid #fff;
|
|
|
|
&.checked {
|
|
text-decoration: line-through;
|
|
color: #aaa;
|
|
}
|
|
|
|
&.drag-target {
|
|
border-bottom: 2px solid #71c837;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
background-color: #fff;
|
|
margin: 0 2px 0 0;
|
|
font: inherit;
|
|
color: currentColor;
|
|
width: 1.25em;
|
|
height: 1.25em;
|
|
border: 0.15em solid currentColor;
|
|
border-radius: 0.15em;
|
|
transform: translateY(-0.075em);
|
|
|
|
display: grid;
|
|
place-content: center;
|
|
}
|
|
|
|
label.ok {
|
|
color: #54b356;
|
|
}
|
|
|
|
label.error {
|
|
color: #d13636;
|
|
}
|
|
|
|
input[type="checkbox"].ok {
|
|
border: 0.15em solid #54b356;
|
|
}
|
|
|
|
input[type="checkbox"].ok::before {
|
|
box-shadow: inset 1em 1em #54b356;
|
|
}
|
|
|
|
input[type="checkbox"].error {
|
|
border: 0.15em solid #d13636;
|
|
}
|
|
|
|
input[type="checkbox"].error::before {
|
|
box-shadow: inset 1em 1em #d13636;
|
|
}
|
|
|
|
input[type="checkbox"]::before {
|
|
content: "";
|
|
width: 0.70em;
|
|
height: 0.70em;
|
|
transform: scale(0);
|
|
transition: 120ms transform ease-in-out;
|
|
box-shadow: inset 1em 1em @checkbox_1;
|
|
}
|
|
|
|
input[type="checkbox"]:checked::before {
|
|
transform: scale(1);
|
|
}
|
|
|
|
&.edit {
|
|
input[type="checkbox"] {
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
|
|
&:not(.edit) {
|
|
.reorder {
|
|
display: none;
|
|
}
|
|
img {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
img {
|
|
height: 14px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
label {
|
|
user-select: none;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* ============================================================= *
|
|
* Textarea replicates the height of an element expanding height *
|
|
* ============================================================= */
|
|
.grow-wrap {
|
|
/* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
|
|
display: grid;
|
|
grid-area: content;
|
|
font-size: 1.0em;
|
|
}
|
|
.grow-wrap::after {
|
|
/* Note the weird space! Needed to preventy jumpy behavior */
|
|
content: attr(data-replicated-value) " ";
|
|
|
|
/* This is how textarea text behaves */
|
|
width: calc(100% - 32px);
|
|
max-width: 900px;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
color: #f0f;
|
|
background: rgba(0, 255, 255, 0.5);
|
|
justify-self: center;
|
|
|
|
/* Hidden from view, clicks, and screen readers */
|
|
visibility: hidden;
|
|
}
|
|
.grow-wrap > textarea {
|
|
/* You could leave this, but after a user resizes, then it ruins the auto sizing */
|
|
resize: none;
|
|
|
|
/* Firefox shows scrollbar on growth, you can hide like this. */
|
|
overflow: hidden;
|
|
}
|
|
.grow-wrap > textarea,
|
|
.grow-wrap::after {
|
|
/* Identical styling required!! */
|
|
padding: 0.5rem;
|
|
font: inherit;
|
|
|
|
/* Place on top of each other */
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
}
|
|
/* ============================================================= */
|
|
|
|
#schedule-section {
|
|
grid-area: files;
|
|
justify-self: center;
|
|
width: calc(100% - 32px);
|
|
max-width: 900px;
|
|
padding: 32px;
|
|
background: #f5f5f5;
|
|
border-radius: 8px;
|
|
margin-top: 32px;
|
|
margin-bottom: 32px;
|
|
color: #000;
|
|
|
|
.header {
|
|
font-weight: bold;
|
|
color: #000;
|
|
margin-bottom: 16px;
|
|
}
|
|
}
|
|
|
|
#file-section {
|
|
grid-area: schedule;
|
|
justify-self: center;
|
|
width: calc(100% - 32px);
|
|
max-width: 900px;
|
|
padding: 32px;
|
|
background: #f5f5f5;
|
|
border-radius: 8px;
|
|
margin-top: 32px;
|
|
margin-bottom: 16px;
|
|
|
|
.header {
|
|
font-weight: bold;
|
|
color: #000;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.files {
|
|
display: grid;
|
|
grid-template-columns: 1fr min-content;
|
|
grid-gap: 8px 16px;
|
|
color: #444;
|
|
|
|
.filename {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.size {
|
|
white-space: nowrap;
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|
|
|
|
#keys {
|
|
padding: 32px;
|
|
color: #333;
|
|
|
|
p {
|
|
max-width: 80ex;
|
|
}
|
|
|
|
.key-list {
|
|
display: grid;
|
|
grid-template-columns: min-content min-content min-content;
|
|
grid-gap: 12px 12px;
|
|
align-items: end;
|
|
margin-top: 16px;
|
|
|
|
.status {
|
|
cursor: pointer;
|
|
img {
|
|
height: 32px;
|
|
}
|
|
|
|
.locked { color: #a00 }
|
|
.unlocked { color: #0a0 }
|
|
}
|
|
|
|
.description {
|
|
cursor: pointer;
|
|
padding-bottom: 4px;
|
|
user-select: none;
|
|
text-decoration: underline;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.view {
|
|
cursor: pointer;
|
|
padding-bottom: 4px;
|
|
margin-left: 16px;
|
|
user-select: none;
|
|
text-decoration: underline;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hex-key {
|
|
grid-column: 1 / -1;
|
|
border: 1px solid #aaa;
|
|
padding: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
#key-create {
|
|
.fields {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-gap: 16px;
|
|
max-width: 48ex;
|
|
|
|
#key-description {
|
|
grid-column: 1 / -1;
|
|
font-size: 1em;
|
|
font-family: monospace;
|
|
}
|
|
|
|
#key-key {
|
|
grid-column: 1 / -1;
|
|
height: 4em;
|
|
resize: none;
|
|
font-size: 1em;
|
|
}
|
|
|
|
#key-pass1, #key-pass2 {
|
|
font-size: 1em;
|
|
}
|
|
|
|
button.generate {
|
|
margin-right: 16px;
|
|
}
|
|
|
|
button.create {
|
|
}
|
|
}
|
|
}
|
|
|
|
.layout-tree {// {{{
|
|
display: grid;
|
|
grid-template-areas:
|
|
"header header"
|
|
"tree crumbs"
|
|
"tree child-nodes"
|
|
"tree name"
|
|
"tree content"
|
|
"tree checklist"
|
|
"tree schedule"
|
|
"tree files"
|
|
"tree blank"
|
|
;
|
|
grid-template-columns: min-content 1fr;
|
|
grid-template-rows:
|
|
min-content /* header */
|
|
min-content /* crumbs */
|
|
min-content /* child-nodes */
|
|
min-content /* name */
|
|
min-content /* content */
|
|
min-content /* checklist */
|
|
min-content /* schedule */
|
|
min-content /* files */
|
|
1fr; /* blank */
|
|
color: #fff;
|
|
min-height: 100%;
|
|
}// }}}
|
|
.layout-tree-only {// {{{
|
|
display: grid;
|
|
grid-template-areas:
|
|
"header"
|
|
"tree"
|
|
;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows:
|
|
min-content /* header */
|
|
1fr; /* blank */
|
|
color: #fff;
|
|
min-height: 100%;
|
|
|
|
#crumbs { display: none }
|
|
.child-nodes { display: none }
|
|
.node-name { display: none }
|
|
.grow-wrap { display: none }
|
|
#file-section { display: none }
|
|
#tree { display: block }
|
|
}// }}}
|
|
.layout-crumbs {// {{{
|
|
grid-template-areas:
|
|
"header"
|
|
"crumbs"
|
|
"child-nodes"
|
|
"name"
|
|
"content"
|
|
"checklist"
|
|
"schedule"
|
|
"files"
|
|
"blank"
|
|
;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows:
|
|
min-content /* header */
|
|
min-content /* crumbs */
|
|
min-content /* child-nodes */
|
|
min-content /* name */
|
|
min-content /* content */
|
|
min-content /* checklist */
|
|
min-content /* schedule */
|
|
min-content /* files */
|
|
1fr; /* blank */
|
|
#tree { display: none }
|
|
|
|
#checklist {
|
|
padding: 16px;
|
|
}
|
|
}// }}}
|
|
.layout-keys {
|
|
display: grid;
|
|
grid-template-areas:
|
|
"header"
|
|
"keys"
|
|
;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows:
|
|
min-content /* header */
|
|
1fr; /* blank */
|
|
color: #fff;
|
|
height: 100%;
|
|
|
|
#crumbs { display: none }
|
|
.child-nodes { display: none }
|
|
.node-name { display: none }
|
|
.grow-wrap { display: none }
|
|
#file-section { display: none }
|
|
#tree { display: none }
|
|
#keys { display: block }
|
|
}
|
|
|
|
#app.login {
|
|
padding-top: 64px;
|
|
|
|
display: grid;
|
|
grid-template-columns: minmax(min-content, 300px);
|
|
justify-content: center;
|
|
}
|
|
|
|
#app.node {
|
|
.layout-tree();
|
|
|
|
&.toggle-tree {
|
|
.layout-crumbs();
|
|
}
|
|
|
|
}
|
|
|
|
#profile-settings {
|
|
color: #333;
|
|
padding: 16px;
|
|
|
|
.passwords {
|
|
display: grid;
|
|
grid-template-columns: min-content 200px;
|
|
grid-gap: 8px 16px;
|
|
margin-bottom: 16px;
|
|
|
|
div {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
}
|
|
|
|
#schedule-events {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, min-content);
|
|
grid-gap: 4px 12px;
|
|
margin: 32px;
|
|
color: #000;
|
|
white-space: nowrap;
|
|
|
|
.header {
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
#input-text {
|
|
border: 1px solid #000 !important;
|
|
padding: 16px;
|
|
width: 300px;
|
|
|
|
.label {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
input[type=text] {
|
|
width: 100%;
|
|
padding: 4px;
|
|
}
|
|
|
|
.buttons {
|
|
display: grid;
|
|
grid-template-columns: 1fr 64px 64px;
|
|
grid-gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
}
|
|
|
|
#fullcalendar {
|
|
margin: 32px;
|
|
color: #444;
|
|
}
|
|
|
|
.folder {
|
|
.tabs {
|
|
border-left: 1px solid #888;
|
|
display: flex;
|
|
|
|
.tab {
|
|
padding: 16px 32px;
|
|
border-top: 1px solid #888;
|
|
border-bottom: 1px solid #888;
|
|
border-right: 1px solid #888;
|
|
color: #444;
|
|
background: #eee;
|
|
cursor: pointer;
|
|
|
|
&.selected {
|
|
border-bottom: none;
|
|
background: #fff;
|
|
}
|
|
}
|
|
|
|
.hack {
|
|
border-bottom: 1px solid #888;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
padding-top: 1px;
|
|
border-left: 1px solid #888;
|
|
border-right: 1px solid #888;
|
|
border-bottom: 1px solid #888;
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 932px) {
|
|
#app.node {
|
|
.layout-crumbs();
|
|
|
|
&.toggle-tree {
|
|
.layout-tree-only();
|
|
}
|
|
}
|
|
|
|
.node-content {
|
|
margin-left: 16px;
|
|
padding: 16px;
|
|
justify-self: start;
|
|
}
|
|
|
|
#file-section, #checklist, #markdown {
|
|
width: calc(100% - 32px);
|
|
padding: 16px;
|
|
margin-left: 16px;
|
|
justify-self: start;
|
|
}
|
|
}
|
|
|
|
// vim: foldmethod=marker
|