Plugin Directory

Changeset 959760


Ignore:
Timestamp:
08/04/2014 04:01:31 AM (12 years ago)
Author:
ScottSmith
Message:

Update style to work with more themes

Location:
decode-reply-tool/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • decode-reply-tool/trunk

    • Property svn:ignore set to
      .git
      .gitignore
  • decode-reply-tool/trunk/decode-reply-tool.css

    r959449 r959760  
    1414}
    1515
     16/* When Reply Tool is on the top of a post */
    1617.decode-reply-tool-plugin:first-child {
    1718    margin: -2.5% auto 3.5%;
    1819}
    1920
     21/* When Reply Tool is on the bottom of a post */
    2022.decode-reply-tool-plugin:last-child {
    2123    margin: 3.5% auto;
     24}
     25
     26.decode-reply-tool-plugin .replylink, .decode-reply-tool-plugin .replytrigger {
     27    -webkit-transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
     28    -moz-transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
     29    transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
     30    font-size: 1em;
     31    color: #444444;
     32    display: inline-block;
    2233}
    2334
     
    4152}
    4253
    43 body .decode-reply-tool-plugin a.replylink, .decode-reply-tool-plugin .replytrigger {
    44     -webkit-transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
    45     -moz-transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
    46     transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
    47     font-size: 1em;
    48     color: #444444;
    49     display: inline-block;
    50 }
    5154    .decode-reply-tool-plugin .replylink:hover {
    5255        color: #009BCD;
     
    5962    }
    6063
    61 .format-quote .decode-reply-tool-plugin {
    62     font-size: 0.5em;
    63 }
    64 
    6564@media only print {
    6665.decode-reply-tool-plugin {
  • decode-reply-tool/trunk/reply-tool-insert.php

    r959751 r959760  
    66
    77    <a href="<?php echo esc_url( 'https://account.app.net/intent/post?text=@' . get_option( 'adn-username' ) . '%20(about%3A%20' . get_permalink() . ')%20' ); ?>" class="adnreply replylink right" target="_blank"><?php _e( 'With ADN', 'decode-reply-tool' ); ?></a>
    8    
    9     <a href="<?php echo esc_url( 'https://account.app.net/intent/post?text=@' . get_option( 'adn-username' ) . '%20(about%3A%20' . get_permalink() . ')%20' ); ?>" class="adnreply replylink right" target="_blank"><?php _e( 'With ADN', 'decode-reply-tool' ); ?></a>
    108
    119</div>
  • decode-reply-tool/trunk/reply-tool-loader.php

    r959449 r959760  
    148148            <!-- Decode Reply Tool CSS -->
    149149            <style type="text/css">
    150                 /* =Reply Tool Style
    151                 ----------------------------------------------- */
    152                
    153                 .decode-reply-tool-plugin {
    154                     -webkit-transition: width 0.25s ease-out;
    155                     -moz-transition: width 0.25s ease-out;
    156                     transition: width 0.25s ease-out;
    157                     border-bottom: none;
    158                     position: relative;
    159                     right: 5px;
    160                     text-align: center;
    161                     width: 100%;
    162                     z-index: 1;
     150            /* =Reply Tool Style
     151            ----------------------------------------------- */
     152           
     153            .decode-reply-tool-plugin {
     154                -webkit-transition: width 0.25s ease-out;
     155                -moz-transition: width 0.25s ease-out;
     156                transition: width 0.25s ease-out;
     157                border-bottom: none;
     158                position: relative;
     159                right: 5px;
     160                text-align: center;
     161                width: 100%;
     162                z-index: 1;
     163            }
     164           
     165            /* When Reply Tool is on the top of a post */
     166            .decode-reply-tool-plugin:first-child {
     167                margin: -2.5% auto 3.5%;
     168            }
     169           
     170            /* When Reply Tool is on the bottom of a post */
     171            .decode-reply-tool-plugin:last-child {
     172                margin: 3.5% auto;
     173            }
     174           
     175            .decode-reply-tool-plugin .replylink, .decode-reply-tool-plugin .replytrigger {
     176                -webkit-transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
     177                -moz-transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
     178                transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
     179                font-size: 1em;
     180                color: #444444;
     181                display: inline-block;
     182            }
     183           
     184            .decode-reply-tool-plugin .replytrigger {
     185                width: auto;
     186                float: none;
     187                padding: 0 3.5%;
     188            }
     189           
     190            .decode-reply-tool-plugin:hover .replytrigger, .decode-reply-tool-plugin.triggered .replytrigger {
     191                opacity: 0;
     192                padding: 0;
     193            }
     194           
     195            .decode-reply-tool-plugin .replylink {
     196                opacity: 0;
     197            }
     198           
     199            .decode-reply-tool-plugin:hover .replylink, .decode-reply-tool-plugin.triggered .replylink {
     200                opacity: 1;
     201            }
     202           
     203                .decode-reply-tool-plugin .replylink:hover {
     204                    color: #009BCD;
     205                    border-bottom: none !important;
    163206                }
    164                
    165                 .decode-reply-tool-plugin:first-child {
    166                     margin: -2.5% auto 3.5%;
     207           
     208                .decode-reply-tool-plugin .replylink:active {
     209                    color: #007EA6;
     210                    border-bottom: none !important;
    167211                }
    168                
    169                 .decode-reply-tool-plugin:last-child {
    170                     margin: 3.5% auto;
    171                 }
    172                
    173                 .decode-reply-tool-plugin .replytrigger {
    174                     width: auto;
    175                     float: none;
    176                     padding: 0 3.5%;
    177                 }
    178                
    179                 .decode-reply-tool-plugin:hover .replytrigger, .decode-reply-tool-plugin.triggered .replytrigger {
    180                     opacity: 0;
    181                     padding: 0;
    182                 }
    183                
    184                 .decode-reply-tool-plugin .replylink {
    185                     opacity: 0;
    186                 }
    187                
    188                 .decode-reply-tool-plugin:hover .replylink, .decode-reply-tool-plugin.triggered .replylink {
    189                     opacity: 1;
    190                 }
    191                
    192                 body .decode-reply-tool-plugin a.replylink, .decode-reply-tool-plugin .replytrigger {
    193                     -webkit-transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
    194                     -moz-transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
    195                     transition: color 0.25s ease-out, opacity 0.25s ease-in-out, padding 0.35s ease-out;
    196                     font-size: 1em;
    197                     color: #444444;
    198                     display: inline-block;
    199                 }
    200                     .decode-reply-tool-plugin .replylink:hover {
    201                         color: #009BCD;
    202                         border-bottom: none !important;
    203                     }
    204                
    205                     .decode-reply-tool-plugin .replylink:active {
    206                         color: #007EA6;
    207                         border-bottom: none !important;
    208                     }
    209                
    210                 .format-quote .decode-reply-tool-plugin {
    211                     font-size: 0.5em;
    212                 }
    213                
    214                 @media only print {
    215                 .decode-reply-tool-plugin {
    216                     display: none;
    217                 }
    218                 }
     212           
     213            @media only print {
     214            .decode-reply-tool-plugin {
     215                display: none;
     216            }
     217            }
    219218            </style>
    220219        <?php
Note: See TracChangeset for help on using the changeset viewer.