You are here

page-manager-ui.admin.css in Page Manager 8

Same filename and directory in other branches
  1. 8.4 page_manager_ui/css/page-manager-ui.admin.css

Styles for Page Manager admin.

File

page_manager_ui/css/page-manager-ui.admin.css
View source
  1. /**
  2. * @file
  3. * Styles for Page Manager admin.
  4. */
  5. /* Narrow screens */
  6. .page-manager-wizard-tree,
  7. .page-manager-wizard-form {
  8. box-sizing: border-box;
  9. }
  10. /**
  11. * Wizard actions across the top.
  12. */
  13. .page-manager-wizard-actions {
  14. text-align: right; /* LTR */
  15. }
  16. .page-manager-wizard-actions ul.inline,
  17. .page-manager-wizard-actions ul.inline li {
  18. display: inline-block;
  19. margin: 0;
  20. }
  21. .page-manager-wizard-actions ul.inline {
  22. border-top: 1px solid black;
  23. border-left: 1px solid black;
  24. }
  25. .page-manager-wizard-actions ul.inline li {
  26. border-right: 1px solid black;
  27. padding: .5em;
  28. }
  29. /**
  30. * The tree of wizard steps.
  31. */
  32. .page-manager-wizard-tree ul {
  33. margin: 0;
  34. padding: 0;
  35. list-style: none;
  36. }
  37. .page-manager-wizard-tree ul > li > ul {
  38. margin-left: 1em;
  39. }
  40. .page-manager-wizard-tree > ul {
  41. border: 1px solid black;
  42. padding-bottom: .5em;
  43. margin-bottom: 20px;
  44. }
  45. .page-manager-wizard-tree li {
  46. border-bottom: 1px solid black;
  47. padding: .5em;
  48. padding-right: 0;
  49. }
  50. .page-manager-wizard-tree li:last-child {
  51. border-bottom: 0;
  52. padding-bottom: 0;
  53. }
  54. /**
  55. * The wizard form.
  56. */
  57. .page-manager-wizard-form {
  58. border: 1px solid black;
  59. padding: 1em;
  60. margin-bottom: 20px;
  61. }
  62. /* Wide screens */
  63. @media
  64. screen and (min-width: 780px),
  65. (orientation: landscape) and (min-device-height: 780px) {
  66. /**
  67. * Overall layout.
  68. */
  69. .page-manager-wizard-tree {
  70. float: left; /* LTR */
  71. width: 20%;
  72. }
  73. .page-manager-wizard-form {
  74. float: left; /* LTR */
  75. width: 80%;
  76. }
  77. .page-manager-wizard-form-actions {
  78. margin-left: 20%; /* LTR */
  79. }
  80. /**
  81. * Make the borders look nice.
  82. */
  83. .page-manager-wizard-tree > ul {
  84. border-right: 0; /* LTR */
  85. }
  86. .page-manager-wizard-form {
  87. min-height: 700px;
  88. }
  89. /**
  90. * Right-to-left support.
  91. */
  92. [dir="rtl"] .page-manager-wizard-tree,
  93. [dir="rtl"] .page-manager-wizard-form {
  94. float: right;
  95. }
  96. [dir="rtl"] .page-manager-wizard-form-actions {
  97. margin-left: 0;
  98. margin-right: 20%;
  99. }
  100. [dir="rtl"] .page-manager-wizard-tree > ul {
  101. border-right: 1px solid black;
  102. border-left: 0;
  103. }
  104. }