Skip to content
Snippets Groups Projects
Commit cca495cb authored by Adam Procter's avatar Adam Procter
Browse files

css updates

parent 07199df4
No related branches found
No related tags found
No related merge requests found
No preview for this file type
# 0.1.33
_4th November 2020_
### Changed
- made width of nodes wider in card view
- made typing wider in all modes
- links (a tag elements) are now much bigger on small screens (under 600px) to add with tapping
# 0.1.32 # 0.1.32
_30th October 2020_ _30th October 2020_
......
{ {
"name": "nodenogg.in", "name": "nodenogg.in",
"version": "0.1.32", "version": "0.1.33",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
......
app/src/assets/files/collect.png

354 KiB | W: | H:

app/src/assets/files/collect.png

354 KiB | W: | H:

app/src/assets/files/collect.png
app/src/assets/files/collect.png
app/src/assets/files/collect.png
app/src/assets/files/collect.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -14,17 +14,13 @@ ...@@ -14,17 +14,13 @@
@input="editNode" @input="editNode"
:id="nodeid" :id="nodeid"
ref="nodetext" ref="nodetext"
placeholder="Idea goes here!" placeholder="Type your thoughts and ideas here! (auto saved every keystroke)"
></textarea> ></textarea>
</div> </div>
<p class="info">*markdown supported &amp; autosaves</p> <p class="info">*markdown supported &amp; autosaves</p>
</div> </div>
<div v-if="value.read_mode && deleted == false"> <div class="readmode" v-if="value.read_mode && deleted == false">
<p <p :id="nodeid" :inner-html.prop="nodetext | marked"></p>
class="readmode"
:id="nodeid"
:inner-html.prop="nodetext | marked"
></p>
</div> </div>
<div class="allemoji"> <div class="allemoji">
<div <div
...@@ -142,12 +138,9 @@ export default { ...@@ -142,12 +138,9 @@ export default {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
h2 {
color: red;
}
.nodes { .nodes {
max-width: 300px; min-width: 320px;
max-width: 450px;
border: 2px dashed black; border: 2px dashed black;
background-color: rgb(155, 194, 216); background-color: rgb(155, 194, 216);
margin-top: 1em; margin-top: 1em;
...@@ -157,10 +150,11 @@ h2 { ...@@ -157,10 +150,11 @@ h2 {
.readmode { .readmode {
margin-top: 1em; margin-top: 1em;
margin-left: 1em; margin-left: 1em;
padding-right: 1em;
} }
textarea { textarea {
width: 90%; width: 100%;
height: 175px; height: 175px;
resize: none; resize: none;
font-size: 18px; font-size: 18px;
...@@ -168,7 +162,7 @@ textarea { ...@@ -168,7 +162,7 @@ textarea {
font-family: 'Inter var', Helvetica, sans-serif; font-family: 'Inter var', Helvetica, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
margin: 1em;
border: none; border: none;
outline: none; outline: none;
background-color: rgb(187, 227, 255); background-color: rgb(187, 227, 255);
...@@ -195,4 +189,10 @@ textarea { ...@@ -195,4 +189,10 @@ textarea {
.eachemoji p { .eachemoji p {
margin: 0em; margin: 0em;
} }
@media only screen and (max-width: 600px) {
.readmode >>> a {
font-size: 2em;
}
}
</style> </style>
...@@ -14,17 +14,13 @@ ...@@ -14,17 +14,13 @@
@input="editNode" @input="editNode"
:id="nodeid" :id="nodeid"
ref="nodetext" ref="nodetext"
placeholder="Idea goes here!(auto saved every keystroke)" placeholder="Type your thoughts and ideas here! (auto saved every keystroke)"
></textarea> ></textarea>
</div> </div>
<p class="info">*markdown supported &amp; autosaves</p> <p class="info">*markdown supported &amp; autosaves</p>
</div> </div>
<div v-if="value.read_mode && deleted == false"> <div class="readmode" v-if="value.read_mode && deleted == false">
<p <p :id="nodeid" :inner-html.prop="nodetext | marked"></p>
class="readmode"
:id="nodeid"
:inner-html.prop="nodetext | marked"
></p>
</div> </div>
<div class="allemoji"> <div class="allemoji">
...@@ -140,10 +136,6 @@ export default { ...@@ -140,10 +136,6 @@ export default {
</script> </script>
<style lang="css" scoped> <style lang="css" scoped>
h2 {
color: red;
}
.nodes { .nodes {
width: 95%; width: 95%;
border: 2px dashed black; border: 2px dashed black;
...@@ -158,7 +150,7 @@ h2 { ...@@ -158,7 +150,7 @@ h2 {
} }
textarea { textarea {
width: 90%; width: 100%;
height: 175px; height: 175px;
resize: none; resize: none;
box-sizing: border-box; box-sizing: border-box;
...@@ -166,7 +158,7 @@ textarea { ...@@ -166,7 +158,7 @@ textarea {
font-family: 'Inter var', Helvetica, sans-serif; font-family: 'Inter var', Helvetica, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
margin: 1em;
border: none; border: none;
outline: none; outline: none;
background-color: rgb(187, 227, 255); background-color: rgb(187, 227, 255);
...@@ -193,4 +185,10 @@ textarea { ...@@ -193,4 +185,10 @@ textarea {
.eachemoji p { .eachemoji p {
margin: 0em; margin: 0em;
} }
@media only screen and (max-width: 600px) {
.readmode >>> a {
font-size: 2em;
}
}
</style> </style>
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
:id="nodeid" :id="nodeid"
class="drag-cancel" class="drag-cancel"
ref="nodetext" ref="nodetext"
placeholder="Idea goes here! (auto saved every keystroke)" placeholder="Type your thoughts and ideas here! (auto saved every keystroke)"
></textarea> ></textarea>
</div> </div>
<p class="info">*markdown supported &amp; autosaves</p> <p class="info">*markdown supported &amp; autosaves</p>
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
:id="nodeid" :id="nodeid"
class="drag-cancel" class="drag-cancel"
ref="nodetext" ref="nodetext"
placeholder="Idea goes here! (auto saved every keystroke)" placeholder="Type your thoughts and ideas here! (auto saved every keystroke)"
> >
</textarea> </textarea>
</div> </div>
...@@ -419,7 +419,7 @@ textarea { ...@@ -419,7 +419,7 @@ textarea {
font-family: 'Inter var', Helvetica, sans-serif; font-family: 'Inter var', Helvetica, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
margin-top: 1em; margin-top: 0.5em;
border: none; border: none;
outline: none; outline: none;
background-color: rgb(187, 227, 255); background-color: rgb(187, 227, 255);
...@@ -451,7 +451,13 @@ textarea { ...@@ -451,7 +451,13 @@ textarea {
img { img {
width: 100%; width: 100%;
} }
li {
font-size: 6em;
}
/* .dragging { /* .dragging {
transform: scale(0.7); transform: scale(0.7);
} */ } */
</style> </style>
...@@ -53,7 +53,8 @@ h2 { ...@@ -53,7 +53,8 @@ h2 {
} }
.nodes { .nodes {
width: 300px; min-width: 320px;
max-width: 450px;
border: 2px solid black; border: 2px solid black;
background-color: rgb(205, 234, 255); background-color: rgb(205, 234, 255);
margin-top: 1em; margin-top: 1em;
......
...@@ -176,6 +176,8 @@ export default { ...@@ -176,6 +176,8 @@ export default {
cursor: pointer; cursor: pointer;
} }
.a { .a {
fill: #333; fill: #333;
stroke: #707070; stroke: #707070;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment