Merge branch 'vertical-rythm-editor'
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
@ -43,6 +43,9 @@
|
||||
</script>
|
||||
|
||||
<style>
|
||||
h1 {
|
||||
line-height: calc(3 * var(--vertical-rythm));
|
||||
}
|
||||
header nav {
|
||||
align-items: baseline;
|
||||
font-family: "Faktos";
|
||||
|
@ -15,12 +15,14 @@
|
||||
grid-column: 1 / span 3 !important;
|
||||
align-items: baseline;
|
||||
gap: 1em;
|
||||
margin-bottom: 1em;
|
||||
margin-bottom: 1rem;
|
||||
background-color: var(--primary-background);
|
||||
}
|
||||
h2 {
|
||||
font-weight: bold;
|
||||
font-size: var(--font-scale-12);
|
||||
margin: 0px;
|
||||
height: 2rem;
|
||||
}
|
||||
hr {
|
||||
flex: 1;
|
||||
|
@ -57,6 +57,8 @@
|
||||
.identification-row {
|
||||
display: flex;
|
||||
align-items: start;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
select {
|
||||
min-width: 10em;
|
||||
|
@ -37,4 +37,7 @@
|
||||
label {
|
||||
margin-left: 2em !important;
|
||||
}
|
||||
div.field {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
</style>
|
||||
|
@ -7,7 +7,7 @@
|
||||
on:click={() => clickArc(arc)}
|
||||
/>
|
||||
{/each}
|
||||
<circle cx="50%" cy="50%" r={size / 3} />
|
||||
<circle cx="50%" cy="50%" r={inner} />
|
||||
<slot />
|
||||
</svg>
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
|
||||
export let selected = [];
|
||||
export let size = 60;
|
||||
export let inner = size / 3;
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
|
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 662 B |
@ -19,7 +19,13 @@
|
||||
<i>arrow_drop_down</i>
|
||||
</Field>
|
||||
|
||||
<Arcs selected={arcs} on:clickArc={({ detail }) => setArcs(detail)} />
|
||||
<div class="arcs">
|
||||
<Arcs
|
||||
size={48}
|
||||
selected={arcs}
|
||||
on:clickArc={({ detail }) => setArcs(detail)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
import { getContext } from "svelte";
|
||||
@ -93,3 +99,9 @@
|
||||
|
||||
$: memoChange(weaponClass, ...arcs);
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.arcs {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
</style>
|
||||
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
@ -12,9 +12,14 @@
|
||||
}
|
||||
|
||||
:root {
|
||||
--font: "Dosis", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
--main-font-family: "Dosis", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
--font-family: "Dosis", -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
--font: "Dosis", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
||||
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
--main-font-family: "Dosis", -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
--font-family: "Dosis", -apple-system, BlinkMacSystemFont, "Segoe UI";
|
||||
|
||||
--vertical-rythm: 1.5rem;
|
||||
/* == 24px */
|
||||
|
||||
--font-scale-9: 0.75rem;
|
||||
--font-scale-10: 1rem;
|
||||
@ -37,7 +42,6 @@ input.short {
|
||||
width: 5em !important;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@ -62,8 +66,15 @@ input.short {
|
||||
color: rgb(0, 80, 160);
|
||||
}
|
||||
|
||||
|
||||
h1 { font-size: var(--font-scale-15); }
|
||||
h2 { font-size: var(--font-scale-14); }
|
||||
h3 { font-size: var(--font-scale-13); }
|
||||
h4 { font-size: var(--font-scale-12); }
|
||||
h1 {
|
||||
font-size: var(--font-scale-15);
|
||||
}
|
||||
h2 {
|
||||
font-size: var(--font-scale-14);
|
||||
}
|
||||
h3 {
|
||||
font-size: var(--font-scale-13);
|
||||
}
|
||||
h4 {
|
||||
font-size: var(--font-scale-12);
|
||||
}
|
||||
|
@ -13,6 +13,9 @@
|
||||
</script>
|
||||
|
||||
<style>
|
||||
div {
|
||||
margin: 0px 0.5rem;
|
||||
}
|
||||
div :global(path:hover) {
|
||||
fill: white;
|
||||
}
|
||||
|