Plugin Directory

Changeset 2166889


Ignore:
Timestamp:
10/02/2019 01:00:44 PM (6 years ago)
Author:
flickdevs
Message:

Add new option for color and font-size for text-title

Location:
imagebox-module/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • imagebox-module/trunk/assets/css/fields.css

    r1760687 r2166889  
    1818.fd-bb-imagebox:hover img{
    1919    filter:blur(4px);
    20        -webkit-filter:blur(4px)
     20    -webkit-filter:blur(4px)
    2121}
    2222.fd-bb-imagebox h4{
    23        text-transform:uppercase;
    24        display:table;
    25        transition:all .27s ease;
    26        font-size:32px;
    27        position:absolute;
    28        top:50%;
    29        left:50%;
    30        transform:translate(-50%,-50%);
    31        text-align:center;
    32        color:#fff;
    33        line-height:1.2;
    34        margin-bottom:10px;
    35        font-size:32px;
    36        font-family: Montserrat;
    37        font-weight: 400 !important;
     23   text-transform:uppercase;
     24   display:table;
     25   transition:all .27s ease;
     26   font-size:32px;
     27   position:absolute;
     28   top:50%;
     29   left:50%;
     30   transform:translate(-50%,-50%);
     31   text-align:center;
     32   color:#fff;
     33   line-height:1.2;
     34   margin-bottom:10px;
     35   font-size:32px;
     36   font-family: Montserrat;
     37   font-weight: 400 !important;
    3838}
    39 .fd-bb-imagebox h4 strong{ 
    40     font-weight: 700;
    41 }
     39
    4240.fd-bb-imagebox:hover h4{
    43        margin-top:-15px;
     41   margin-top:-20px;
    4442}
    4543.fd-bb-imagebox h5{
    46        opacity:0;
    47        margin:0;
    48        margin-top:40px;
    49        font-weight:700;
    50        font-size:16px;
    51        border-radius:15px;
    52        padding:4px 16px;
    53        letter-spacing:1px;
    54        color:#737373;
    55        background-color:#fafafa;
    56        transition:all .18s ease;
    57        text-transform:uppercase;
    58        display:table;
    59        position:absolute;
    60        top:50%;
    61        left:50%;
    62        transform:translate(-50%,-50%);
    63        text-align:center;
    64        font-family: Montserrat;
     44   opacity:0;
     45   margin:0;
     46   margin-top:40px;
     47   font-weight:700;
     48   font-size:18px;
     49   border-radius:15px;
     50   padding:5px 15px;
     51   letter-spacing:1px;
     52   color:#737373;
     53   background-color:#fafafa;
     54   transition:all .18s ease;
     55   text-transform:uppercase;
     56   display:table;
     57   position:absolute;
     58   top:50%;
     59   left:50%;
     60   transform:translate(-50%,-50%);
     61   text-align:center;
     62   font-family: Montserrat;
    6563}
    6664.fd-bb-imagebox h5 i{
    67        margin-left:5px;
    68        
     65   margin-left:5px;
    6966}
    7067.fd-bb-imagebox:hover h5{
    71 opacity:1;
     68    opacity:1;
    7269}
  • imagebox-module/trunk/imagebox.php

    r1857830 r2166889  
    44 * Plugin URI: http://flickdevs.com/beaver-builder/
    55 * Description: Custom beaver builder module to display image Box.
    6  * Version: 1.1.0
     6 * Version: 1.2.2
    77 * Author: Flickdevs, Aezaz Shaikh
    88 * Author URI: http://flickdevs.com
  • imagebox-module/trunk/imagebox/css/frontend.css

    r1760687 r2166889  
    3939
    4040.fd-bb-imagebox:hover h4{
    41        margin-top:-15px;
     41       margin-top:-20px;
    4242}
    4343.fd-bb-imagebox h5{
     
    4646       margin-top:40px;
    4747       font-weight:700;
    48        font-size:16px;
     48       font-size:18px;
    4949       border-radius:15px;
    50        padding:4px 16px;
     50       padding:5px 15px;
    5151       letter-spacing:1px;
    5252       color:#737373;
  • imagebox-module/trunk/imagebox/imagebox.php

    r1760687 r2166889  
    1818            'category'      => __('Imagebox Modules', 'FD_BBM'),
    1919            'dir'           => FD_BB_MODULES_DIR . 'imagebox/',
    20             'url'           => FD_BB_MODULES_URL . 'imagebox/',
     20            'url'           => FD_BB_MODULES_URL . 'imagebox/',         
    2121            'editor_export' => true, // Defaults to true and can be omitted.
    2222            'enabled'       => true, // Defaults to true and can be omitted.
     
    5252                    'title1'          => array(
    5353                        'type'          => 'text',
    54                         'label'         => __('Title1', 'FD_BBM'),
     54                        'label'         => __('Title-1', 'FD_BBM'),
    5555                        'default'       => __('Parents', 'FD_BBM'),
    5656                       
     
    5858                    'title2'          => array(
    5959                        'type'          => 'text',
    60                         'label'         => __('Title2', 'FD_BBM'),
     60                        'label'         => __('Title-2', 'FD_BBM'),
    6161                        'default'       => __('Next Steps', 'FD_BBM'),
    6262                    ),
     
    6464                )
    6565            ),
    66             'colors'        => array(  // Title Style Sections
    67                 'title'         => __(' Title Style', 'FD_BBM'),  // Title Style Section Name
     66            'colors1'        => array(  // Title Style Sections
     67                'title'         => __('Title-1 Options', 'FD_BBM'),  // Title Style Section Name
    6868                'fields'        => array(   // Title style fields
    6969                    'title_font_size'   => array(         
     
    101101                            'type'            => 'css',
    102102                            'selector'        => '.fd-bb-imagebox h4:hover',
     103                            'property'        => 'color'
     104                        )
     105                    ),
     106
     107                )
     108            ),
     109            'colors2'        => array(  // Title Style Sections
     110                'title'         => __('Title-2 Options', 'FD_BBM'),  // Title Style Section Name
     111                'fields'        => array(   // Title style fields
     112                    'title_font_size2'   => array(         
     113                        'type'          => 'text',
     114                        'label'         => __('Font Size', 'FD_BBM'),
     115                        'default'    => '32',
     116                        'description'   => 'px',
     117                        'maxlength'     => '3',
     118                        'size'          => '5',
     119                        'placeholder'   => '2',
     120                        'preview'         => array(
     121                            'type'            => 'css',
     122                            'selector'        => '.fd-bb-imagebox h4 strong',
     123                            'property'  => 'font-size',
     124                            'unit'      => 'px'
     125                        )
     126                    ),
     127                    'title_color2'        => array(
     128                        'type'       => 'color',
     129                        'label'         => __('Text Color', 'FD_BBM'),
     130                        'default'    => '#ffffff',
     131                        'show_reset' => true,
     132                        'preview'         => array(
     133                            'type'            => 'css',
     134                            'selector'        => '.fd-bb-imagebox h4 strong',
     135                            'property'        => 'color'
     136                        )
     137                    ),
     138                    'title_hover_color2'   => array(
     139                        'type'       => 'color',
     140                        'label'         => __('Text Hover Color', 'FD_BBM'),
     141                        'default'    => '',
     142                        'show_reset' => true,
     143                        'preview'         => array(
     144                            'type'            => 'css',
     145                            'selector'        => '.fd-bb-imagebox:hover h4 strong',
    103146                            'property'        => 'color'
    104147                        )
     
    153196            ),
    154197            'btn_colors'        => array(  // Button Style Section
    155                 'title'         => __('Button Style and Colors', 'FD_BBM'), // Button Style Section Name
     198                'title'         => __('Options', 'FD_BBM'), // Button Style Section Name
    156199                'fields'        => array(        // Button Style fields
    157200                    'btn_font_size'   => array(
    158201                        'type'          => 'text',
    159202                        'label'         => __('Font Size', 'FD_BBM'),
    160                         'default'    => '16',
     203                        'default'    => '18',
    161204                        'description'   => 'px',
    162205                        'maxlength'     => '3',
  • imagebox-module/trunk/imagebox/includes/frontend.css.php

    r1760687 r2166889  
    99    <?php endif; ?>
    1010}
    11 .fl-node-<?php echo $id; ?> .fd-bb-imagebox h4:hover{
     11.fl-node-<?php echo $id; ?> .fd-bb-imagebox:hover h4{
    1212    <?php if($settings->title_hover_color) : ?>
    1313    color: #<?php echo $settings->title_hover_color; ?>;
     14    <?php endif; ?>
     15}
     16.fl-node-<?php echo $id; ?> .fd-bb-imagebox h4 strong {
     17    <?php if($settings->title_font_size2) : ?>
     18    font-size: <?php echo $settings->title_font_size2; ?>px;
     19    <?php endif; ?>
     20}
     21.fl-node-<?php echo $id; ?> .fd-bb-imagebox h4 strong {
     22    <?php if($settings->title_color2) : ?>
     23    color: #<?php echo $settings->title_color2; ?>;
     24    <?php endif; ?>
     25}
     26.fl-node-<?php echo $id; ?> .fd-bb-imagebox:hover h4 strong{
     27    <?php if($settings->title_hover_color2) : ?>
     28    color: #<?php echo $settings->title_hover_color2; ?>;
    1429    <?php endif; ?>
    1530}
  • imagebox-module/trunk/readme.txt

    r1965002 r2166889  
    3838
    3939== Changelog ==
    40 = 1.0.0 =
     40
     41= 1.2.2 =
     42* Add new option for color and font-size for text-title
     43
     44= 1.2.1 =
     45* compatibility for the upcoming release of beaver Builder
     46
     47= 1.2.0 =
     48* add new version and error solve for image upload
     49
     50= 1.1 =
     51* Fixed bug
     52
     53= 1.0 =
    4154* Initial Launch
    4255
    43 = 1.1.0 =
    44 * Fixed bug
    45 
    46 
    47 
Note: See TracChangeset for help on using the changeset viewer.