[Web] Revert some style changes, mobile view should be fixes/better with bootstrap 4

master
andryyy 2019-12-25 10:30:49 +01:00
parent 93c569c3ef
commit c87fdd21c5
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
5 changed files with 2 additions and 17 deletions

View File

@ -11,7 +11,7 @@ if (!isset($_SESSION['gal']) && $license_cache = $redis->Get('LICENSE_STATUS_CAC
?>
<div class="container">
<ul class="nav nav-tabs nav-justified" role="tablist">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#tab-access" aria-controls="tab-access" role="tab" data-toggle="tab"><?=$lang['admin']['access'];?></a></li>
<li role="presentation"><a href="#tab-config" aria-controls="tab-config" role="tab" data-toggle="tab"><?=$lang['admin']['configuration'];?></a></li>
<li role="presentation"><a href="#tab-routing" aria-controls="tab-routing" role="tab" data-toggle="tab"><?=$lang['admin']['routing'];?></a></li>

View File

@ -77,7 +77,3 @@ table tbody tr {
table tbody tr td input[type="checkbox"] {
cursor: pointer;
}
.nav-tabs>li>a:hover, .nav-tabs>li>a:focus, .nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus, .nav-tabs .open>a, .nav-tabs .open>a:hover, .nav-tabs .open>a:focus {
padding-bottom: 10px;
margin-top: 6px;
}

View File

@ -59,7 +59,3 @@ table tbody tr {
table tbody tr td input[type="checkbox"] {
cursor: pointer;
}
.nav-tabs>li>a:hover, .nav-tabs>li>a:focus, .nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus, .nav-tabs .open>a, .nav-tabs .open>a:hover, .nav-tabs .open>a:focus {
padding-bottom: 10px;
margin-top: 6px;
}

View File

@ -56,13 +56,6 @@ $(document).ready(function() {
'use strict';
if ($('a[data-toggle="tab"]').length) {
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
$("ul.nav-tabs li a").parent().find("a").each(function(){
var t = $(this).text();
t = t.replace(/^⤏ /, '');
$(this).text(t);
});
$(this).prepend("⤏ ");
if ($(this).data('dont-remember') == 1) {
return true;
}

View File

@ -7,7 +7,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
?>
<div class="container">
<ul class="nav nav-tabs nav-justified" role="tablist">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#tab-domains" aria-controls="tab-domains" role="tab" data-toggle="tab"><?=$lang['mailbox']['domains'];?></a></li>
<li role="presentation"><a href="#tab-mailboxes" aria-controls="tab-mailboxes" role="tab" data-toggle="tab"><?=$lang['mailbox']['mailboxes'];?></a></li>
<li role="presentation"><a href="#tab-resources" aria-controls="tab-resources" role="tab" data-toggle="tab"><?=$lang['mailbox']['resources'];?></a></li>