refactor(webui): add `css-order-prettier-plugin`, reorder all css
parent
9a5a96e6fc
commit
1e251511de
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"useTabs": true,
|
|
||||||
"singleQuote": true,
|
|
||||||
"trailingComma": "none",
|
|
||||||
"printWidth": 100,
|
|
||||||
"plugins": ["prettier-plugin-svelte"],
|
|
||||||
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
|
|
||||||
}
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"useTabs": true,
|
||||||
|
"singleQuote": true,
|
||||||
|
"trailingComma": "none",
|
||||||
|
"printWidth": 100,
|
||||||
|
"plugins": ["prettier-plugin-svelte", "prettier-plugin-css-order"],
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": "*.svelte",
|
||||||
|
"options": {
|
||||||
|
"parser": "svelte"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"cssDeclarationSorterOrder": "smacss"
|
||||||
|
}
|
|
@ -34,6 +34,7 @@
|
||||||
"eslint-plugin-storybook": "^0.8.0",
|
"eslint-plugin-storybook": "^0.8.0",
|
||||||
"eslint-plugin-svelte": "^2.35.1",
|
"eslint-plugin-svelte": "^2.35.1",
|
||||||
"prettier": "^3.1.1",
|
"prettier": "^3.1.1",
|
||||||
|
"prettier-plugin-css-order": "^2.1.2",
|
||||||
"prettier-plugin-svelte": "^3.1.2",
|
"prettier-plugin-svelte": "^3.1.2",
|
||||||
"storybook": "^7.6.16",
|
"storybook": "^7.6.16",
|
||||||
"svelte": "^4.2.7",
|
"svelte": "^4.2.7",
|
||||||
|
|
12711
webui/pnpm-lock.yaml
12711
webui/pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -208,16 +208,17 @@
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.addmodal-container {
|
.addmodal-container {
|
||||||
|
display: none;
|
||||||
|
|
||||||
|
z-index: 99;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
|
left: 0;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
|
|
||||||
display: none;
|
|
||||||
|
|
||||||
&.visible {
|
&.visible {
|
||||||
display: unset;
|
display: unset;
|
||||||
}
|
}
|
||||||
|
@ -229,35 +230,33 @@
|
||||||
filter: brightness(0.85);
|
filter: brightness(0.85);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
z-index: 99;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.addmodal {
|
.addmodal {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
min-width: 33vw;
|
||||||
|
padding: 1rem;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
border: solid 2px var(--foreground);
|
||||||
|
border-radius: 8px;
|
||||||
|
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
|
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
border: solid 2px var(--foreground);
|
|
||||||
border-radius: 8px;
|
|
||||||
padding: 1rem;
|
|
||||||
min-width: 33vw;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.files {
|
.files {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1em;
|
width: 80vw;
|
||||||
|
max-height: 66vh;
|
||||||
|
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
max-height: 66vh;
|
gap: 1em;
|
||||||
width: 80vw;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry .row {
|
.entry .row {
|
||||||
|
@ -267,19 +266,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.file {
|
.file {
|
||||||
flex-grow: 1;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
padding: 0.5em;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
|
||||||
border: 1px solid var(--foreground);
|
border: 1px solid var(--foreground);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: var(--background-lighter);
|
background: var(--background-lighter);
|
||||||
padding: 0.5em;
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-height: 12em;
|
|
||||||
max-width: 12em;
|
max-width: 12em;
|
||||||
|
max-height: 12em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
@ -299,20 +298,20 @@
|
||||||
|
|
||||||
.controls {
|
.controls {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 3em;
|
justify-content: center;
|
||||||
margin-top: 0.5rem;
|
margin-top: 0.5rem;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
font-size: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.controls-destination {
|
.controls-destination {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-grow: 3;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
|
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
flex-grow: 3;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.controls-submit {
|
.controls-submit {
|
||||||
|
|
|
@ -47,24 +47,24 @@
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.view {
|
.view {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
width: 48px;
|
||||||
|
min-width: 48px;
|
||||||
|
padding: 1rem;
|
||||||
|
border: 1px solid var(--foreground-lightest);
|
||||||
|
border-radius: 0.5em;
|
||||||
|
|
||||||
background: var(--background-lighter);
|
background: var(--background-lighter);
|
||||||
color: var(--foreground-lighter);
|
color: var(--foreground-lighter);
|
||||||
border: 1px solid var(--foreground-lightest);
|
|
||||||
border-radius: 0.5em;
|
|
||||||
padding: 1rem;
|
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
opacity: 0.4;
|
||||||
|
|
||||||
transition:
|
transition:
|
||||||
opacity 0.3s,
|
opacity 0.3s,
|
||||||
width 0.5s,
|
width 0.5s,
|
||||||
min-width 0.5s;
|
min-width 0.5s;
|
||||||
|
|
||||||
opacity: 0.4;
|
|
||||||
width: 48px;
|
|
||||||
min-width: 48px;
|
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&.editable {
|
&.editable {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
|
@ -118,8 +118,8 @@
|
||||||
@use '../styles/colors.scss';
|
@use '../styles/colors.scss';
|
||||||
|
|
||||||
.browse-column {
|
.browse-column {
|
||||||
position: relative;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.browse-column.detail {
|
.browse-column.detail {
|
||||||
|
@ -129,39 +129,37 @@
|
||||||
@media screen and (min-width: 600px) {
|
@media screen and (min-width: 600px) {
|
||||||
min-width: 85vw;
|
min-width: 85vw;
|
||||||
max-width: min(85vw, 1920px);
|
max-width: min(85vw, 1920px);
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.view {
|
.view {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
z-index: 1;
|
||||||
|
flex-direction: column;
|
||||||
min-width: var(--width);
|
min-width: var(--width);
|
||||||
max-width: var(--width);
|
max-width: var(--width);
|
||||||
|
padding: 1rem;
|
||||||
display: flex;
|
border: 1px solid var(--foreground-lightest);
|
||||||
flex-direction: column;
|
border-radius: 0.5em;
|
||||||
|
|
||||||
background: var(--background-lighter);
|
background: var(--background-lighter);
|
||||||
color: var(--foreground-lighter);
|
color: var(--foreground-lighter);
|
||||||
border: 1px solid var(--foreground-lightest);
|
|
||||||
border-radius: 0.5em;
|
|
||||||
padding: 1rem;
|
|
||||||
|
|
||||||
z-index: 1;
|
|
||||||
|
|
||||||
// transition: min-width 0.2s, max-width 0.2s;
|
// transition: min-width 0.2s, max-width 0.2s;
|
||||||
// TODO - container has nowhere to scroll, breaking `detail` scroll
|
// TODO - container has nowhere to scroll, breaking `detail` scroll
|
||||||
|
|
||||||
header {
|
header {
|
||||||
font-size: 20px;
|
|
||||||
position: relative;
|
|
||||||
min-height: 1em;
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
position: relative;
|
||||||
|
|
||||||
flex: none;
|
flex: none;
|
||||||
|
justify-content: space-between;
|
||||||
|
min-height: 1em;
|
||||||
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,22 +170,22 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.background {
|
.background {
|
||||||
|
z-index: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: calc(100% - 0.5rem);
|
width: calc(100% - 0.5rem);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-radius: 0.5em;
|
border-radius: 0.5em;
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
background-size: cover;
|
||||||
filter: blur(0.5rem) brightness(0.3) contrast(1.1);
|
filter: blur(0.5rem) brightness(0.3) contrast(1.1);
|
||||||
z-index: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.resizeHandle {
|
.resizeHandle {
|
||||||
cursor: ew-resize;
|
|
||||||
height: 100%;
|
|
||||||
width: 0.5rem;
|
width: 0.5rem;
|
||||||
|
height: 100%;
|
||||||
|
cursor: ew-resize;
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -147,9 +147,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
text-align: center;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-top: -0.66em;
|
margin-top: -0.66em;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.controls {
|
.controls {
|
||||||
|
@ -158,7 +158,7 @@
|
||||||
|
|
||||||
.entities {
|
.entities {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
overflow-y: auto;
|
|
||||||
height: 0;
|
height: 0;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -51,14 +51,13 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.dropindicator {
|
.dropindicator {
|
||||||
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
|
left: 0;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background: rgba(0, 0, 0, 0.75);
|
background: rgba(0, 0, 0, 0.75);
|
||||||
|
|
||||||
display: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dragging {
|
.dragging {
|
||||||
|
@ -67,19 +66,19 @@
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
padding: 1.5em;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
border: solid 0.25em var(--foreground);
|
||||||
|
border-radius: 0.5em;
|
||||||
|
|
||||||
background: rgba(0, 0, 0, 0.9);
|
background: rgba(0, 0, 0, 0.9);
|
||||||
|
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
border: solid 0.25em var(--foreground);
|
font-size: 32px;
|
||||||
border-radius: 0.5em;
|
|
||||||
padding: 1.5em;
|
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 32px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
|
|
@ -90,8 +90,8 @@
|
||||||
.group-list {
|
.group-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 0.25rem 0.2rem;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
gap: 0.25rem 0.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group {
|
.group {
|
||||||
|
@ -103,11 +103,11 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
|
|
||||||
|
padding-bottom: 0.2rem;
|
||||||
|
|
||||||
.group-list {
|
.group-list {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
padding-bottom: 0.2rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.selector {
|
.selector {
|
||||||
|
|
|
@ -128,10 +128,10 @@
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.icon {
|
.icon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 1.25em;
|
|
||||||
margin-top: -0.3em;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
bottom: -2px;
|
bottom: -2px;
|
||||||
|
margin-top: -0.3em;
|
||||||
|
font-size: 1.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
|
|
|
@ -103,13 +103,12 @@
|
||||||
@use '../styles/colors';
|
@use '../styles/colors';
|
||||||
|
|
||||||
.groups {
|
.groups {
|
||||||
text-align: center;
|
display: flex;
|
||||||
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
height: 0;
|
|
||||||
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
height: 0;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
|
@ -121,14 +120,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 0.5em;
|
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
gap: 0.5em;
|
||||||
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group {
|
.group {
|
||||||
|
@ -137,29 +135,29 @@
|
||||||
|
|
||||||
.count {
|
.count {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 0.66em;
|
|
||||||
margin-left: 0.25em;
|
margin-left: 0.25em;
|
||||||
|
font-size: 0.66em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
font-weight: bold;
|
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.duplicate {
|
.duplicate {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1rem;
|
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.duplicate-group {
|
.duplicate-group {
|
||||||
flex-basis: 49%;
|
flex-basis: 49%;
|
||||||
border-radius: 4px;
|
max-width: 100%;
|
||||||
border: 1px solid var(--foreground);
|
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
max-width: 100%;
|
border: 1px solid var(--foreground);
|
||||||
|
border-radius: 4px;
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
@ -559,19 +559,19 @@
|
||||||
|
|
||||||
.inspect,
|
.inspect,
|
||||||
.main-content {
|
.main-content {
|
||||||
flex: auto;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex: auto;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.5rem;
|
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
gap: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.properties {
|
.properties {
|
||||||
flex: auto;
|
flex: auto;
|
||||||
height: 0; // https://stackoverflow.com/a/14964944
|
height: 0; // https://stackoverflow.com/a/14964944
|
||||||
min-height: 12em;
|
min-height: 12em;
|
||||||
overflow-y: auto;
|
|
||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 1600px) {
|
@media screen and (min-width: 1600px) {
|
||||||
|
@ -584,16 +584,16 @@
|
||||||
|
|
||||||
&.blob {
|
&.blob {
|
||||||
.detail-col {
|
.detail-col {
|
||||||
width: 33%;
|
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
|
width: 33%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blob-viewer {
|
.blob-viewer {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 1%;
|
||||||
width: 65%;
|
width: 65%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: absolute;
|
|
||||||
left: 1%;
|
|
||||||
top: 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -601,8 +601,8 @@
|
||||||
|
|
||||||
.main-content .detail-col {
|
.main-content .detail-col {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entries {
|
.entries {
|
||||||
|
@ -610,9 +610,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
margin-top: 2rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
|
margin-top: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.error {
|
.error {
|
||||||
|
|
|
@ -170,12 +170,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
border: none;
|
border: none;
|
||||||
background: none;
|
background: none;
|
||||||
cursor: pointer;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
|
cursor: pointer;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
&.required {
|
&.required {
|
||||||
|
@ -187,8 +187,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.add-button {
|
.add-button {
|
||||||
grid-column: 1 / span 3;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
grid-column: 1 / span 3;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,8 @@
|
||||||
@use '$lib/styles/colors';
|
@use '$lib/styles/colors';
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
text-align: center;
|
|
||||||
margin: 0 0 1rem 0;
|
margin: 0 0 1rem 0;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
form {
|
form {
|
||||||
|
|
|
@ -64,14 +64,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
text-align: center;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-top: -0.66em;
|
margin-top: -0.66em;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entities {
|
.entities {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
overflow-y: auto;
|
|
||||||
height: 0;
|
height: 0;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -353,15 +353,15 @@
|
||||||
.header {
|
.header {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 1em;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin: 0.5em 0;
|
margin: 0.5em 0;
|
||||||
|
gap: 1em;
|
||||||
|
|
||||||
.axis-selector {
|
.axis-selector {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1em;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
gap: 1em;
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
@ -373,8 +373,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.view {
|
.view {
|
||||||
flex-grow: 1;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
flex-grow: 1;
|
||||||
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
@ -411,8 +411,8 @@
|
||||||
top: 2rem;
|
top: 2rem;
|
||||||
right: 1.5em;
|
right: 1.5em;
|
||||||
padding: 0.66em;
|
padding: 0.66em;
|
||||||
border-radius: 4px;
|
|
||||||
border: 1px solid var(--foreground-lighter);
|
border: 1px solid var(--foreground-lighter);
|
||||||
|
border-radius: 4px;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
opacity: 0.66;
|
opacity: 0.66;
|
||||||
transition: opacity 0.25s;
|
transition: opacity 0.25s;
|
||||||
|
@ -429,8 +429,8 @@
|
||||||
.view-mode-selector {
|
.view-mode-selector {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.5em;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
gap: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui {
|
.ui {
|
||||||
|
@ -438,13 +438,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading {
|
.loading {
|
||||||
|
z-index: 99;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: rgba(0, 0, 0, 0.7);
|
|
||||||
z-index: 99;
|
|
||||||
transform: scale(3);
|
transform: scale(3);
|
||||||
|
background: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -132,33 +132,33 @@
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.preview {
|
.preview {
|
||||||
flex-grow: 1;
|
|
||||||
min-height: 0;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
min-height: 0;
|
||||||
|
|
||||||
.inner {
|
.inner {
|
||||||
position: relative;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
min-height: 0;
|
position: relative;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
min-height: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hashbadge {
|
.hashbadge {
|
||||||
font-size: 48px;
|
font-size: 48px;
|
||||||
opacity: 0.25;
|
|
||||||
text-align: center;
|
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
text-align: center;
|
||||||
|
opacity: 0.25;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image {
|
.image {
|
||||||
display: flex;
|
display: flex;
|
||||||
min-height: 0;
|
|
||||||
min-width: 0;
|
|
||||||
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
min-width: 0;
|
||||||
|
min-height: 0;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
@ -166,23 +166,22 @@
|
||||||
|
|
||||||
&:not(.loaded) {
|
&:not(.loaded) {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
height: 6rem;
|
|
||||||
max-height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
height: 6rem;
|
||||||
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.group {
|
.group {
|
||||||
|
display: grid;
|
||||||
|
grid-template-rows: repeat(2, 1fr);
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
min-height: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
min-height: 0;
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
grid-template-rows: repeat(2, 1fr);
|
|
||||||
|
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
gap: 0.25rem;
|
gap: 0.25rem;
|
||||||
|
@ -193,9 +192,9 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
list-style: none;
|
|
||||||
min-height: 0;
|
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
min-height: 0;
|
||||||
|
list-style: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -83,15 +83,15 @@
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.preview {
|
.preview {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
// min-height: 33vh;
|
// min-height: 33vh;
|
||||||
max-height: 50vh;
|
max-height: 50vh;
|
||||||
|
|
||||||
&.detail {
|
&.detail {
|
||||||
|
flex-grow: 1;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
flex-grow: 1;
|
|
||||||
// min-height: 0;
|
// min-height: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,14 +103,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
width: 99%;
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
width: 99%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-viewer {
|
.text-viewer {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 2rem;
|
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|
|
@ -42,9 +42,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-inner {
|
.popup-inner {
|
||||||
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 1rem;
|
top: 1rem;
|
||||||
display: inline-block;
|
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -26,15 +26,15 @@
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.entry {
|
.entry {
|
||||||
border: 1px solid var(--foreground);
|
|
||||||
background: var(--background-lighter);
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 0.1em 0.5em 0.1em 0.25em;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
padding: 0.1em 0.5em 0.1em 0.25em;
|
||||||
gap: 1em;
|
gap: 1em;
|
||||||
|
border: 1px solid var(--foreground);
|
||||||
|
border-radius: 4px;
|
||||||
|
background: var(--background-lighter);
|
||||||
|
|
||||||
& > * {
|
& > * {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
@ -45,19 +45,18 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 0.2em;
|
top: 0.2em;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
text-align: center;
|
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
|
text-align: center;
|
||||||
&::after {
|
&::after {
|
||||||
content: '\00a0→';
|
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: calc(-50% + 2px);
|
top: calc(-50% + 2px);
|
||||||
left: calc(50% - 2px);
|
left: calc(50% - 2px);
|
||||||
|
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
font-size: 0.66em;
|
content: '\00a0→';
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
font-size: 0.66em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,8 +69,8 @@
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
:global(.uplink) {
|
:global(.uplink) {
|
||||||
text-decoration: none;
|
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
:global(.uplink.text) {
|
:global(.uplink.text) {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
|
@ -254,65 +254,63 @@
|
||||||
@use '$lib/styles/colors';
|
@use '$lib/styles/colors';
|
||||||
|
|
||||||
.upobject {
|
.upobject {
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
justify-content: stretch;
|
justify-content: stretch;
|
||||||
|
height: 100%;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
||||||
&.left-active {
|
&.left-active {
|
||||||
background: linear-gradient(90deg, var(--color-active) 0%, transparent 100%);
|
|
||||||
padding: 2px 0 2px 2px;
|
padding: 2px 0 2px 2px;
|
||||||
|
background: linear-gradient(90deg, var(--color-active) 0%, transparent 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.right-active {
|
&.right-active {
|
||||||
background: linear-gradient(90deg, transparent 0%, var(--color-active) 100%);
|
|
||||||
padding: 2px 2px 2px 0;
|
padding: 2px 2px 2px 0;
|
||||||
|
background: linear-gradient(90deg, transparent 0%, var(--color-active) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.plain .address {
|
&.plain .address {
|
||||||
|
padding: 0;
|
||||||
border: none;
|
border: none;
|
||||||
background: none;
|
background: none;
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.address {
|
.address {
|
||||||
|
display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
align-items: center;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
padding: 0.1em 0.25em;
|
padding: 0.1em 0.25em;
|
||||||
|
border: 0.1em solid var(--foreground-lighter);
|
||||||
|
border-radius: 0.2em;
|
||||||
|
|
||||||
|
background: var(--background);
|
||||||
|
|
||||||
font-family: var(--monospace-font);
|
font-family: var(--monospace-font);
|
||||||
line-break: anywhere;
|
line-break: anywhere;
|
||||||
|
|
||||||
background: var(--background);
|
|
||||||
border: 0.1em solid var(--foreground-lighter);
|
|
||||||
border-radius: 0.2em;
|
|
||||||
|
|
||||||
&.banner {
|
&.banner {
|
||||||
border: 0.12em solid var(--foreground);
|
|
||||||
padding: 0.5em 0.25em;
|
padding: 0.5em 0.25em;
|
||||||
|
border: 0.12em solid var(--foreground);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.identified {
|
&.identified {
|
||||||
font-family: var(--default-font);
|
|
||||||
font-size: 0.95em;
|
font-size: 0.95em;
|
||||||
|
font-family: var(--default-font);
|
||||||
line-break: auto;
|
line-break: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
flex-grow: 1;
|
|
||||||
min-width: 0;
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
|
min-width: 0;
|
||||||
margin-left: 0.25em;
|
margin-left: 0.25em;
|
||||||
|
|
||||||
:global(a) {
|
:global(a) {
|
||||||
|
@ -330,19 +328,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary {
|
.secondary {
|
||||||
font-size: 0.66em;
|
|
||||||
display: none;
|
display: none;
|
||||||
|
font-size: 0.66em;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.key {
|
.key {
|
||||||
font-family: var(--monospace-font);
|
|
||||||
color: colors.$yellow;
|
color: colors.$yellow;
|
||||||
|
font-family: var(--monospace-font);
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
content: '⌘';
|
|
||||||
margin-right: 0.1em;
|
margin-right: 0.1em;
|
||||||
|
content: '⌘';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -361,25 +359,25 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-gradient {
|
.image-gradient {
|
||||||
|
z-index: -1;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
background: linear-gradient(90deg, rgba(0, 0, 0, 0.66) 16%, var(--background) 66%);
|
background: linear-gradient(90deg, rgba(0, 0, 0, 0.66) 16%, var(--background) 66%);
|
||||||
z-index: -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-background {
|
.image-background {
|
||||||
|
z-index: -2;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: -2;
|
left: 0;
|
||||||
|
background-position: center;
|
||||||
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
|
||||||
filter: brightness(0.8);
|
filter: brightness(0.8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -400,8 +398,8 @@
|
||||||
color 0.2s;
|
color 0.2s;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 1;
|
|
||||||
color: var(--active-color, var(--primary));
|
color: var(--active-color, var(--primary));
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -417,7 +415,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.disabled {
|
.disabled {
|
||||||
pointer-events: none;
|
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -36,14 +36,13 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.inner {
|
.inner {
|
||||||
border: 1px solid var(--foreground-lighter);
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 0.25rem;
|
|
||||||
max-height: 420px;
|
|
||||||
min-height: 0;
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
min-height: 0;
|
||||||
|
max-height: 420px;
|
||||||
|
padding: 0.25rem;
|
||||||
|
border: 1px solid var(--foreground-lighter);
|
||||||
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,8 +51,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge {
|
.badge {
|
||||||
font-size: 3rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
font-size: 3rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -29,17 +29,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.backpath {
|
.backpath {
|
||||||
opacity: 0.66;
|
|
||||||
margin-right: 0.25em;
|
margin-right: 0.25em;
|
||||||
|
opacity: 0.66;
|
||||||
|
|
||||||
.component::after {
|
.component::after {
|
||||||
content: '∋';
|
|
||||||
margin-left: 0.2em;
|
|
||||||
margin-right: 0.4em;
|
|
||||||
font-size: 0.66em;
|
|
||||||
font-weight: bold;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -0.125em;
|
top: -0.125em;
|
||||||
|
margin-right: 0.4em;
|
||||||
|
margin-left: 0.2em;
|
||||||
|
content: '∋';
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 0.66em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.component:last-child::after {
|
.component:last-child::after {
|
||||||
|
|
|
@ -54,10 +54,10 @@
|
||||||
|
|
||||||
&:not(.loaded) {
|
&:not(.loaded) {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
height: 6rem;
|
|
||||||
max-height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
height: 6rem;
|
||||||
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,10 +66,10 @@
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
color: var(--foreground-lightest);
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
font-size: var(--font-size);
|
font-size: var(--font-size);
|
||||||
font-weight: bold;
|
|
||||||
color: var(--foreground-lightest);
|
|
||||||
text-shadow: 0 0 0.2em var(--background-lighter);
|
text-shadow: 0 0 0.2em var(--background-lighter);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -44,15 +44,15 @@
|
||||||
@use '../../../styles/colors';
|
@use '../../../styles/colors';
|
||||||
|
|
||||||
.fragment-viewer {
|
.fragment-viewer {
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
width: 100%;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
max-width: 100%;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
&.imageLoaded {
|
&.imageLoaded {
|
||||||
border: 2px dashed colors.$yellow;
|
border: 2px dashed colors.$yellow;
|
||||||
|
|
|
@ -67,15 +67,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
background: var(--background);
|
|
||||||
padding: 0.5em;
|
|
||||||
height: 100%;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
height: 100%;
|
||||||
|
padding: 0.5em;
|
||||||
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
border: 1px solid var(--foreground);
|
||||||
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid var(--foreground);
|
background: var(--background);
|
||||||
|
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
|
|
||||||
|
@ -94,16 +94,16 @@
|
||||||
|
|
||||||
.tab {
|
.tab {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
margin: 0 0.1em;
|
||||||
|
|
||||||
cursor: pointer;
|
padding: 0.15em;
|
||||||
|
|
||||||
border: 1px solid var(--foreground);
|
border: 1px solid var(--foreground);
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
border-top-left-radius: 4px;
|
|
||||||
border-top-right-radius: 4px;
|
border-top-right-radius: 4px;
|
||||||
|
border-top-left-radius: 4px;
|
||||||
|
|
||||||
padding: 0.15em;
|
cursor: pointer;
|
||||||
margin: 0 0.1em;
|
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
|
|
|
@ -148,19 +148,18 @@
|
||||||
&,
|
&,
|
||||||
.player {
|
.player {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
|
||||||
min-height: 0;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
img,
|
img,
|
||||||
video {
|
video {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 100%;
|
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
max-height: 100%;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
|
||||||
// background: rgba(128, 128, 128, 128);
|
// background: rgba(128, 128, 128, 128);
|
||||||
|
|
||||||
transition: filter 0.2s;
|
transition: filter 0.2s;
|
||||||
|
@ -180,24 +179,24 @@
|
||||||
font-size: var(--icon-size);
|
font-size: var(--icon-size);
|
||||||
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.2s;
|
|
||||||
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
transition: opacity 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.timecode {
|
.timecode {
|
||||||
display: none;
|
display: none;
|
||||||
pointer-events: none;
|
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: var(--left);
|
left: var(--left);
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
font-feature-settings: 'tnum', 'zero';
|
font-feature-settings: 'tnum', 'zero';
|
||||||
font-weight: bold;
|
|
||||||
color: white;
|
|
||||||
opacity: 0.66;
|
opacity: 0.66;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.unsupported.detail {
|
&.unsupported.detail {
|
||||||
|
@ -219,22 +218,22 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 0;
|
left: 0;
|
||||||
transform: translateY(-50%);
|
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
transform: translateY(-50%);
|
||||||
|
|
||||||
font-weight: bold;
|
|
||||||
|
|
||||||
color: darkred;
|
color: darkred;
|
||||||
|
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.loading {
|
&.loading {
|
||||||
.player > * {
|
.player > * {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,24 +41,23 @@
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
footer {
|
footer {
|
||||||
|
display: flex;
|
||||||
|
z-index: 9;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 100%;
|
|
||||||
z-index: 9;
|
|
||||||
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
width: 100%;
|
||||||
& > * {
|
border-top: 1px solid var(--foreground-lighter);
|
||||||
padding: 0 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
border-top: 1px solid var(--foreground-lighter);
|
|
||||||
|
|
||||||
transition: 0.7s bottom ease;
|
transition: 0.7s bottom ease;
|
||||||
|
|
||||||
--height: calc(100vh / 6);
|
--height: calc(100vh / 6);
|
||||||
|
|
||||||
|
& > * {
|
||||||
|
padding: 0 0.5rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
footer.hidden {
|
footer.hidden {
|
||||||
|
@ -66,22 +65,21 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
height: 2rem;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
height: 2rem;
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
transition: opacity 0.7s ease;
|
||||||
|
|
||||||
&:not(.togglable) {
|
&:not(.togglable) {
|
||||||
cursor: unset;
|
cursor: unset;
|
||||||
pointer-events: none;
|
|
||||||
opacity: 0.66;
|
opacity: 0.66;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
transition: opacity 0.7s ease;
|
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
@ -99,11 +97,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.jobs {
|
.jobs {
|
||||||
overflow-y: scroll;
|
|
||||||
height: var(--height);
|
height: var(--height);
|
||||||
|
|
||||||
padding-top: 0.5rem;
|
padding-top: 0.5rem;
|
||||||
|
overflow-y: scroll;
|
||||||
background: var(--background-lighter);
|
background: var(--background-lighter);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -116,25 +116,25 @@
|
||||||
.header {
|
.header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
|
||||||
padding: 0.5rem;
|
|
||||||
height: 3.5rem;
|
height: 3.5rem;
|
||||||
|
padding: 0.5rem;
|
||||||
|
gap: 0.5rem;
|
||||||
border-bottom: 1px solid var(--foreground);
|
border-bottom: 1px solid var(--foreground);
|
||||||
|
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 16pt;
|
|
||||||
font-weight: normal;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 16pt;
|
||||||
|
|
||||||
:global(a) {
|
:global(a) {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
color: var(--foreground-lightest);
|
color: var(--foreground-lightest);
|
||||||
text-decoration: none;
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|
|
@ -84,23 +84,23 @@
|
||||||
<style>
|
<style>
|
||||||
.user-dropdown {
|
.user-dropdown {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
z-index: 99;
|
||||||
gap: 0.5rem;
|
|
||||||
|
|
||||||
background: var(--background);
|
|
||||||
border-radius: 4px;
|
|
||||||
border: 1px solid var(--foreground);
|
|
||||||
padding: 0.5em;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 3.5rem;
|
top: 3.5rem;
|
||||||
right: 0.5rem;
|
right: 0.5rem;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 0.5em;
|
||||||
|
gap: 0.5rem;
|
||||||
|
border: 1px solid var(--foreground);
|
||||||
|
border-radius: 4px;
|
||||||
|
|
||||||
|
background: var(--background);
|
||||||
box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
|
box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
|
||||||
z-index: 99;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.user {
|
.user {
|
||||||
font-weight: 500;
|
|
||||||
margin: 0 1rem;
|
margin: 0 1rem;
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
|
@ -111,8 +111,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
text-align: center;
|
|
||||||
margin: 0 0 1rem 0;
|
margin: 0 0 1rem 0;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.change-password {
|
.change-password {
|
||||||
|
@ -133,8 +133,8 @@
|
||||||
grid-column: span 2;
|
grid-column: span 2;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
justify-self: center;
|
justify-self: center;
|
||||||
font-weight: 500;
|
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -75,8 +75,8 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
.job-label {
|
.job-label {
|
||||||
white-space: nowrap;
|
|
||||||
margin-right: 2em;
|
margin-right: 2em;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -26,30 +26,28 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.modal-container {
|
.modal-container {
|
||||||
|
z-index: 999;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
|
left: 0;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background: rgba(0, 0, 0, 0.66);
|
background: rgba(0, 0, 0, 0.66);
|
||||||
|
|
||||||
z-index: 999;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal {
|
.modal {
|
||||||
|
display: flex;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 2rem;
|
||||||
|
gap: 1rem;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
border: 1px solid var(--foreground);
|
||||||
|
border-radius: 5px;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
border-radius: 5px;
|
|
||||||
border: 1px solid var(--foreground);
|
|
||||||
padding: 2rem;
|
|
||||||
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 1rem;
|
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
filter: brightness(0.66);
|
filter: brightness(0.66);
|
||||||
|
|
|
@ -5,10 +5,10 @@ section.labelborder {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: end;
|
align-items: end;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
margin-bottom: 0.33rem;
|
||||||
|
padding-bottom: 0.33rem;
|
||||||
|
|
||||||
border-bottom: 1px solid var(--foreground);
|
border-bottom: 1px solid var(--foreground);
|
||||||
padding-bottom: 0.33rem;
|
|
||||||
margin-bottom: 0.33rem;
|
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -87,8 +87,8 @@
|
||||||
|
|
||||||
.inner {
|
.inner {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.25em;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
gap: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.ellipsis {
|
.ellipsis {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
text-overflow: ellipsis;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -38,18 +38,18 @@
|
||||||
padding: 0.25em;
|
padding: 0.25em;
|
||||||
border: 0;
|
border: 0;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
cursor: pointer;
|
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
cursor: pointer;
|
||||||
opacity: 0.66;
|
opacity: 0.66;
|
||||||
|
|
||||||
&.plain {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
transition:
|
transition:
|
||||||
opacity 0.2s,
|
opacity 0.2s,
|
||||||
color 0.2s,
|
color 0.2s,
|
||||||
border-color 0.2s;
|
border-color 0.2s;
|
||||||
|
|
||||||
|
&.plain {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button.subdued {
|
button.subdued {
|
||||||
|
@ -57,10 +57,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.outline {
|
.outline {
|
||||||
|
padding: 0.25em 1em;
|
||||||
border: 1px solid var(--foreground);
|
border: 1px solid var(--foreground);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
||||||
padding: 0.25em 1em;
|
|
||||||
&.small {
|
&.small {
|
||||||
padding: 0.1em 0.8em;
|
padding: 0.1em 0.8em;
|
||||||
}
|
}
|
||||||
|
@ -68,9 +67,9 @@
|
||||||
|
|
||||||
.active,
|
.active,
|
||||||
button:hover {
|
button:hover {
|
||||||
opacity: 1;
|
|
||||||
color: var(--color);
|
|
||||||
border-color: var(--color);
|
border-color: var(--color);
|
||||||
|
color: var(--color);
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:disabled {
|
button:disabled {
|
||||||
|
@ -80,8 +79,8 @@
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
display: block;
|
display: block;
|
||||||
|
margin-top: 0.2em;
|
||||||
font-size: 0.5em;
|
font-size: 0.5em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 0.2em;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -40,8 +40,8 @@
|
||||||
.input {
|
.input {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.25em;
|
|
||||||
padding: 0.25em;
|
padding: 0.25em;
|
||||||
|
gap: 0.25em;
|
||||||
|
|
||||||
border: 1px solid var(--foreground-lighter);
|
border: 1px solid var(--foreground-lighter);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -56,10 +56,10 @@
|
||||||
input {
|
input {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
border: none;
|
||||||
|
background: transparent;
|
||||||
|
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
background: transparent;
|
|
||||||
border: none;
|
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
|
@ -40,10 +40,10 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: end;
|
align-items: end;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
margin-bottom: 0.33rem;
|
||||||
|
padding-bottom: 0.33rem;
|
||||||
|
|
||||||
border-bottom: 1px solid var(--foreground);
|
border-bottom: 1px solid var(--foreground);
|
||||||
padding-bottom: 0.33rem;
|
|
||||||
margin-bottom: 0.33rem;
|
|
||||||
|
|
||||||
& h3 {
|
& h3 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -61,8 +61,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
& .hidden-indicator {
|
& .hidden-indicator {
|
||||||
border-top: 1px solid var(--foreground);
|
|
||||||
margin-top: calc(-0.33rem + 2px);
|
margin-top: calc(-0.33rem + 2px);
|
||||||
|
border-top: 1px solid var(--foreground);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -53,10 +53,10 @@
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.notes {
|
.notes {
|
||||||
background: var(--background);
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 0.66em !important;
|
|
||||||
margin: 0.1rem;
|
margin: 0.1rem;
|
||||||
|
padding: 0.66em !important;
|
||||||
|
border-radius: 4px;
|
||||||
|
background: var(--background);
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: 1px solid var(--primary-lighter);
|
outline: 1px solid var(--primary-lighter);
|
||||||
|
@ -64,9 +64,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
font-size: 0.8em;
|
|
||||||
opacity: 0.8;
|
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
margin-right: 0.1rem;
|
margin-right: 0.1rem;
|
||||||
|
font-size: 0.8em;
|
||||||
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -13,16 +13,16 @@
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.progress-bar {
|
.progress-bar {
|
||||||
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
background: white;
|
background: white;
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.value {
|
.value {
|
||||||
background: var(--primary);
|
|
||||||
height: 100%;
|
|
||||||
width: var(--value, 100%);
|
width: var(--value, 100%);
|
||||||
|
height: 100%;
|
||||||
|
background: var(--primary);
|
||||||
transition: width 0.2s ease;
|
transition: width 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,24 +32,24 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
font-size: 0.8em;
|
|
||||||
color: white;
|
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
text-align: center;
|
color: white;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
font-size: 0.8em;
|
||||||
|
text-align: center;
|
||||||
mix-blend-mode: difference;
|
mix-blend-mode: difference;
|
||||||
}
|
}
|
||||||
|
|
||||||
.progress-bar.indeterminate {
|
.progress-bar.indeterminate {
|
||||||
.value {
|
.value {
|
||||||
animation-name: indeterminate;
|
|
||||||
animation-duration: 2s;
|
animation-duration: 2s;
|
||||||
animation-iteration-count: infinite;
|
|
||||||
animation-timing-function: ease-in-out;
|
animation-timing-function: ease-in-out;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-name: indeterminate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -538,44 +538,42 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.options {
|
.options {
|
||||||
|
visibility: hidden;
|
||||||
|
|
||||||
|
z-index: 99;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
list-style: none;
|
width: 100%;
|
||||||
margin: 2px 0 0;
|
margin: 2px 0 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 1px solid var(--foreground-lighter);
|
border: 1px solid var(--foreground-lighter);
|
||||||
width: 100%;
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
box-shadow: 0.2em 0.2em 0.5em rgba(0, 0, 0, 0.3);
|
box-shadow: 0.2em 0.2em 0.5em rgba(0, 0, 0, 0.3);
|
||||||
|
font-weight: normal;
|
||||||
|
|
||||||
// reset
|
// reset
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: normal;
|
list-style: none;
|
||||||
|
|
||||||
visibility: hidden;
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|
||||||
transition: opacity 0.2s;
|
transition: opacity 0.2s;
|
||||||
|
|
||||||
z-index: 99;
|
|
||||||
|
|
||||||
&.visible {
|
&.visible {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
cursor: pointer;
|
|
||||||
padding: 0.25em;
|
padding: 0.25em;
|
||||||
|
cursor: pointer;
|
||||||
transition: background-color 0.1s;
|
transition: background-color 0.1s;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--background-lighter);
|
background-color: var(--background-lighter);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
background-color: var(--background-lighter);
|
|
||||||
outline: none;
|
outline: none;
|
||||||
|
background-color: var(--background-lighter);
|
||||||
}
|
}
|
||||||
|
|
||||||
.type,
|
.type,
|
||||||
|
@ -584,8 +582,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.type {
|
.type {
|
||||||
opacity: 0.8;
|
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
|
|
|
@ -277,8 +277,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.message {
|
.message {
|
||||||
text-align: center;
|
|
||||||
margin: 0.5em;
|
margin: 0.5em;
|
||||||
|
text-align: center;
|
||||||
opacity: 0.66;
|
opacity: 0.66;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -287,14 +287,14 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
.object {
|
.object {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
max-width: 100%;
|
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
width: 0;
|
width: 0;
|
||||||
transition: width 0.3s ease;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
transition: width 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -336,8 +336,8 @@
|
||||||
|
|
||||||
& .main {
|
& .main {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -413,12 +413,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.cell {
|
.cell {
|
||||||
|
min-width: 0;
|
||||||
|
padding: 2px;
|
||||||
|
border-radius: 4px;
|
||||||
font-family: var(--monospace-font);
|
font-family: var(--monospace-font);
|
||||||
line-break: anywhere;
|
line-break: anywhere;
|
||||||
min-width: 0;
|
|
||||||
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 2px;
|
|
||||||
|
|
||||||
&.formatted,
|
&.formatted,
|
||||||
.formatted {
|
.formatted {
|
||||||
|
@ -428,8 +427,8 @@
|
||||||
|
|
||||||
.attr-action {
|
.attr-action {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: end;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.add-row {
|
.add-row {
|
||||||
|
@ -438,8 +437,8 @@
|
||||||
|
|
||||||
.add-button {
|
.add-button {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
|
||||||
grid-column: 1 / -1;
|
grid-column: 1 / -1;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.unset {
|
.unset {
|
||||||
|
|
|
@ -63,8 +63,8 @@ html {
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
color: var(--foreground);
|
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
|
color: var(--foreground);
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
|
@ -72,8 +72,8 @@ body {
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
color: var(--foreground-lighter);
|
|
||||||
border-color: var(--foreground);
|
border-color: var(--foreground);
|
||||||
|
color: var(--foreground-lighter);
|
||||||
}
|
}
|
||||||
|
|
||||||
a,
|
a,
|
||||||
|
|
|
@ -10,12 +10,11 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
|
border: 1px solid var(--foreground-lighter);
|
||||||
|
border-radius: 4px;
|
||||||
background: var(--background-lighter);
|
background: var(--background-lighter);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
font-family: var(--default-font);
|
font-family: var(--default-font);
|
||||||
|
|
||||||
border: 1px solid var(--foreground-lighter);
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.spinner {
|
.spinner {
|
||||||
|
@ -24,16 +23,15 @@ select {
|
||||||
|
|
||||||
button,
|
button,
|
||||||
.button {
|
.button {
|
||||||
|
display: block;
|
||||||
|
|
||||||
|
padding: 0.25em 1em;
|
||||||
border: 1px solid var(--foreground);
|
border: 1px solid var(--foreground);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
||||||
background: var(--background-lighter);
|
background: var(--background-lighter);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
|
|
||||||
padding: 0.25em 1em;
|
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
||||||
display: block;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -44,8 +42,8 @@ button,
|
||||||
|
|
||||||
&.disabled,
|
&.disabled,
|
||||||
&:disabled {
|
&:disabled {
|
||||||
pointer-events: none;
|
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
|
@ -61,12 +59,11 @@ input[type='password'] {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
|
|
||||||
transition: box-shadow 0.25s;
|
transition: box-shadow 0.25s;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: -1px -1px 2px 2px var(--primary);
|
|
||||||
outline: none;
|
outline: none;
|
||||||
|
box-shadow: -1px -1px 2px 2px var(--primary);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
@use 'boxicons/css/boxicons.min.css';
|
@use 'boxicons/css/boxicons.min.css';
|
||||||
|
|
||||||
body {
|
body {
|
||||||
height: calc(100vh - 2rem);
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
height: calc(100vh - 2rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
|
@ -17,9 +17,8 @@ main {
|
||||||
|
|
||||||
.image-queued,
|
.image-queued,
|
||||||
.image-loading {
|
.image-loading {
|
||||||
animation: gradient 1.5s ease infinite;
|
|
||||||
|
|
||||||
color: transparent; // Hide alt-text
|
color: transparent; // Hide alt-text
|
||||||
|
animation: gradient 1.5s ease infinite;
|
||||||
|
|
||||||
@keyframes gradient {
|
@keyframes gradient {
|
||||||
0% {
|
0% {
|
||||||
|
|
|
@ -308,9 +308,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 32pt;
|
|
||||||
font-variant: small-caps;
|
|
||||||
margin: 2rem 0 0 0;
|
margin: 2rem 0 0 0;
|
||||||
|
font-variant: small-caps;
|
||||||
|
font-size: 32pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
|
@ -338,13 +338,13 @@
|
||||||
.roots,
|
.roots,
|
||||||
.keyed {
|
.keyed {
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0 auto;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
|
@ -362,13 +362,12 @@
|
||||||
|
|
||||||
.groups {
|
.groups {
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0 2rem;
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
margin: 0 2rem;
|
||||||
|
padding: 0;
|
||||||
gap: 0.5em;
|
gap: 0.5em;
|
||||||
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group {
|
.group {
|
||||||
|
@ -377,15 +376,15 @@
|
||||||
|
|
||||||
.count {
|
.count {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 0.66em;
|
|
||||||
margin-left: 0.25em;
|
margin-left: 0.25em;
|
||||||
|
font-size: 0.66em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
|
margin: 1rem 2rem 2.5rem 2rem;
|
||||||
border-top: 1px solid var(--foreground);
|
border-top: 1px solid var(--foreground);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 1rem 2rem 2.5rem 2rem;
|
|
||||||
|
|
||||||
& > * {
|
& > * {
|
||||||
margin: 0.5em;
|
margin: 0.5em;
|
||||||
|
@ -394,8 +393,8 @@
|
||||||
|
|
||||||
.store-button {
|
.store-button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 1em;
|
|
||||||
margin: 2rem auto;
|
margin: 2rem auto;
|
||||||
|
padding: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.version {
|
.version {
|
||||||
|
|
|
@ -169,10 +169,9 @@
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.browser {
|
.browser {
|
||||||
|
display: flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
|
||||||
display: flex;
|
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
|
||||||
|
|
|
@ -153,9 +153,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.exact {
|
.exact {
|
||||||
|
@ -163,11 +163,11 @@
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1rem;
|
|
||||||
justify-content: center;
|
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
margin: 0 1rem;
|
margin: 0 1rem;
|
||||||
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
|
@ -181,14 +181,14 @@
|
||||||
|
|
||||||
.create-object {
|
.create-object {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: var(--foreground);
|
margin-top: 1rem;
|
||||||
background: var(--background-lighter);
|
padding: 0.2em;
|
||||||
border: 1px solid var(--foreground);
|
border: 1px solid var(--foreground);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 0.2em;
|
background: var(--background-lighter);
|
||||||
|
color: var(--foreground);
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -199,16 +199,16 @@
|
||||||
|
|
||||||
.raw {
|
.raw {
|
||||||
li {
|
li {
|
||||||
margin: 1em auto;
|
|
||||||
max-width: 66em;
|
max-width: 66em;
|
||||||
|
margin: 1em auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.global {
|
.global {
|
||||||
font-size: 48px;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
font-size: 48px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -79,29 +79,28 @@
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
main {
|
main {
|
||||||
border-radius: 1rem;
|
|
||||||
border: 1px solid var(--foreground);
|
|
||||||
background: var(--background-lighter);
|
|
||||||
margin: 4rem;
|
|
||||||
padding: 4rem;
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin: 4rem;
|
||||||
|
padding: 4rem;
|
||||||
gap: 4rem;
|
gap: 4rem;
|
||||||
|
border: 1px solid var(--foreground);
|
||||||
|
border-radius: 1rem;
|
||||||
|
background: var(--background-lighter);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2 {
|
h2 {
|
||||||
text-align: center;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tree-mode .icons {
|
.tree-mode .icons {
|
||||||
margin-top: 2rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 2rem;
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
margin-top: 2rem;
|
||||||
|
gap: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icons {
|
.icons {
|
||||||
|
@ -109,8 +108,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.option {
|
.option {
|
||||||
flex-basis: 33%;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-basis: 33%;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,8 +79,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-spacing: 1em 0.25em;
|
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
|
border-spacing: 1em 0.25em;
|
||||||
text-align: initial;
|
text-align: initial;
|
||||||
|
|
||||||
.size,
|
.size,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<style>
|
<style>
|
||||||
.narrow {
|
.narrow {
|
||||||
width: 256px;
|
width: 256px;
|
||||||
border: 1px dashed red;
|
|
||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
|
border: 1px dashed red;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue