You are here

homebox.css in Homebox 6

Same filename and directory in other branches
  1. 6.3 homebox.css
  2. 6.2 homebox.css
  3. 7.3 homebox.css
  4. 7.2 homebox.css
/*
** Administrative interface
*/
#homebox-admin-display-form {}
#homebox-admin-display-form .roles {
  font-size: 86%;
}
#homebox {}

/*
** Columns/regions
*/
#homebox .homebox-column {
  float: left;
  width: 300px;
  margin: 3px;
  padding: 5px;
  background: url(images/stripe.png);
}

#homebox.column-count-1 .homebox-column {
  width: 100%;
}
#homebox.column-count-2 .homebox-column {
  width: 48%;
}
#homebox.column-count-3 .homebox-column {
  width: 31%;
}
#homebox.column-count-4 .homebox-column {
  width: 23%;
}
/*
** Portlets/boxes
*/
#homebox .homebox-portlet {
  margin: 5px 0;
  padding: 0;
  border: 3px solid #eee;
  background-color: white;
}
#homebox .homebox-portlet .homebox-portlet-inner {
  border: 1px solid #c0c0c0;
  overflow: hidden;
}
#homebox .portlet-content {
  padding: 4px;
}
#homebox .homebox-portlet-collapsed .portlet-content {
  display: none;
}
#homebox .homebox-portlet .portlet-header {
  margin: 0;
  padding: 2px 4px;
  border-bottom: 1px solid #ddd;
  background: #e4f0f8; /* matches garland */
  color: #494949;
  min-height: 18px;
  font-size: 1em;
}
#homebox .homebox-draggable .portlet-header:hover {
  cursor: move;
}
#homebox .homebox-portlet .portlet-config {
  display: none;
  border-bottom: 1px solid #ddd;
}
#homebox .homebox-portlet div.views-exposed-widgets {
  padding: 0 7px;
}
#homebox .homebox-portlet div.views-exposed-widgets div.views-exposed-widget {
  clear: both;
}
#homebox div.view-header {
  text-align: right;
}

/*
** Icons
*/
.portlet-icon {
  float: right;
  height: 16px;
  width: 16px;
  cursor: pointer;
}
.portlet-settings {
  background: url(images/settings.gif);
}
.portlet-plus {
  background: url(images/plus.gif);
}
.portlet-minus {
  background: url(images/minus.gif);
}
.portlet-close {
  background: url(images/close.gif);
}

/*
** Closed box/portlet class
*/
.homebox-portlet-closed {
  display: none;
}

/*
** Placeholder
*/
#homebox .homebox-placeholder {
  visibility: visible !important;
  margin: 5px 0;
  padding: 0;
  background: #FFFFDD;
}
#homebox .homebox-placeholder * {
  visibility: hidden;
}

/*
** Colors
*/
div.homebox-colors {
  float: right;
  margin: 2px;
}
.homebox-color-selector {
  display: block;
  float: left;
  cursor: pointer;
  width: 16px;
  height: 16px;
  margin: 1px;
  border: 1px solid #999;
}

/*
** Hidding classes for Add content
*/
  /**
   * We must use visibility because an input
   * element can't be changed via JavaScript
   * since it is not accessible via the DOM anymore.
   * So visibility + height to 0px behave the same way.
   */
.homebox-settings-hidden {
  height: 0px;
  visibility: hidden;
  overflow: hidden;
}
.homebox-settings-show {
  height: auto;
  visibility: visible;
  overflow: visible;
}

File

homebox.css
View source
  1. /*
  2. ** Administrative interface
  3. */
  4. #homebox-admin-display-form {}
  5. #homebox-admin-display-form .roles {
  6. font-size: 86%;
  7. }
  8. #homebox {}
  9. /*
  10. ** Columns/regions
  11. */
  12. #homebox .homebox-column {
  13. float: left;
  14. width: 300px;
  15. margin: 3px;
  16. padding: 5px;
  17. background: url(images/stripe.png);
  18. }
  19. #homebox.column-count-1 .homebox-column {
  20. width: 100%;
  21. }
  22. #homebox.column-count-2 .homebox-column {
  23. width: 48%;
  24. }
  25. #homebox.column-count-3 .homebox-column {
  26. width: 31%;
  27. }
  28. #homebox.column-count-4 .homebox-column {
  29. width: 23%;
  30. }
  31. /*
  32. ** Portlets/boxes
  33. */
  34. #homebox .homebox-portlet {
  35. margin: 5px 0;
  36. padding: 0;
  37. border: 3px solid #eee;
  38. background-color: white;
  39. }
  40. #homebox .homebox-portlet .homebox-portlet-inner {
  41. border: 1px solid #c0c0c0;
  42. overflow: hidden;
  43. }
  44. #homebox .portlet-content {
  45. padding: 4px;
  46. }
  47. #homebox .homebox-portlet-collapsed .portlet-content {
  48. display: none;
  49. }
  50. #homebox .homebox-portlet .portlet-header {
  51. margin: 0;
  52. padding: 2px 4px;
  53. border-bottom: 1px solid #ddd;
  54. background: #e4f0f8; /* matches garland */
  55. color: #494949;
  56. min-height: 18px;
  57. font-size: 1em;
  58. }
  59. #homebox .homebox-draggable .portlet-header:hover {
  60. cursor: move;
  61. }
  62. #homebox .homebox-portlet .portlet-config {
  63. display: none;
  64. border-bottom: 1px solid #ddd;
  65. }
  66. #homebox .homebox-portlet div.views-exposed-widgets {
  67. padding: 0 7px;
  68. }
  69. #homebox .homebox-portlet div.views-exposed-widgets div.views-exposed-widget {
  70. clear: both;
  71. }
  72. #homebox div.view-header {
  73. text-align: right;
  74. }
  75. /*
  76. ** Icons
  77. */
  78. .portlet-icon {
  79. float: right;
  80. height: 16px;
  81. width: 16px;
  82. cursor: pointer;
  83. }
  84. .portlet-settings {
  85. background: url(images/settings.gif);
  86. }
  87. .portlet-plus {
  88. background: url(images/plus.gif);
  89. }
  90. .portlet-minus {
  91. background: url(images/minus.gif);
  92. }
  93. .portlet-close {
  94. background: url(images/close.gif);
  95. }
  96. /*
  97. ** Closed box/portlet class
  98. */
  99. .homebox-portlet-closed {
  100. display: none;
  101. }
  102. /*
  103. ** Placeholder
  104. */
  105. #homebox .homebox-placeholder {
  106. visibility: visible !important;
  107. margin: 5px 0;
  108. padding: 0;
  109. background: #FFFFDD;
  110. }
  111. #homebox .homebox-placeholder * {
  112. visibility: hidden;
  113. }
  114. /*
  115. ** Colors
  116. */
  117. div.homebox-colors {
  118. float: right;
  119. margin: 2px;
  120. }
  121. .homebox-color-selector {
  122. display: block;
  123. float: left;
  124. cursor: pointer;
  125. width: 16px;
  126. height: 16px;
  127. margin: 1px;
  128. border: 1px solid #999;
  129. }
  130. /*
  131. ** Hidding classes for Add content
  132. */
  133. /**
  134. * We must use visibility because an input
  135. * element can't be changed via JavaScript
  136. * since it is not accessible via the DOM anymore.
  137. * So visibility + height to 0px behave the same way.
  138. */
  139. .homebox-settings-hidden {
  140. height: 0px;
  141. visibility: hidden;
  142. overflow: hidden;
  143. }
  144. .homebox-settings-show {
  145. height: auto;
  146. visibility: visible;
  147. overflow: visible;
  148. }