Simon Hunt

LnF updates to masthead.

Change-Id: I6c31d244eb1bad5c87d89b10a5df750043cf12a0
...@@ -19,77 +19,67 @@ ...@@ -19,77 +19,67 @@
19 */ 19 */
20 20
21 .light #mast { 21 .light #mast {
22 - background-color: #bbb; 22 + background-color: #231f20;
23 - box-shadow: 0 2px 8px #777;
24 } 23 }
25 .dark #mast { 24 .dark #mast {
26 - background-color: #444; 25 + /* TODO: dark theme */
27 - box-shadow: 0 2px 8px #222; 26 + background-color: #231f20;
28 } 27 }
29 28
30 29
31 .light #mast .nav-menu-button:hover { 30 .light #mast .nav-menu-button:hover {
32 - background-color: #ddd; 31 + background-color: #888;
33 } 32 }
34 .dark #mast .nav-menu-button:hover { 33 .dark #mast .nav-menu-button:hover {
35 - background-color: #777; 34 + background-color: #888;
36 } 35 }
37 36
38 -#mast img.logo:hover {
39 - /* need something better */
40 - /*background-color: #888;*/
41 -}
42 -
43 -.light #mast .title {
44 - color: #369;
45 -}
46 -.dark #mast .title {
47 - color: #eee;
48 -}
49 37
50 .light #mast-right a { 38 .light #mast-right a {
51 - color: #369; 39 + color: #009fdb;
52 } 40 }
53 -
54 .dark #mast-right a { 41 .dark #mast-right a {
55 - color: #eee; 42 + /* TODO: dark theme */
43 + color: #009fdb;
56 } 44 }
57 45
58 .light #mast nav { 46 .light #mast nav {
59 - color: #369; 47 + color: #009fdb;
60 } 48 }
61 49
62 .dark #mast nav { 50 .dark #mast nav {
63 - color: #eee; 51 + /* TODO: dark theme */
52 + color: #009fdb;
64 } 53 }
65 54
66 55
67 /* Theme styles for drop down menu */ 56 /* Theme styles for drop down menu */
68 57
69 .light #mast .dropdown { 58 .light #mast .dropdown {
70 - background-color: #bbb; 59 + background-color: #231f20;
71 - box-shadow: 0 2px 8px #777; 60 + border: 1px solid #dddddd;
72 } 61 }
73 -
74 .dark #mast .dropdown { 62 .dark #mast .dropdown {
75 - background-color: #444; 63 + /* TODO: dark theme */
76 - box-shadow: 0 2px 8px #111; 64 + background-color: #231f20;
65 + border: 1px solid #dddddd;
77 } 66 }
78 67
79 .light #mast .dropdown a { 68 .light #mast .dropdown a {
80 - color: #369; 69 + color: #009fdb;
81 - border-bottom: solid #ccc 1px; 70 + border-bottom: solid #444 1px;
82 } 71 }
83 -
84 .dark #mast .dropdown a { 72 .dark #mast .dropdown a {
85 - color: #eee; 73 + /* TODO: dark theme */
86 - border-bottom: solid #333 1px; 74 + color: #009fdb;
75 + border-bottom: solid #444 1px;
87 } 76 }
88 77
89 .light #mast .dropdown a:hover { 78 .light #mast .dropdown a:hover {
90 - background-color: #ddd; 79 + color: #fff;
91 } 80 }
92 81
93 .dark #mast .dropdown a:hover { 82 .dark #mast .dropdown a:hover {
94 - background-color: #777; 83 + /* TODO: dark theme */
84 + color: #fff;
95 } 85 }
......
...@@ -19,9 +19,8 @@ ...@@ -19,9 +19,8 @@
19 */ 19 */
20 20
21 #mast { 21 #mast {
22 - height: 36px; 22 + height: 48px;
23 - padding: 4px; 23 + padding: 0;
24 - vertical-align: baseline;
25 } 24 }
26 25
27 html[data-platform='iPad'] #mast { 26 html[data-platform='iPad'] #mast {
...@@ -29,31 +28,22 @@ html[data-platform='iPad'] #mast { ...@@ -29,31 +28,22 @@ html[data-platform='iPad'] #mast {
29 } 28 }
30 29
31 #mast .nav-menu-button { 30 #mast .nav-menu-button {
32 - width: 30px; 31 + width: 26px;
33 - height: 30px; 32 + height: 21px;
34 - margin-left: 8px; 33 + margin: 14px 18px 14px 14px;
35 - margin-bottom: 4px;
36 - cursor: pointer;
37 } 34 }
38 35
39 #mast img.logo { 36 #mast img.logo {
40 - height: 38px; 37 + height: 47px;
41 - padding-left: 8px; 38 + width: 436px;
42 - padding-right: 8px; 39 + margin: 0;
43 } 40 }
44 41
45 -#mast .title {
46 - font-size: 14pt;
47 - font-style: italic;
48 - vertical-align: 12px;
49 -}
50 -
51 -
52 #mast-right { 42 #mast-right {
53 display: inline-block; 43 display: inline-block;
54 float: right; 44 float: right;
55 position: relative; 45 position: relative;
56 - top: -4px; 46 + top: 0;
57 padding-right: 15px; 47 padding-right: 15px;
58 line-height: 44px; 48 line-height: 44px;
59 } 49 }
...@@ -72,23 +62,23 @@ html[data-platform='iPad'] #mast { ...@@ -72,23 +62,23 @@ html[data-platform='iPad'] #mast {
72 height: 7px; 62 height: 7px;
73 width: 9px; 63 width: 9px;
74 margin-left: 10px; 64 margin-left: 10px;
75 - background: url('/onos/ui/data/img/dropdown-icon.png') no-repeat; 65 + background: url('../../../data/img/dropdown-icon.png') no-repeat;
76 } 66 }
77 67
78 #mast .dropdown { 68 #mast .dropdown {
79 position: absolute; 69 position: absolute;
80 - top: 44px; 70 + top: 40px;
81 - right: 0; 71 + right: -8px;
82 display: none; 72 display: none;
83 min-width: 100px; 73 min-width: 100px;
84 - border-top: 1px solid #999;
85 line-height: 16px; 74 line-height: 16px;
75 + font-size: 12pt;
86 z-index: 1000; 76 z-index: 1000;
87 } 77 }
88 78
89 #mast .dropdown a { 79 #mast .dropdown a {
90 text-decoration: none; 80 text-decoration: none;
91 - font-size: 14px; 81 + font-size: 12px;
92 display: block; 82 display: block;
93 padding: 8px 16px 6px 12px; 83 padding: 8px 16px 6px 12px;
94 } 84 }
......
1 <!-- Masthead partial HTML --> 1 <!-- Masthead partial HTML -->
2 -<img class="nav-menu-button" src="data/img/nav-menu.png" 2 +<img class="nav-menu-button clickable" src="data/img/nav-menu-mojo.png"
3 ng-click="mastCtrl.toggleNav()"></div> 3 ng-click="mastCtrl.toggleNav()"></div>
4 -<img class="logo" src="data/img/onos-logo.png"> 4 +<img class="logo" src="data/img/masthead-logo-mojo.png">
5 -<span class="title">Open Network Operating System</span>
6 <div id="mast-right"> 5 <div id="mast-right">
7 6
8 <nav> 7 <nav>
...@@ -10,7 +9,7 @@ ...@@ -10,7 +9,7 @@
10 <a class="user-menu__name">{{user}} <i class="dropdown-icon"></i></a> 9 <a class="user-menu__name">{{user}} <i class="dropdown-icon"></i></a>
11 10
12 <div class="dropdown"> 11 <div class="dropdown">
13 - <a href="rs/logout">Logout</a> 12 + <a href="rs/logout">logout</a>
14 </div> 13 </div>
15 </div> 14 </div>
16 </nav> 15 </nav>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 var $log; 24 var $log;
25 25
26 // configuration 26 // configuration
27 - var mastHeight = 36, 27 + var mastHeight = 48,
28 padMobile = 16; 28 padMobile = 16;
29 29
30 var dialogId = 'app-dialog', 30 var dialogId = 'app-dialog',
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 */ 19 */
20 20
21 html { 21 html {
22 - font-family: sans-serif; 22 + font-family: 'Open Sans', sans-serif;
23 -webkit-text-size-adjust: 100%; 23 -webkit-text-size-adjust: 100%;
24 -ms-text-size-adjust: 100%; 24 -ms-text-size-adjust: 100%;
25 height: 100%; 25 height: 100%;
......