Commit c96ed97b authored by Vanavaraju's avatar Vanavaraju

MT-168 Updated left menu icon styles and functionality

parent c446e9f4
...@@ -54,5 +54,10 @@ myApp.controller("headerController",function($scope, myFactory, $compile, $mdDia ...@@ -54,5 +54,10 @@ myApp.controller("headerController",function($scope, myFactory, $compile, $mdDia
function ProgressController($scope) { function ProgressController($scope) {
$scope.progressText = "Please wait!!! Logging out from My Team."; $scope.progressText = "Please wait!!! Logging out from My Team.";
};
// For Left Menu Toggle
$scope.menuIcon=function(){
$('#sidebar-left').toggleClass("small-menu");
} }
}); });
\ No newline at end of file
...@@ -59,7 +59,7 @@ i.fa.fa-refresh:hover { ...@@ -59,7 +59,7 @@ i.fa.fa-refresh:hover {
#header .navbar-header { #header .navbar-header {
background: #ffffff; background: #ffffff;
position: relative; position: relative;
width: 225px; width: 215px;
} }
#header .navbar-header img { #header .navbar-header img {
margin: 0 0 0 10px; margin: 0 0 0 10px;
...@@ -77,6 +77,11 @@ i.fa.fa-refresh:hover { ...@@ -77,6 +77,11 @@ i.fa.fa-refresh:hover {
border-bottom: 2px solid #00b4e5; border-bottom: 2px solid #00b4e5;
height: 53px; height: 53px;
} }
#header .navbar-inverse a.menu-icon {
color: #34495e;
font-size: 22px;
margin: 14px 0 0 40px;
}
#header .dropdown-toggle { #header .dropdown-toggle {
padding: 12px; padding: 12px;
} }
...@@ -139,9 +144,10 @@ i.fa.fa-refresh:hover { ...@@ -139,9 +144,10 @@ i.fa.fa-refresh:hover {
/* Left Section */ /* Left Section */
#sidebar-left { #sidebar-left {
float: left; float: left;
transition: width 0.5s ease-out;
/* margin: 0 15px 0 0; */ /* margin: 0 15px 0 0; */
width: 225px; width: 215px;
} }
#sidebar-wrapper { #sidebar-wrapper {
background: #00b4e5 !important; background: #00b4e5 !important;
...@@ -183,6 +189,19 @@ i.fa.fa-refresh:hover { ...@@ -183,6 +189,19 @@ i.fa.fa-refresh:hover {
padding: 12px; padding: 12px;
text-decoration: none; text-decoration: none;
} }
/* For Small Menu Styles */
#sidebar-left.small-menu #sidebar-wrapper .sidebar-nav li a span {
display: none;
}
#sidebar-left.small-menu #sidebar-wrapper .sidebar-nav li a {
text-align: center;
}
#sidebar-left.small-menu #sidebar-wrapper .sidebar-nav li ul {
/* background: #fafafc; */
margin: 0 0 0 15px;
padding-left: 15px;
}
#sidebar-wrapper .sidebar-nav li a i { #sidebar-wrapper .sidebar-nav li a i {
transition: all .5s ease-in-out 0s; transition: all .5s ease-in-out 0s;
-moz-transition: all .5s ease-in-out 0s; -moz-transition: all .5s ease-in-out 0s;
...@@ -208,7 +227,10 @@ i.fa.fa-refresh:hover { ...@@ -208,7 +227,10 @@ i.fa.fa-refresh:hover {
background: #34495e; background: #34495e;
color: #fff; color: #fff;
} }
#sidebar-left.small-menu {
transition: width 0.5s ease-out;
width: 85px;
}
/* ===== Main Container ===== */ /* ===== Main Container ===== */
.main-container { .main-container {
...@@ -220,9 +242,10 @@ i.fa.fa-refresh:hover { ...@@ -220,9 +242,10 @@ i.fa.fa-refresh:hover {
flex: 1; flex: 1;
} */ } */
#main { #main {
/* flex: 1; */
float: left; float: left;
height: 100%; height: 100%;
width: calc(100% - 225px); width: calc(100% - 215px);
} }
#main h1 { #main h1 {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
...@@ -295,7 +318,7 @@ i.fa.fa-refresh:hover { ...@@ -295,7 +318,7 @@ i.fa.fa-refresh:hover {
} }
#footer .navbar-inverse .copyrights { #footer .navbar-inverse .copyrights {
background: #fff; background: #fff;
width: 225px; width: 215px;
} }
#footer .navbar-inverse .copyrights:after { #footer .navbar-inverse .copyrights:after {
content: ""; content: "";
...@@ -322,7 +345,7 @@ i.fa.fa-refresh:hover { ...@@ -322,7 +345,7 @@ i.fa.fa-refresh:hover {
border: none !important; border: none !important;
} }
.ui-grid-viewport { .ui-grid-viewport {
border: 1px solid #cccccc; /* border: 1px solid #cccccc; */
} }
.ui-grid-contents-wrapper .ui-grid-header { .ui-grid-contents-wrapper .ui-grid-header {
border: none; border: none;
...@@ -402,7 +425,7 @@ i.fa.fa-refresh:hover { ...@@ -402,7 +425,7 @@ i.fa.fa-refresh:hover {
} }
.ui-grid-pager-panel { .ui-grid-pager-panel {
background: #fff; background: #fff;
border: solid 1px #ccc; /* border: solid 1px #ccc; */
border-top: none; border-top: none;
font-size: 13px; font-size: 13px;
width: 99.8% !important; width: 99.8% !important;
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
</div> </div>
<div class="collapse navbar-collapse" id="b-menu-1"> <div class="collapse navbar-collapse" id="b-menu-1">
<a href="#" class="left menu-icon" ng-click="menuIcon()"><i class="fa fa-bars" aria-hidden="true"></i></a>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#">Signed in as <b>{{empName}}</b></a></li> <li class="active"><a href="#">Signed in as <b>{{empName}}</b></a></li>
<li class="dropdown active"><a href="#" class="dropdown-toggle" <li class="dropdown active"><a href="#" class="dropdown-toggle"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
aria-hidden="false"> </i> <span style="margin-left: 15px;">{{manageItem.menu}}</span></a></i> aria-hidden="false"> </i> <span style="margin-left: 15px;">{{manageItem.menu}}</span></a></i>
</li> --> </li> -->
<li> <a href="#" ng-click="toggleManage()" ng-show="manageGroup.length > 0"> <i class="fa fa-users" aria-hidden="true"></i> Manage Group <i class="fa fa-caret-down"></i></a> <li> <a href="#" ng-click="toggleManage()" ng-show="manageGroup.length > 0"> <i class="fa fa-users" aria-hidden="true"></i> <span>Manage Group</span> <i class="fa fa-angle-down right"></i></a>
<ul ng-hide="custom" class="manageGroup"> <ul ng-hide="custom" class="manageGroup">
<li ng-repeat="manageItem in manageGroup"> <li ng-repeat="manageItem in manageGroup">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment