plugin updates
This commit is contained in:
@@ -576,13 +576,15 @@ input.ju-radiobox:focus {
|
||||
}
|
||||
|
||||
.ju-main-wrapper .ju-right-panel .tabs.ju-top-tabs {
|
||||
width: fit-content !important
|
||||
/* width: fit-content !important */
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.ju-main-wrapper .ju-right-panel .tabs.ju-top-tabs li.tab {
|
||||
text-transform: capitalize;
|
||||
min-width: 200px;
|
||||
background-color: #fff
|
||||
background-color: #fff;
|
||||
width: 20%;
|
||||
flex-grow: inherit;
|
||||
}
|
||||
|
||||
.ju-main-wrapper .ju-right-panel .tabs.ju-top-tabs li.tab a.link-tab {
|
||||
@@ -599,6 +601,10 @@ input.ju-radiobox:focus {
|
||||
vertical-align: middle
|
||||
}
|
||||
|
||||
.ju-main-wrapper .ju-right-panel .tabs.ju-top-tabs li:has(> a.active) {
|
||||
border-bottom: 3px solid #ff8726;
|
||||
}
|
||||
|
||||
.ju-main-wrapper .ju-right-panel .tabs.ju-top-tabs li.tab a.link-tab:focus {
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
|
||||
@@ -36,23 +36,23 @@
|
||||
$($content).show();
|
||||
|
||||
// append indicator then set indicator width to tab width
|
||||
$this.append('<div class="indicator"></div>');
|
||||
var $indicator = $this.find('.indicator');
|
||||
if ($this.is(":visible")) {
|
||||
$indicator.css({"right": $tabs_width - (($index + 1) * $tab_width)});
|
||||
$indicator.css({"left": $index * $tab_width});
|
||||
}
|
||||
$(window).resize(function () {
|
||||
$tabs_width = $this.width();
|
||||
$tab_width = $this.find('li').first().outerWidth();
|
||||
if ($index < 0) {
|
||||
$index = 0;
|
||||
}
|
||||
if ($tab_width !== 0 && $tabs_width !== 0) {
|
||||
$indicator.css({"right": $tabs_width - (($index + 1) * $tab_width)});
|
||||
$indicator.css({"left": $index * $tab_width});
|
||||
}
|
||||
});
|
||||
// $this.append('<div class="indicator"></div>');
|
||||
// var $indicator = $this.find('.indicator');
|
||||
// if ($this.is(":visible")) {
|
||||
// $indicator.css({"right": $tabs_width - (($index + 1) * $tab_width)});
|
||||
// $indicator.css({"left": $index * $tab_width});
|
||||
// }
|
||||
// $(window).resize(function () {
|
||||
// $tabs_width = $this.width();
|
||||
// $tab_width = $this.find('li').first().outerWidth();
|
||||
// if ($index < 0) {
|
||||
// $index = 0;
|
||||
// }
|
||||
// if ($tab_width !== 0 && $tabs_width !== 0) {
|
||||
// $indicator.css({"right": $tabs_width - (($index + 1) * $tab_width)});
|
||||
// $indicator.css({"left": $index * $tab_width});
|
||||
// }
|
||||
// });
|
||||
|
||||
// Hide the remaining content
|
||||
$links.not($active).each(function () {
|
||||
|
||||
Reference in New Issue
Block a user