_section.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. body{
  2. overflow: hidden;
  3. background:rgb(230, 230, 230);
  4. }
  5. #page{
  6. height: 100%;
  7. .navbar{
  8. width: 100%;
  9. height: 50px;
  10. }
  11. .handler{
  12. width: 50px;
  13. height: 50px;
  14. border-radius: 25px;
  15. position: absolute;
  16. top: 50%;
  17. z-index: 999;
  18. cursor: grab;
  19. }
  20. .hand1{
  21. background: green;
  22. opacity: 0.5;
  23. left : calc((100%/3) - 25px);
  24. }
  25. .hand2{
  26. background: red;
  27. opacity: 0.5;
  28. right: calc((100%/3) - 25px);
  29. }
  30. .mouseDown{
  31. cursor: grabbing;
  32. }
  33. #start{
  34. width: 100%;
  35. height: calc(100% - 50px);
  36. .top, .bottom{
  37. width: 100%;
  38. display: inline-flex;
  39. justify-content: space-between;
  40. }
  41. img{
  42. filter: grayscale(100%) contrast(4);
  43. transition: filter 0.5s;
  44. &:hover{
  45. filter: grayscale(0%);
  46. transition: filter 0.5s;
  47. }
  48. }
  49. .top{
  50. position: relative;
  51. height: $H50;
  52. & > div{
  53. &:nth-child(-n+2){
  54. padding: 0px 20px;
  55. }
  56. &:nth-child(1){
  57. background: rgb(150, 150, 150);
  58. }
  59. }
  60. }
  61. .bottom{
  62. position: absolute;
  63. height: auto;
  64. top: $H50-25;
  65. bottom: 0;
  66. }
  67. .blocs{
  68. // position: relative;
  69. overflow-y: auto;
  70. margin: 2px;
  71. width: $W33;
  72. min-width: 200px;
  73. &:nth-child(2){
  74. background: white;
  75. left: $L33;
  76. }
  77. &:nth-child(3){
  78. background: white;
  79. }
  80. }
  81. #links{
  82. canvas{
  83. top: 0;
  84. left: 0;
  85. }
  86. canvas[resize] {
  87. width: 100vw;
  88. height: 100vh;
  89. }
  90. }
  91. #reseaux-sociaux{
  92. svg{
  93. // width: 100vw;
  94. // height: 100vh;
  95. }
  96. }
  97. #streetmap{
  98. & > div:nth-of-type(1){
  99. height: 100%;
  100. }
  101. #mapid {
  102. width: 100%;
  103. height: 100%;
  104. }
  105. }
  106. }
  107. }