179 lines
3.0 KiB
CSS
179 lines
3.0 KiB
CSS
.dnc table {
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
}
|
|
|
|
.dnc th {
|
|
opacity: 50%;
|
|
font-weight: var(--font-medium);
|
|
font-size: var(--font-ui-small)
|
|
}
|
|
|
|
.dnc th.quarter {
|
|
font-weight: var(--font-semibold);
|
|
}
|
|
|
|
.dnc td {
|
|
opacity: 90%;
|
|
}
|
|
|
|
.dnc th, .dnc td {
|
|
vertical-align: text-top;
|
|
text-align: center;
|
|
width: 0.45em;
|
|
height: 0.45em;
|
|
padding: 0.2em;
|
|
}
|
|
|
|
.dnc td:hover:not(:empty), .dnc th:hover:not(:empty) {
|
|
background-color: var(--background-modifier-active-hover);
|
|
border-radius: 10%;
|
|
}
|
|
|
|
.dnc .weekNumber {
|
|
text-align: center;
|
|
font-weight: var(----font-light);
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
.dnc #today {
|
|
color: var(--text-accent);
|
|
}
|
|
|
|
.dnc .other-month {
|
|
opacity: 45%;
|
|
}
|
|
|
|
.dnc .has-note:after {
|
|
content: "";
|
|
display: block;
|
|
width: 30%;
|
|
opacity: 75%;
|
|
margin: 0 auto;
|
|
border-bottom: 0.1em solid var(--text-faint);
|
|
}
|
|
|
|
.dnc .selected-day:after {
|
|
content: "";
|
|
display: block;
|
|
opacity: 100%;
|
|
width: 30%;
|
|
margin: 0 auto;
|
|
border-bottom: 0.15em solid var(--text-accent);
|
|
}
|
|
|
|
.dnc .header {
|
|
opacity: 75%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.dnc .header h1, .dnc .header .buttons {
|
|
display: inline-block;
|
|
}
|
|
|
|
.dnc .header h1 {
|
|
font-weight: var(--font-light);
|
|
font-size: var(--font-ui-medium);
|
|
margin: auto 0.5em auto auto;
|
|
}
|
|
|
|
.dnc .header h1.month {
|
|
min-width: 3em;
|
|
}
|
|
|
|
.dnc .header h1.year {
|
|
min-width: 1.5em;
|
|
}
|
|
|
|
.dnc .header .buttons {
|
|
align-content: center;
|
|
}
|
|
|
|
.dnc .header .buttons > *:hover {
|
|
color: var(--text-accent);
|
|
}
|
|
|
|
.dnc ul {
|
|
list-style-type: none;
|
|
padding: 0 0 0 0.2em;
|
|
}
|
|
|
|
.dnc ul li {
|
|
padding-bottom: 0.4em;
|
|
}
|
|
|
|
.dnc ul li:after {
|
|
content: "";
|
|
display: block;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
padding-top: 0.4em;
|
|
}
|
|
|
|
.dnc ul li .note-title {
|
|
font-weight: var(--font-semibold);
|
|
font-size: var(--font-ui-small);
|
|
}
|
|
|
|
.dnc ul li .note-date {
|
|
font-weight: var(--font-light);
|
|
font-size: var(--font-ui-small);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.dnc ul li .note-path {
|
|
font-weight: var(--font-light);
|
|
font-size: var(--font-ui-small);
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
.dnc-setting-example {
|
|
color: var(--text-accent);
|
|
}
|
|
|
|
.dnc-skeleton {
|
|
background: linear-gradient(90deg, #ddda 40%, #efefefaa, #ddda 60%) right / 300% 100%;
|
|
animation: skeleton-loading 1.5s linear infinite;
|
|
}
|
|
|
|
@keyframes skeleton-loading {
|
|
to {
|
|
background-position: left;
|
|
}
|
|
}
|
|
|
|
.dnc-skeleton-text {
|
|
height: 100%;
|
|
margin-bottom: 0.5rem;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.dnc-skeleton-text-year {
|
|
min-width: 3em;
|
|
}
|
|
|
|
.dnc-skeleton-text-month {
|
|
min-width: 5em;
|
|
}
|
|
|
|
.dnc-skeleton-button {
|
|
height: 100%;
|
|
display: inline-block;
|
|
min-width: 1.5em;
|
|
margin-left: 0.2rem;
|
|
margin-bottom: 0.5rem;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.dnc-skeleton-week {
|
|
height: 1.5em;
|
|
}
|
|
|
|
.dnc-skeleton-calendar {
|
|
height: 15em;
|
|
min-width: 100%;
|
|
display: inline-block;
|
|
margin-bottom: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
border-radius: 0.25rem;
|
|
} |