aboutsummaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
Diffstat (limited to 'design')
-rw-r--r--design/sass/_forms.scss9
-rw-r--r--design/sass/_modal.scss1
-rw-r--r--design/templates/notes/notes_detail.html1
3 files changed, 10 insertions, 1 deletions
diff --git a/design/sass/_forms.scss b/design/sass/_forms.scss
index d8a6a03..152e0ac 100644
--- a/design/sass/_forms.scss
+++ b/design/sass/_forms.scss
@@ -186,3 +186,12 @@ select {
}
margin: 3rem 0 1.5rem;
}
+.form-alert {
+ border: 3px solid red;
+ &:before {
+ display: block;
+ content: "This field is required";
+ padding: 6px;
+ color: red;
+ }
+}
diff --git a/design/sass/_modal.scss b/design/sass/_modal.scss
index dd21816..f333fd2 100644
--- a/design/sass/_modal.scss
+++ b/design/sass/_modal.scss
@@ -1,5 +1,4 @@
#overlay{
- font-family:Lato;
position:fixed;
width:100vw;
height:100vh;
diff --git a/design/templates/notes/notes_detail.html b/design/templates/notes/notes_detail.html
index 26bff03..edf45e7 100644
--- a/design/templates/notes/notes_detail.html
+++ b/design/templates/notes/notes_detail.html
@@ -50,6 +50,7 @@
<div id="q-container" class="inactive"><div id="note-body">{% if object.body_html %}{{object.body_html|safe}}{%else%}{{object.body_text}}{%endif%}</div></div>
<input id="btn-js-hide" type="submit" class="btn sm" value="Save" >
</form>
+ <button type="submit" value="trash" class="btn btn-hollow">Move to Trash</button>
</article>
<!--<aside class="note-list-container">
<div class="svg-wrapper"><svg class="svg-icon-arrow">