diff options
-rw-r--r-- | view/theme/redbasic/css/style.css | 12 | ||||
-rwxr-xr-x | view/tpl/nav.tpl | 2 | ||||
-rw-r--r-- | view/tpl/nav_login.tpl | 12 |
3 files changed, 15 insertions, 11 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 4cfd42ef1..b398738e0 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2107,9 +2107,11 @@ dl.bb-dl > dd > li { } #nav-login { - padding: 10px; - min-width: 300px; - - border: 1px solid #000; - background-color: #fff; } + +.rmagic-button { + max-width: 400px; + margin-top: 20px; + margin-left: auto; + margin-right: auto; +}
\ No newline at end of file diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 7fae5cb87..c504e5515 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -156,7 +156,7 @@ {{if $nav.login && !$userinfo}} <li class=""> - <a href="#" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}" data-toggle="modal" data-target="#nav-login">{{$nav.loginmenu.1.1}} <span class="caret" id="loginmenu-caret"></span></a> + <a href="#" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}" data-toggle="modal" data-target="#nav-login">{{$nav.loginmenu.1.1}}</a> </li> {{/if}} diff --git a/view/tpl/nav_login.tpl b/view/tpl/nav_login.tpl index fe93f0aa2..0605ce44f 100644 --- a/view/tpl/nav_login.tpl +++ b/view/tpl/nav_login.tpl @@ -1,11 +1,13 @@ {{if $nav.login && !$userinfo}} <div id="nav-login" class="modal" role="dialog"> <div class="modal-dialog"> - <div class="modal-header"><h3>{{$nav.loginmenu.1.1}}</h3></div> - <div class="modal-body"> - <div class="form-group"> - {{$nav.login}} - {{$nav.remote_login}} + <div class="modal-content"> + <div class="modal-header"><h3>{{$nav.loginmenu.1.1}}</h3></div> + <div class="modal-body"> + <div class="form-group"> + {{$nav.login}} + {{$nav.remote_login}} + </div> </div> </div> </div> |