aboutsummaryrefslogtreecommitdiffstats
path: root/public/css
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2016-09-17 19:02:51 -0700
committerAdam Soltys <[email protected]>2016-09-17 19:03:20 -0700
commit898d21a7cc1fe23a48896618e638b63130ac7c8c (patch)
treeca105c92cd9046ee021965e254430bb092511fb0 /public/css
parent26bf18266266d8a3957875d0b08ecd457d535410 (diff)
downloadcoinos-server-898d21a7cc1fe23a48896618e638b63130ac7c8c.tar.gz
coinos-server-898d21a7cc1fe23a48896618e638b63130ac7c8c.zip
Display and sizing adjustments to handle larger numbers and fit better on small screens (fixes #48)
Diffstat (limited to 'public/css')
-rw-r--r--public/css/coinos.css43
-rw-r--r--public/css/coinos.less40
2 files changed, 75 insertions, 8 deletions
diff --git a/public/css/coinos.css b/public/css/coinos.css
index 59765af1..63198679 100644
--- a/public/css/coinos.css
+++ b/public/css/coinos.css
@@ -47,7 +47,6 @@ div.container-fluid {
.numpad .btn,
.tippad .btn {
margin-bottom: 5px;
- padding: 10px;
width: 6em;
}
.numpad h2,
@@ -56,11 +55,15 @@ div.container-fluid {
margin-top: 1px;
}
.numpad {
- width: 24em;
+ width: 26em;
}
.rates {
margin-top: -15px;
- text-align: right;
+}
+.rates h2 .label {
+ font-size: 14px;
+ position: relative;
+ top: -5px;
}
#slide {
height: 1.8em;
@@ -69,7 +72,10 @@ div.container-fluid {
}
@media (max-width: 360px) {
.tippad .btn {
- width: 4.8em;
+ width: 4.3em;
+ }
+ .numpad .btn {
+ width: 5.7em;
}
.numpad,
.tippad,
@@ -167,6 +173,9 @@ div#calculator #qr {
padding-bottom: 10px;
margin-left: 20px;
}
+div#calculator .numpad .btn-primary {
+ background: #abc;
+}
td.total {
font-weight: bold;
text-align: right;
@@ -185,3 +194,29 @@ td.total {
@page {
margin: 0;
}
+.btn-sample {
+ color: #FFFFFF;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ background-color: #DBDBDB;
+ *background-color: #DBDBDB;
+ background-image: -moz-linear-gradient(top, #B5B5B5, #DBDBDB);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#B5B5B5), to(#DBDBDB));
+ background-image: -webkit-linear-gradient(top, #B5B5B5, #DBDBDB);
+ background-image: -o-linear-gradient(top, #B5B5B5, #DBDBDB);
+ background-image: linear-gradient(to bottom, #B5B5B5, #DBDBDB);
+ background-repeat: repeat-x;
+ border-color: #DBDBDB;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#B5B5B5', endColorstr='#DBDBDB', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
+}
+.btn-sample:hover,
+.btn-sample:focus,
+.btn-sample:active,
+.btn-sample.active,
+.btn-sample.disabled,
+.btn-sample[disabled] {
+ color: #FFFFFF;
+ background-color: #DBDBDB;
+ *background-color: #003bb3;
+}
diff --git a/public/css/coinos.less b/public/css/coinos.less
index 6bc2cb6a..2ded7095 100644
--- a/public/css/coinos.less
+++ b/public/css/coinos.less
@@ -18,15 +18,19 @@ div.container-fluid {
.navbar-collapse.in { overflow-y: visible; }
#connection { display: none; }
-.numpad .btn, .tippad .btn { margin-bottom: 5px; padding: 10px; width: 6em; }
+.numpad .btn, .tippad .btn { margin-bottom: 5px; width: 6em; }
.numpad h2, .tippad h2 { margin-bottom: 2px; margin-top: 1px; }
-.numpad { width: 24em; }
-.rates { margin-top: -15px; text-align: right; }
+.numpad { width: 26em; }
+.rates {
+ margin-top: -15px;
+ h2 .label { font-size: 14px; position: relative; top: -5px; }
+}
#slide { height: 1.8em; width: 100%; margin-bottom: 2px; }
@media (max-width: 360px) {
- .tippad .btn { width: 4.8em; }
+ .tippad .btn { width: 4.3em; }
+ .numpad .btn { width: 5.7em; }
.numpad, .tippad, .rates, #payment { padding-left: 5px; }
.rates { width: 100%; text-align: left; }
#address{ font-size: 16px; }
@@ -69,6 +73,7 @@ div#calculator {
#logo { display: none; padding: 10px 0; margin-bottom: 10px; max-height: 225px; width: 100%; }
#error { margin-top: 10px; }
#qr { padding-bottom: 10px; margin-left: 20px; }
+ .numpad .btn-primary { background: #abc; }
}
td.total { font-weight: bold; text-align: right; }
@@ -89,3 +94,30 @@ td.total { font-weight: bold; text-align: right; }
@page {
margin: 0;
}
+
+.btn-sample {
+ color: #FFFFFF;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ background-color: #DBDBDB;
+ *background-color: #DBDBDB;
+ background-image: -moz-linear-gradient(top, #B5B5B5, #DBDBDB);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#B5B5B5), to(#DBDBDB));
+ background-image: -webkit-linear-gradient(top, #B5B5B5, #DBDBDB);
+ background-image: -o-linear-gradient(top, #B5B5B5, #DBDBDB);
+ background-image: linear-gradient(to bottom, #B5B5B5, #DBDBDB);
+ background-repeat: repeat-x;
+ border-color: #DBDBDB;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#B5B5B5', endColorstr='#DBDBDB', GradientType=0);
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
+}
+.btn-sample:hover,
+.btn-sample:focus,
+.btn-sample:active,
+.btn-sample.active,
+.btn-sample.disabled,
+.btn-sample[disabled] {
+ color: #FFFFFF;
+ background-color: #DBDBDB;
+ *background-color: #003bb3;
+}