From 820ee67b0d5f1537b400bc420906b8d326093deb Mon Sep 17 00:00:00 2001 From: Jordan Date: Sat, 6 Mar 2021 15:49:47 -0700 Subject: separate btn into two classes --- templates/admin.html | 4 ++-- templates/layout.html | 28 +++++++++++++++------------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/templates/admin.html b/templates/admin.html index 1c0f0ab..22b0e0a 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -20,7 +20,7 @@
- {{ $lastUsedCategory := .LastUsedCategory }} {{ if $lastUsedCategory }} @@ -31,7 +31,7 @@ {{ end }} {{ end }} - +
diff --git a/templates/layout.html b/templates/layout.html index df61c42..03220af 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -45,12 +45,22 @@ div#crane table#header input[type="text"] { transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; } -div#crane table#header .btn { +div#crane .btn { + font-family: inherit; + font-size: 85%; + color: black; + text-overflow: unset; + display: inline; + background: #e9ecef; + border: #343a40 1px solid; + padding-right: 8px; + padding-top: 3px; + padding-bottom: 3px; + border-radius: 0; display: inline-block; - margin-bottom: 1rem; } -div#crane .btn { +div#crane .sel { font-family: inherit; font-size: 85%; color: black; @@ -60,12 +70,7 @@ div#crane .btn { border: #343a40 1px solid; padding: 2px 8px; border-radius: 0; -} - -.btn-download -{ - padding-top: 3px; - padding-bottom: 3px; + display: inline-block; } div#crane table { @@ -82,6 +87,7 @@ div#crane table#header td.inpt { white-space: nowrap; border-collapse: collapse; color: #000; + padding-bottom: 1em; } div#crane table#header td.main { @@ -124,10 +130,6 @@ div#crane table.tabs td a { background-color: #ccc; } -div#crane table.tabls td.form { - text-align: right; -} - div#crane table.tabs td.form form { padding-bottom: 2px; white-space: normal; -- cgit v1.2.3-54-g00ecf