From 3dd638aabbbae978768ba1e3cf4f9fd29a86028d Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Thu, 17 Apr 2014 14:20:35 -0700 Subject: [PATCH] Moved main navigation into fixed sidebar. The more I used it and tried to design for it, the more the bootstrappy header and footer menus started to annoy me. This commit removes them, and moves primary navigation into a left-locked sidebar. This reclaims some of the bootstrap wasted whitespace, as well as giving us an option for two tiers of submenu: directly below the main menu item, or pulled to the right as a second-tier left menu. - Removed header and footer as no longer necessary. - Moved all links into main_menu and restyled. - Deleted old zombie bootstrap files, not certain where they came from. - Removed old navbar styles. - Added new navbar-fixed-left component, as well as a pilltab and link menu style. - Added margin and container adjustments for responsive sizing. - Updated body padding since we don't have top fixed menus anymore. - Updated global container widths to accomodate for 150px less space. - Removed zombie code in index.html that should never have been there. - Updated Bootstrap Change-Id: Ib84ba77ea296e7ad0c6e8482c7b1c3a31885eb03 --- bower.json | 2 +- src/app/templates/footer.html | 42 -------- src/app/templates/header.html | 114 --------------------- src/app/templates/main_menu.html | 89 +++++++++++++++++ src/index.html | 29 +----- src/theme/base/body.less | 29 ++++-- src/theme/base/bootstrap/navbar.less | 142 +++++++++++++++++++++++++++ src/theme/base/bootstrap_addons.less | 35 ------- src/theme/main.less | 2 + src/theme/storyboard/theme.less | 11 +++ 10 files changed, 270 insertions(+), 225 deletions(-) delete mode 100644 src/app/templates/footer.html delete mode 100644 src/app/templates/header.html create mode 100644 src/app/templates/main_menu.html create mode 100644 src/theme/base/bootstrap/navbar.less diff --git a/bower.json b/bower.json index 9080388d..32f0575c 100644 --- a/bower.json +++ b/bower.json @@ -7,7 +7,7 @@ "angular": "1.2.13", "angular-resource": "1.2.13", "angular-sanitize": "1.2.13", - "bootstrap": "3.1.0", + "bootstrap": "3.1.1", "angular-ui-router": "0.2.8-bowratic-tedium", "angular-bootstrap": "0.10.0", "angular-local-storage": "0.0.1" diff --git a/src/app/templates/footer.html b/src/app/templates/footer.html deleted file mode 100644 index c439bdba..00000000 --- a/src/app/templates/footer.html +++ /dev/null @@ -1,42 +0,0 @@ - -
-
-
- - Powered by Storyboard | - About - -
- -
- - Licensed under the - - Apache License, Version 2.0 - - -
-
\ No newline at end of file diff --git a/src/app/templates/header.html b/src/app/templates/header.html deleted file mode 100644 index 8db69780..00000000 --- a/src/app/templates/header.html +++ /dev/null @@ -1,114 +0,0 @@ - - -
- - - - - -
diff --git a/src/app/templates/main_menu.html b/src/app/templates/main_menu.html new file mode 100644 index 00000000..bb96a9ab --- /dev/null +++ b/src/app/templates/main_menu.html @@ -0,0 +1,89 @@ + + +
+ + +
+ +
+ + +
+ + + +
diff --git a/src/index.html b/src/index.html index 061446fd..85c9dc0d 100644 --- a/src/index.html +++ b/src/index.html @@ -50,35 +50,10 @@ -