You are here

grid-stack-4.css in GridStack 8.2

Same filename and directory in other branches
  1. 8 css/layout/grid-stack-4.css

File

css/layout/grid-stack-4.css
View source
  1. /**
  2. * @file
  3. */
  4. .gridstack.grid-stack-4 > .box {
  5. left: 0;
  6. min-width: 25%;
  7. }
  8. .gridstack.grid-stack-4 > .box[data-gs-width='1'] {
  9. width: 25%;
  10. }
  11. .gridstack.grid-stack-4 > .box[data-gs-x='1'] {
  12. left: 25%;
  13. }
  14. .gridstack.grid-stack-4 > .box[data-gs-min-width='1'] {
  15. min-width: 25%;
  16. }
  17. .gridstack.grid-stack-4 > .box[data-gs-max-width='1'] {
  18. max-width: 25%;
  19. }
  20. .gridstack.grid-stack-4 > .box[data-gs-width='2'] {
  21. width: 50%;
  22. }
  23. .gridstack.grid-stack-4 > .box[data-gs-x='2'] {
  24. left: 50%;
  25. }
  26. .gridstack.grid-stack-4 > .box[data-gs-min-width='2'] {
  27. min-width: 50%;
  28. }
  29. .gridstack.grid-stack-4 > .box[data-gs-max-width='2'] {
  30. max-width: 50%;
  31. }
  32. .gridstack.grid-stack-4 > .box[data-gs-width='3'] {
  33. width: 75%;
  34. }
  35. .gridstack.grid-stack-4 > .box[data-gs-x='3'] {
  36. left: 75%;
  37. }
  38. .gridstack.grid-stack-4 > .box[data-gs-min-width='3'] {
  39. min-width: 75%;
  40. }
  41. .gridstack.grid-stack-4 > .box[data-gs-max-width='3'] {
  42. max-width: 75%;
  43. }
  44. .gridstack.grid-stack-4 > .box[data-gs-width='4'] {
  45. width: 100%;
  46. }
  47. .gridstack.grid-stack-4 > .box[data-gs-x='4'] {
  48. left: 100%;
  49. }
  50. .gridstack.grid-stack-4 > .box[data-gs-min-width='4'] {
  51. min-width: 100%;
  52. }
  53. .gridstack.grid-stack-4 > .box[data-gs-max-width='4'] {
  54. max-width: 100%;
  55. }