From 8cafd4967655a996d0d2b71073f884e2f28cf6ac Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 31 May 2017 23:42:11 +0200 Subject: Optimizations and tiny design update for the admin template: + The form buttons for insert, update and delete are now having a corresponding background color (green, blue and red). + The information messages are now displayed within the
element and with a red background color around the text. --- template/admin/html/auth.php | 16 ++++++++++------ template/admin/html/database.php | 18 +++++++++++------- template/admin/html/page/form.php | 22 +++++++++++++--------- template/admin/html/post/form.php | 22 +++++++++++++--------- template/admin/html/user/form.php | 22 +++++++++++++--------- template/admin/rsrc/main.css | 19 ++++++++++++++++++- 6 files changed, 78 insertions(+), 41 deletions(-) (limited to 'template/admin') diff --git a/template/admin/html/auth.php b/template/admin/html/auth.php index f5852c1..0435f72 100644 --- a/template/admin/html/auth.php +++ b/template/admin/html/auth.php @@ -1,15 +1,19 @@

template('authentication_text')?>

template('authentication_desc')?>

- - -
- - - + +
+
    + +
  • + +
+
+ +
diff --git a/template/admin/html/database.php b/template/admin/html/database.php index 69dce0a..319bf02 100644 --- a/template/admin/html/database.php +++ b/template/admin/html/database.php @@ -1,15 +1,19 @@

template('overview_database_text')?>

template('overview_database_desc')?>

- - -
- - - + +
+
    + +
  • + +
+
+ +
@@ -21,6 +25,6 @@
- +
\ No newline at end of file diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php index 8930ec3..c0bc7e4 100644 --- a/template/admin/html/page/form.php +++ b/template/admin/html/page/form.php @@ -1,12 +1,16 @@ - - -
- - -
+ +
+
    + +
  • + +
+
+ +
@@ -84,11 +88,11 @@
- + - + - +
\ No newline at end of file diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php index 1f69529..89d4478 100644 --- a/template/admin/html/post/form.php +++ b/template/admin/html/post/form.php @@ -1,12 +1,16 @@ - - -
- - -
+ +
+
    + +
  • + +
+
+ +
@@ -84,11 +88,11 @@
- + - + - +
\ No newline at end of file diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php index 8156496..2d3625c 100644 --- a/template/admin/html/user/form.php +++ b/template/admin/html/user/form.php @@ -1,12 +1,16 @@ - - -
- - -
+ +
+
    + +
  • + +
+
+ +
@@ -90,11 +94,11 @@
- + - + - +
\ No newline at end of file diff --git a/template/admin/rsrc/main.css b/template/admin/rsrc/main.css index e19aa31..68cb272 100644 --- a/template/admin/rsrc/main.css +++ b/template/admin/rsrc/main.css @@ -191,17 +191,34 @@ form{border:0.05rem solid #AAA;} #content-editor{border:none;margin:0;} + /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Form elements /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ input,select,textarea{width:100%;box-sizing:padding-box;background:#EEE;color:#404040;font-family:inherit;font-size:0.7rem;padding:0.25rem;border:0.05rem solid #AAA;} textarea{font-family:Kadwa,sans-serif;box-sizing:border-box;display:inline-block;resize:vertical;min-height:15rem;line-height:1.3rem;padding:0.5rem;-webkit-hyphens:none;hyphens:none;} -input[type="submit"]{text-transform:uppercase;} +input[type="submit"]{text-transform:uppercase;border-radius:0.1rem;} input:disabled{background:#DDD;color:#888;} input:disabled:hover{cursor:not-allowed;} label{text-transform:uppercase;font-weight:normal;} label:after{content:":";} +/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +/* Form buttons +/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +#insert-button, +#update-button, +#delete-button{color:#EEE;border:0.05rem solid #404040;} + +#insert-button{background:#4D8D5D;} +#update-button{background:#6A8AA5;} +#delete-button{background:#C45C66;} + +/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +/* Form message list +/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +#message-list{margin:0;padding:0.5rem;list-style:none;background:#C45C66;color:#EEE;font-size:0.6rem;} + /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* FontAwesome Main /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -- cgit v1.2.3