_section.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. body{
  2. overflow: hidden;
  3. }
  4. #page{
  5. height: 100%;
  6. .navbar{
  7. width: 100%;
  8. height: 50px;
  9. }
  10. .handler{
  11. width: 50px;
  12. height: 50px;
  13. border-radius: 25px;
  14. position: absolute;
  15. top: 50%;
  16. z-index: 999;
  17. cursor: grab;
  18. }
  19. .hand1{
  20. background: green;
  21. opacity: 0.5;
  22. left : calc((100%/3) - 25px);
  23. }
  24. .hand2{
  25. background: red;
  26. opacity: 0.5;
  27. right: calc((100%/3) - 25px);
  28. }
  29. .mouseDown{
  30. cursor: grabbing;
  31. }
  32. #start{
  33. width: 100%;
  34. height: calc(100% - 50px);
  35. .top, .bottom{
  36. width: 100%;
  37. display: inline-flex;
  38. justify-content: space-between;
  39. }
  40. .top{
  41. position: relative;
  42. height: $H50;
  43. }
  44. .bottom{
  45. position: absolute;
  46. height: auto;
  47. top: $H50-25;
  48. bottom: 0;
  49. }
  50. .blocs{
  51. overflow-y: auto;
  52. // position: relative;
  53. margin: 2px;
  54. padding: 20px;
  55. width: $W33;
  56. &:nth-child(1){
  57. background: red;
  58. }
  59. &:nth-child(2){
  60. background: pink;
  61. left: $L33;
  62. }
  63. &:nth-child(3){
  64. background: green;
  65. }
  66. }
  67. .bottom{
  68. .blocs{
  69. }
  70. }
  71. }
  72. }