From 0471d4bbdbdb40f06dd52726819cbccba98b32b8 Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Wed, 19 Aug 2015 11:47:13 -0400 Subject: [PATCH 1/2] Tweaked text shadow on usability hints --- airtime_mvc/public/css/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/public/css/styles.css b/airtime_mvc/public/css/styles.css index efc999591..cf3c31655 100644 --- a/airtime_mvc/public/css/styles.css +++ b/airtime_mvc/public/css/styles.css @@ -3589,7 +3589,7 @@ button.btn-icon-text > i.icon-white { background-color: #ff611f; color: white; font-size: 14px; - text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2); + text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.1); z-index: 99; /* Need to be above elements like the shows in the calendar! */ /*margin: 5px 10px;*/ From 8dcd0a2595304ef4612f0fb322a986bb4146e9e4 Mon Sep 17 00:00:00 2001 From: drigato Date: Wed, 19 Aug 2015 12:58:31 -0400 Subject: [PATCH 2/2] CC-6071: Icons for navigation bar --- .../application/configs/navigation.php | 19 ++++++++++++------- .../application/layouts/scripts/layout.phtml | 10 +++++----- .../layouts/scripts/page-sub-menu.phtml | 12 ++++++------ airtime_mvc/public/css/add-show.css | 4 ---- airtime_mvc/public/css/styles.css | 16 +++++++++++++--- 5 files changed, 36 insertions(+), 25 deletions(-) diff --git a/airtime_mvc/application/configs/navigation.php b/airtime_mvc/application/configs/navigation.php index c6c23ade4..89fe1f9c7 100644 --- a/airtime_mvc/application/configs/navigation.php +++ b/airtime_mvc/application/configs/navigation.php @@ -9,25 +9,26 @@ */ $pages = array( array( - 'label' => _('Calendar'), + 'label' => ""._('Calendar'), 'module' => 'default', 'controller' => 'Schedule', 'action' => 'index', 'resource' => 'schedule' ), array( - 'label' => _('Radio Page'), + 'label' => ""._('Radio Page'), 'uri' => '/', 'resource' => '', 'pages' => array( ) ), array( - 'label' => _("Settings"), + 'label' => ""._("Settings"), 'resource' => 'preference', 'action' => 'index', 'module' => 'default', 'controller' => 'preference', + 'title' => 'Settings', 'pages' => array( array( 'label' => _('General'), @@ -56,11 +57,12 @@ $pages = array( ) ), array( - 'label' => _("Analytics"), + 'label' => ""._("Analytics"), 'module' => 'default', 'controller' => 'listenerstat', 'action' => 'index', 'resource' => 'listenerstat', + 'title' => 'Analytics', 'pages' => array( array( 'label' => _('Listener Stats'), @@ -86,10 +88,11 @@ $pages = array( ) ), array( - 'label' => _('Widgets'), + 'label' => ""._('Widgets'), 'module' => 'default', 'controller' => 'embeddablewidgets', 'action' => 'player', + 'title' => 'Widgets', 'pages' => array( array( 'label' => _('Player'), @@ -106,10 +109,11 @@ $pages = array( ) ), array( - 'label' => _('Help'), + 'label' => ""._('Help'), 'controller' => 'dashboard', 'action' => 'help', 'resource' => 'dashboard', + 'title' => 'Help', 'pages' => array( array( 'label' => _('Getting Started'), @@ -148,10 +152,11 @@ $pages = array( ) ), array( - 'label' => _('Billing'), + 'label' => ""._('Billing'), 'controller' => 'billing', 'action' => 'client', 'resource' => 'billing', + 'title' => 'Billing', 'pages' => array( array( 'label' => _('Account Details'), diff --git a/airtime_mvc/application/layouts/scripts/layout.phtml b/airtime_mvc/application/layouts/scripts/layout.phtml index 87cd1d8fe..1624c18ef 100644 --- a/airtime_mvc/application/layouts/scripts/layout.phtml +++ b/airtime_mvc/application/layouts/scripts/layout.phtml @@ -74,15 +74,15 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/airtime_mvc/public/css/add-show.css b/airtime_mvc/public/css/add-show.css index b71198245..0749ce534 100644 --- a/airtime_mvc/public/css/add-show.css +++ b/airtime_mvc/public/css/add-show.css @@ -158,10 +158,6 @@ label.wrapp-label input[type="checkbox"] { cursor: pointer; } -/* Hack for calendar page icons */ -.icon-white { - margin-right: 4px; -} /* .add-button { border: 1px solid #5b5b5b; diff --git a/airtime_mvc/public/css/styles.css b/airtime_mvc/public/css/styles.css index efc999591..7df4261d5 100644 --- a/airtime_mvc/public/css/styles.css +++ b/airtime_mvc/public/css/styles.css @@ -3467,7 +3467,7 @@ button.btn-icon-text > i.icon-white { -moz-box-sizing: border-box; box-sizing: border-box; - width: 130px; + width: 150px; flex: 1 auto; padding: 0; @@ -3545,7 +3545,7 @@ button.btn-icon-text > i.icon-white { position: absolute; top: 102px; - left: 130px; + left: 150px; right: 0; bottom: 0; padding: 10px 10px 40px; @@ -3575,7 +3575,7 @@ button.btn-icon-text > i.icon-white { .usability_hint { position: fixed; top: 102px; - left: 130px; + left: 150px; width: 100%; flex: 0 100%; @@ -3662,3 +3662,13 @@ hr { height: 1px; background: rgba(255,255,255,0.2); } + +.icon-white { + margin-right: 4px; +} + +.nav-ui-icon-formatter { + width:16px !important; + display:inline; + margin-right:4px +} \ No newline at end of file