From 927550ded0220af349c7e2392df6b3e2803900a0 Mon Sep 17 00:00:00 2001 From: Noel Wuyts Date: Thu, 28 May 2015 17:13:21 +0200 Subject: [PATCH] Reset top bar core styling --- .../plugins/core/widgets/luci.top_bar.html | 41 +++++++++-------- .../htdocs/themes/vodafone/css/theme.css | 28 ++++++++++++ .../htdocs/themes/vodafone/vodafone.js | 2 +- .../themes/vodafone/widgets/luci.top_bar.html | 45 +++++++++---------- 4 files changed, 70 insertions(+), 46 deletions(-) diff --git a/luciexpress/htdocs/plugins/core/widgets/luci.top_bar.html b/luciexpress/htdocs/plugins/core/widgets/luci.top_bar.html index 2f34da2e1..d5fbda218 100644 --- a/luciexpress/htdocs/plugins/core/widgets/luci.top_bar.html +++ b/luciexpress/htdocs/plugins/core/widgets/luci.top_bar.html @@ -1,23 +1,22 @@ +
-
-
-
-
-
- - {{$select.selected.label}} - -
{{mode.label}}
-
-
-
-
{{ model }}
-
-
-
-
+
+
+
{{ model }}
+
+ + {{$select.selected.label}} + +
{{mode.label}}
+
+
+
+
+
diff --git a/luciexpress/htdocs/themes/vodafone/css/theme.css b/luciexpress/htdocs/themes/vodafone/css/theme.css index d0ad6d32f..875e676a5 100644 --- a/luciexpress/htdocs/themes/vodafone/css/theme.css +++ b/luciexpress/htdocs/themes/vodafone/css/theme.css @@ -232,3 +232,31 @@ h1, h2 { color: #a8b400; } +.top-bar .box-model { + font-size: 26px; + padding-top: 15px; + font-family: 'vodafont'; +} + +.top-bar .outer-select { + float: right; + padding-top: 10px; +} + +.top-bar .inner-select { + width: 200px; + margin-top: 5px; +} + +.top-bar .inner-select .btn { + font-size: 16px; +} + +.top-bar .inner-select .dropdown-menu { + font-size: 16px; +} + +.ui-select-bootstrap .ui-select-choices-row.active>a { + background-color: #777 !important; +} + diff --git a/luciexpress/htdocs/themes/vodafone/vodafone.js b/luciexpress/htdocs/themes/vodafone/vodafone.js index 6ba09eb4c..88cf7bdd7 100644 --- a/luciexpress/htdocs/themes/vodafone/vodafone.js +++ b/luciexpress/htdocs/themes/vodafone/vodafone.js @@ -5,7 +5,7 @@ angular.module("luci").config(function($provide){ "luciLayoutSingleColumnDirective": "/widgets/luci.layout.single_column.html", "luciLayoutWithSidebarDirective": "/widgets/luci.layout.with_sidebar.html", "luciNavbarDirective": "/widgets/luci.navbar.html", - //"luciTopBarDirective": "/widgets/luci.top_bar.html" + "luciTopBarDirective": "/widgets/luci.top_bar.html" }; var plugin_root = "/themes/vodafone/"; Object.keys(overrides).map(function(k){ diff --git a/luciexpress/htdocs/themes/vodafone/widgets/luci.top_bar.html b/luciexpress/htdocs/themes/vodafone/widgets/luci.top_bar.html index 70ffa9294..2f34da2e1 100644 --- a/luciexpress/htdocs/themes/vodafone/widgets/luci.top_bar.html +++ b/luciexpress/htdocs/themes/vodafone/widgets/luci.top_bar.html @@ -1,26 +1,23 @@
-
-
-
-
-
- - {{$select.selected.label}} - -
{{mode.label}}
-
-
-
-
{{ model }}
- -
-
-
-
+
+
+
+
+
+ + {{$select.selected.label}} + +
{{mode.label}}
+
+
+
+
{{ model }}
+
+
+
+