Style the Drag/Edge inputs to look and feel better
This commit is contained in:
parent
a05adca9d8
commit
bd3f2a9f8b
3 changed files with 9 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
<div slot="title">
|
<div slot="title">
|
||||||
{{ rc-i18n "RipCrypt.common.drag" }}
|
{{ rc-i18n "RipCrypt.common.drag" }}
|
||||||
</div>
|
</div>
|
||||||
<div slot="content">
|
<div slot="content" class="dredge-row">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
data-action="dragDelta"
|
data-action="dragDelta"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
<div slot="title">
|
<div slot="title">
|
||||||
{{ rc-i18n "RipCrypt.common.edge" }}
|
{{ rc-i18n "RipCrypt.common.edge" }}
|
||||||
</div>
|
</div>
|
||||||
<div slot="content">
|
<div slot="content" class="dredge-row">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
data-action="edgeDelta"
|
data-action="edgeDelta"
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
data-action="edgeDelta"
|
data-action="edgeDelta"
|
||||||
data-delta="not a number"
|
data-delta="1"
|
||||||
{{#if incrementDisabled}}disabled{{/if}}
|
{{#if incrementDisabled}}disabled{{/if}}
|
||||||
>
|
>
|
||||||
+
|
+
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,12 @@
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dredge-row {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
.dice-target {
|
.dice-target {
|
||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue