Changeset 1895260
- Timestamp:
- 06/19/2018 05:19:54 PM (8 years ago)
- Location:
- basepress/trunk
- Files:
-
- 4 edited
-
admin/class-basepress-settings.php (modified) (3 diffs)
-
basepress.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
basepress/trunk/admin/class-basepress-settings.php
r1879291 r1895260 520 520 settings_fields( 'basepress_settings' ); 521 521 522 echo '<div class=" tabs">';522 echo '<div class="basepress-tabs">'; 523 523 // We use a custom function to render the sections 524 524 $this->do_settings_sections( 'basepress' ); … … 550 550 551 551 $checked = 'basepress_general_settings' == $section['id'] ? ' checked="checked" ' : ''; 552 echo '<div class=" tab">';553 echo '<input name="css-tabs" id="' . $section['id'] . '"' . $checked . 'class=" tab-switch" type="radio">';554 echo '<label for="' . $section['id'] . '" class=" tab-label">' . $section['title'] . '</label>';552 echo '<div class="basepress-tab">'; 553 echo '<input name="css-tabs" id="' . $section['id'] . '"' . $checked . 'class="basepress-tab-switch" type="radio">'; 554 echo '<label for="' . $section['id'] . '" class="basepress-tab-label">' . $section['title'] . '</label>'; 555 555 556 556 if ( $section['callback'] ) { … … 563 563 continue; 564 564 } 565 echo '<div class=" tab-content">';565 echo '<div class="basepress-tab-content">'; 566 566 echo '<h2 class="settings-title">' . $section['title'] . '</h2>'; 567 567 echo '<table class="form-table">'; -
basepress/trunk/basepress.php
r1886888 r1895260 5 5 * Plug URI: http://www.8bitsinarow.com 6 6 * Description: The perfect Knowledge Base plugin for WordPress 7 * Version: 1.8. 37 * Version: 1.8.4 8 8 * Author: 8Bits in a row 9 9 * Author URI: http://www.8bitsinarow.com … … 73 73 * @var string 74 74 */ 75 public $ver = '1.8. 3' ;75 public $ver = '1.8.4' ; 76 76 /** 77 77 * Database version -
basepress/trunk/readme.txt
r1886888 r1895260 5 5 Requires at least: 4.5 6 6 Tested up to: 4.9 7 Stable tag: 1.8. 37 Stable tag: 1.8.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 138 138 == Changelog == 139 139 140 = 1.8.4 = 141 * Renamed some element's css classes on admin side to avoid naming conflict with other plugins 142 140 143 = 1.8.3 = 141 144 * Improved menu handling so KB menu item has class "current_menu_item" when visiting any KB page -
basepress/trunk/style.css
r1886888 r1895260 570 570 /* Settings Screen */ 571 571 572 . tabs{572 .basepress-tabs{ 573 573 position: relative; 574 574 margin: 20px 0; 575 575 } 576 576 577 . tab{577 .basepress-tab{ 578 578 width: 200px; 579 579 margin-bottom: 5px; 580 580 } 581 581 582 . tab-switch{582 .basepress-tab-switch{ 583 583 display: none; 584 584 } 585 585 586 . tab-label{586 .basepress-tab-label{ 587 587 position: relative; 588 588 display: block; … … 596 596 } 597 597 598 . tab-label:hover{598 .basepress-tab-label:hover{ 599 599 padding-left: 10px; 600 600 border-left: 4px solid #df3a3a; … … 606 606 } 607 607 608 . tab-content{608 .basepress-tab-content{ 609 609 position: absolute; 610 610 top: 0; … … 621 621 } 622 622 623 input. tab-switch{623 input.basepress-tab-switch{ 624 624 display: none !important; 625 625 } 626 626 627 . tab-switch:checked + .tab-label{627 .basepress-tab-switch:checked + .basepress-tab-label{ 628 628 padding-left: 10px; 629 629 border-left: 4px solid #df3a3a; … … 634 634 } 635 635 636 . tab-switch:checked + .tab-label + .tab-content{636 .basepress-tab-switch:checked + .basepress-tab-label + .basepress-tab-content{ 637 637 opacity: 1; 638 638 transition: all 0.5s; … … 640 640 } 641 641 642 . tabs input[type="number"]{642 .basepress-tabs input[type="number"]{ 643 643 width: 60px; 644 644 } 645 645 646 . tabs input[type="text"]{646 .basepress-tabs input[type="text"]{ 647 647 width: 27em; 648 648 }
Note: See TracChangeset
for help on using the changeset viewer.