_layout.scss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. @use './variables' as var;
  2. @use './bootstrap/init' as bs;
  3. .dynamic-layout-root.growi-layout-fluid .grw-container-convertible {
  4. width: 100%;
  5. max-width: none;
  6. }
  7. .grw-bg-image-wrapper {
  8. position: fixed;
  9. width: 100%;
  10. height: 100%;
  11. img {
  12. object-fit: cover;
  13. object-position: bottom;
  14. }
  15. }
  16. .grw-modal-head {
  17. border-bottom: 1px solid transparent;
  18. }
  19. .grw-scrollable-modal-body {
  20. max-height: calc(100vh - 330px);
  21. overflow-y: scroll;
  22. }
  23. // padding settings for GrowiNavbarBottom
  24. .page-wrapper {
  25. padding-bottom: var.$grw-navbar-bottom-height;
  26. @include bs.media-breakpoint-up(md) {
  27. padding-bottom: unset;
  28. }
  29. }
  30. .main {
  31. margin-top: 1rem;
  32. @include bs.media-breakpoint-up(lg) {
  33. margin-top: 2rem;
  34. }
  35. }
  36. .grw-side-contents-container {
  37. margin-bottom: 1rem;
  38. @include bs.media-breakpoint-up(lg) {
  39. width: 250px;
  40. min-width: 250px;
  41. margin-left: 30px;
  42. }
  43. }
  44. .grw-side-contents-sticky-container {
  45. position: sticky;
  46. // growisubnavigation + grw-navbar-boder + some spacing
  47. top: calc(100px + 4px + 20px);
  48. }
  49. // printable style
  50. @media print {
  51. body {
  52. padding: 30px;
  53. }
  54. a:after {
  55. display: none !important;
  56. }
  57. .main {
  58. header {
  59. border-bottom: solid 1px bs.$secondary;
  60. h1 {
  61. font-size: 2em;
  62. color: black;
  63. }
  64. }
  65. .row {
  66. display: block !important;
  67. }
  68. .meta {
  69. margin-top: 32px;
  70. color: bs.$secondary;
  71. border-top: solid 1px bs.$gray-300;
  72. }
  73. }
  74. }