From be75d28170a5c22ffdd4e05264be304885ea7ce8 Mon Sep 17 00:00:00 2001 From: Marin Treselj Date: Wed, 10 May 2017 14:44:05 +0200 Subject: [PATCH] Header redesign - fixes #116 Signed-off-by: Marin Treselj --- css/style.css | 37 +++++++++++++++---------- templates/part.board.mainView.php | 46 +++++++++++++++++++------------ 2 files changed, 50 insertions(+), 33 deletions(-) diff --git a/css/style.css b/css/style.css index b7efc8a6d..4ebf67c15 100644 --- a/css/style.css +++ b/css/style.css @@ -126,16 +126,23 @@ button:hover { position: relative; z-index: 120; height: 44px; - background-color: #eee; } -#board-header h1 { +#board-header > * { font-size: 14pt; - margin: 0; - padding: 12px; + padding: 7px; + margin: 7px; float: left; } +#board-header > a { + background: url('/core/img/breadcrumb.svg?v=1'); + background-repeat: no-repeat; + background-position: right center; + background-size: auto 24px; + padding-right: 24px; +} + #board-actions { font-size: 10pt; float: right; @@ -185,28 +192,24 @@ button:hover { background-color: transparent; } -.board-action-button { - font-size: 12pt; - font-weight: 100; - border: none; - margin-left: 10px; +#board-header > .board-action-button { + float: right; } #stack-add { - float: right; - margin: 8px; - background-color: #ffffff; - border: 1px solid #bbb; - border-radius: 4px; + background-color: rgba(240,240,240,.9); + border-radius: 3px; + padding: 0; } #stack-add input { - padding: 4px 5px; + padding: 7px; margin: 0px; border: 0px none transparent; display: table-cell; vertical-align: middle; min-height: initial; + background-color: rgba(240,240,240,.9); } #stack-add input:invalid { @@ -928,6 +931,10 @@ button:hover { right: 0px; } +.icon-home { + background-image: url('/core/img/places/home.svg'); +} + /** * Hotfix for https://github.com/angular-ui/ui-select/issues/1652 */ diff --git a/templates/part.board.mainView.php b/templates/part.board.mainView.php index f040c4071..3a0ca2a53 100644 --- a/templates/part.board.mainView.php +++ b/templates/part.board.mainView.php @@ -4,30 +4,40 @@

{{ statusservice.title }}

{{ statusservice.text }}

-
-

+
+ + + +

{{ boardservice.getCurrent().title }}

-
-
-
-
-
-
- -
-
- + + + +
+
+ + + +
+
+ + + +
+
+ + - - + +
+
@@ -126,7 +136,7 @@

- + - \ No newline at end of file +