_layout.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. body, html{
  2. position: relative;
  3. width: 100%;
  4. height:100%;
  5. font-family: sans-serif;
  6. font-style: normal;
  7. margin:0;
  8. padding:0;
  9. }
  10. body{
  11. overflow-x:hidden;
  12. }
  13. div.dialog-off-canvas-main-canvas{
  14. width: 100vw;
  15. }
  16. body.toolbar-horizontal.toolbar-themes.toolbar-no-tabs{
  17. padding-top: 24px!important;
  18. }
  19. %grided-width{
  20. margin:0 auto;
  21. $m: $column_goutiere;
  22. $colw: $column_width;
  23. $bp: $colw + $m;
  24. @while $bp < 4096px {
  25. $upbp: $bp + $colw + $m;
  26. @media only screen and (min-width: $bp + 1px) and (max-width: $upbp) {
  27. width:$bp - $m;
  28. }
  29. $bp: $upbp;
  30. }
  31. // outline:1px blue solid;
  32. // &>*{
  33. // outline:1px red solid;
  34. // }
  35. }
  36. // _ _ _
  37. // | || |___ __ _ __| |___ _ _
  38. // | __ / -_) _` / _` / -_) '_|
  39. // |_||_\___\__,_\__,_\___|_|
  40. header[role="banner"]{
  41. background-color: #fff;
  42. overflow: visible;
  43. position: fixed;
  44. z-index: 20;
  45. width:100vw;
  46. height: $header_height;
  47. .wrapper{
  48. @extend %grided-width;
  49. // box-sizing:border-box;
  50. .header-block{
  51. min-height: 15px;
  52. font-size: 0;
  53. &.header-right{
  54. text-align: right;
  55. }
  56. &>*{
  57. display: inline-block;
  58. vertical-align: top;
  59. font-size: $base_font_size;
  60. text-align: left;
  61. }
  62. }
  63. }
  64. }
  65. // __ __ _
  66. // | \/ |__ _(_)_ _
  67. // | |\/| / _` | | ' \
  68. // |_| |_\__,_|_|_||_|
  69. main[role="main"]{
  70. @extend %grided-width;
  71. padding-top: $header_height+8px;
  72. }