Skip to content

Commit

Permalink
Meta box styling tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Dec 30, 2023
1 parent 5c3bcd8 commit d4c9387
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
18 changes: 6 additions & 12 deletions src/css/post-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

#wp2t .counter {
position: absolute;
right: 4%;
bottom: 2px;
right: 0;
bottom: -2px;
font-size: 1.1em;
font-weight: 700;
font-weight: 600;
color: #666;
}

Expand Down Expand Up @@ -188,7 +188,7 @@ button.time div {
.wpt-options .tabs a.active {
background: #fefefe;
color: #444;
font-weight: 700;
font-weight: 600;
}

.wptab .inline-list {
Expand Down Expand Up @@ -229,12 +229,6 @@ button.time div {
border-top-left-radius: 0;
}

.wp-to-twitter .wpt-template {
margin: 0;
padding: .5em;
background: rgba( 0, 0, 0, .05 );
}

.toggle-btn-group {
margin: .5em auto .5em !important;
width: auto;
Expand Down Expand Up @@ -271,7 +265,7 @@ button.time div {
outline: 1px solid #00a0d2;
text-decoration: none;
cursor: text;
font-weight: 700;
font-weight: 600;
color: #fff;
}

Expand Down Expand Up @@ -304,7 +298,7 @@ button.time div {
padding: .5rem 1rem;
font-size: 1.2rem;
background: #555;
font-weight: 700;
font-weight: 600;
text-decoration: none;
color: #fff;
box-shadow: 3px 3px 0 #fcb000;
Expand Down
2 changes: 1 addition & 1 deletion src/wp-to-twitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ function wpt_add_twitter_inner_box( $post ) {
<?php echo apply_filters( 'wpt_custom_box', '', $tweet, $post_id ); ?>
</p>
<p class='wpt-template'>
<?php _e( 'Template:', 'wp-to-twitter' ); ?> <code><?php echo stripcslashes( $expanded ); ?></code>
<?php _e( 'Template:', 'wp-to-twitter' ); ?><br /><code><?php echo stripcslashes( $expanded ); ?></code>
<?php echo apply_filters( 'wpt_template_block', '', $expanded, $post_id ); ?>
</p>
<?php
Expand Down

0 comments on commit d4c9387

Please sign in to comment.