Plugin Directory

Changeset 1337512


Ignore:
Timestamp:
01/27/2016 08:15:14 PM (10 years ago)
Author:
Space_Studio
Message:

Updated styling.

Location:
click-tweet/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • click-tweet/trunk/assets/css/click-and-tweet.css

    r1337280 r1337512  
    140140}
    141141
    142 .click-and-tweet-card.left-center .click-and-tweet-card-link{
     142.click-and-tweet-card.left-center .click-and-tweet-card-text{
    143143    padding-left: 10%;
    144144}
    145145
    146146@media (max-width: 34em) {
    147     .click-and-tweet-card.left-center .click-and-tweet-card-link{
     147    .click-and-tweet-card.left-center .click-and-tweet-card-text{
    148148        padding-left: 14%;
    149149    }
     
    156156}
    157157
    158 .click-and-tweet-card.left-top .click-and-tweet-card-link{
     158.click-and-tweet-card.left-top .click-and-tweet-card-text{
    159159    padding-left: 10%;
    160160}
    161161
    162162@media (max-width: 34em) {
    163     .click-and-tweet-card.left-top .click-and-tweet-card-link{
     163    .click-and-tweet-card.left-top .click-and-tweet-card-text{
    164164        padding-left: 14%;
    165165    }
     
    172172}
    173173
    174 .click-and-tweet-card.left-bottom .click-and-tweet-card-link{
     174.click-and-tweet-card.left-bottom .click-and-tweet-card-text{
    175175    padding-left: 10%;
    176176}
    177177
    178178@media (max-width: 34em) {
    179     .click-and-tweet-card.left-bottom .click-and-tweet-card-link{
     179    .click-and-tweet-card.left-bottom .click-and-tweet-card-text{
    180180        padding-left: 14%;
    181181    }
     
    190190}
    191191
    192 .click-and-tweet-card.right-center .click-and-tweet-card-link{
     192.click-and-tweet-card.right-center .click-and-tweet-card-text{
    193193    padding-right: 10%;
    194194}
     
    200200}
    201201
    202 .click-and-tweet-card.right-top .click-and-tweet-card-link{
     202.click-and-tweet-card.right-top .click-and-tweet-card-text{
    203203    padding-right: 10%;
    204204}
     
    216216}
    217217
    218 .click-and-tweet-card.right-bottom .click-and-tweet-card-link{
     218.click-and-tweet-card.right-bottom .click-and-tweet-card-text{
    219219    padding-right: 10%;
    220220}
    221221
    222222@media (max-width: 34em) {
    223     .click-and-tweet-card.right-bottom .click-and-tweet-card-link{
     223    .click-and-tweet-card.right-bottom .click-and-tweet-card-text{
    224224        padding-right: 14%;
    225225    }
     
    241241.click-and-tweet-card.center-bottom .click-and-tweet-card-link{
    242242    text-align: center;
     243}
     244
     245.click-and-tweet-card .click-and-tweet-card-text{
     246    display: inline-block;
    243247}
    244248
     
    251255    opacity: 0.75;
    252256    font-weight: 300;
     257    padding: 18px 6px 6px;
     258}
     259
     260.click-and-tweet-card.center-top .call-to-action-text,
     261.click-and-tweet-card.center-bottom .call-to-action-text{
    253262    padding: 6px;
    254263}
  • click-tweet/trunk/click-and-tweet.php

    r1337280 r1337512  
    44 * Plugin URI: http://spacestud.io
    55 * Description: Quote text in your WordPress posts for easy sharing on twitter.
    6  * Version: 0.6.1
     6 * Version: 0.6.2
    77 * Author: Space Studio
    88 * Author URI: http://spacestud.io
     
    5757     * @var string
    5858     */
    59     protected $version = '0.6';
     59    protected $version = '0.6.2';
    6060
    6161    /**
     
    842842        $twitterLogo = "<span class=\"click-and-tweet-twitter-logo\"></span>";
    843843
    844         $linkContent = "{$this->filterContent($content)}";
     844        $linkContent = "<span class=\"click-and-tweet-card-text\">{$this->filterContent($content)}</span>";
    845845
    846846        switch($atts['position']) {
Note: See TracChangeset for help on using the changeset viewer.