admin-sharing.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. /**
  2. * Sharedaddy Admin Styles
  3. */
  4. #services-config {
  5. min-width: 700px;
  6. width: 100%;
  7. float: left;
  8. }
  9. #services-config h3 {
  10. font-weight: normal;
  11. font-size: 15px;
  12. margin: 0;
  13. padding: 8px 10px;
  14. overflow: hidden;
  15. white-space: nowrap;
  16. color: #464646;
  17. }
  18. #available-services, #enabled-services, #live-preview {
  19. padding: 0;
  20. width: 100%;
  21. padding-top: 20px;
  22. border-spacing: 0;
  23. }
  24. #enabled-services .ui-sortable {
  25. min-height: 50px;
  26. }
  27. #enabled-services {
  28. padding-bottom: 20px;
  29. }
  30. #available-services, #enabled-services {
  31. border-bottom: 2px solid #cccccc;
  32. }
  33. #live-preview {
  34. border-bottom: 1px solid #dfdfdf;
  35. padding-bottom: 60px;
  36. }
  37. #available-services h3, #enabled-services h3, #live-preview h3 {
  38. padding: 0px;
  39. margin-top: 0px;
  40. margin-bottom: 1em;
  41. }
  42. body.settings_page_sharing .description {
  43. width: 180px;
  44. vertical-align: top;
  45. }
  46. body.settings_page_sharing .description p {
  47. font-size: 13px;
  48. font-style: italic;
  49. }
  50. body.settings_page_sharing .services {
  51. padding: 0px 20px;
  52. vertical-align: top;
  53. }
  54. body.settings_page_sharing .services ul li {
  55. float: left;
  56. cursor: move;
  57. }
  58. body.settings_page_sharing .services ul li.divider {
  59. border: none;
  60. padding: 0;
  61. background: none;
  62. cursor: default;
  63. }
  64. body.settings_page_sharing ul.services-hidden {
  65. margin-bottom: 0;
  66. }
  67. /* Generic style */
  68. #available-services .service, #enabled-services .service {
  69. margin-right: 10px;
  70. padding: 5px 10px 5px 5px;
  71. border-radius: 3px;
  72. border: 1px solid #bbb;
  73. background: #f8f8f8;
  74. background-repeat: no-repeat;
  75. background-position: center center;
  76. }
  77. #available-services .service:hover, #enabled-services .service:hover {
  78. background: #fff;
  79. border: 1px solid #bbb;
  80. box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  81. }
  82. /* Generic style icons */
  83. li.service span:before {
  84. color: #555;
  85. display: inline-block;
  86. -webkit-font-smoothing: antialiased;
  87. font: normal 18px/1 'social-logos';
  88. vertical-align: top;
  89. position: relative;
  90. top: 1px;
  91. margin-right: 3px;
  92. width: 16px;
  93. height: 16px;
  94. text-align: center;
  95. }
  96. li.service.share-print span:before {
  97. content: '\f469';
  98. }
  99. li.service.share-digg span:before {
  100. content: '\f221';
  101. }
  102. li.service.share-email span:before {
  103. content: '\f410';
  104. }
  105. li.service.share-linkedin span:before {
  106. content: '\f207';
  107. }
  108. li.service.share-twitter span:before {
  109. content: '\f202';
  110. }
  111. li.service.share-reddit span:before {
  112. content: '\f222';
  113. }
  114. li.service.share-tumblr span:before {
  115. content: '\f214';
  116. }
  117. li.service.share-pocket span:before {
  118. content: '\f224';
  119. }
  120. li.service.share-pinterest span:before {
  121. content: '\f209';
  122. }
  123. li.service.share-google-plus-1 span:before {
  124. content: '\f218';
  125. }
  126. li.service.share-facebook span:before {
  127. content: '\f203';
  128. }
  129. li.service.share-press-this span:before { /* Fixme: remove this button in favor of reblog */
  130. content: '\f205';
  131. }
  132. li.service.share-telegram span:before {
  133. content: '\f606';
  134. }
  135. li.service.share-jetpack-whatsapp span:before {
  136. content: '\f608';
  137. }
  138. li.service.share-skype span:before {
  139. content: '\f220';
  140. }
  141. /**
  142. * Preview section
  143. */
  144. body.settings_page_sharing ul.preview {
  145. float: left;
  146. margin: 0px;
  147. }
  148. body.settings_page_sharing ul.preview li.preview-item, body.settings_page_sharing ul.preview li.preview-item a {
  149. cursor: default;
  150. text-decoration: none;
  151. }
  152. div.sd-social-icon ul.preview li.preview-item a span,
  153. div.sd-social-icon .inner li.preview-item a span {
  154. display: none;
  155. }
  156. div.sd-social-icon ul.preview li.preview-item.preview-custom a span {
  157. display: inline-block;
  158. }
  159. .services .preview li.share-custom a {
  160. text-decoration: none;
  161. }
  162. .services ul li.end-fix {
  163. clear:both;
  164. float:none;
  165. visibility:hidden;
  166. padding:0;
  167. margin:0;
  168. height:20px;
  169. width:0;
  170. }
  171. #enabled-services h2{
  172. font-size:20px;
  173. padding-top:0px;
  174. font-weight: normal !important;
  175. color: #999;
  176. }
  177. body.settings_page_sharing #live-preview h2 {
  178. font-size:20px;
  179. font-weight: normal !important;
  180. color: #e3e3e3;
  181. }
  182. body.settings_page_sharing .clearing {
  183. clear: both;
  184. }
  185. body.settings_page_sharing .options .options-left {
  186. float: left;
  187. }
  188. body.settings_page_sharing .input label {
  189. font-size: 11px;
  190. line-height: 16px;
  191. }
  192. body.settings_page_sharing .advanced-form {
  193. padding: 10px 14px 8px 10px;
  194. margin-left: -24px;
  195. display: none;
  196. border-top: 1px #e3e3e3 solid;
  197. margin-top:4px;
  198. }
  199. body.settings_page_sharing .utility {
  200. float: right;
  201. padding-top:10px;
  202. padding-right: 10px;
  203. font-size: 10px;
  204. }
  205. body.settings_page_sharing .advanced input[type=submit] {
  206. float: left;
  207. margin-top:10px;
  208. margin-right: 10px;
  209. }
  210. .services li.dropzone {
  211. border: 1px dashed #999;
  212. border-radius: 3px;
  213. background: #e3e3e3;
  214. margin-right: 10px;
  215. padding: 5px;
  216. height: 18px;
  217. }
  218. .advanced-form .form-table th {
  219. width: auto !important;
  220. }
  221. .advanced-form .button-secondary {
  222. margin-top: 0 !important;
  223. }
  224. #hidden-drop-target {
  225. background: #e1e1e1;
  226. border: 1px solid #cdcdcd;
  227. width: 29%;
  228. padding: 10px;
  229. vertical-align: top;
  230. }
  231. #hidden-drop-target p {
  232. font-size: 13px;
  233. font-style: italic;
  234. margin: 0 0 10px 0;
  235. }
  236. /* Official button previews */
  237. .preview li.preview-item {
  238. background-position: 0px 5px;
  239. cursor: default;
  240. }
  241. .preview .option-smart-on {
  242. margin: 3px 5px 0 0;
  243. }
  244. .preview-digg .option-smart-on {
  245. background: url(images/smart-digg.png) no-repeat top left;
  246. background-size: 76px 17px;
  247. width:76px;
  248. height:17px;
  249. margin-top: 2px;
  250. }
  251. .preview-reddit .option-smart-on {
  252. background: url(images/smart-reddit.png) no-repeat top left;
  253. background-size: 104px 21px;
  254. width:104px;
  255. height:21px;
  256. }
  257. .preview-facebook .option-smart-on {
  258. background: url(images/smart-like.png) no-repeat top left;
  259. background-size: 85px 20px;
  260. width:85px;
  261. height:20px;
  262. }
  263. .preview-twitter .option-smart-on {
  264. background: url(images/smart-twitter.png?1) no-repeat top left;
  265. background-size: 60px 20px;
  266. width:60px;
  267. height:20px;
  268. }
  269. .preview-linkedin .option-smart-on {
  270. background: url(images/linkedin-smart.png) no-repeat top center;
  271. background-size: 99px 18px;
  272. width:99px;
  273. height:20px;
  274. }
  275. .preview-google-plus-1 .option-smart-on {
  276. background: url(images/smart-googleplus1.png) no-repeat top left;
  277. background-size: 96px 20px;
  278. width: 96px;
  279. height: 20px;
  280. }
  281. .preview-tumblr .option-smart-on {
  282. background: url(images/smart-tumblr.png) no-repeat top left;
  283. background-size: 62px 20px;
  284. width: 62px;
  285. height: 20px;
  286. }
  287. .preview-pinterest .option-smart-on {
  288. background: url(images/smart-pinterest.png) no-repeat top left;
  289. background-size: 39px 20px;
  290. width: 39px;
  291. height: 20px;
  292. }
  293. .preview-pocket .option-smart-on {
  294. background: url(images/smart-pocket.png) no-repeat top left;
  295. background-size: 60px 20px;
  296. width: 60px;
  297. height: 20px;
  298. }
  299. .preview-skype .option-smart-on {
  300. background: url(images/smart-skype.png) no-repeat top left;
  301. background-size: 60px 20px;
  302. width: 60px;
  303. height: 20px;
  304. }
  305. @media
  306. (-webkit-min-device-pixel-ratio: 1.25),
  307. (min-resolution: 120dpi) {
  308. .preview-digg .option-smart-on {
  309. background-image: url(images/smart-digg@2x.png);
  310. }
  311. .preview-reddit .option-smart-on {
  312. background-image: url(images/smart-reddit@2x.png);
  313. }
  314. .preview-facebook .option-smart-on {
  315. background-image: url(images/smart-like@2x.png);
  316. }
  317. .preview-twitter .option-smart-on {
  318. background-image: url(images/smart-twitter@2x.png?1);
  319. }
  320. .preview-linkedin .option-smart-on {
  321. background-image: url(images/linkedin-smart@2x.png);
  322. }
  323. .preview-google-plus-1 .option-smart-on {
  324. background-image: url(images/smart-googleplus1@2x.png);
  325. }
  326. .preview-tumblr .option-smart-on {
  327. background-image: url(images/smart-tumblr@2x.png);
  328. }
  329. .preview-pinterest .option-smart-on {
  330. background-image: url(images/smart-pinterest@2x.png);
  331. }
  332. .preview-pocket .option-smart-on {
  333. background-image: url(images/smart-pocket@2x.png);
  334. }
  335. .preview-skype .option-smart-on {
  336. background-image: url(images/smart-skype@2x.png);
  337. }
  338. }
  339. /**
  340. * Overflow sharing dialog
  341. */
  342. .services .sharing-hidden li {
  343. background-color: transparent;
  344. }
  345. .sharing-hidden li.share-end {
  346. clear: both;
  347. height: 0;
  348. padding: 0px !important;
  349. margin: 0px !important;
  350. width: 0;
  351. visibility: hidden;
  352. float: none;
  353. }
  354. .preview .sharing-label {
  355. font-weight: bold;
  356. border: 0;
  357. padding: 4px 6px 0 0;
  358. }
  359. #services-config a.remove {
  360. background: #ddd;
  361. color: #fff;
  362. padding: 0px 4px 2px;
  363. border-radius: 15px;
  364. -moz-border-radius: 15px;
  365. -webkit-border-radius: 15px;
  366. text-decoration: none;
  367. font-weight: bold;
  368. font-size: 10px;
  369. }
  370. #services-config a.remove:hover {
  371. background: #f00;
  372. }
  373. .sd-social-icon .inner a.sd-button span,
  374. .sd-social-icon .inner a.share-icon span {
  375. display: inline-block;
  376. overflow: hidden;
  377. width: 0;
  378. text-indent: 100%;
  379. }