Commit add73ba65e643127ea5de447e0a78dc6d857d613

Authored by AntonioTerceiro
1 parent eb485744

ActionItem549: limiting "subcategories"

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2226 3f533792-8f58-4932-b0fe-aaf55b0a4547
public/designs/themes/ecosol/stylesheets/controller_search.css
@@ -204,12 +204,13 @@ body.category4 .category-innerbox { @@ -204,12 +204,13 @@ body.category4 .category-innerbox {
204 204
205 #category-childs ul { 205 #category-childs ul {
206 margin: 0px; 206 margin: 0px;
207 - padding: 0px 0px 0px 20px; 207 + padding: 0px 0px 0px 50px;
  208 + -moz-border-radius: 20px;
208 } 209 }
209 210
210 #category-childs li { 211 #category-childs li {
211 margin: 0px; 212 margin: 0px;
212 - padding: 0px; 213 + padding: 3px 0px 3px 0px;
213 float: left; 214 float: left;
214 width: 33%; 215 width: 33%;
215 font-size: 12px; 216 font-size: 12px;
@@ -219,6 +220,18 @@ body.category4 .category-innerbox { @@ -219,6 +220,18 @@ body.category4 .category-innerbox {
219 font-weight: bold; 220 font-weight: bold;
220 } 221 }
221 222
  223 +.category1 #category-childs ul {
  224 + background: #FDD79E;
  225 +}
  226 +.category2 #category-childs ul {
  227 + background: #C4F099;
  228 +}
  229 +.category3 #category-childs ul {
  230 + background: #D6BFD3;
  231 +}
  232 +.category4 #category-childs ul {
  233 + background: #F79494;
  234 +}
222 235
223 /* * * Pagination * * * * * * * * * * * */ 236 /* * * Pagination * * * * * * * * * * * */
224 237
public/stylesheets/controller_search.css
@@ -258,6 +258,13 @@ @@ -258,6 +258,13 @@
258 } 258 }
259 259
260 260
  261 +/* * * Sub-category stuff * * * * * * * */
  262 +
  263 +#category-childs ul {
  264 + height: 150px;
  265 + overflow: auto;
  266 +}
  267 +
261 /* * * Pagination * * * * * * * * * * * */ 268 /* * * Pagination * * * * * * * * * * * */
262 269
263 .pagination { 270 .pagination {