WordPress.org

Plugin Directory

Changeset 574266


Ignore:
Timestamp:
07/18/12 18:34:38 (5 years ago)
Author:
raulillana
Message:

tagged 2.0 and uploaded 2.1 to trunk

Location:
awebsome-browser-selector
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • awebsome-browser-selector/trunk/awebsome-browser-selector.php

    r571800 r574266  
    44    Plugin URI: http://plugins.awebsome.com 
    55    Description: Empower your CSS selectors. Write specific CSS code for each Platform/Browser/Version the right way. 
    6     Version: 2.0 
     6    Version: 2.1 
    77    Author: Raul Illana <r@awebsome.com> 
    88    Author URI: http://raulillana.com 
     
    2525         
    2626        // BuddyPress support 
    27         add_action('bp_include', 'bp_activate'); 
     27        add_action('bp_include', array(&$this, 'bp_activate')); 
    2828    } 
    2929     
     
    210210            case 'Camino'            : $b = 'camino';   break; 
    211211            case 'Kindle'            : $b = 'kindle';   break; 
    212             case 'Firefox'           : $b = 'gecko';    break; 
     212            case 'Firefox'           : $b = 'firefox';  break; 
    213213            case 'Safari'            : $b = 'safari';   break; 
    214214            case 'Internet Explorer' : $b = 'ie';       break; 
     
    239239        $v = explode('.', $version); 
    240240         
    241         return 'v'. $v[0]; 
     241        return !empty($v[0]) ? 'v'. $v[0] : ''; 
    242242    } 
    243243     
  • awebsome-browser-selector/trunk/readme.txt

    r571811 r574266  
    2323= Available Platform Codes = 
    2424 
    25 **Desktop**   
     25**Desktop** 
     26 
    2627*   **win** - Microsoft Windows 
    2728*   **lnx** - x11 and Linux distros 
    2829*   **mac** - MacOS 
    2930 
    30 **Mobile**   
     31**Mobile** 
     32 
    3133*   **android** - Android 
    3234*   **iphone** - iPhone 
     
    4143*   **ie** - Internet Explorer 
    4244*   **iemobile** - IEMobile 
    43 *   **gecko** - Mozilla, Firefox 
     45*   **firefox** - Mozilla, Firefox 
    4446*   **camino** - Camino 
    4547*   **opera** - Opera 
    46 *   **webkit** - Safari, NetNewsWire, OmniWeb, Shiira, Google Chrome 
    47 *   **safari** - Safari, NetNewsWire, OmniWeb, Shiira, Google Chrome 
     48*   **safari** - Safari 
    4849*   **chrome** - Google Chrome 
    4950*   **kindle** - Kindle 
     
    7778 
    7879`/* fallback/image non-cover color & fallback image & W3C Markup */ 
    79 #element { background-color: #1a82f7; background-image: url(images/fallback-gradient.png); background-image: linear-gradient(to bottom, #FFFFFF 0%, #00A3EF 100%); } 
     80#element { background-color: #1a82f7; background-image: url('images/fallback-gradient.png'); background-image: linear-gradient(to bottom, #FFFFFF 0%, #00A3EF 100%); } 
    8081 
    81 /* Safari 4+, Chrome 1-9 & Safari 5.1+, Mobile Safari, Chrome 10+ */ 
    82 .webkit #element { background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#2F2727), to(#1a82f7)); background-image: -webkit-linear-gradient(top, #2F2727, #1a82f7); } 
     82/* Safari + Chrome + iPhone + iPad */ 
     83.safari #element, 
     84.chrome #element, 
     85.iphone #element, 
     86.ipad #element { background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#2F2727), to(#1a82f7)); background-image: -webkit-linear-gradient(top, #2F2727, #1a82f7); } 
    8387 
    84 /* Firefox 3.6+ */ 
    85 .gecko #element { background-image: -moz-linear-gradient(top, #2F2727, #1a82f7); } 
     88/* Firefox */ 
     89.firefox #element { background-image: -moz-linear-gradient(top, #2F2727, #1a82f7); } 
    8690 
    87 /* Opera 11.10+ */ 
     91/* Opera */ 
    8892.opera #element { background-image: -o-linear-gradient(top, #2F2727, #1a82f7); } 
    8993 
    90 /* IE 10+ & IE7+ */ 
     94/* IE */ 
    9195.ie #element { background-image: -ms-linear-gradient(top, #2F2727, #1a82f7); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2F2727', endColorstr='#1a82f7', gradientType='0'); }` 
     96 
     97= Something's messing with my classes or they're not showing... = 
     98 
     99Try clearing your caches. 
    92100 
    93101== Screenshots == 
     
    100108 
    101109* Codes managing UI. 
     110 
     111= 2.1 = 
     112 
     113* Fixed readme.txt. 
     114* Fixed BuddyPress support. 
     115* Removed webkit and gecko generic classes (use browser specific classes instead). 
    102116 
    103117= 2.0 = 
     
    133147== Upgrade Notice == 
    134148 
     149= 2.1 = 
     150 
     151Update required!! 
     152 
     153= 2.0 = 
     154 
     155Update required!! 
     156 
    135157= 1.2.1 = 
    136158 
Note: See TracChangeset for help on using the changeset viewer.