You are here

horizontal_accordion.css in Panels Accordion 6

/**
* Copy-paste-modified from horizontal_accordionv1.1 original.  
* Hasd to remove text-indent & weird colors, change class names, etc.
*/
.haccordion {
  float:left;
  width:100%;
  height:100%;
}
.haccordion .header, .haccordion .panel-pane {
  float: right;
  height:100%;
}

.haccordion .header {
  background-color:grey;
  cursor:pointer;
  width:30px; /* Set my width! */
  margin:0 !important; /* If you want to set margin, make an inner-wrapper */
  padding:0 !important; /* If you want to set padding, make an inner-wrapper */
}

.haccordion .header a {
  display:block;
  width:100%;
  height:100%;	
}
	/* TODO: This block would be for making text go vertical.. /*
	/*.haccordion_1 .header span {
	  -webkit-transform: rotate(90deg);
	  -moz-transform: rotate(90deg);
	  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
	}*/
.haccordion .panel-pane {
  overflow: auto;
  width:0px;
  background-color:white;
}

.ui-accordion-content{ zoom: 1; }

File

horizontal_accordion/horizontal_accordion.css
View source
  1. /**
  2. * Copy-paste-modified from horizontal_accordionv1.1 original.
  3. * Hasd to remove text-indent & weird colors, change class names, etc.
  4. */
  5. .haccordion {
  6. float:left;
  7. width:100%;
  8. height:100%;
  9. }
  10. .haccordion .header, .haccordion .panel-pane {
  11. float: right;
  12. height:100%;
  13. }
  14. .haccordion .header {
  15. background-color:grey;
  16. cursor:pointer;
  17. width:30px; /* Set my width! */
  18. margin:0 !important; /* If you want to set margin, make an inner-wrapper */
  19. padding:0 !important; /* If you want to set padding, make an inner-wrapper */
  20. }
  21. .haccordion .header a {
  22. display:block;
  23. width:100%;
  24. height:100%;
  25. }
  26. /* TODO: This block would be for making text go vertical.. /*
  27. /*.haccordion_1 .header span {
  28. -webkit-transform: rotate(90deg);
  29. -moz-transform: rotate(90deg);
  30. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
  31. }*/
  32. .haccordion .panel-pane {
  33. overflow: auto;
  34. width:0px;
  35. background-color:white;
  36. }
  37. .ui-accordion-content{ zoom: 1; }