Plugin Directory

Changeset 2308436


Ignore:
Timestamp:
05/20/2020 04:57:04 AM (6 years ago)
Author:
rm2773
Message:

Update to version 1.0.7.

Location:
wp-studio-tabs
Files:
20 added
6 edited

Legend:

Unmodified
Added
Removed
  • wp-studio-tabs/trunk/css/style.php

    r2286513 r2308436  
    3838    foreach ($ids as $id):
    3939      $tabs_section_bg = get_post_meta ($id, 'tabs_section_bg', true);
     40      $tabs_section_padding_top = get_post_meta ($id, 'tabs_section_padding_top', true);
     41      $tabs_section_padding_bottom = get_post_meta ($id, 'tabs_section_padding_bottom', true);
    4042      $tab_font_color = get_post_meta ($id, 'tab_font_color', true);
    4143      $tab_bg_color = get_post_meta ($id, 'tab_bg_color', true);
     
    4547      $tab_current_border_color = get_post_meta ($id, 'tab_current_border_color', true);
    4648     
    47       $html .= '#wpst-tabset-'.$id.'.tabs-container { background-color: '. $tabs_section_bg .' }';
     49      $html .= '#wpst-tabset-'.$id.'.tabs-container { background-color: '. $tabs_section_bg .'; padding-top: '. $tabs_section_padding_top .'px; padding-bottom: '. $tabs_section_padding_bottom .'px; }';
    4850      $html .= '#wpst-tabset-'.$id.'.tabs-container nav ul li a span { color: '. $tab_font_color .' }';
    4951      $html .= '#wpst-tabset-'.$id.'.tabs-container nav ul li { background-color: '. $tab_bg_color .'; }';
  • wp-studio-tabs/trunk/css/styles-admin.css

    r2297342 r2308436  
    245245}
    246246
    247 #wpstudio__tabs_metabox .inside {
    248   overflow: hidden;
     247#wpstudio__tabs_metabox .inside .wp-picker-holder {
     248  position: absolute;
     249}
     250
     251#wpstudio__tabs_metabox .inside .wp-picker-clear {
     252  min-height: 30px;
     253  margin-left: 6px;
     254}
     255
     256#wpstudio__tabs_metabox .inside:after {
     257  content: '';
     258  display: block;
     259  clear: both;
    249260}
    250261
     
    260271
    261272#wpstudio__tabs_metabox #wp-simple-tabs-nav .form-table th {
    262   width: 240px
     273  width: 240px;
     274  text-align: right;
     275}
     276
     277#wpstudio__tabs_metabox #wp-simple-tabs-nav .form-table th.input-small {
     278  line-height: 1.4;
    263279}
    264280
     
    342358
    343359#wpstudio__tabs_metabox .tabs-header .tabs_active {
    344   display: inline-block;
    345360  float: right;
    346361  margin-top: 3px;
     
    365380  color: #fff;
    366381  cursor: pointer;
    367   display: inline-block;
    368382  float: right;
    369383  height: 20px;
     
    382396  border: 1px solid rgb(153, 153, 153);
    383397  cursor: pointer;
    384   display: inline-block;
    385398  height: 20px;
    386399  margin: 3px;
     
    395408  border: 1px solid rgb(153, 153, 153);
    396409  cursor: pointer;
    397   display: inline-block;
    398410  height: 20px;
    399411  margin: 3px;
     
    446458}
    447459
     460#wpstudio__tabs_metabox .inside .form-table .section-padding {
     461  max-width: 53px;
     462  margin: 0;
     463}
     464
     465#wpstudio__tabs_metabox .inside .form-table ::-webkit-input-placeholder {
     466  font-size: 10px;
     467  color: #999;
     468  font-style: italic;
     469}
     470::-moz-placeholder {
     471  font-size: 10px;
     472  color: #999;
     473  font-style: italic;
     474}
     475:-ms-input-placeholder {
     476  font-size: 10px;
     477  color: #999;
     478  font-style: italic;
     479}
     480:-moz-placeholder {
     481  font-size: 10px;
     482  color: #999;
     483  font-style: italic;
     484}
     485
    448486.para-settings .option-box {
    449487  margin: 10px 0;
     
    472510  background: none repeat scroll 0 0 rgb(230, 230, 230);
    473511  cursor: pointer;
    474   display: inline-block;
    475512  float: left;
    476513  margin: 0;
     
    597634@media (min-width: 1920px) {
    598635  #wpstudio__tabs_metabox #wp-simple-tabs-nav .form-table {
    599     width: 50%
     636    width: 75%
    600637  }
    601638}
  • wp-studio-tabs/trunk/includes/metabox.php

    r2286513 r2308436  
    3636  $meta_keys = array(
    3737    'wpst_tabs_order' => '',
    38     'tabs_section_bg' => 'transparent',
     38    'tabs_section_bg' => '',
     39    'tabs_section_padding_top' => '',
     40    'tabs_section_padding_bottom' => '',
    3941    'tab_font_color' => '#000000',
    4042    'tab_current_font_color' => '#000000',
    41     'tab_bg_color' => 'transparent',
    42     'tab_current_bg_color' => 'transparent',
     43    'tab_bg_color' => '',
     44    'tab_current_bg_color' => '',
    4345    'tab_border_color' => '#000000',
    4446    'tab_current_border_color' => '#000000'
  • wp-studio-tabs/trunk/includes/settings-page.php

    r2261175 r2308436  
    44
    55  $tabs_section_bg = get_post_meta ($post->ID, 'tabs_section_bg', true);
     6  $tabs_section_padding_top = get_post_meta ($post->ID, 'tabs_section_padding_top', true);
     7  $tabs_section_padding_bottom = get_post_meta ($post->ID, 'tabs_section_padding_bottom', true);
    68  $tab_font_color = get_post_meta ($post->ID, 'tab_font_color', true);
    79  $tab_current_font_color = get_post_meta ($post->ID, 'tab_current_font_color', true);
     
    1113  $tab_current_border_color = get_post_meta ($post->ID, 'tab_current_border_color', true); ?>
    1214
    13 <div class="inside hidden">
     15<div class="inside wpst-tab-settings hidden">
    1416  <table class="form-table">
    1517    <tbody>
     
    3638        </th>
    3739        <td>
    38           <input type="text" name="tab_current_bg_color" id="tab-current-bg-color" class="color-field" value="<?= $tab_current_bg_color; ?>"/>
     40          <input type="text" name="tab_current_bg_color" id="tab-current-bg-color" class="color-field cc-color-picker-field wp-color-picker" value="<?= $tab_current_bg_color; ?>"/>
     41        </td>
     42        <th scope="row" class="input-small">
     43          <label for="tab_font_color">Section Top Padding</label>
     44        </th>
     45        <td>
     46          <input class="section-padding" type="text" name="tabs_section_padding_top" id="tabs-section-padding-top" value="<?= $tabs_section_padding_top; ?>"/> px
    3947        </td>
    4048      </tr>
     
    5260        <td>
    5361          <input type="text" name="tab_current_border_color" id="tab-current-border-color" class="color-field" value="<?= $tab_current_border_color; ?>"/>
     62        </td>
     63
     64        <th scope="row" class="input-small">
     65          <label for="tab_font_color">Section Bottom Padding</label>
     66        </th>
     67        <td>
     68          <input class="section-padding" type="text" name="tabs_section_padding_bottom" id="tabs-section-padding-bottom" value="<?= $tabs_section_padding_bottom; ?>"/> px
    5469        </td>
    5570      </tr>
  • wp-studio-tabs/trunk/readme.txt

    r2306814 r2308436  
    33Author: WP Studio
    44Author URI: https://wp-studio.net
    5 Tags: tabs
     5Tags: tab, tabs, responsive tabs, tabs widget, accordion
    66Requires at least: 2.9
    77Tested up to: 5.4
    8 Stable tag: 1.0.6
     8Stable tag: 1.0.7
    99
    1010WP Studio Tabs allows you to create/manage simple animated tabs for your Wordpress website.
     
    2828
    2929== Changelog ==
     30
     31= 1.0.7 =
     32
     33* Added new setting for section top/bottom padding.
    3034
    3135= 1.0.6 =
  • wp-studio-tabs/trunk/wpstudio-tabs.php

    r2306814 r2308436  
    55 * Plugin URI:        http://wp-studio.net
    66 * Description:       WP Studio Tabs allows you to create/manage simple animated tabs for your Wordpress website.
    7  * Version:           1.0.6
     7 * Version:           1.0.7
    88 * Requires at least: 2.9
    99 * Author:            WP Studio
Note: See TracChangeset for help on using the changeset viewer.