Sin descripción

widgets.css 17KB

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