widgets.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  1. /* General Widgets Styles */
  2. .widget {
  3. margin: 0 auto 10px;
  4. position: relative;
  5. box-sizing: border-box;
  6. }
  7. .widget-top {
  8. font-size: 13px;
  9. font-weight: 600;
  10. background: #f7f7f7;
  11. }
  12. .widget-top .widget-action {
  13. border: 0;
  14. margin: 0;
  15. padding: 10px;
  16. background: none;
  17. cursor: pointer;
  18. outline: none;
  19. }
  20. .widget-title h3,
  21. .widget-title h4 {
  22. margin: 0;
  23. padding: 15px;
  24. font-size: 1em;
  25. line-height: 1;
  26. overflow: hidden;
  27. white-space: nowrap;
  28. text-overflow: ellipsis;
  29. -webkit-user-select: none;
  30. -moz-user-select: none;
  31. -ms-user-select: none;
  32. user-select: none;
  33. }
  34. .widgets-holder-wrap .widget-inside {
  35. border-top: none;
  36. padding: 1px 15px 15px 15px;
  37. line-height: 1.23076923;
  38. }
  39. .widget.widget-dirty .widget-control-close-wrapper {
  40. display: none;
  41. }
  42. .in-widget-title,
  43. #widgets-right a.widget-control-edit,
  44. #available-widgets .widget-description {
  45. color: #666;
  46. }
  47. .deleting .widget-title,
  48. .deleting .widget-top .widget-action .toggle-indicator:before {
  49. color: #a0a5aa;
  50. }
  51. /* Media Widgets */
  52. .wp-core-ui .media-widget-control.selected .placeholder,
  53. .wp-core-ui .media-widget-control.selected .not-selected,
  54. .wp-core-ui .media-widget-control .selected {
  55. display: none;
  56. }
  57. .media-widget-control.selected .selected {
  58. display: inline-block;
  59. }
  60. .media-widget-buttons {
  61. text-align: left;
  62. margin-top: 0;
  63. }
  64. .media-widget-control .media-widget-buttons .button {
  65. width: auto;
  66. height: auto;
  67. margin-top: 12px;
  68. white-space: normal;
  69. }
  70. .media-widget-buttons .button:first-child {
  71. margin-right: 8px;
  72. }
  73. .media-widget-control .attachment-media-view .button-add-media,
  74. .media-widget-control .placeholder {
  75. border: 1px dashed #b4b9be;
  76. box-sizing: border-box;
  77. cursor: pointer;
  78. line-height: 1.6;
  79. padding: 9px 0;
  80. position: relative;
  81. text-align: center;
  82. width: 100%;
  83. }
  84. .media-widget-control .attachment-media-view .button-add-media {
  85. cursor: pointer;
  86. background-color: #edeff0;
  87. color: #32373c;
  88. }
  89. .media-widget-control .attachment-media-view .button-add-media:hover {
  90. background-color: #fbfbfc;
  91. }
  92. .media-widget-control .attachment-media-view .button-add-media:focus {
  93. background-color: #fbfbfc;
  94. border-style: solid;
  95. border-color: #5b9dd9;
  96. box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
  97. /* Only visible in Windows High Contrast mode */
  98. outline: 2px solid transparent;
  99. outline-offset: -2px;
  100. }
  101. .media-widget-control .media-widget-preview {
  102. background: transparent;
  103. text-align: center;
  104. }
  105. .media-widget-control .media-widget-preview .notice {
  106. text-align: initial;
  107. }
  108. .media-frame .media-widget-embed-notice p code,
  109. .media-widget-control .notice p code {
  110. padding: 0 3px 0 0;
  111. }
  112. .media-frame .media-widget-embed-notice {
  113. margin-top: 16px;
  114. }
  115. .media-widget-control .media-widget-preview img {
  116. max-width: 100%;
  117. vertical-align: middle;
  118. }
  119. .media-widget-control .media-widget-preview .wp-video-shortcode {
  120. background: #000;
  121. }
  122. .media-frame.media-widget .media-toolbar-secondary {
  123. min-width: 300px;
  124. }
  125. .media-frame.media-widget .image-details .embed-media-settings .setting.align,
  126. .media-frame.media-widget .attachment-display-settings .setting.align,
  127. .media-frame.media-widget .embed-media-settings .setting.align,
  128. .media-frame.media-widget .embed-link-settings .setting.link-text,
  129. .media-frame.media-widget .replace-attachment,
  130. .media-frame.media-widget .checkbox-setting.autoplay {
  131. display: none;
  132. }
  133. .media-widget-video-preview {
  134. width: 100%;
  135. }
  136. .media-widget-video-link {
  137. display: inline-block;
  138. min-height: 132px;
  139. width: 100%;
  140. background: black;
  141. }
  142. .media-widget-video-link .dashicons {
  143. font: normal 60px/1 'dashicons';
  144. position: relative;
  145. width: 100%;
  146. top: -90px;
  147. color: white;
  148. text-decoration: none;
  149. }
  150. .media-widget-video-link.no-poster .dashicons {
  151. top: 30px;
  152. }
  153. .media-frame #embed-url-field.invalid,
  154. .media-widget-image-link > .link:invalid {
  155. border: 1px solid #dc3232;
  156. }
  157. .media-widget-image-link {
  158. margin: 1em 0;
  159. }
  160. .media-widget-gallery-preview {
  161. display: flex;
  162. justify-content: flex-start;
  163. flex-wrap: wrap;
  164. margin: -1.79104477%;
  165. }
  166. .media-widget-preview.media_gallery,
  167. .media-widget-preview.media_image {
  168. cursor: pointer;
  169. }
  170. .media-widget-preview .placeholder {
  171. background: #f1f1f1;
  172. }
  173. .media-widget-gallery-preview .gallery-item {
  174. box-sizing: border-box;
  175. width: 50%;
  176. margin: 0;
  177. background: transparent;
  178. }
  179. .media-widget-gallery-preview .gallery-item .gallery-icon {
  180. margin: 4.5%;
  181. }
  182. /*
  183. * Use targeted nth-last-child selectors to control the size of each image
  184. * based on how many gallery items are present in the grid.
  185. * See: https://alistapart.com/article/quantity-queries-for-css
  186. */
  187. .media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child,
  188. .media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child ~ .gallery-item,
  189. .media-widget-gallery-preview .gallery-item:nth-last-child(n+5),
  190. .media-widget-gallery-preview .gallery-item:nth-last-child(n+5) ~ .gallery-item,
  191. .media-widget-gallery-preview .gallery-item:nth-last-child(n+6),
  192. .media-widget-gallery-preview .gallery-item:nth-last-child(n+6) ~ .gallery-item {
  193. max-width: 33.33%;
  194. }
  195. .media-widget-gallery-preview .gallery-item img {
  196. height: auto;
  197. vertical-align: bottom;
  198. }
  199. .media-widget-gallery-preview .gallery-icon {
  200. position: relative;
  201. }
  202. .media-widget-gallery-preview .gallery-icon-placeholder {
  203. position: absolute;
  204. top: 0;
  205. bottom: 0;
  206. width: 100%;
  207. box-sizing: border-box;
  208. display: flex;
  209. align-items: center;
  210. justify-content: center;
  211. background-color: rgba(0, 0, 0, 0.5);
  212. }
  213. .media-widget-gallery-preview .gallery-icon-placeholder-text {
  214. font-weight: 600;
  215. font-size: 2em;
  216. color: white;
  217. }
  218. /* Widget Dragging Helpers */
  219. .widget.ui-draggable-dragging {
  220. min-width: 100%;
  221. }
  222. .widget.ui-sortable-helper {
  223. opacity: 0.8;
  224. }
  225. .widget-placeholder {
  226. border: 1px dashed #b4b9be;
  227. margin: 0 auto 10px;
  228. height: 45px;
  229. width: 100%;
  230. box-sizing: border-box;
  231. }
  232. #widgets-right .widget-placeholder {
  233. margin-top: 0;
  234. }
  235. #widgets-right .closed .widget-placeholder {
  236. height: 0;
  237. border: 0;
  238. margin-top: -10px;
  239. }
  240. /* Widget Sidebars */
  241. .sidebar-name {
  242. position: relative;
  243. box-sizing: border-box;
  244. }
  245. .js .sidebar-name {
  246. cursor: pointer;
  247. }
  248. .sidebar-name .handlediv {
  249. float: right;
  250. width: 38px;
  251. height: 38px;
  252. border: 0;
  253. margin: 0;
  254. padding: 8px;
  255. background: none;
  256. cursor: pointer;
  257. outline: none;
  258. }
  259. #widgets-right .sidebar-name .handlediv {
  260. margin: 5px 3px 0 0;
  261. }
  262. .sidebar-name .handlediv:focus {
  263. box-shadow: none;
  264. outline: none;
  265. }
  266. #widgets-left .sidebar-name .toggle-indicator {
  267. display: none;
  268. }
  269. #widgets-left .widgets-holder-wrap.closed .sidebar-name .toggle-indicator,
  270. #widgets-left .sidebar-name:hover .toggle-indicator,
  271. #widgets-left .sidebar-name .handlediv:focus .toggle-indicator {
  272. display: block;
  273. }
  274. .sidebar-name .toggle-indicator:before {
  275. padding: 1px 2px 1px 0;
  276. border-radius: 50%;
  277. }
  278. .sidebar-name .handlediv:focus .toggle-indicator:before {
  279. box-shadow:
  280. 0 0 0 1px #5b9dd9,
  281. 0 0 2px 1px rgba(30, 140, 190, 0.8);
  282. }
  283. .sidebar-name h2,
  284. .sidebar-name h3 {
  285. margin: 0;
  286. padding: 8px 10px;
  287. overflow: hidden;
  288. white-space: nowrap;
  289. }
  290. .widgets-holder-wrap .description {
  291. padding: 0 0 15px;
  292. margin: 0;
  293. font-style: normal;
  294. color: #72777c;
  295. }
  296. .widget-holder .description,
  297. .inactive-sidebar .description {
  298. color: #555d66;
  299. }
  300. #widgets-right .widgets-holder-wrap .description {
  301. padding-left: 7px;
  302. padding-right: 7px;
  303. }
  304. /* Widgets 2-col Layout */
  305. div.widget-liquid-left {
  306. margin: 0;
  307. width: 38%;
  308. float: left;
  309. }
  310. div.widget-liquid-right {
  311. float: right;
  312. width: 58%;
  313. }
  314. /* Widgets Left - Available Widgets */
  315. div#widgets-left {
  316. padding-top: 12px;
  317. }
  318. div#widgets-left .closed .sidebar-name,
  319. div#widgets-left .inactive-sidebar.closed .sidebar-name {
  320. margin-bottom: 10px;
  321. }
  322. div#widgets-left .sidebar-name h2,
  323. div#widgets-left .sidebar-name h3 {
  324. padding: 10px 0;
  325. margin: 0 10px 0 0;
  326. }
  327. #widgets-left .widgets-holder-wrap,
  328. div#widgets-left .widget-holder {
  329. background: transparent;
  330. border: none;
  331. }
  332. #widgets-left .widgets-holder-wrap {
  333. border: none;
  334. box-shadow: none;
  335. }
  336. #available-widgets .widget {
  337. margin: 0;
  338. }
  339. #available-widgets .widget:nth-child(odd) {
  340. clear: both;
  341. }
  342. #available-widgets .widget .widget-description {
  343. display: block;
  344. padding: 10px 15px;
  345. font-size: 12px;
  346. overflow-wrap: break-word;
  347. word-wrap: break-word;
  348. -ms-word-break: break-all;
  349. word-break: break-word;
  350. -ms-hyphens: auto;
  351. -webkit-hyphens: auto;
  352. hyphens: auto;
  353. }
  354. #available-widgets #widget-list {
  355. position: relative;
  356. }
  357. /* Inactive Sidebars */
  358. #widgets-left .inactive-sidebar {
  359. clear: both;
  360. width: 100%;
  361. background: transparent;
  362. padding: 0;
  363. margin: 0 0 20px 0;
  364. border: none;
  365. box-shadow: none;
  366. }
  367. #widgets-left .inactive-sidebar.first {
  368. margin-top: 40px;
  369. }
  370. /* Not sure what this is for... */
  371. div#widgets-left .inactive-sidebar .widget.expanded {
  372. left: auto;
  373. }
  374. .widget-title-action {
  375. float: right;
  376. position: relative;
  377. }
  378. div#widgets-left .inactive-sidebar .widgets-sortables {
  379. min-height: 42px;
  380. padding: 0;
  381. background: transparent;
  382. margin: 0;
  383. position: relative;
  384. }
  385. /* Widgets Right */
  386. div#widgets-right .sidebars-column-1,
  387. div#widgets-right .sidebars-column-2 {
  388. max-width: 450px;
  389. }
  390. div#widgets-right .widgets-holder-wrap {
  391. margin: 10px 0 0 0;
  392. }
  393. div#widgets-right .sidebar-description {
  394. min-height: 20px;
  395. margin-top: -5px;
  396. }
  397. div#widgets-right .sidebar-name h2,
  398. div#widgets-right .sidebar-name h3 {
  399. padding: 15px 7px;
  400. }
  401. div#widgets-right .widget-top {
  402. padding: 0;
  403. }
  404. div#widgets-right .widgets-sortables {
  405. padding: 0 8px;
  406. margin-bottom: 9px;
  407. position: relative;
  408. min-height: 123px;
  409. }
  410. div#widgets-right .closed .widgets-sortables {
  411. min-height: 0;
  412. margin-bottom: 0;
  413. }
  414. .sidebar-name .spinner,
  415. .remove-inactive-widgets .spinner {
  416. float: none;
  417. position: relative;
  418. top: -2px;
  419. margin: -5px 5px;
  420. }
  421. /* Dragging a widget over a closed sidebar */
  422. #widgets-right .widgets-holder-wrap.widget-hover {
  423. border-color: #72777c;
  424. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  425. }
  426. /* Accessibility Mode */
  427. .widget-access-link {
  428. float: right;
  429. margin: -5px 0 10px 10px;
  430. }
  431. .widgets_access #widgets-left .widget .widget-top {
  432. cursor: auto;
  433. }
  434. .widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description,
  435. .widgets_access #wpwrap .widgets-holder-wrap.closed .widget,
  436. .widgets_access #wpwrap .widget-control-edit {
  437. display: block;
  438. }
  439. .widgets_access #widgets-left .widget .widget-top:hover,
  440. .widgets_access #widgets-right .widget .widget-top:hover {
  441. border-color: #ddd;
  442. }
  443. #available-widgets .widget-control-edit .edit,
  444. #available-widgets .widget-action .edit,
  445. #widgets-left .inactive-sidebar .widget-control-edit .add,
  446. #widgets-left .inactive-sidebar .widget-action .add,
  447. #widgets-right .widget-control-edit .add,
  448. #widgets-right .widget-action .add {
  449. display: none;
  450. }
  451. .widget-control-edit {
  452. display: block;
  453. color: #666;
  454. background: #EEE;
  455. padding: 0 15px;
  456. line-height: 3.30769230;
  457. border-left: 1px solid #DDD;
  458. }
  459. #widgets-left .widget-control-edit:hover,
  460. #widgets-right .widget-control-edit:hover {
  461. color: #fff;
  462. background: #444;
  463. border-left: 0;
  464. outline: 1px solid #444;
  465. }
  466. .widgets-holder-wrap .sidebar-name,
  467. .widgets-holder-wrap .sidebar-description {
  468. -webkit-user-select: none;
  469. -moz-user-select: none;
  470. -ms-user-select: none;
  471. user-select: none;
  472. }
  473. .editwidget {
  474. margin: 0 auto;
  475. }
  476. .editwidget .widget-inside {
  477. display: block;
  478. padding: 0 15px;
  479. }
  480. .editwidget .widget-control-actions {
  481. margin-top: 20px;
  482. }
  483. .js .widgets-holder-wrap.closed .widget,
  484. .js .widgets-holder-wrap.closed .sidebar-description,
  485. .js .widgets-holder-wrap.closed .remove-inactive-widgets,
  486. .js .widgets-holder-wrap.closed .description,
  487. .js .closed br.clear {
  488. display: none;
  489. }
  490. .js .widgets-holder-wrap.closed .widget.ui-sortable-helper {
  491. display: block;
  492. }
  493. /* Hide Widget Settings by Default */
  494. .widget-inside,
  495. .widget-description {
  496. display: none;
  497. }
  498. .widget-inside {
  499. background: #fff;
  500. }
  501. /* Dragging widgets over the available widget area show's a "Deactivate" message */
  502. #removing-widget {
  503. display: none;
  504. font-weight: 400;
  505. padding-left: 15px;
  506. font-size: 12px;
  507. line-height: 1;
  508. color: black;
  509. }
  510. .js #removing-widget {
  511. color: #00a0d2;
  512. }
  513. .widget-control-noform,
  514. #access-off,
  515. .widgets_access .widget-action,
  516. .widgets_access .handlediv,
  517. .widgets_access #access-on,
  518. .widgets_access .widget-holder .description,
  519. .no-js .widget-holder .description {
  520. display: none;
  521. }
  522. .widgets_access .widget-holder,
  523. .widgets_access #widget-list {
  524. padding-top: 10px;
  525. }
  526. .widgets_access #access-off {
  527. display: inline;
  528. }
  529. .widgets_access .sidebar-name,
  530. .widgets_access .widget .widget-top {
  531. cursor: default;
  532. }
  533. /* Widgets Area Chooser */
  534. .widget-liquid-left #widgets-left.chooser #available-widgets .widget,
  535. .widget-liquid-left #widgets-left.chooser .inactive-sidebar {
  536. transition: opacity 0.1s linear;
  537. }
  538. .widget-liquid-left #widgets-left.chooser #available-widgets .widget,
  539. .widget-liquid-left #widgets-left.chooser .inactive-sidebar {
  540. /* -webkit-filter: blur(1px); */
  541. opacity: 0.2;
  542. pointer-events: none;
  543. }
  544. .widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question {
  545. /* -webkit-filter: none; */
  546. opacity: 1;
  547. pointer-events: auto;
  548. }
  549. .widgets-chooser ul,
  550. #widgets-left .widget-in-question .widget-top,
  551. #available-widgets .widget-top:hover,
  552. div#widgets-right .widget-top:hover,
  553. #widgets-left .widget-top:hover {
  554. border-color: #999;
  555. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  556. }
  557. .widgets-chooser ul.widgets-chooser-sidebars {
  558. margin: 0;
  559. list-style-type: none;
  560. max-height: 300px;
  561. overflow: auto;
  562. }
  563. .widgets-chooser {
  564. display: none;
  565. }
  566. .widgets-chooser ul {
  567. border: 1px solid #ccc;
  568. }
  569. .widgets-chooser li {
  570. border-bottom: 1px solid #ccc;
  571. background: #fff;
  572. margin: 0;
  573. position: relative;
  574. }
  575. .widgets-chooser .widgets-chooser-button {
  576. width: 100%;
  577. padding: 10px 15px 10px 35px;
  578. background: transparent;
  579. border: 0;
  580. box-sizing: border-box;
  581. text-align: left;
  582. cursor: pointer;
  583. transition: background 0.2s ease-in-out;
  584. }
  585. /* @todo looks like these hover/focus states are overridden by .widgets-chooser-selected */
  586. .widgets-chooser .widgets-chooser-button:hover,
  587. .widgets-chooser .widgets-chooser-button:focus {
  588. outline: none;
  589. text-decoration: underline;
  590. }
  591. .widgets-chooser li:last-child {
  592. border: none;
  593. }
  594. .widgets-chooser .widgets-chooser-selected .widgets-chooser-button {
  595. background: #0073aa;
  596. color: #fff;
  597. }
  598. .widgets-chooser .widgets-chooser-selected:before {
  599. content: "\f147";
  600. display: block;
  601. -webkit-font-smoothing: antialiased;
  602. font: normal 26px/1 dashicons;
  603. color: #fff;
  604. position: absolute;
  605. top: 7px;
  606. left: 5px;
  607. }
  608. .widgets-chooser .widgets-chooser-actions {
  609. padding: 10px 0 12px 0;
  610. text-align: center;
  611. }
  612. #available-widgets .widget .widget-top {
  613. cursor: pointer;
  614. }
  615. #available-widgets .widget.ui-draggable-dragging .widget-top {
  616. cursor: move;
  617. }
  618. /* =Specific widget styling
  619. -------------------------------------------------------------- */
  620. .text-widget-fields {
  621. position: relative;
  622. }
  623. .text-widget-fields [hidden] {
  624. display: none;
  625. }
  626. .text-widget-fields .wp-pointer.wp-pointer-top {
  627. position: absolute;
  628. z-index: 3;
  629. top: 100px;
  630. right: 10px;
  631. left: 10px;
  632. }
  633. .text-widget-fields .wp-pointer .wp-pointer-arrow {
  634. left: auto;
  635. right: 15px;
  636. }
  637. .text-widget-fields .wp-pointer .wp-pointer-buttons {
  638. line-height: 1.4;
  639. }
  640. .custom-html-widget-fields > p > .CodeMirror {
  641. border: 1px solid #e5e5e5;
  642. }
  643. .custom-html-widget-fields code {
  644. padding-top: 1px;
  645. padding-bottom: 1px;
  646. }
  647. ul.CodeMirror-hints {
  648. z-index: 101; /* Due to z-index 100 set on .widget.open */
  649. }
  650. .widget-control-actions .custom-html-widget-save-button.button.validation-blocked {
  651. cursor: not-allowed;
  652. }
  653. /* =Media Queries
  654. -------------------------------------------------------------- */
  655. @media screen and (max-width: 480px) {
  656. div.widget-liquid-left {
  657. width: 100%;
  658. float: none;
  659. border-right: none;
  660. padding-right: 0;
  661. }
  662. #widgets-left .sidebar-name {
  663. margin-right: 0;
  664. }
  665. #widgets-left #available-widgets .widget-top {
  666. margin-right: 0;
  667. }
  668. #widgets-left .inactive-sidebar .widgets-sortables {
  669. margin-right: 0;
  670. }
  671. div.widget-liquid-right {
  672. width: 100%;
  673. float: none;
  674. }
  675. div.widget {
  676. max-width: 480px;
  677. }
  678. .widget-access-link {
  679. float: none;
  680. margin: 15px 0 0 0;
  681. }
  682. }
  683. @media screen and (max-width: 320px) {
  684. div.widget {
  685. max-width: 320px;
  686. }
  687. }
  688. @media only screen and (min-width: 1250px) {
  689. #widgets-left #available-widgets .widget {
  690. width: 49%;
  691. float: left;
  692. }
  693. .widget.ui-draggable-dragging {
  694. min-width: 49%;
  695. }
  696. #widgets-left #available-widgets .widget:nth-child(even) {
  697. float: right;
  698. }
  699. #widgets-right .sidebars-column-1,
  700. #widgets-right .sidebars-column-2 {
  701. float: left;
  702. width: 49%;
  703. }
  704. #widgets-right .sidebars-column-1 {
  705. margin-right: 2%;
  706. }
  707. #widgets-right.single-sidebar .sidebars-column-1,
  708. #widgets-right.single-sidebar .sidebars-column-2 {
  709. float: none;
  710. width: 100%;
  711. margin: 0;
  712. }
  713. }