From 98ee70125b1f5da9966672010969278a3cee6cee Mon Sep 17 00:00:00 2001 From: Zoltan Olah Date: Mon, 27 Oct 2014 11:24:58 -0700 Subject: [PATCH] Temporary style tweaks to /admin for #53 --- client/stylesheets/globals/layout.import.less | 6 +----- client/stylesheets/main.less | 3 ++- client/templates/admin.html | 8 ++++---- client/templates/admin.import.less | 12 ++++++++++++ 4 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 client/templates/admin.import.less diff --git a/client/stylesheets/globals/layout.import.less b/client/stylesheets/globals/layout.import.less index d915458..89a058d 100644 --- a/client/stylesheets/globals/layout.import.less +++ b/client/stylesheets/globals/layout.import.less @@ -88,9 +88,5 @@ body { // phone chrome #admin { background-color: white; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; + .position(absolute, 0, 0, 0, 0); } diff --git a/client/stylesheets/main.less b/client/stylesheets/main.less index 7c67599..27dc377 100644 --- a/client/stylesheets/main.less +++ b/client/stylesheets/main.less @@ -38,4 +38,5 @@ @import '../templates/not-found.import.less'; @import '../templates/recipe.import.less'; @import '../templates/recipes.import.less'; -@import '../templates/share-overlay.import.less'; \ No newline at end of file +@import '../templates/share-overlay.import.less'; +@import '../templates/admin.import.less'; \ No newline at end of file diff --git a/client/templates/admin.html b/client/templates/admin.html index 7ecba51..1b7ff3e 100644 --- a/client/templates/admin.html +++ b/client/templates/admin.html @@ -3,12 +3,12 @@ {{#if isAdmin}}

Admin

- Home + Back
- - - + + +
{{else}}

Forbidden

diff --git a/client/templates/admin.import.less b/client/templates/admin.import.less new file mode 100644 index 0000000..646aa5b --- /dev/null +++ b/client/templates/admin.import.less @@ -0,0 +1,12 @@ +#admin { + padding: 20px; + + label, input, textarea, button { + display: block; + margin-top: 10px; + } + + textarea { + border: 1px solid @color-raw; + } +} \ No newline at end of file