aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/static
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2019-08-31 22:54:23 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2019-09-06 22:00:39 +0200
commit9c9832704d67ccca11830cfaab886cf7f2fdcf0e (patch)
tree8fae0760a8306cb41404db107f75d4d133976096 /ihatemoney/static
parenta467f463725d407a2517bd8e54f17c834a843d80 (diff)
downloadihatemoney-mirror-9c9832704d67ccca11830cfaab886cf7f2fdcf0e.zip
ihatemoney-mirror-9c9832704d67ccca11830cfaab886cf7f2fdcf0e.tar.gz
ihatemoney-mirror-9c9832704d67ccca11830cfaab886cf7f2fdcf0e.tar.bz2
bill list: add placeholder and disable add bill when no members
Diffstat (limited to 'ihatemoney/static')
-rw-r--r--ihatemoney/static/css/main.css19
-rw-r--r--ihatemoney/static/images/gradient.pngbin10236 -> 0 bytes
-rw-r--r--ihatemoney/static/images/hand-holding-heart.svg1
3 files changed, 19 insertions, 1 deletions
diff --git a/ihatemoney/static/css/main.css b/ihatemoney/static/css/main.css
index 8667f23..acc95a1 100644
--- a/ihatemoney/static/css/main.css
+++ b/ihatemoney/static/css/main.css
@@ -157,6 +157,20 @@ body {
color: black;
}
+.empty-bill {
+ margin-top: 5rem !important;
+
+}
+.empty-bill .card {
+ border: 0;
+}
+
+.empty-bill .hand-holding-heart svg {
+ fill: lightgray;
+ height: 5em;
+ width: 5em;
+}
+
.invites textarea {
width: 800px;
height: 100px;
@@ -258,7 +272,6 @@ footer .footer-left {
#new-bill {
margin-top: 30px;
- margin-bottom: 30px;
}
/* Avoid text color flickering when it loose focus as the modal appears */
@@ -295,6 +308,10 @@ footer .footer-left {
background: url("../images/edit.png") no-repeat right;
}
+#bill_table {
+ margin-top: 30px;
+}
+
.project-actions > .delete,
.project-actions > .edit {
font-size: 0px;
diff --git a/ihatemoney/static/images/gradient.png b/ihatemoney/static/images/gradient.png
deleted file mode 100644
index d627fec..0000000
--- a/ihatemoney/static/images/gradient.png
+++ /dev/null
Binary files differ
diff --git a/ihatemoney/static/images/hand-holding-heart.svg b/ihatemoney/static/images/hand-holding-heart.svg
new file mode 100644
index 0000000..65ee45e
--- /dev/null
+++ b/ihatemoney/static/images/hand-holding-heart.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M275.3 250.5c7 7.4 18.4 7.4 25.5 0l108.9-114.2c31.6-33.2 29.8-88.2-5.6-118.8-30.8-26.7-76.7-21.9-104.9 7.7L288 36.9l-11.1-11.6C248.7-4.4 202.8-9.2 172 17.5c-35.3 30.6-37.2 85.6-5.6 118.8l108.9 114.2zm290 77.6c-11.8-10.7-30.2-10-42.6 0L430.3 402c-11.3 9.1-25.4 14-40 14H272c-8.8 0-16-7.2-16-16s7.2-16 16-16h78.3c15.9 0 30.7-10.9 33.3-26.6 3.3-20-12.1-37.4-31.6-37.4H192c-27 0-53.1 9.3-74.1 26.3L71.4 384H16c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16h356.8c14.5 0 28.6-4.9 40-14L564 377c15.2-12.1 16.4-35.3 1.3-48.9z"/></svg> \ No newline at end of file