PopinFixed.styl 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. display flex
  63. align-items center
  64. &__addversion
  65. display flex
  66. align-items center
  67. cursor pointer
  68. &__action
  69. margin 5px 10px 0 0
  70. font-size 18px
  71. background-color transparent
  72. border none
  73. &:hover , &:focus
  74. color blue
  75. &__content
  76. display flex
  77. flex-wrap wrap
  78. // 209 = wsContentGeneric:top wsContentGeneric__header:height - wsContentGeneric__option:height
  79. height calc(100% - 209px)
  80. &__left
  81. width 55%
  82. &__right
  83. width 45%
  84. @media (min-width: min-sm) and (max-width: max-lg)
  85. .wsContentGeneric__content
  86. overflow-Y auto
  87. &__left
  88. width 100%
  89. margin-bottom 50px
  90. &__right
  91. width 100%
  92. @media (min-width: min-sm) and (max-width: max-sm)
  93. .wsContentGeneric
  94. top 70px
  95. @media (max-width: max-xs)
  96. .wsContentGeneric
  97. top 70px
  98. &__content
  99. overflow-Y auto
  100. &__left
  101. width 100%
  102. margin-bottom 50px
  103. &__right
  104. width 100%