-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 1.16.0: Quality of Life 2 (#107)
* Plot tick and axis visibility improvement * Clickable home logo * Improved understandability of export data options * Bumped version to 1.16.0 * Fixed number and text form components * Checkboxes fixed * Pressing enter while editing an axis will now trigger the update * Adjusted selectors to have the same fontsize as other form items * Adjusted selector bottom marigin
- Loading branch information
1 parent
4ba1808
commit 1b1c2ff
Showing
17 changed files
with
479 additions
and
390 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<template> | ||
<div class="labeled-input-container mb-1" > | ||
<div @click="cbox.click()" class="clickable"> | ||
<span class="input-group-text"> | ||
<slot /> | ||
</span> | ||
</div> | ||
<div style="display:flex; justify-content: end;"> | ||
<input | ||
ref="cbox" | ||
type="checkbox" | ||
v-model="model" | ||
> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import { defineModel, ref } from "vue"; | ||
const model = defineModel(); | ||
const cbox = ref(null); | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.labeled-input-container { | ||
display: grid; | ||
grid-template-columns: auto 1fr; | ||
gap: 0.5em; | ||
} | ||
.input-group-text { | ||
font-size: 0.8em; | ||
min-width: 50px; | ||
padding: 0.1em 0.5em 0.1em 0.4em; | ||
} | ||
.input-group-prepend { | ||
padding: 0; | ||
} | ||
.form-control { | ||
padding: 0.1rem 0 0.1rem 0.4rem; | ||
font-size: 0.8em !important; | ||
font-family: monospace; | ||
text-align: right; | ||
padding-right: 4px; | ||
} | ||
.input-number { | ||
height: 1.8em; | ||
font-size: 0.8em; | ||
min-width: 30px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<template> | ||
<div class="labeled-input-container mb-1"> | ||
<div> | ||
<span class="input-group-text"> | ||
<slot /> | ||
</span> | ||
</div> | ||
<input | ||
class="input-number" | ||
type="number" | ||
:step="props.step" | ||
:max="props.max" | ||
:min="props.min" | ||
:value="model" | ||
@input="$emit('update:modelValue', $event.target.value)" | ||
> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import { defineModel } from "vue"; | ||
const model = defineModel(); | ||
const props = defineProps({ | ||
'step': { | ||
type: Number, | ||
default: 0.1 | ||
}, | ||
'max': { | ||
type: Number, | ||
default: 1.0 | ||
}, | ||
'min': { | ||
type: Number, | ||
default: 0.0 | ||
}, | ||
}) | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.labeled-input-container { | ||
display: grid; | ||
grid-template-columns: 1fr 3fr; | ||
gap: 0.5em; | ||
} | ||
.input-group-text { | ||
font-size: 0.8em; | ||
min-width: 50px; | ||
padding: 0.1em 0.5em 0.1em 0.4em; | ||
} | ||
.input-group-prepend { | ||
padding: 0; | ||
} | ||
.form-control { | ||
padding: 0.1rem 0 0.1rem 0.4rem; | ||
font-size: 0.8em !important; | ||
font-family: monospace; | ||
text-align: right; | ||
padding-right: 4px; | ||
} | ||
.input-number { | ||
height: 1.8em; | ||
font-size: 0.8em; | ||
min-width: 30px; | ||
} | ||
</style> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.