You are here

dashboard.css in Purge 8.3

Styles for the purge_ui module.

File

modules/purge_ui/css/dashboard.css
View source
  1. /**
  2. * @file
  3. * Styles for the purge_ui module.
  4. */
  5. /**
  6. * Purge dashboard two-column layout.
  7. */
  8. /* Narrow screens */
  9. .layout-region {
  10. box-sizing: border-box;
  11. }
  12. /* Wide screens */
  13. @media screen and (min-width: 1020px), (orientation: landscape) and (min-device-height: 780px) {
  14. .layout-region-purgeui-main {
  15. float: left; /* LTR */
  16. width: 65%;
  17. padding-right: 2em; /* LTR */
  18. box-sizing: border-box;
  19. }
  20. [dir="rtl"] .layout-region-purgeui-main {
  21. float: right;
  22. padding-left: 2em;
  23. padding-right: 0;
  24. }
  25. .layout-region-purgeui-secondary {
  26. float: right; /* LTR */
  27. width: 35%;
  28. }
  29. [dir="rtl"] .layout-region-purgeui-secondary {
  30. float: left;
  31. }
  32. /* @todo File an issue to add a standard class to all text-like inputs */
  33. /*.layout-region-purgeui-secondary .form-autocomplete,
  34. .layout-region-purgeui-secondary .form-text,
  35. .layout-region-purgeui-secondary .form-tel,
  36. .layout-region-purgeui-secondary .form-email,
  37. .layout-region-purgeui-secondary .form-url,
  38. .layout-region-purgeui-secondary .form-search,
  39. .layout-region-purgeui-secondary .form-number,
  40. .layout-region-purgeui-secondary .form-color,
  41. .layout-region-purgeui-secondary textarea {
  42. box-sizing: border-box;
  43. width: 100%;
  44. max-width: 100%;
  45. }*/
  46. }
  47. /**
  48. * The vertical toolbar mode gets triggered for narrow screens, which throws off
  49. * the intent of media queries written for the viewport width. When the vertical
  50. * toolbar is on, we need to suppress layout for the original media width + the
  51. * toolbar width (240px). In this case, 240px + 780px.
  52. */
  53. @media screen and (max-width: 1020px) {
  54. .toolbar-vertical.toolbar-tray-open .layout-region-purgeui-main,
  55. .toolbar-vertical.toolbar-tray-open .layout-region-purgeui-footer,
  56. .toolbar-vertical.toolbar-tray-open .layout-region-purgeui-secondary {
  57. float: none;
  58. width: auto;
  59. padding-right: 0;
  60. }
  61. }