PopinFixed.styl 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. width 100%
  26. color white
  27. text-overflow ellipsis
  28. overflow hidden
  29. white-space nowrap
  30. & > input
  31. padding-left 5px
  32. &__edittitle
  33. margin 0 15px
  34. border 1px solid transparent
  35. border-radius 5px
  36. padding 2px 8px
  37. color white
  38. font-size 17px
  39. cursor pointer
  40. &:hover
  41. border-color white
  42. .fa-pencil
  43. color off-white
  44. &__close
  45. border 1px solid white
  46. border-radius 5px
  47. padding 2px 5px
  48. cursor pointer
  49. & > i
  50. color white
  51. font-size 20px
  52. &__option
  53. border-bottom 1px solid grey
  54. padding 10px
  55. height 58px
  56. background-color off-white
  57. &__menu
  58. & > div
  59. display flex
  60. flex-flow row
  61. justify-content space-between
  62. align-items center
  63. &__addversion
  64. display flex
  65. align-items center
  66. cursor pointer
  67. &__lastversion
  68. display flex
  69. align-items center
  70. cursor pointer
  71. margin-left 15px
  72. & > i
  73. margin-right 10px
  74. color darkGrey
  75. font-size 22px
  76. &__action
  77. font-size 18px
  78. background-color transparent
  79. border none
  80. cursor pointer
  81. &:hover , &:focus
  82. color blue
  83. &__content
  84. display flex
  85. flex-wrap wrap
  86. // 209 = wsContentGeneric:top wsContentGeneric__header:height - wsContentGeneric__option:height
  87. height calc(100% - 209px)
  88. &__left
  89. width 55%
  90. height calc(100% - 20px) // 20px => margin of timeline
  91. &__right
  92. width 45%
  93. height calc(100% - 10px) // 10px => margin of timeline
  94. @media (min-width: min-sm) and (max-width: max-lg)
  95. .wsContentGeneric__content
  96. overflow-Y auto
  97. &__left
  98. width 100%
  99. margin-bottom 50px
  100. &__right
  101. width 100%
  102. @media (min-width: min-sm) and (max-width: max-sm)
  103. .wsContentGeneric
  104. top 70px
  105. @media (max-width: max-xs)
  106. .wsContentGeneric
  107. top 70px
  108. &__content
  109. overflow-Y auto
  110. &__left
  111. width 100%
  112. margin-bottom 50px
  113. &__right
  114. width 100%