From 909e7836cac8f8ccf206e0baac9137f2905f9dc3 Mon Sep 17 00:00:00 2001 From: thusithakalugamage Date: Thu, 6 Oct 2016 16:41:31 +0530 Subject: [PATCH] Header nav menu responsiveness improvements --- .../app/units/uuf.unit.navbar/navbar.hbs | 6 ++-- .../uuf.unit.theme/public/css/theme-wso2.css | 29 ++++++++++++++++++- 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/app/units/uuf.unit.navbar/navbar.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/app/units/uuf.unit.navbar/navbar.hbs index e151b8a534..db9488ed02 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/app/units/uuf.unit.navbar/navbar.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/app/units/uuf.unit.navbar/navbar.hbs @@ -30,13 +30,11 @@ {{defineZone "navbarHeader"}} - {{defineZone "navbarBelow"}} diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/app/units/uuf.unit.theme/public/css/theme-wso2.css b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/app/units/uuf.unit.theme/public/css/theme-wso2.css index 7e81de65e0..02283db595 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/app/units/uuf.unit.theme/public/css/theme-wso2.css +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/app/units/uuf.unit.theme/public/css/theme-wso2.css @@ -3054,7 +3054,7 @@ tbody.collapse.in { right: auto; } } -@media (max-width : 480px) { +@media (max-width : 768px) { .navbar-right .dropdown-menu-right { left: auto; right: 0; @@ -3901,6 +3901,33 @@ tbody.collapse.in { margin-right: 0; } } +@media (max-width: 768px) { + .navbar-right { + margin-right: -15px; + } + .navbar-default .navbar-toggle{ + + } + .navbar-default .navbar-toggle .icon-bar{ + background-color:#fff!important; + } + .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus{ + background-color:#526a84!important; + } + .navbar-default .navbar-toggle:hover .icon-bar, .navbar-default .navbar-toggle:focus .icon-bar{ + background-color:#798EA5!important; + } + .navbar-toggle { + margin-right: 10px; + padding: 13px; + margin-top: 0px; + margin-bottom: 0px; + } + #navbar .navbar-nav{ + margin:0px; + border-bottom:1px solid #798EA5; + } +} .navbar-default { background-color: #f8f8f8; border-color: #e7e7e7;