You are here

nd_regions.css in Display Suite 6.3

.nd-region-header {
  clear: both;
}

.nd-region-left {
  display: inline;
  float: left;
}

.nd-region-middle-wrapper {
  display: inline;
  float: left;
  width: 100%;
  margin-right: -100%;
}

.nd-region-right {
  display: inline;
  float: right;
}

.nd-region-footer {
  clear: both;
}

/* default region dimensions */

.nd-region-left {
  width: 25%;
}

.nd-region-right {
  width: 25%;
}

/* middle region */

.nd-no-sidebars .nd-region-middle {
}

.nd-sidebar-left .nd-region-middle {
  margin-left: 25%;
}

.nd-sidebar-right .nd-region-middle {
  margin-right: 25%;
}

.nd-two-sidebars .nd-region-middle {
  margin-left: 25%;
  margin-right: 25%;
}

/* Fix for IE */
.nd-no-sidebars {
  display:block;
  float:none;
  margin-right:0;
  width:auto;
}

.nd-sidebar-right {
  *display: inline;
  *float: right;
  *width: 100%;
  *margin-left: -100%;
}

File

modules/nd/css/nd_regions.css
View source
  1. .nd-region-header {
  2. clear: both;
  3. }
  4. .nd-region-left {
  5. display: inline;
  6. float: left;
  7. }
  8. .nd-region-middle-wrapper {
  9. display: inline;
  10. float: left;
  11. width: 100%;
  12. margin-right: -100%;
  13. }
  14. .nd-region-right {
  15. display: inline;
  16. float: right;
  17. }
  18. .nd-region-footer {
  19. clear: both;
  20. }
  21. /* default region dimensions */
  22. .nd-region-left {
  23. width: 25%;
  24. }
  25. .nd-region-right {
  26. width: 25%;
  27. }
  28. /* middle region */
  29. .nd-no-sidebars .nd-region-middle {
  30. }
  31. .nd-sidebar-left .nd-region-middle {
  32. margin-left: 25%;
  33. }
  34. .nd-sidebar-right .nd-region-middle {
  35. margin-right: 25%;
  36. }
  37. .nd-two-sidebars .nd-region-middle {
  38. margin-left: 25%;
  39. margin-right: 25%;
  40. }
  41. /* Fix for IE */
  42. .nd-no-sidebars {
  43. display:block;
  44. float:none;
  45. margin-right:0;
  46. width:auto;
  47. }
  48. .nd-sidebar-right {
  49. *display: inline;
  50. *float: right;
  51. *width: 100%;
  52. *margin-left: -100%;
  53. }