summaryrefslogtreecommitdiff
path: root/talerbank/app/static/bank.css
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-02-06 01:08:45 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-02-06 01:08:45 +0100
commit805b1ac8b4249f31f46aedf2006e77a5988dfe17 (patch)
tree36846bb421758e9b47f355c61bd088357de139a9 /talerbank/app/static/bank.css
parent216b80a4320ff19c968fcd5e1bbcf83d94b36f33 (diff)
downloadbank-805b1ac8b4249f31f46aedf2006e77a5988dfe17.tar.gz
bank-805b1ac8b4249f31f46aedf2006e77a5988dfe17.tar.bz2
bank-805b1ac8b4249f31f46aedf2006e77a5988dfe17.zip
use new amount+currency input everywhere
Diffstat (limited to 'talerbank/app/static/bank.css')
-rw-r--r--talerbank/app/static/bank.css25
1 files changed, 18 insertions, 7 deletions
diff --git a/talerbank/app/static/bank.css b/talerbank/app/static/bank.css
index 2f54298..cd2658c 100644
--- a/talerbank/app/static/bank.css
+++ b/talerbank/app/static/bank.css
@@ -40,13 +40,29 @@ input[type="number"] {
}
#id_amount {
- width: 7em;
+ width: 6em;
display: inline-block;
border-radius: 4px 0px 0px 4px;
}
-#id_currency {
+/**
+ * Amount without the currency,
+ * placed left to a .currency-indicator.
+ */
+.amount {
+ width: 6em;
+ display: inline-block;
+ border-radius: 4px 0px 0px 4px;
+}
+
+/*
+ * Currency indicator to the right of input fields,
+ * with non-rounded corners to the left.
+ */
+.currency-indicator {
color: black;
+ display: inline-block;
+ border-radius: 0px 4px 4px 0px;
}
.fieldlabel {
@@ -58,8 +74,3 @@ input[type="number"] {
margin-right: 1em;
margin-bottom: 0.5em;
}
-
-#id_currency {
- display: inline-block;
- border-radius: 0px 4px 4px 0px;
-}