PopinFixed.styl 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 1
  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. color white
  25. text-overflow ellipsis
  26. overflow hidden
  27. white-space nowrap
  28. &__edittitle
  29. margin 0 15px
  30. color white
  31. font-size 20px
  32. cursor pointer
  33. &:hover, &:focus
  34. border 1px solid off-white
  35. padding 0 10px
  36. border-radius 5px
  37. &__close
  38. border 1px solid white
  39. border-radius 5px
  40. padding 2px 5px
  41. cursor pointer
  42. & > i
  43. color white
  44. font-size 20px
  45. &__option
  46. border-bottom 1px solid grey
  47. padding 10px
  48. height 58px
  49. background-color off-white
  50. & > i
  51. vertical-align middle
  52. margin-right 15px
  53. font-size 25px
  54. cursor pointer
  55. &__menu
  56. display flex
  57. align-items center
  58. &__action
  59. margin 5px 10px 0 0
  60. font-size 18px
  61. cursor pointer
  62. &:hover , &:focus
  63. font-size 22px
  64. color blue
  65. &__content
  66. display flex
  67. flex-flow row
  68. // 209 = wsContentGeneric:top wsContentGeneric__header:height - wsContentGeneric__option:height
  69. height calc(100% - 209px)
  70. &__left
  71. width 55%
  72. &__right
  73. width 45%