_section.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. #start{
  12. width: 100%;
  13. height: calc(100% - 50px);
  14. position: relative;
  15. .handler{
  16. width: 50px;
  17. height: 50px;
  18. border-radius: 25px;
  19. position: absolute;
  20. top: 50%;
  21. z-index: 999;
  22. cursor: grab;
  23. }
  24. .hand1{
  25. left : calc((100%/3));
  26. margin-left: -26px;
  27. margin-top: -24px;
  28. }
  29. .hand2{
  30. left: calc((100%/3) * 2);
  31. margin-left: -25px;
  32. margin-top: -24px;
  33. img{
  34. margin-left: 1px;
  35. }
  36. }
  37. .mouseDown{
  38. cursor: grabbing;
  39. }
  40. .blocs{
  41. position: absolute;
  42. overflow-y: hidden;
  43. margin: 0;
  44. width: $W33;
  45. min-width: 200px;
  46. height: $H50-25;
  47. z-index: 998;
  48. &:nth-child(3n+2){
  49. left: -2px;
  50. }
  51. &:nth-of-type(2){
  52. background: rgb(150, 150, 150);
  53. }
  54. &:nth-child(-n+3){
  55. padding: 0px 20px;
  56. }
  57. &:nth-child(3n+3){
  58. background: white;
  59. left: $L33;
  60. }
  61. &:nth-child(3n+4){
  62. background: white;
  63. right: -2px;
  64. }
  65. &:nth-child(n+5){
  66. top: $T50-25;
  67. margin-top: 2px;
  68. }
  69. &:nth-of-type(-n+3){
  70. & > div:nth-child(n+1){
  71. overflow: hidden;
  72. }
  73. .mCSB_container > div:last-child{
  74. margin-bottom: 25px;
  75. }
  76. }
  77. }
  78. #reseaux-sociaux{
  79. canvas[resize] {
  80. width: 100vw;
  81. height: 100vh;
  82. }
  83. }
  84. #images{
  85. img{
  86. filter: grayscale(100%) contrast(1);
  87. transition: filter 0.5s;
  88. &:hover{
  89. filter: grayscale(0%);
  90. transition: filter 0.5s;
  91. }
  92. }
  93. }
  94. #links{
  95. z-index: 997!important;
  96. display: flex;
  97. svg{
  98. position: fixed;
  99. top: -33%;
  100. left: -55%;
  101. }
  102. }
  103. #streetmap{
  104. #mCSB_4_container{
  105. width: 100%;
  106. height: 100%;
  107. }
  108. & > div:nth-of-type(1){
  109. height: 100%;
  110. }
  111. #mapid {
  112. width: 100%;
  113. height: 100%;
  114. filter: grayscale(100%) contrast(1);
  115. .leaflet-marker-pane{
  116. img{
  117. transform: translate(-25px, -25px);
  118. }
  119. }
  120. }
  121. }
  122. }
  123. }