Plugin Directory

Changeset 2800986


Ignore:
Timestamp:
10/19/2022 05:50:20 AM (3 years ago)
Author:
kroozz
Message:

Added animated background for login

Location:
admin-tailor
Files:
3 added
4 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • admin-tailor/trunk/admin-tailor.php

    r2794856 r2800986  
    22/*
    33Plugin Name: Admin Tailor - Customizer
    4 Plugin URI: https://wordpress.org/plugins/admin-tailor/
     4Plugin URI: https://wordpress.org/plugins/admin-tailor
    55Description: Personalize your admin login and dashboard.
    6 Version: 1.1.0
     6Version: 1.1.1
    77Author: Jahidur Nadim
    88Author URI: https://github.com/nadim1992
     
    160160
    161161    if ( $login_pattern_url && jn_admin_tailor_get_pattern_url( 'default' ) !== $login_pattern_url ) {
     162        $size = ( 'svg' === pathinfo( $login_pattern_url, PATHINFO_EXTENSION ) ) ? 'cover' : 'auto';
     163
    162164        $styles .= 'body.login {
    163             background: url(' . esc_url( $login_pattern_url ) . ');
     165            background-image: url(' . esc_url( $login_pattern_url ) . ');
     166            background-position: center;
     167            background-size: ' . esc_html( $size ) . ';
    164168        }';
    165169    }
  • admin-tailor/trunk/assets/css/style.css

    r2794856 r2800986  
    2323
    2424.patterns li {
    25   background: green;
    2625  border: 5px solid #e0e0e0;
    2726  border-radius: 5px;
     
    4948  height: 100%;
    5049  width: 100%;
     50  object-fit: cover;
    5151}
    5252
  • admin-tailor/trunk/includes/admin.php

    r2794856 r2800986  
    106106
    107107                            $patterns = [
    108                                 'default',
    109                                 'bananas',
    110                                 'canadian-dollar',
    111                                 'cork-board',
    112                                 'doodles',
    113                                 'full-bloom',
    114                                 'leaves',
    115                                 'more-leaves',
    116                                 'moroccan-flower',
    117                                 'paisley',
    118                                 'pink-flowers',
    119                                 'restaurant',
     108                                'default.png',
     109                                'cork-board.png',
     110                                'doodles.png',
     111                                'full-bloom.png',
     112                                'more-leaves.png',
     113                                'moroccan-flower.png',
     114                                'pink-flowers.png',
     115                                'restaurant.png',
     116
     117                                'bar-chart.svg',
     118                                'blue-wave.svg',
     119                                'bubble-fade.svg',
     120                                'bubble.svg',
     121                                'plus-fade.svg',
     122                                'red-wave.svg',
     123                                'shadow-fall.svg',
    120124                            ];
    121125
  • admin-tailor/trunk/readme.txt

    r2794856 r2800986  
    33Contributors: kroozz
    44Donate link: https://github.com/nadim1992
    5 Tags: customizer, login logo, login color, admin logo, admin customizer, admin tailor, login page, personalize
     5Tags: customizer, login logo, login color, admin logo, admin customizer, admin tailor, login page, personalize, animated background
    66Requires at least: 4.7
    77Tested up to: 6.1.0
    8 Stable tag: 1.1.0
     8Stable tag: 1.1.1
    99Requires PHP: 5.2.4
    1010License: GPLv2 or later
     
    1515== Description ==
    1616
    17 Admin Tailor plugin lets you customize the wp-login page with a logo, colors and background to portray your brands. With easy setup of this plugin enables a website's login page to feel like a genuinely brand website.
     17Admin Tailor plugin lets you customize the wp-login page with a logo, colors and animated background to portray your brands. With easy setup of this plugin enables a website's login page to feel like a genuinely brand website.
    1818
    1919This plugin is simple and developed in a performance-priority way.
     
    2323* Set login page brand logo.
    2424* Set brand color for inputs and button in login page.
    25 * Set background color for login page.
     25* Set animated background & pattern for login page.
    2626
    2727== Frequently Asked Questions ==
     
    48481. Login Page
    49492. Settings Page
    50 3. Login page with background
     503. Login page pattern background
     514. Login page animated background
    5152
    5253== Support ==
     
    6465* Added login page background palette
    6566
     67= 1.1.1 =
     68* Release Date - 10/19/2022
     69* Added login page background animation
     70
    6671== Credits ==
    6772
    6873Logo: https://www.flaticon.com/free-icons/customize
    6974Banner: https://unsplash.com/photos/OV44gxH71DU
    70 Tiles: https://www.toptal.com/designers/subtlepatterns/
     75Tiles: https://www.toptal.com/designers/subtlepatterns
     76SVG: https://flevix.com
Note: See TracChangeset for help on using the changeset viewer.