_layout.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. body, html{
  2. position: relative;
  3. width: 100%;
  4. height:100%;
  5. font-family: Georgia, serif;
  6. font-style: normal;
  7. margin:0;
  8. padding:0;
  9. // background-color: rgb(219, 219, 219);
  10. }
  11. body.toolbar-horizontal.toolbar-themes.toolbar-no-tabs{
  12. padding-top: 24px!important;
  13. }
  14. // div.layout-container{
  15. // position: relative;
  16. // width:100%; height:100%;
  17. // padding:0.5em 1em;
  18. // box-sizing: border-box;
  19. // z-index: 1;
  20. // }
  21. header[role="banner"]{
  22. // outline: 1px solid blue;
  23. z-index: 2;
  24. position: relative;
  25. padding:0 1em;
  26. >.wrapper{
  27. position: relative;
  28. padding:0.5em 0;
  29. border-bottom: 1px solid red;
  30. // TODO: what header height to fit well with player ??
  31. height:70px;
  32. >.region{
  33. height:100%;
  34. position: relative;
  35. }
  36. }
  37. }
  38. aside.messages{
  39. border: none;
  40. z-index: 99;
  41. position: absolute;
  42. left:5%; top:100px;
  43. width:80%; max-height: 600px;
  44. background-color: rgba(255,255,255,0.8);
  45. padding:0;
  46. overflow-y: auto;
  47. }
  48. main[role="main"]{
  49. // outline:1px solid green;
  50. z-index: 1;
  51. position: absolute;
  52. left:0; top:0;
  53. box-sizing:border-box;
  54. width:100%;
  55. padding:7em 2em 9em;
  56. overflow: hidden;
  57. pointer-events: none;
  58. height:100%;
  59. .layout-content{
  60. width: 100%; height:100%;
  61. overflow:hidden;
  62. &>*{
  63. pointer-events: auto;
  64. }
  65. }
  66. }
  67. body.toolbar-horizontal.toolbar-themes.toolbar-no-tabs{
  68. main[role="main"]{
  69. padding-top: 7em + 1em;
  70. }
  71. }
  72. // body.toolbar-fixed.toolbar-tray-open{
  73. // main[role="main"]{
  74. // padding-top: 7em + 4em;
  75. // // overflow-y: hidden;
  76. // }
  77. // }
  78. footer[role="contentinfo"]{
  79. // outline: 1px solid pink;
  80. z-index: 2;
  81. position:fixed;
  82. bottom:0;
  83. box-sizing: content-box;
  84. width:100%;
  85. // min-height:110px;
  86. padding:0.5em 1em;
  87. }
  88. canvas#corpus-map{
  89. // outline: 1px solid grey;
  90. }
  91. .os-scroll{
  92. height: 100%;
  93. }