dashboard.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /**
  2. * @file
  3. * Stylesheet for the Dashboard module.
  4. */
  5. #dashboard div.dashboard-region {
  6. float: left;
  7. min-height: 1px;
  8. }
  9. #dashboard div#dashboard_main {
  10. width: 65%;
  11. margin-right: 1%; /* LTR */
  12. }
  13. #dashboard div#dashboard_sidebar {
  14. width: 33%;
  15. }
  16. #dashboard div.block {
  17. margin-bottom: 20px;
  18. }
  19. #dashboard .dashboard-region .block {
  20. clear: both;
  21. }
  22. #dashboard div.block h2 {
  23. float: none;
  24. }
  25. #dashboard #disabled-blocks .block,
  26. #dashboard .block-placeholder {
  27. background: #e2e1dc;
  28. padding: 6px 4px 6px 8px; /* LTR */
  29. margin: 3px 3px 3px 0; /* LTR */
  30. float: left; /* LTR */
  31. -moz-border-radius: 4px;
  32. -webkit-border-radius: 4px;
  33. border-radius: 4px;
  34. }
  35. #dashboard .dashboard-add-other-blocks {
  36. margin: 10px 0 0 0;
  37. }
  38. #dashboard .ui-sortable {
  39. border: 2px dashed #ccc;
  40. padding: 10px;
  41. }
  42. #dashboard .canvas-content {
  43. padding: 10px;
  44. }
  45. #dashboard #disabled-blocks .ui-sortable {
  46. padding: 0;
  47. background-color: #777;
  48. border: 0;
  49. }
  50. #dashboard .canvas-content a.button {
  51. margin: 0 0 0 10px; /* LTR */
  52. color: #5a5a5a;
  53. text-decoration: none;
  54. }
  55. #dashboard .region {
  56. margin: 5px;
  57. }
  58. #dashboard #disabled-blocks .region {
  59. background-color: #E0E0D8;
  60. border: #ccc 1px solid;
  61. padding: 10px;
  62. }
  63. #dashboard #disabled-blocks {
  64. padding: 5px 0;
  65. }
  66. #dashboard #disabled-blocks h2 {
  67. display: inline;
  68. font-weight: normal;
  69. white-space: nowrap;
  70. }
  71. #dashboard #disabled-blocks .block {
  72. background: #444;
  73. color: #fff;
  74. }
  75. #dashboard.customize-inactive #disabled-blocks .block:hover {
  76. background: #0074BD;
  77. }
  78. #dashboard #disabled-blocks .block .content,
  79. #dashboard .ui-sortable-helper .content {
  80. display: none;
  81. }
  82. #dashboard .ui-sortable .block {
  83. cursor: move;
  84. min-height: 1px;
  85. }
  86. #dashboard .ui-sortable .block h2 {
  87. background: transparent url(../../misc/draggable.png) no-repeat 0px -39px;
  88. padding: 0 17px;
  89. }
  90. #dashboard.customize-inactive #disabled-blocks .block:hover h2 {
  91. background: #0074BD url(../../misc/draggable.png) no-repeat 0px -39px;
  92. color: #fff;
  93. }
  94. #dashboard.customize-inactive .dashboard-region .ui-sortable .block:hover h2 {
  95. background: #0074BD url(../../misc/draggable.png) no-repeat;
  96. background-position: 3px -36px;
  97. color: #fff;
  98. }
  99. #dashboard .dashboard-region .block-placeholder {
  100. margin: 0 0 20px 0;
  101. padding: 0;
  102. display: block;
  103. height: 1.6em;
  104. width: 100%;
  105. }
  106. #dashboard #disabled-blocks .block-placeholder {
  107. width: 30px;
  108. height: 1.6em;
  109. }