You are here

gridstack.debug.css in GridStack 8.2

Provides debug utilites, both front-end and Layout Builder pages.

File

css/admin/gridstack.debug.css
View source
  1. /**
  2. * @file
  3. * Provides debug utilites, both front-end and Layout Builder pages.
  4. */
  5. /*
  6. Bad for background.
  7. .user-logged-in .is-gs-debug.row .box__content {
  8. position: relative;
  9. }
  10. */
  11. .user-logged-in .is-gs-debug .box__content::after,
  12. .user-logged-in .is-gs-debug.row .box--empty::after {
  13. box-sizing: border-box; /* dups due to csslint ignoring inheritance */
  14. content: '';
  15. border: 1px dotted rgba(0, 0, 0, .2);
  16. display: block;
  17. left: 0;
  18. right: 0;
  19. position: absolute;
  20. top: 0;
  21. width: auto;
  22. height: 100%;
  23. pointer-events: none;
  24. z-index: 1;
  25. }
  26. .user-logged-in .is-gs-debug .box__content[class*="bg-"]::after {
  27. display: none;
  28. }
  29. .user-logged-in .is-gs-debug.row .gridstack__box {
  30. min-height: 80px;
  31. position: relative;
  32. }
  33. .user-logged-in .gridstack.is-gs-debug .gridstack__box::before {
  34. box-sizing: border-box; /* dups due to csslint ignoring inheritance */
  35. background: rgba(0, 0, 0, .8);
  36. color: #fff;
  37. content: attr(data-gs-delta);
  38. display: block;
  39. font-size: 12px;
  40. height: 24px;
  41. line-height: 22px;
  42. position: absolute;
  43. left: 0;
  44. padding: 2px 0;
  45. text-align: center;
  46. top: 0;
  47. min-width: 24px;
  48. z-index: 9;
  49. }
  50. .user-logged-in .gridstack.is-gs-debug .gridstack__box.box--nested::before {
  51. min-width: 32px;
  52. }
  53. .user-logged-in .gridstack.row.is-gs-debug .gridstack__box::before,
  54. .user-logged-in .gridstack.row.is-gs-lb .gridstack__box.box::before {
  55. left: 15px;
  56. }
  57. .user-logged-in .gridstack--gs.is-gs-debug .gridstack__box::before {
  58. left: 8px;
  59. }
  60. .user-logged-in .gridstack--js.is-gs-lb .gridstack__box::before {
  61. left: 0;
  62. }
  63. .user-logged-in .gridstack.is-gs-debug .gridstack__box .box:first-child::before,
  64. .user-logged-in .gridstack.is-gs-debug .gridstack__box.box--nested:first-child::before {
  65. left: 40px;
  66. }
  67. .user-logged-in .gridstack.is-gs-lbux.row .gridstack__box::before {
  68. top: 10px;
  69. }