_section.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. img{
  41. filter: grayscale(100%) contrast(1);
  42. transition: filter 0.5s;
  43. &:hover{
  44. filter: grayscale(0%);
  45. transition: filter 0.5s;
  46. }
  47. }
  48. .blocs{
  49. position: absolute;
  50. overflow-y: auto;
  51. margin: 0;
  52. width: $W33;
  53. min-width: 200px;
  54. height: $H50-25;
  55. &:nth-child(3n+2){
  56. left: -2px;
  57. }
  58. &:nth-of-type(2){
  59. background: rgb(150, 150, 150);
  60. }
  61. &:nth-child(-n+3){
  62. padding: 0px 20px;
  63. }
  64. &:nth-child(3n+3){
  65. background: white;
  66. left: $L33;
  67. }
  68. &:nth-child(3n+4){
  69. background: white;
  70. right: -2px;
  71. }
  72. &:nth-child(n+5){
  73. top: $T50-25;
  74. margin-top: 2px;
  75. }
  76. &:nth-of-type(-n+3){
  77. & > div:nth-child(n+1){
  78. margin-bottom: 25px;
  79. }
  80. }
  81. }
  82. #links{
  83. canvas[resize] {
  84. width: 100vw;
  85. height: 100vh;
  86. }
  87. }
  88. #reseaux-sociaux{
  89. svg{
  90. // width: 100vw;
  91. // height: 100vh;
  92. }
  93. }
  94. #streetmap{
  95. & > div:nth-of-type(1){
  96. height: 100%;
  97. }
  98. #mapid {
  99. width: 100vw;
  100. height: 100%;
  101. }
  102. }
  103. }
  104. }