Brak opisu

admin-sharing.css 8.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  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 #dcdcde;
  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. #available-services .service.share-deprecated,
  83. #enabled-services .service.share-deprecated {
  84. opacity: 0.5;
  85. padding: 5px;
  86. text-decoration: line-through;
  87. }
  88. #available-services .service.share-deprecated {
  89. display: none;
  90. }
  91. /* Generic style icons */
  92. li.service span:before {
  93. color: #555;
  94. display: inline-block;
  95. -webkit-font-smoothing: antialiased;
  96. font: normal 18px/1 'social-logos';
  97. vertical-align: top;
  98. position: relative;
  99. top: 1px;
  100. margin-right: 3px;
  101. width: 16px;
  102. height: 16px;
  103. text-align: center;
  104. }
  105. li.service.share-print span:before {
  106. content: '\f469';
  107. }
  108. li.service.share-digg span:before {
  109. content: '\f221';
  110. }
  111. li.service.share-email span:before {
  112. content: '\f410';
  113. }
  114. li.service.share-linkedin span:before {
  115. content: '\f207';
  116. }
  117. li.service.share-twitter span:before {
  118. content: '\f202';
  119. }
  120. li.service.share-reddit span:before {
  121. content: '\f222';
  122. }
  123. li.service.share-tumblr span:before {
  124. content: '\f214';
  125. }
  126. li.service.share-pocket span:before {
  127. content: '\f224';
  128. }
  129. li.service.share-pinterest span:before {
  130. content: '\f209';
  131. }
  132. li.service.share-facebook span:before {
  133. content: '\f203';
  134. }
  135. li.service.share-press-this span:before { /* Fixme: remove this button in favor of reblog */
  136. content: '\f205';
  137. }
  138. li.service.share-telegram span:before {
  139. content: '\f606';
  140. }
  141. li.service.share-jetpack-whatsapp span:before {
  142. content: '\f608';
  143. }
  144. li.service.share-skype span:before {
  145. content: '\f220';
  146. }
  147. /**
  148. * Preview section
  149. */
  150. body.settings_page_sharing ul.preview {
  151. float: left;
  152. margin: 0px;
  153. }
  154. body.settings_page_sharing ul.preview li.preview-item, body.settings_page_sharing ul.preview li.preview-item a {
  155. cursor: default;
  156. text-decoration: none;
  157. }
  158. div.sd-social-icon ul.preview li.preview-item a span,
  159. div.sd-social-icon .inner li.preview-item a span {
  160. display: none;
  161. }
  162. div.sd-social-icon ul.preview li.preview-item.preview-custom a span {
  163. display: inline-block;
  164. }
  165. .services .preview li.share-custom a {
  166. text-decoration: none;
  167. }
  168. .services ul li.end-fix {
  169. clear:both;
  170. float:none;
  171. visibility:hidden;
  172. padding:0;
  173. margin:0;
  174. height:20px;
  175. width:0;
  176. }
  177. #enabled-services h2{
  178. font-size:20px;
  179. padding-top:0px;
  180. font-weight: normal !important;
  181. color: #999;
  182. }
  183. body.settings_page_sharing #live-preview h2 {
  184. font-size:20px;
  185. font-weight: normal !important;
  186. color: #e3e3e3;
  187. }
  188. body.settings_page_sharing .clearing {
  189. clear: both;
  190. }
  191. body.settings_page_sharing .options .options-left {
  192. float: left;
  193. }
  194. body.settings_page_sharing .input label {
  195. font-size: 11px;
  196. line-height: 16px;
  197. }
  198. body.settings_page_sharing .advanced-form {
  199. padding: 10px 14px 8px 10px;
  200. margin-left: -24px;
  201. display: none;
  202. border-top: 1px #e3e3e3 solid;
  203. margin-top:4px;
  204. }
  205. body.settings_page_sharing .utility {
  206. float: right;
  207. padding-top:10px;
  208. padding-right: 10px;
  209. font-size: 10px;
  210. }
  211. body.settings_page_sharing .advanced input[type=submit] {
  212. float: left;
  213. margin-top:10px;
  214. margin-right: 10px;
  215. }
  216. .services li.dropzone {
  217. border: 1px dashed #999;
  218. border-radius: 3px;
  219. background: #e3e3e3;
  220. margin-right: 10px;
  221. padding: 5px;
  222. height: 18px;
  223. }
  224. .advanced-form .form-table th {
  225. width: auto !important;
  226. }
  227. .advanced-form .button-secondary {
  228. margin-top: 0 !important;
  229. }
  230. #hidden-drop-target {
  231. background: #e1e1e1;
  232. border: 1px solid #cdcdcd;
  233. width: 29%;
  234. padding: 10px;
  235. vertical-align: top;
  236. }
  237. #hidden-drop-target p {
  238. font-size: 13px;
  239. font-style: italic;
  240. margin: 0 0 10px 0;
  241. }
  242. /* Official button previews */
  243. .preview li.preview-item {
  244. background-position: 0px 5px;
  245. cursor: default;
  246. }
  247. .preview .option-smart-on {
  248. margin: 3px 5px 0 0;
  249. }
  250. .preview-digg .option-smart-on {
  251. background: url(images/smart-digg.png) no-repeat top left;
  252. background-size: 76px 17px;
  253. width:76px;
  254. height:17px;
  255. margin-top: 2px;
  256. }
  257. .preview-reddit .option-smart-on {
  258. background: url(images/smart-reddit.png) no-repeat top left;
  259. background-size: 104px 21px;
  260. width:104px;
  261. height:21px;
  262. }
  263. .preview-facebook .option-smart-on {
  264. background: url(images/smart-like.png) no-repeat top left;
  265. background-size: 85px 20px;
  266. width:85px;
  267. height:20px;
  268. }
  269. .preview-twitter .option-smart-on {
  270. background: url(images/smart-twitter.png?1) no-repeat top left;
  271. background-size: 60px 20px;
  272. width:60px;
  273. height:20px;
  274. }
  275. .preview-linkedin .option-smart-on {
  276. background: url(images/linkedin-smart.png) no-repeat top center;
  277. background-size: 99px 18px;
  278. width:99px;
  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. .preview-item.share-deprecated {
  306. opacity: 0.5;
  307. }
  308. .preview-item.share-deprecated a span {
  309. text-decoration: line-through;
  310. }
  311. @media
  312. (-webkit-min-device-pixel-ratio: 1.25),
  313. (min-resolution: 120dpi) {
  314. .preview-digg .option-smart-on {
  315. background-image: url(images/smart-digg@2x.png);
  316. }
  317. .preview-reddit .option-smart-on {
  318. background-image: url(images/smart-reddit@2x.png);
  319. }
  320. .preview-facebook .option-smart-on {
  321. background-image: url(images/smart-like@2x.png);
  322. }
  323. .preview-twitter .option-smart-on {
  324. background-image: url(images/smart-twitter@2x.png?1);
  325. }
  326. .preview-linkedin .option-smart-on {
  327. background-image: url(images/linkedin-smart@2x.png);
  328. }
  329. .preview-tumblr .option-smart-on {
  330. background-image: url(images/smart-tumblr@2x.png);
  331. }
  332. .preview-pinterest .option-smart-on {
  333. background-image: url(images/smart-pinterest@2x.png);
  334. }
  335. .preview-pocket .option-smart-on {
  336. background-image: url(images/smart-pocket@2x.png);
  337. }
  338. .preview-skype .option-smart-on {
  339. background-image: url(images/smart-skype@2x.png);
  340. }
  341. }
  342. /**
  343. * Overflow sharing dialog
  344. */
  345. .services .sharing-hidden li {
  346. background-color: transparent;
  347. }
  348. .sharing-hidden li.share-end {
  349. clear: both;
  350. height: 0;
  351. padding: 0px !important;
  352. margin: 0px !important;
  353. width: 0;
  354. visibility: hidden;
  355. float: none;
  356. }
  357. .preview .sharing-label {
  358. font-weight: bold;
  359. border: 0;
  360. padding: 4px 6px 0 0;
  361. }
  362. #services-config a.remove {
  363. background: #dcdcde;
  364. color: #fff;
  365. padding: 0px 4px 2px;
  366. border-radius: 15px;
  367. -moz-border-radius: 15px;
  368. -webkit-border-radius: 15px;
  369. text-decoration: none;
  370. font-weight: bold;
  371. font-size: 10px;
  372. }
  373. #services-config a.remove:hover {
  374. background: #f00;
  375. }
  376. .sd-social-icon .inner a.sd-button span,
  377. .sd-social-icon .inner a.share-icon span {
  378. display: inline-block;
  379. overflow: hidden;
  380. width: 0;
  381. text-indent: 100%;
  382. }