Created
October 26, 2012 15:21
-
-
Save FutureMedia/3959391 to your computer and use it in GitHub Desktop.
A different styling for the wp-post-formats plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Wp-post-formats plugin | |
* customized admin.css | |
* | |
*/ | |
#formatdiv, /* hide default radio button UI */ | |
#titlewrap { | |
display: none; | |
} | |
#post-body-content #postimagediv .inside p { | |
text-align: center; | |
} | |
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; } | |
.clearfix:after { clear: both; } | |
.clearfix { zoom: 1; } | |
.cf-elm-block { | |
margin-bottom: 18px; | |
} | |
.cf-elm-block label { | |
color: #666; | |
display: block; | |
font-size: 12px; | |
margin-bottom: 2px; | |
padding-left: 8px; | |
text-transform: uppercase; | |
text-shadow: 0 1px 1px #fff; | |
} | |
.cf-elm-block input[type="text"], | |
.cf-elm-block textarea, | |
.cf-elm-block select, | |
.cf-elm-block .cf-elm-container { | |
-moz-border-radius: 3px; /* FF1+ */ | |
-webkit-border-radius: 3px; /* Saf3+, Chrome */ | |
-khtml-border-radius: 3px; /* Konqueror */ | |
border-radius: 3px; /* Standard. IE9 */ | |
border: 1px #dfdfdf solid; | |
} | |
.cf-elm-block input[type="text"], | |
.cf-elm-block textarea { | |
font-size: 18px; | |
width: 100%; | |
} | |
.cf-elm-block textarea { | |
height: 161px; | |
padding: 8px 11px; | |
} | |
.cf-elm-block input[type="text"] { | |
padding: 5px 8px; | |
} | |
.cf-elm-block .description { | |
color: #999; | |
display: block; | |
font-size: 11px; | |
line-height: 1.6; | |
padding-left: 8px; | |
} | |
.cf-elm-block .cf-elm-source { | |
height: 96px; | |
} | |
.cf-elm-block .cf-elm-container { | |
background: #f0f0f0; | |
padding: 10px; | |
} | |
.cf-elm-block .cf-elm-container p.none { | |
text-align: center; | |
} | |
.cf-elm-block .cf-elm-image-gallery { | |
margin: 0 0 -5px 0; | |
padding: 0; | |
} | |
.cf-elm-block .cf-elm-container .gallery { | |
margin: 0; | |
padding-bottom: 8px; | |
} | |
.cf-elm-block .cf-elm-container .gallery li { | |
display: inline-block; | |
margin: 0 8px 8px 0; | |
padding: 0; | |
} | |
.cf-elm-block .cf-elm-container .gallery li img { | |
vertical-align: middle; | |
} | |
/* Video Field */ | |
#cfpf-format-video-embed { | |
height: 65px; | |
} | |
/** tab navigation | |
-------------------------------------------------- */ | |
.cf-nav { | |
border-bottom: 1px solid #ddd; | |
margin: 10px 0 20px 0; | |
width: 100%; | |
background-image: -ms-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%); | |
background-image: -moz-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%); | |
background-image: -o-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%); | |
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #F5F5F5)); | |
background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%); | |
background-image: linear-gradient(to bottom, #FFFFFF 0%, #F5F5F5 100%); | |
} | |
.cf-nav ul { | |
list-style-type: none; | |
margin: 0 10px; | |
padding: 8px 0 0; | |
} | |
.cf-nav ul li, | |
.cf-nav ul li a { | |
float: left; | |
margin: 0; | |
} | |
.cf-nav ul li a { | |
display: block; | |
color: #999; | |
font-size: 14px; | |
font-family: Arial, sans-serif; | |
height: 29px; | |
line-height: 29px; | |
margin-right: 5px; | |
padding: 0 10px; | |
text-decoration: none; | |
} | |
.cf-nav ul li a:hover { | |
color: #666; | |
} | |
.cf-nav ul li a.current { | |
background: #fff; | |
font-weight:bold; | |
border: 1px solid #ddd; | |
border-bottom: 1px solid #fff; | |
color: #464646; | |
margin-bottom: -1px; | |
-moz-border-radius-topleft: 3px; | |
-webkit-border-top-left-radius: 3px; | |
border-top-left-radius: 3px; | |
-moz-border-radius-topright: 3px; | |
-webkit-border-top-right-radius: 3px; | |
border-top-right-radius: 3px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment