Initial
This commit is contained in:
156
resources/app/public/less2/elements/custom.less
Normal file
156
resources/app/public/less2/elements/custom.less
Normal file
@@ -0,0 +1,156 @@
|
||||
/* ----------------------------------------- */
|
||||
/* Common Sub-Elements */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
.tags.input-element-tags {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
.tag {
|
||||
display: flex;
|
||||
gap: 0.25rem;
|
||||
align-items: center;
|
||||
padding: 1px 0.25rem;
|
||||
font-size: var(--font-size-12);
|
||||
border: 1px solid var(--color-border-dark-3);
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* ColorPicker Element */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
color-picker {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
> input[type=text] {
|
||||
flex: 1;
|
||||
}
|
||||
> input[type=color] {
|
||||
flex: 0 0 40px;
|
||||
height: 40px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* MultiSelect Element */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
multi-select {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
select {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
multi-checkbox {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* ProseMirror Editor Element */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
prose-mirror {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
min-height: 150px;
|
||||
.editor-content {
|
||||
flex: 1;
|
||||
padding: 0.25rem;
|
||||
}
|
||||
button.toggle {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 2px;
|
||||
width: var(--form-field-height);
|
||||
height: var(--form-field-height);
|
||||
line-height: var(--form-field-height);
|
||||
padding: 0;
|
||||
}
|
||||
&.inactive:hover button.toggle {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* RangePicker Element */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
range-picker {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
> input[type=range] {
|
||||
flex: 1;
|
||||
}
|
||||
> input[type=number] {
|
||||
flex: 0 0 40px;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* Tags Elements */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
document-tags,
|
||||
string-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
margin: 0;
|
||||
> input {
|
||||
flex: 1;
|
||||
}
|
||||
> button {
|
||||
margin: -2px 0;
|
||||
padding: 0;
|
||||
flex: 0 0 36px;
|
||||
line-height: var(--form-field-height);
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* FilePicker Element */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
file-picker {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
margin: 0;
|
||||
> button {
|
||||
margin: -2px 0;
|
||||
padding: 0;
|
||||
flex: 0 0 36px;
|
||||
line-height: var(--form-field-height);
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* Content Links */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
.content-link, .inline-roll {
|
||||
--content-link-background: rgb(0 0 0 / 10%);
|
||||
background: var(--content-link-background);
|
||||
}
|
||||
351
resources/app/public/less2/elements/forms.less
Normal file
351
resources/app/public/less2/elements/forms.less
Normal file
@@ -0,0 +1,351 @@
|
||||
/* ---------------------------------------- */
|
||||
/* Text Input Fields */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
input[type="text"],
|
||||
input[type="number"],
|
||||
input[type="password"],
|
||||
input[type="date"],
|
||||
input[type="time"],
|
||||
input[type="search"],
|
||||
input[type="file"],
|
||||
select {
|
||||
width: 100%;
|
||||
height: var(--input-height);
|
||||
line-height: var(--input-height);
|
||||
padding: 0 0.5rem;
|
||||
background: var(--input-background-color);
|
||||
border: 1px solid var(--input-border-color);
|
||||
border-radius: 4px;
|
||||
outline: 1px solid transparent;
|
||||
color: var(--input-text-color);
|
||||
user-select: text;
|
||||
font-size: var(--font-size-14);
|
||||
transition: outline-color 0.5s;
|
||||
|
||||
// Focused
|
||||
&:focus {
|
||||
outline: 2px solid var(--input-focus-outline-color);
|
||||
}
|
||||
|
||||
// Disabled
|
||||
&:disabled {
|
||||
opacity: 1.0; // browser sets 0.7
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Text input specifically
|
||||
input[readonly] {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
// Select specifically
|
||||
select {
|
||||
user-select: none;
|
||||
option {
|
||||
background: var(--color-select-option-bg);
|
||||
}
|
||||
}
|
||||
|
||||
/** Browser Time/Date Icons */
|
||||
::-webkit-calendar-picker-indicator {
|
||||
display: none
|
||||
}
|
||||
|
||||
/** Placeholder Text */
|
||||
::placeholder {
|
||||
color: var(--input-placeholder-color);
|
||||
}
|
||||
|
||||
/** Icon Decorated Inputs */
|
||||
label.username,
|
||||
label.password,
|
||||
label.search {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
> input {
|
||||
padding-right: 30px; // Space for icon
|
||||
}
|
||||
&::after {
|
||||
flex: 0 0 30px;
|
||||
margin-left: -30px;
|
||||
display: inline-block;
|
||||
line-height: var(--input-height);
|
||||
font-size: 12px;
|
||||
font-family: var(--font-awesome);
|
||||
font-weight: 900;
|
||||
text-align: center;
|
||||
color: var(--color-light-5);
|
||||
}
|
||||
}
|
||||
label.username::after {
|
||||
content: "\F007";
|
||||
}
|
||||
label.password::after {
|
||||
content: "\F084";
|
||||
}
|
||||
label.search::after {
|
||||
content: "\F002";
|
||||
}
|
||||
|
||||
/** Search Fields */
|
||||
input[type="search"]::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
display: inline-block;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
margin-left: 0.5rem;
|
||||
background: linear-gradient(45deg, transparent 0%, transparent 43%, var(--color-light-5) 45%, var(--color-light-5) 55%, transparent 57%,transparent 100%),
|
||||
linear-gradient(135deg, transparent 0%, transparent 43%, var(--color-light-5) 45%, var(--color-light-5) 55%, transparent 57%, transparent 100%);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/** Number Fields */
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
input[type="number"] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
/** File Input Fields */
|
||||
input[type="file"] {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
/** Hint Icons in Labels */
|
||||
label.hint {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
> i {
|
||||
cursor: pointer;
|
||||
transition: 0.5s;
|
||||
}
|
||||
> i:hover {
|
||||
color: var(--color-warm-1);
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* Checkboxes */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
input[type="checkbox"] {
|
||||
--checkbox-size: 20px;
|
||||
|
||||
cursor: pointer;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
|
||||
&:disabled, &[readonly] {
|
||||
cursor: initial;
|
||||
}
|
||||
&:focus {
|
||||
color: inherit;
|
||||
outline: none;
|
||||
}
|
||||
&:focus-visible::before {
|
||||
outline: 2px solid var(--input-focus-outline-color);
|
||||
}
|
||||
&:checked:focus-visible::before {
|
||||
outline: 2px solid var(--input-focus-outline-color);
|
||||
}
|
||||
&::before, &::after {
|
||||
width: var(--checkbox-size);
|
||||
height: var(--checkbox-size);
|
||||
font-size: var(--checkbox-size);
|
||||
line-height: var(--checkbox-size);
|
||||
border-radius: 3px;
|
||||
}
|
||||
&::before {
|
||||
font-family: var(--font-awesome);
|
||||
font-weight: var(--checkbox-font-weight);
|
||||
color: var(--checkbox-background-color);
|
||||
content: "\f0c8";
|
||||
outline: 1px solid transparent;
|
||||
transition: outline-color .5s;
|
||||
}
|
||||
&:checked {
|
||||
position: relative;
|
||||
&::before, &::after { font-family: var(--font-awesome-duotone); }
|
||||
|
||||
&::after {
|
||||
color: var(--checkbox-checked-color);
|
||||
content: "\f14a\f14a";
|
||||
}
|
||||
|
||||
&::before {
|
||||
color: var(--checkbox-checkmark-color);
|
||||
content: "\f14a";
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
&:disabled::before, &[readonly]::before {
|
||||
color: var(--checkbox-disabled-color);
|
||||
}
|
||||
}
|
||||
|
||||
/** Labeled Checkboxes */
|
||||
label.checkbox {
|
||||
flex: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: var(--font-size-12);
|
||||
|
||||
> input[type="checkbox"] {
|
||||
--checkbox-size: 16px;
|
||||
flex: none;
|
||||
// FIXME the below rules are combating theme v1 label.checkbox styles and should eventually be removed
|
||||
top: 0;
|
||||
margin: 0;
|
||||
width: var(--checkbox-size);
|
||||
height: var(--checkbox-size);
|
||||
}
|
||||
}
|
||||
|
||||
/* Text Areas */
|
||||
textarea {
|
||||
--color-text-selection-bg: var(--color-cool-3);
|
||||
|
||||
min-height: 50px;
|
||||
padding: 1rem;
|
||||
background: transparent;
|
||||
border: 1px solid var(--color-cool-4);
|
||||
border-radius: 4px;
|
||||
font-family: var(--font-monospace);
|
||||
font-size: var(--font-size-14);
|
||||
color: var(--input-text-color);
|
||||
user-select: text;
|
||||
resize: vertical;
|
||||
&:focus {
|
||||
box-shadow: 0 0 6px var(--color-warm-1);
|
||||
outline: 1px solid transparent;
|
||||
}
|
||||
&:read-only {
|
||||
color: var(--color-light-4);
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* Range Inputs */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
input[type=range] {
|
||||
--thumb-size: 12px;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
background: transparent;
|
||||
height: 20px;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
border-radius: 4px;
|
||||
|
||||
.range-track() {
|
||||
width: 100%;
|
||||
height: calc(var(--thumb-size) / 2);
|
||||
background: var(--range-track-color);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.range-thumb() {
|
||||
cursor: pointer;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
height: var(--thumb-size);
|
||||
width: var(--thumb-size);
|
||||
background: var(--range-thumb-background-color);
|
||||
border: 1px solid var(--range-thumb-border-color);
|
||||
}
|
||||
|
||||
&::-webkit-slider-runnable-track { .range-track(); }
|
||||
&::-webkit-slider-thumb { .range-thumb(); }
|
||||
&::-moz-range-track { .range-track(); }
|
||||
&::-moz-range-thumb { .range-thumb(); }
|
||||
|
||||
&:disabled, &[readonly] {
|
||||
pointer-events: none;
|
||||
filter: grayscale(1) opacity(.33);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* Buttons */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
a.button,
|
||||
button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 0.5rem;
|
||||
background: var(--button-background-color);
|
||||
border: 1px solid var(--button-border-color);
|
||||
border-radius: 4px;
|
||||
color: var(--button-text-color);
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
font-size: var(--font-size-14);
|
||||
|
||||
// Button Icons
|
||||
> i {
|
||||
pointer-events: none;
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
// Button Labels
|
||||
> label {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
// Disabled Buttons
|
||||
&:disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
// Hovered Buttons
|
||||
&:hover {
|
||||
background: var(--button-hover-background-color);
|
||||
color: var(--button-hover-text-color);
|
||||
border-color: var(--button-hover-border-color);
|
||||
transition: background-color 0.5s, border-color 0.5s;
|
||||
}
|
||||
|
||||
// Focused Buttons
|
||||
&:focus {
|
||||
outline: 1px solid var(--button-focus-outline-color);
|
||||
box-shadow: 0 0 4px var(--button-focus-outline-color);
|
||||
}
|
||||
|
||||
// Icon-Only
|
||||
&.icon {
|
||||
> i {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Active Buttons - appear as focused
|
||||
&.active {
|
||||
outline: 1px solid var(--button-focus-outline-color);
|
||||
box-shadow: 0 0 4px var(--button-focus-outline-color);
|
||||
}
|
||||
}
|
||||
|
||||
/** Bright Buttons */
|
||||
a.button.bright,
|
||||
button.bright {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
70
resources/app/public/less2/elements/media.less
Normal file
70
resources/app/public/less2/elements/media.less
Normal file
@@ -0,0 +1,70 @@
|
||||
|
||||
/* Images */
|
||||
img, iframe, video {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Figures */
|
||||
figure {
|
||||
width: 100%;
|
||||
margin: 1rem 0;
|
||||
|
||||
img, iframe, video {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
clear: both;
|
||||
border: 1px solid var(--color-cool-4);
|
||||
box-shadow: 0 0 4px #000;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
margin: 1rem 0 0;
|
||||
color: var(--color-light-1);
|
||||
font-style: italic;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.video {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
display: block;
|
||||
padding-bottom: calc(100% * 9/16 + 1.75rem);
|
||||
}
|
||||
|
||||
iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: calc(100% - 1.75rem);
|
||||
}
|
||||
|
||||
figcaption {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Alignment */
|
||||
figure, img, iframe, video {
|
||||
&.left {
|
||||
clear: left;
|
||||
float: left;
|
||||
max-width: 30%;
|
||||
margin: 0 1rem 1rem 0;
|
||||
}
|
||||
|
||||
&.right {
|
||||
clear: right;
|
||||
float: right;
|
||||
max-width: 30%;
|
||||
margin: 0 0 1rem 1rem;
|
||||
}
|
||||
|
||||
&.noborder {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
306
resources/app/public/less2/elements/typography.less
Normal file
306
resources/app/public/less2/elements/typography.less
Normal file
@@ -0,0 +1,306 @@
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* Headers */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 2rem 0 1rem;
|
||||
line-height: 1;
|
||||
text-shadow: 1px 1px 4px #000;
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: var(--font-h1);
|
||||
font-size: var(--font-h1-size);
|
||||
color: var(--color-light-1);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-family: var(--font-h2);
|
||||
font-size: var(--font-h2-size);
|
||||
color: var(--color-light-1);
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-family: var(--font-h3);
|
||||
font-size: var(--font-h3-size);
|
||||
color: var(--color-light-1);
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-family: var(--font-h4);
|
||||
font-size: var(--font-h4-size);
|
||||
color: var(--color-light-2);
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-family: var(--font-h5);
|
||||
font-size: var(--font-h5-size);
|
||||
color: var(--color-light-2);
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-family: var(--font-h6);
|
||||
font-size: var(--font-h6-size);
|
||||
color: var(--color-light-2);
|
||||
}
|
||||
|
||||
/** Bordered Header */
|
||||
h1.border,
|
||||
h2.border,
|
||||
h3.border,
|
||||
h4.border {
|
||||
clear: both;
|
||||
padding: 1rem 0 0.6rem;
|
||||
position: relative;
|
||||
text-indent: 0.5rem;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
content: "";
|
||||
border-top: 2px solid var(--color-warm-2);
|
||||
border-bottom: 2px solid var(--color-warm-2);
|
||||
-webkit-mask-image: linear-gradient(90deg, transparent 0%, black 50%, transparent 100%);
|
||||
mask-image: linear-gradient(90deg, transparent 0%, black 50%, transparent 100%);
|
||||
}
|
||||
}
|
||||
|
||||
h3.border,
|
||||
h4.border {
|
||||
&::before {
|
||||
border-top: 2px solid var(--color-warm-3);
|
||||
border-bottom: 2px solid var(--color-warm-3);
|
||||
}
|
||||
}
|
||||
|
||||
/** Divider Header */
|
||||
h1.divider,
|
||||
h2.divider,
|
||||
h3.divider,
|
||||
h4.divider {
|
||||
clear: both;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
border: none;
|
||||
&::before {
|
||||
content: "";
|
||||
width: 50%;
|
||||
margin-right: 0.5rem;
|
||||
border-top: 2px ridge var(--color-warm-1);
|
||||
-webkit-mask-image: linear-gradient(90deg, transparent 0%, black 100%);
|
||||
mask-image: linear-gradient(90deg, transparent 0%, black 100%);
|
||||
}
|
||||
&::after {
|
||||
content: "";
|
||||
width: 50%;
|
||||
margin-left: 0.5rem;
|
||||
border-top: 2px ridge var(--color-warm-1);
|
||||
-webkit-mask-image: linear-gradient(270deg, transparent 0%, black 100%);
|
||||
mask-image: linear-gradient(270deg, transparent 0%, black 100%);
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* Text */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
p {
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
p.inactive {
|
||||
color: var(--color-light-5);
|
||||
}
|
||||
|
||||
span.highlight {
|
||||
color: var(--color-warm-1);
|
||||
}
|
||||
|
||||
// Text Selection
|
||||
::selection {
|
||||
background: var(--color-text-selection-bg);
|
||||
color: var(--color-text-selection);
|
||||
}
|
||||
|
||||
// Overflow with Ellipsis
|
||||
.ellipsis {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* Blockquotes */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
blockquote {
|
||||
margin: 0;
|
||||
padding: 0.5rem 1rem;
|
||||
font-family: var(--font-blockquote);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* Lists */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
ul, ol {
|
||||
margin: 1rem 0;
|
||||
padding: 0 0 0 1.25rem;
|
||||
li {
|
||||
margin-bottom: 0.25rem;
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
margin: 0.25rem 0 0;
|
||||
li {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Lists without list style */
|
||||
ul.plain, ol.plain {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
dl {
|
||||
dt {
|
||||
display: inline-block;
|
||||
color: var(--color-light-2);
|
||||
text-shadow: 1px 1px #000;
|
||||
margin: 0 0 0.25rem;
|
||||
}
|
||||
dd {
|
||||
margin: 0 0 1rem 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* Links */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
a[href] {
|
||||
color: var(--color-warm-1);
|
||||
overflow-wrap: break-word;
|
||||
&:hover {
|
||||
text-shadow: 0 0 8px var(--color-warm-2);
|
||||
}
|
||||
}
|
||||
|
||||
// Control Buttons
|
||||
a.control {
|
||||
cursor: pointer;
|
||||
> i {
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
&:hover {
|
||||
color: var(--color-light-2);
|
||||
text-shadow: 0 0 8px var(--color-warm-2);
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* Tables */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
table {
|
||||
margin: 1rem;
|
||||
background: var(--table-background-color);
|
||||
border-spacing: 0;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
|
||||
th, td {
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
thead {
|
||||
background: var(--color-cool-4);
|
||||
font-size: 1.1em;
|
||||
color: var(--color-light-1);
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
th {
|
||||
line-height: 1.5;
|
||||
border-bottom: 1px solid var(--color-cool-4);
|
||||
}
|
||||
}
|
||||
|
||||
tfoot {
|
||||
background: var(--color-cool-4);
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
color: var(--color-light-1);
|
||||
td {
|
||||
line-height: 1.5;
|
||||
border-top: 1px solid var(--color-cool-4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* Dividers */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
hr {
|
||||
clear: both;
|
||||
border: 0;
|
||||
height: 2px;
|
||||
margin: 1rem 0;
|
||||
color: var(--color-light-3);
|
||||
background-image: linear-gradient(90deg, transparent 0%, rgb(231, 209, 177) 50%, transparent 100%);
|
||||
}
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* Code Blocks */
|
||||
/* ---------------------------------------- */
|
||||
|
||||
/* Inline Code Blocks */
|
||||
p, li, span {
|
||||
code {
|
||||
display: inline-block;
|
||||
padding: 1px 0.25rem;
|
||||
margin: -1px 0;
|
||||
font-size: var(--font-size-14);
|
||||
word-break: keep-all;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
// Code Blocks
|
||||
code {
|
||||
display: block;
|
||||
padding: 0.5rem;
|
||||
color: var(--color-light-2);
|
||||
background: var(--color-cool-4);
|
||||
border: 1px solid var(--color-cool-3);
|
||||
border-radius: 3px;
|
||||
user-select: text;
|
||||
--color-text-selection-bg: var(--color-cool-3);
|
||||
}
|
||||
|
||||
// Button References
|
||||
span.reference {
|
||||
flex: none;
|
||||
display: inline-block;
|
||||
padding: 0.25rem 0.5rem;
|
||||
font-size: var(--font-size-14);
|
||||
color: #c5dbe3;
|
||||
border: 1px solid #def7ff;
|
||||
border-radius: 3px;
|
||||
}
|
||||
Reference in New Issue
Block a user