You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

457 lines
11 KiB

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