Plugin Directory

Changeset 3219220


Ignore:
Timestamp:
01/08/2025 06:00:51 PM (14 months ago)
Author:
mendibass
Message:

Style fixes, Submit BTN In top

Location:
browser-address-bar-color
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • browser-address-bar-color/tags/3.3/babcScript.js

    r2671587 r3219220  
    3232        babc_check_inputs_list[i].style.display = "inline-block";
    3333        babc_check_cover_input[i].style.display = "none";
    34           babc_txt_cover_input[i].style.display = "none";
     34        babc_txt_cover_input[i].style.display = "none";
    3535      }
    3636  } 
  • browser-address-bar-color/tags/3.3/babcSettingsPage.php

    r2671587 r3219220  
    55        </div>
    66       
    7         <form style="" target="_self"  method="POST">   
     7        <form style="" target="_self"  method="POST">   
     8        <div style= "margin-inline-start: 5px;">
     9             <?php echo submit_button() ?>
     10            </div>
     11
    812           <input type="hidden" name="color-posted">   
    913            <br>
     
    1115            <div id="babc_pages_div">
    1216              <div style="background-color: #fff; padding: 4px; direction: ltr; margin-top: 5px; height:40px;">
    13                 <div style="float: left;">
     17                <div style="float: left; height: 100%;">
    1418                    <input type="checkbox" id="cbox_all" name="check-color-all" style=" "<?php echo isset(get_option('babc_pages_list')["all"]) ? "checked" : null; ?>>
    15                     <p style="color: #3e4347; display: inline; font-size:20px; font-weight: 600;"><?php echo esc_html_e( 'All pages and posts ', 'browser-address-bar-color' ) ?> </p>
     19                    <p style="color: #3e4347; display: inline-block; margin: auto; margin-inline-start: 5px; padding-top: 5px; font-size:17px; font-weight: 600;"><?php echo esc_html_e( 'All pages and posts ', 'browser-address-bar-color' ) ?> </p>
    1620                </div>
    1721               <input type="color" id="input_all" name="input-color-all" style="width:50%; padding: 2px 8px; height:35px; float: right; box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.1);"
     
    7781                    $babc_option .= '">';
    7882                   
    79                         $babc_option .= '<div style="float: left;">';
     83                        $babc_option .= '<div style="float: left; height: 100%;">';
    8084                            $babc_option .= ' <input type="checkbox" id="" class="check-inputs" name="check-color-';
    8185                            $babc_option .= $page->ID;
     
    8488                            $babc_option .= '>';
    8589                            $babc_option .= '<input type="checkbox" class="check-cover-input" style="display: none;" checked disabled>';
    86                             $babc_option .= '<p style="font-size: 20px; color: #0970be; display: inline; font-weight: 600;">';
     90                            $babc_option .= '<p style="font-size: 17px; color: #0970be; display: inline-block; font-weight: 600; margin: auto; margin-inline-start: 5px; padding-top: 5px;
     91                            ">';
    8792                            $babc_option .= $page->post_title;
    8893                            $babc_option .= '</p>';
     
    150155                    $babc_option .= '">';
    151156                   
    152                         $babc_option .= '<div style="float: left;">';
     157                        $babc_option .= '<div style="float: left; height: 100%;">';
    153158                            $babc_option .= ' <input type="checkbox" id="" class="check-inputs" name="check-color-';
    154159                            $babc_option .= $post->ID;
     
    157162                            $babc_option .= '>';
    158163                            $babc_option .= '<input type="checkbox" class="check-cover-input" style="display: none;" checked disabled>';
    159                             $babc_option .= '<p style="font-size: 20px; color: #0970be; display: inline; font-weight: 600;">';
     164                            $babc_option .= '<p style="font-size: 17px; color: #0970be; display: inline-block; font-weight: 600; margin: auto; margin-inline-start: 5px; padding-top: 5px;
     165                            ">';
    160166                            $babc_option .= $post->post_title;
    161167                            $babc_option .= '</p>';
  • browser-address-bar-color/tags/3.3/browserAddressBarColor.php

    r2671587 r3219220  
    5757            $new_babc_pages_list = array("all" => $babc_all_color);
    5858            update_option('babc_pages_list',$new_babc_pages_list );
    59           }// regex check valid color pattern
    60          }// set the same color for all pages
     59          } // regex check valid color pattern
     60         } // set the same color for all pages
    6161         elseif (!isset($_POST['check-color-all'])){
    6262
  • browser-address-bar-color/tags/3.3/readme.txt

    r3218375 r3219220  
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111Requires at least: 4.6
    12 Tested up to: 6.7.1
     12Tested up to:  6.7.1
    1313Stable tag: 3.3
    1414
  • browser-address-bar-color/trunk/babcScript.js

    r2532331 r3219220  
    3232        babc_check_inputs_list[i].style.display = "inline-block";
    3333        babc_check_cover_input[i].style.display = "none";
    34           babc_txt_cover_input[i].style.display = "none";
     34        babc_txt_cover_input[i].style.display = "none";
    3535      }
    3636  } 
  • browser-address-bar-color/trunk/babcSettingsPage.php

    r2671263 r3219220  
    55        </div>
    66       
    7         <form style="" target="_self"  method="POST">   
     7        <form style="" target="_self"  method="POST">   
     8        <div style= "margin-inline-start: 5px;">
     9             <?php echo submit_button() ?>
     10            </div>
     11
    812           <input type="hidden" name="color-posted">   
    913            <br>
     
    1115            <div id="babc_pages_div">
    1216              <div style="background-color: #fff; padding: 4px; direction: ltr; margin-top: 5px; height:40px;">
    13                 <div style="float: left;">
     17                <div style="float: left; height: 100%;">
    1418                    <input type="checkbox" id="cbox_all" name="check-color-all" style=" "<?php echo isset(get_option('babc_pages_list')["all"]) ? "checked" : null; ?>>
    15                     <p style="color: #3e4347; display: inline; font-size:20px; font-weight: 600;"><?php echo esc_html_e( 'All pages and posts ', 'browser-address-bar-color' ) ?> </p>
     19                    <p style="color: #3e4347; display: inline-block; margin: auto; margin-inline-start: 5px; padding-top: 5px; font-size:17px; font-weight: 600;"><?php echo esc_html_e( 'All pages and posts ', 'browser-address-bar-color' ) ?> </p>
    1620                </div>
    1721               <input type="color" id="input_all" name="input-color-all" style="width:50%; padding: 2px 8px; height:35px; float: right; box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.1);"
     
    7781                    $babc_option .= '">';
    7882                   
    79                         $babc_option .= '<div style="float: left;">';
     83                        $babc_option .= '<div style="float: left; height: 100%;">';
    8084                            $babc_option .= ' <input type="checkbox" id="" class="check-inputs" name="check-color-';
    8185                            $babc_option .= $page->ID;
     
    8488                            $babc_option .= '>';
    8589                            $babc_option .= '<input type="checkbox" class="check-cover-input" style="display: none;" checked disabled>';
    86                             $babc_option .= '<p style="font-size: 20px; color: #0970be; display: inline; font-weight: 600;">';
     90                            $babc_option .= '<p style="font-size: 17px; color: #0970be; display: inline-block; font-weight: 600; margin: auto; margin-inline-start: 5px; padding-top: 5px;
     91                            ">';
    8792                            $babc_option .= $page->post_title;
    8893                            $babc_option .= '</p>';
     
    150155                    $babc_option .= '">';
    151156                   
    152                         $babc_option .= '<div style="float: left;">';
     157                        $babc_option .= '<div style="float: left; height: 100%;">';
    153158                            $babc_option .= ' <input type="checkbox" id="" class="check-inputs" name="check-color-';
    154159                            $babc_option .= $post->ID;
     
    157162                            $babc_option .= '>';
    158163                            $babc_option .= '<input type="checkbox" class="check-cover-input" style="display: none;" checked disabled>';
    159                             $babc_option .= '<p style="font-size: 20px; color: #0970be; display: inline; font-weight: 600;">';
     164                            $babc_option .= '<p style="font-size: 17px; color: #0970be; display: inline-block; font-weight: 600; margin: auto; margin-inline-start: 5px; padding-top: 5px;
     165                            ">';
    160166                            $babc_option .= $post->post_title;
    161167                            $babc_option .= '</p>';
  • browser-address-bar-color/trunk/browserAddressBarColor.php

    r2671587 r3219220  
    5757            $new_babc_pages_list = array("all" => $babc_all_color);
    5858            update_option('babc_pages_list',$new_babc_pages_list );
    59           }// regex check valid color pattern
    60          }// set the same color for all pages
     59          } // regex check valid color pattern
     60         } // set the same color for all pages
    6161         elseif (!isset($_POST['check-color-all'])){
    6262
Note: See TracChangeset for help on using the changeset viewer.