PopinFixed.styl 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. @import '../../css/Variable.styl'
  2. .wsContentGeneric
  3. position fixed
  4. top 85px
  5. right 0
  6. border 1px solid grey
  7. height 100%
  8. background-color lightGrey
  9. box-shadow shadow-page
  10. z-index 4
  11. &.visible
  12. visibility visible
  13. &__header
  14. display flex
  15. align-items center
  16. padding 15px
  17. height 64px
  18. &__icon
  19. margin-right 15px
  20. font-size 22px
  21. color white
  22. &__title
  23. margin-right 15px
  24. border-radius 5px
  25. color white
  26. text-overflow ellipsis
  27. overflow hidden
  28. white-space nowrap
  29. & > input
  30. padding-left 5px
  31. &__edittitle
  32. margin 0 15px
  33. border 1px solid transparent
  34. border-radius 5px
  35. padding 2px 8px
  36. color white
  37. font-size 17px
  38. cursor pointer
  39. &:hover
  40. border-color white
  41. .fa-pencil
  42. color off-white
  43. &__close
  44. border 1px solid white
  45. border-radius 5px
  46. padding 2px 5px
  47. cursor pointer
  48. & > i
  49. color white
  50. font-size 20px
  51. &__option
  52. border-bottom 1px solid grey
  53. padding 10px
  54. height 58px
  55. background-color off-white
  56. & > i
  57. vertical-align middle
  58. margin-right 15px
  59. font-size 25px
  60. cursor pointer
  61. &__menu
  62. & > div
  63. display flex
  64. align-items center
  65. &__addversion
  66. display flex
  67. align-items center
  68. cursor pointer
  69. &__action
  70. margin 5px 10px 0 0
  71. font-size 18px
  72. background-color transparent
  73. border none
  74. &:hover , &:focus
  75. color blue
  76. &__content
  77. display flex
  78. flex-wrap wrap
  79. // 209 = wsContentGeneric:top wsContentGeneric__header:height - wsContentGeneric__option:height
  80. height calc(100% - 209px)
  81. &__left
  82. width 55%
  83. height calc(100% - 20px) // 20px => margin of timeline
  84. &__right
  85. width 45%
  86. height calc(100% - 10px) // 10px => margin of timeline
  87. @media (min-width: min-sm) and (max-width: max-lg)
  88. .wsContentGeneric__content
  89. overflow-Y auto
  90. &__left
  91. width 100%
  92. margin-bottom 50px
  93. &__right
  94. width 100%
  95. @media (min-width: min-sm) and (max-width: max-sm)
  96. .wsContentGeneric
  97. top 70px
  98. @media (max-width: max-xs)
  99. .wsContentGeneric
  100. top 70px
  101. &__content
  102. overflow-Y auto
  103. &__left
  104. width 100%
  105. margin-bottom 50px
  106. &__right
  107. width 100%