PageRenderTime 89ms CodeModel.GetById 38ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-admin/css/customize-widgets-rtl.css

http://github.com/wordpress/wordpress
CSS | 484 lines | 333 code | 96 blank | 55 comment | 0 complexity | 19e9694fa284d071ca66669ad50ac87e MD5 | raw file
Possible License(s): 0BSD
  1. /*! This file is auto-generated */
  2. .wp-full-overlay-sidebar {
  3. overflow: visible;
  4. }
  5. /**
  6. * Hide all sidebar sections by default, only show them (via JS) once the
  7. * preview loads and we know whether the sidebars are used in the template.
  8. */
  9. .control-section.control-section-sidebar,
  10. .customize-control-sidebar_widgets label,
  11. .customize-control-sidebar_widgets .hide-if-js {
  12. /* The link in .customize-control-sidebar_widgets .hide-if-js will fail if it ever gets used. */
  13. display: none;
  14. }
  15. .control-section.control-section-sidebar .accordion-section-content.ui-sortable {
  16. overflow: visible;
  17. }
  18. /* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
  19. .customize-control-widget_form .widget-top {
  20. background: #fff;
  21. transition: opacity 0.5s;
  22. }
  23. .customize-control .widget-action {
  24. color: #72777c;
  25. }
  26. .customize-control .widget-top:hover .widget-action,
  27. .customize-control .widget-action:focus {
  28. color: #23282d;
  29. }
  30. .customize-control-widget_form:not(.widget-rendered) .widget-top {
  31. opacity: 0.5;
  32. }
  33. .customize-control-widget_form .widget-control-save {
  34. display: none;
  35. }
  36. .customize-control-widget_form .spinner {
  37. visibility: hidden;
  38. margin-top: 0;
  39. }
  40. .customize-control-widget_form.previewer-loading .spinner {
  41. visibility: visible;
  42. }
  43. .customize-control-widget_form.widget-form-disabled .widget-content {
  44. opacity: 0.7;
  45. pointer-events: none;
  46. -moz-user-select: none;
  47. -webkit-user-select: none;
  48. -ms-user-select: none;
  49. user-select: none;
  50. }
  51. .customize-control-widget_form .widget {
  52. margin-bottom: 0;
  53. }
  54. .customize-control-widget_form.wide-widget-control .widget-inside {
  55. position: fixed;
  56. right: 299px;
  57. top: 25%;
  58. border: 1px solid rgb(229, 229, 229);
  59. overflow: auto;
  60. }
  61. .customize-control-widget_form.wide-widget-control .widget-inside > .form {
  62. padding: 20px;
  63. }
  64. .customize-control-widget_form.wide-widget-control .widget-top {
  65. transition: background-color 0.4s;
  66. }
  67. .customize-control-widget_form.wide-widget-control.expanding .widget-top,
  68. .customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top {
  69. background-color: rgb(227, 227, 227);
  70. }
  71. .widget-inside {
  72. padding: 1px 10px 10px 10px;
  73. border-top: none;
  74. line-height: 1.23076923;
  75. }
  76. .customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
  77. content: "\f142";
  78. }
  79. .customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before {
  80. content: "\f141";
  81. }
  82. .customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before {
  83. content: "\f139";
  84. }
  85. .widget-title-action {
  86. cursor: pointer;
  87. }
  88. .widget-top,
  89. .customize-control-widget_form .widget .customize-control-title {
  90. cursor: move;
  91. }
  92. .control-section.accordion-section.highlighted > .accordion-section-title,
  93. .customize-control-widget_form.highlighted {
  94. outline: none;
  95. box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
  96. position: relative;
  97. z-index: 1;
  98. }
  99. #widget-customizer-control-templates {
  100. display: none;
  101. }
  102. /**
  103. * Widget reordering styles
  104. */
  105. #customize-theme-controls .widget-reorder-nav {
  106. display: none;
  107. float: left;
  108. background-color: #fafafa;
  109. }
  110. .move-widget:before {
  111. content: "\f504";
  112. }
  113. #customize-theme-controls .move-widget-area {
  114. display: none;
  115. background: #fff;
  116. border: 1px solid #ddd;
  117. border-top: none;
  118. cursor: auto;
  119. }
  120. #customize-theme-controls .reordering .move-widget-area.active {
  121. display: block;
  122. }
  123. #customize-theme-controls .move-widget-area .description {
  124. margin: 0;
  125. padding: 15px 20px;
  126. font-weight: 400;
  127. }
  128. #customize-theme-controls .widget-area-select {
  129. margin: 0;
  130. padding: 0;
  131. list-style: none;
  132. }
  133. #customize-theme-controls .widget-area-select li {
  134. position: relative;
  135. margin: 0;
  136. padding: 13px 42px 15px 15px;
  137. color: #555;
  138. border-top: 1px solid #eee;
  139. cursor: pointer;
  140. -webkit-user-select: none;
  141. -moz-user-select: none;
  142. -ms-user-select: none;
  143. user-select: none;
  144. }
  145. #customize-theme-controls .widget-area-select li:before {
  146. display: none;
  147. content: "\f147";
  148. position: absolute;
  149. top: 12px;
  150. right: 10px;
  151. font: normal 20px/1 dashicons;
  152. -webkit-font-smoothing: antialiased;
  153. -moz-osx-font-smoothing: grayscale;
  154. }
  155. #customize-theme-controls .widget-area-select li:last-child {
  156. border-bottom: 1px solid #eee;
  157. }
  158. #customize-theme-controls .widget-area-select .selected {
  159. color: #fff;
  160. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
  161. background: #00a0d2;
  162. }
  163. #customize-theme-controls .widget-area-select .selected:before {
  164. display: block;
  165. }
  166. #customize-theme-controls .move-widget-actions {
  167. text-align: left;
  168. padding: 12px;
  169. }
  170. #customize-theme-controls .reordering .widget-title-action {
  171. display: none;
  172. }
  173. #customize-theme-controls .reordering .widget-reorder-nav {
  174. display: block;
  175. }
  176. /* Text Widget */
  177. .wp-customizer div.mce-inline-toolbar-grp,
  178. .wp-customizer div.mce-tooltip {
  179. z-index: 500100 !important;
  180. }
  181. .wp-customizer .ui-autocomplete.wplink-autocomplete {
  182. z-index: 500110; /* originally 100110, but z-index of .wp-full-overlay is 500000 */
  183. }
  184. .wp-customizer #wp-link-backdrop {
  185. z-index: 500100; /* originally 100100, but z-index of .wp-full-overlay is 500000 */
  186. }
  187. .wp-customizer #wp-link-wrap {
  188. z-index: 500105; /* originally 100105, but z-index of .wp-full-overlay is 500000 */
  189. }
  190. /**
  191. * Styles for new widget addition panel
  192. */
  193. /* override widgets admin page rules in wp-admin/css/widgets.css */
  194. #widgets-left #available-widgets .widget {
  195. float: none !important;
  196. width: auto !important;
  197. }
  198. /* Keep rule that is no longer necessary on widgets.php. */
  199. #available-widgets .widget-action {
  200. display: none;
  201. }
  202. .ios #available-widgets {
  203. transition: right 0s;
  204. }
  205. #available-widgets .widget-tpl:hover,
  206. #available-widgets .widget-tpl.selected {
  207. background: #f3f3f5;
  208. border-bottom-color: #ccc;
  209. color: #0073aa;
  210. border-right: 4px solid #0073aa;
  211. }
  212. #customize-controls .widget-title h3 {
  213. font-size: 1em;
  214. }
  215. #available-widgets .widget-title h3 {
  216. padding: 0 0 5px;
  217. font-size: 14px;
  218. }
  219. #available-widgets .widget .widget-description {
  220. padding: 0;
  221. color: #72777c;
  222. }
  223. #customize-preview {
  224. transition: all 0.2s;
  225. }
  226. body.adding-widget #available-widgets {
  227. right: 0;
  228. visibility: visible;
  229. }
  230. body.adding-widget .wp-full-overlay-main {
  231. right: 300px;
  232. }
  233. body.adding-widget #customize-preview {
  234. opacity: 0.4;
  235. }
  236. /**
  237. * Widget Icon styling
  238. * No plurals in naming.
  239. * Ordered from lowest to highest specificity.
  240. */
  241. #available-widgets .widget-title {
  242. position: relative;
  243. }
  244. #available-widgets .widget-title:before {
  245. content: "\f132";
  246. position: absolute;
  247. top: -3px;
  248. left: 100%;
  249. margin-left: 20px;
  250. width: 20px;
  251. height: 20px;
  252. color: #32373c;
  253. font: normal 20px/1 dashicons;
  254. text-align: center;
  255. box-sizing: border-box;
  256. -webkit-font-smoothing: antialiased;
  257. -moz-osx-font-smoothing: grayscale;
  258. }
  259. /* dashicons-smiley */
  260. #available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; }
  261. /* dashicons-star-filled */
  262. #available-widgets [class*="super"] .widget-title:before,
  263. #available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; }
  264. /* dashicons-wordpress */
  265. #available-widgets [class*="meta"] .widget-title:before { content: "\f120"; }
  266. /* dashicons-archive */
  267. #available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; }
  268. /* dashicons-category */
  269. #available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; }
  270. /* dashicons-admin-comments */
  271. #available-widgets [class*="comment"] .widget-title:before,
  272. #available-widgets [class*="testimonial"] .widget-title:before,
  273. #available-widgets [class*="chat"] .widget-title:before { content: "\f101"; }
  274. /* dashicons-admin-post */
  275. #available-widgets [class*="post"] .widget-title:before { content: "\f109"; }
  276. /* dashicons-admin-page */
  277. #available-widgets [class*="page"] .widget-title:before { content: "\f105"; }
  278. /* dashicons-text */
  279. #available-widgets [class*="text"] .widget-title:before { content: "\f478"; }
  280. /* dashicons-admin-links */
  281. #available-widgets [class*="link"] .widget-title:before { content: "\f103"; }
  282. /* dashicons-search */
  283. #available-widgets [class*="search"] .widget-title:before { content: "\f179"; }
  284. /* dashicons-menu */
  285. #available-widgets [class*="menu"] .widget-title:before,
  286. #available-widgets [class*="nav"] .widget-title:before { content: "\f333"; }
  287. /* dashicons-tagcloud */
  288. #available-widgets [class*="tag"] .widget-title:before { content: "\f479"; }
  289. /* dashicons-rss */
  290. #available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; }
  291. /* dashicons-calendar */
  292. #available-widgets [class*="event"] .widget-title:before,
  293. #available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;}
  294. /* dashicons-format-image */
  295. #available-widgets [class*="image"] .widget-title:before,
  296. #available-widgets [class*="photo"] .widget-title:before,
  297. #available-widgets [class*="slide"] .widget-title:before,
  298. #available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; }
  299. /* dashicons-format-gallery */
  300. #available-widgets [class*="album"] .widget-title:before,
  301. #available-widgets [class*="galler"] .widget-title:before { content: "\f161"; }
  302. /* dashicons-format-video */
  303. #available-widgets [class*="video"] .widget-title:before,
  304. #available-widgets [class*="tube"] .widget-title:before { content: "\f126"; }
  305. /* dashicons-format-audio */
  306. #available-widgets [class*="music"] .widget-title:before,
  307. #available-widgets [class*="radio"] .widget-title:before,
  308. #available-widgets [class*="audio"] .widget-title:before { content: "\f127"; }
  309. /* dashicons-admin-users */
  310. #available-widgets [class*="login"] .widget-title:before,
  311. #available-widgets [class*="user"] .widget-title:before,
  312. #available-widgets [class*="member"] .widget-title:before,
  313. #available-widgets [class*="avatar"] .widget-title:before,
  314. #available-widgets [class*="subscriber"] .widget-title:before,
  315. #available-widgets [class*="profile"] .widget-title:before,
  316. #available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; }
  317. /* dashicons-cart */
  318. #available-widgets [class*="commerce"] .widget-title:before,
  319. #available-widgets [class*="shop"] .widget-title:before,
  320. #available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; }
  321. /* dashicons-shield */
  322. #available-widgets [class*="secur"] .widget-title:before,
  323. #available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; }
  324. /* dashicons-chart-bar */
  325. #available-widgets [class*="analytic"] .widget-title:before,
  326. #available-widgets [class*="stat"] .widget-title:before,
  327. #available-widgets [class*="poll"] .widget-title:before { content: "\f185"; }
  328. /* dashicons-feedback */
  329. #available-widgets [class*="form"] .widget-title:before { content: "\f175"; }
  330. /* dashicons-email-alt */
  331. #available-widgets [class*="subscribe"] .widget-title:before,
  332. #available-widgets [class*="news"] .widget-title:before,
  333. #available-widgets [class*="contact"] .widget-title:before,
  334. #available-widgets [class*="mail"] .widget-title:before { content: "\f466"; }
  335. /* dashicons-share */
  336. #available-widgets [class*="share"] .widget-title:before,
  337. #available-widgets [class*="socia"] .widget-title:before { content: "\f237"; }
  338. /* dashicons-translation */
  339. #available-widgets [class*="lang"] .widget-title:before,
  340. #available-widgets [class*="translat"] .widget-title:before { content: "\f326"; }
  341. /* dashicons-location-alt */
  342. #available-widgets [class*="locat"] .widget-title:before,
  343. #available-widgets [class*="map"] .widget-title:before { content: "\f231"; }
  344. /* dashicons-download */
  345. #available-widgets [class*="download"] .widget-title:before { content: "\f316"; }
  346. /* dashicons-cloud */
  347. #available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;}
  348. /* dashicons-facebook */
  349. #available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; }
  350. /* dashicons-twitter */
  351. #available-widgets [class*="tweet"] .widget-title:before,
  352. #available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
  353. @media screen and (max-height: 700px) and (min-width: 981px) {
  354. /* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */
  355. .customize-control-widget_form {
  356. margin-bottom: 0;
  357. }
  358. .widget-top {
  359. box-shadow: none;
  360. margin-top: -1px;
  361. }
  362. .widget-top:hover {
  363. position: relative;
  364. z-index: 1;
  365. }
  366. .last-widget {
  367. margin-bottom: 15px;
  368. }
  369. .widget-title h3 {
  370. padding: 13px 15px;
  371. }
  372. .widget-top .widget-action {
  373. padding: 8px 10px;
  374. }
  375. .widget-reorder-nav span {
  376. height: 39px;
  377. }
  378. .widget-reorder-nav span:before {
  379. line-height: 39px;
  380. }
  381. /* Compact the move widget areas. */
  382. #customize-theme-controls .widget-area-select li {
  383. padding: 9px 42px 11px 15px;
  384. }
  385. #customize-theme-controls .widget-area-select li:before {
  386. top: 8px;
  387. }
  388. }