| 1 |
/** |
| 2 |
* Like Button toolbar button, loading text & container styles |
| 3 |
*/ |
| 4 |
|
| 5 |
@font-face { |
| 6 |
font-family: Noticons; |
| 7 |
src: url(https://wordpress.com/i/noticons/Noticons.woff); |
| 8 |
} |
| 9 |
|
| 10 |
/* Master container */ |
| 11 |
#jp-post-flair { |
| 12 |
padding-top: .5em; |
| 13 |
} |
| 14 |
|
| 15 |
/* Overall Sharedaddy block title */ |
| 16 |
div.sharedaddy, |
| 17 |
#content div.sharedaddy, |
| 18 |
#main div.sharedaddy { |
| 19 |
clear: both; |
| 20 |
} |
| 21 |
|
| 22 |
div.sharedaddy h3.sd-title { |
| 23 |
margin: 0 0 1em 0; |
| 24 |
display: inline-block; |
| 25 |
line-height: 1.2; |
| 26 |
font-size: 9pt; |
| 27 |
font-weight: bold; |
| 28 |
} |
| 29 |
|
| 30 |
div.sharedaddy h3.sd-title:before { |
| 31 |
content: ""; |
| 32 |
display: block; |
| 33 |
width: 100%; |
| 34 |
min-width: 30px; |
| 35 |
border-top: 1px solid #ddd; |
| 36 |
margin-bottom: 1em; |
| 37 |
} |
| 38 |
|
| 39 |
|
| 40 |
/* Toolbar */ |
| 41 |
#wpadminbar li#wp-admin-bar-admin-bar-likes-widget { |
| 42 |
width: 61px; |
| 43 |
overflow: hidden; |
| 44 |
} |
| 45 |
|
| 46 |
#wpadminbar iframe.admin-bar-likes-widget { |
| 47 |
width: 61px; |
| 48 |
height: 28px; |
| 49 |
min-height: 28px; |
| 50 |
border-width: 0px; |
| 51 |
position: absolute; |
| 52 |
top: 0; |
| 53 |
} |
| 54 |
|
| 55 |
div.jetpack-likes-widget-wrapper { |
| 56 |
width: 100%; |
| 57 |
min-height: 50px; /* Previous height, 60px */ |
| 58 |
position: relative; /* Need to abs position placeholder and iframe so there isn't a jarring jump */ |
| 59 |
} |
| 60 |
|
| 61 |
div.jetpack-likes-widget-wrapper .sd-link-color { |
| 62 |
font-size: 12px; |
| 63 |
} |
| 64 |
|
| 65 |
div.jetpack-likes-widget-wrapper.slim-likes-widget { |
| 66 |
width: 1px; /* initial default */ |
| 67 |
min-height: 0; |
| 68 |
} |
| 69 |
|
| 70 |
div.jetpack-comment-likes-widget-wrapper { |
| 71 |
width: 100%; |
| 72 |
position: relative; |
| 73 |
min-height: 31px; |
| 74 |
} |
| 75 |
|
| 76 |
div.jetpack-comment-likes-widget-wrapper iframe { |
| 77 |
margin-bottom: 0; |
| 78 |
} |
| 79 |
|
| 80 |
#likes-other-gravatars { |
| 81 |
display: none; |
| 82 |
position: absolute; |
| 83 |
padding: 10px 10px 12px 10px; |
| 84 |
background-color: #2e4453; |
| 85 |
border-width: 0; |
| 86 |
box-shadow: 0 0 10px #2e4453; |
| 87 |
box-shadow: 0 0 10px rgba(46,68,83,.6); |
| 88 |
min-width: 130px; |
| 89 |
z-index: 1000; |
| 90 |
} |
| 91 |
|
| 92 |
#likes-other-gravatars * { |
| 93 |
line-height: normal; |
| 94 |
} |
| 95 |
|
| 96 |
#likes-other-gravatars .likes-text { |
| 97 |
color: white; |
| 98 |
font-size: 12px; |
| 99 |
padding-bottom: 8px; |
| 100 |
} |
| 101 |
|
| 102 |
#likes-other-gravatars ul, |
| 103 |
#likes-other-gravatars li { |
| 104 |
margin: 0; |
| 105 |
padding: 0; |
| 106 |
text-indent: 0; |
| 107 |
list-style-type: none; |
| 108 |
} |
| 109 |
|
| 110 |
#likes-other-gravatars li::before { |
| 111 |
content: ""; |
| 112 |
} |
| 113 |
|
| 114 |
#likes-other-gravatars ul.wpl-avatars { |
| 115 |
overflow: auto; |
| 116 |
display: block; |
| 117 |
max-height: 190px; |
| 118 |
} |
| 119 |
|
| 120 |
#likes-other-gravatars ul.wpl-avatars li { |
| 121 |
width: 32px; |
| 122 |
height: 32px; |
| 123 |
float: left; |
| 124 |
margin: 0 5px 5px 0; |
| 125 |
} |
| 126 |
|
| 127 |
#likes-other-gravatars ul.wpl-avatars li a { |
| 128 |
margin: 0 2px 0 0; |
| 129 |
border-bottom: none !important; |
| 130 |
display: block; |
| 131 |
} |
| 132 |
|
| 133 |
#likes-other-gravatars ul.wpl-avatars li a img { |
| 134 |
background: none; |
| 135 |
border: none; |
| 136 |
margin: 0 !important; |
| 137 |
padding: 0 !important; |
| 138 |
position: static; |
| 139 |
} |
| 140 |
|
| 141 |
div.sd-box { |
| 142 |
border-top: 1px solid #ddd; |
| 143 |
border-top: 1px solid rgba(0,0,0,.13); |
| 144 |
} |
| 145 |
|
| 146 |
.entry-content .post-likes-widget, .post-likes-widget, |
| 147 |
.comment-likes-widget { |
| 148 |
margin: 0; |
| 149 |
border-width: 0; |
| 150 |
display: block; |
| 151 |
} |
| 152 |
|
| 153 |
/* Loading text */ |
| 154 |
.post-likes-widget-placeholder, |
| 155 |
.comment-likes-widget-placeholder { |
| 156 |
margin: 0; |
| 157 |
border-width: 0; |
| 158 |
position: relative; |
| 159 |
} |
| 160 |
|
| 161 |
.comment-likes-widget-placeholder { |
| 162 |
height: 18px; |
| 163 |
position: absolute; |
| 164 |
display: flex; |
| 165 |
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; |
| 166 |
margin-top: 4px; |
| 167 |
} |
| 168 |
|
| 169 |
.comment-likes-widget-placeholder::before { |
| 170 |
-webkit-font-smoothing: antialiased; |
| 171 |
font-family: "Noticons"; |
| 172 |
font-size: 20px; |
| 173 |
line-height: .9; |
| 174 |
color: #5CB5D4; |
| 175 |
content: '\f408'; |
| 176 |
width: 16px; |
| 177 |
display: inline-block; |
| 178 |
vertical-align: middle; |
| 179 |
} |
| 180 |
|
| 181 |
.post-likes-widget-placeholder .button { |
| 182 |
display: none; /* Let's not show a dummy like button, let's just make a great button experience once it's loaded */ |
| 183 |
} |
| 184 |
|
| 185 |
.post-likes-widget-placeholder .button span { |
| 186 |
} |
| 187 |
|
| 188 |
.post-likes-widget-placeholder .loading, |
| 189 |
.comment-likes-widget-placeholder .loading { |
| 190 |
color: #999; |
| 191 |
font-size: 12px; |
| 192 |
} |
| 193 |
|
| 194 |
.comment-likes-widget-placeholder .loading { |
| 195 |
padding-left: 5px; |
| 196 |
margin-top: 2px; |
| 197 |
align-self: center; |
| 198 |
color: #4E4E4E; |
| 199 |
} |
| 200 |
|
| 201 |
.slim-likes-widget .post-likes-widget { |
| 202 |
width: auto; |
| 203 |
float: none; |
| 204 |
} |
| 205 |
|
| 206 |
/* Like Special cases (display on it's own) */ |
| 207 |
div.sharedaddy.sd-like-enabled .sd-like h3 { |
| 208 |
display: none; |
| 209 |
} |
| 210 |
|
| 211 |
div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget { |
| 212 |
width: 100%; |
| 213 |
float: none; |
| 214 |
position: absolute; /* Need to abs position placeholder and iframe so there isn't a jarring jump */ |
| 215 |
top: 0; |
| 216 |
} |
| 217 |
|
| 218 |
.comment-likes-widget { |
| 219 |
width: 100%; |
| 220 |
} |
| 221 |
|
| 222 |
|
| 223 |
/* Make ratings block. @todo: make !important unnecessary by removing inline style */ |
| 224 |
.pd-rating, |
| 225 |
.cs-rating { |
| 226 |
display: block !important; |
| 227 |
} |
| 228 |
|
| 229 |
|
| 230 |
/* Hide G+ title */ |
| 231 |
.sd-gplus .sd-title { |
| 232 |
display: none; |
| 233 |
} |
| 234 |
|