导航栏选项卡bug修改

master
yangkai 6 years ago
parent 3d321c1178
commit cfb7d39108

@ -98,6 +98,20 @@
border: 1px solid #FFF; border: 1px solid #FFF;
padding: 3px 15px; padding: 3px 15px;
} }
.dashboard li {
float: left;
border: 1px solid #FFF;
padding: 3px 15px;
}
.dashboard a{
color: #FFF;
}
.dashboard .active{
background-color: #FFF !important;
}
.dashboard .active a{
color: #f06101 !important;
}
@media (min-width: 768px) { @media (min-width: 768px) {
.navbar-header { .navbar-header {
list-style: none; list-style: none;
@ -137,7 +151,7 @@ margin-bottom: 10%;"/>
ng-class="currentUser.org?(currentUser.org.banner_class||'fxplus'):'royalpay'"> ng-class="currentUser.org?(currentUser.org.banner_class||'fxplus'):'royalpay'">
<header ng-if="headerDisplay" class="main-header"> <header ng-if="headerDisplay" class="main-header">
<nav style="margin-left: 0px" class="navbar navbar-static-top navbar-static-top-yedian" role="navigation"> <nav style="margin-left: 0px;text-align: center" class="navbar navbar-static-top navbar-static-top-yedian" role="navigation">
<!-- Logo --> <!-- Logo -->
<a ng-click="headerCopyDisplay()" class="logo logo-yedian shine" style="cursor: pointer" ng-if="!currentUser.org"> <a ng-click="headerCopyDisplay()" class="logo logo-yedian shine" style="cursor: pointer" ng-if="!currentUser.org">
@ -161,7 +175,7 @@ margin-bottom: 10%;"/>
<select class="navbar-header" style="position: relative;height: 30px;border: 0;text-align: center;text-align-last:center;" ng-model="roleName" ng-change="changeRole(roleName)"> <select class="navbar-header" style="position: relative;height: 30px;border: 0;text-align: center;text-align-last:center;" ng-model="roleName" ng-change="changeRole(roleName)">
<option ng-repeat="x in rolelist" value="{{x.value}}">{{x.module}}</option> <option ng-repeat="x in rolelist" value="{{x.value}}">{{x.module}}</option>
</select> </select>
<ul class="navbar-header"> <ul class="dashboard" style="display: inline-block;margin: 10px auto;list-style: none;padding: initial">
<li ui-sref-active="active" style="border-bottom-left-radius: 5px;border-top-left-radius: 5px;"> <li ui-sref-active="active" style="border-bottom-left-radius: 5px;border-top-left-radius: 5px;">
<a ui-sref="dashboard" role="button">Dashboard</a> <a ui-sref="dashboard" role="button">Dashboard</a>
</li> </li>

Loading…
Cancel
Save