rules.styl 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. .rules-list
  2. overflow:hidden
  3. overflow-y:scroll
  4. max-height: 400px
  5. .rules-lists-item
  6. display: block
  7. position: relative
  8. overflow: auto
  9. p
  10. display: inline-block
  11. float: left
  12. margin: revert
  13. .rules-btns-group
  14. position: absolute
  15. right: 0
  16. top: 50%
  17. transform: translateY(-50%)
  18. button
  19. margin: auto
  20. .rules-add
  21. display: block
  22. overflow: auto
  23. margin-top: 15px
  24. margin-bottom: 5px
  25. input
  26. display: inline-block
  27. float: right
  28. margin: auto
  29. margin-right: 10px
  30. button
  31. display: inline-block
  32. float: right
  33. margin: auto
  34. .flex
  35. display: -webkit-box
  36. display: -moz-box
  37. display: -webkit-flex
  38. display: -moz-flex
  39. display: -ms-flexbox
  40. display: flex
  41. .triggers-content
  42. color: #727479
  43. background: #dedede
  44. .triggers-body
  45. display flex
  46. padding-top 15px
  47. height 100%
  48. .triggers-side-menu
  49. background-color: #f7f7f7
  50. border: 1px solid #f0f0f0
  51. border-radius: 4px
  52. height: intrinsic
  53. box-shadow: inset -1px -1px 3px rgba(0,0,0,.05)
  54. ul
  55. li
  56. margin: 0.1rem 0.2rem;
  57. width:50px
  58. height:50px
  59. text-align:center
  60. font-size: 25px
  61. position: relative
  62. i
  63. position: absolute;
  64. top: 50%;
  65. left: 50%;
  66. box-shadow: none
  67. transform: translate(-50%,-50%);
  68. &.active
  69. background #fff
  70. box-shadow 0 1px 2px rgba(0,0,0,0.15);
  71. &:hover
  72. background #fff
  73. box-shadow 0 1px 2px rgba(0,0,0,0.15);
  74. a
  75. @extends .flex
  76. padding: 1rem 0 1rem 1rem
  77. width: 100% - 5rem
  78. span
  79. font-size: 13px
  80. .triggers-main-body
  81. padding: 0.1em 1em
  82. width:100%
  83. .trigger-item
  84. overflow:auto
  85. padding:10px
  86. height:40px
  87. margin-bottom:5px
  88. border-radius: 3px
  89. position: relative
  90. background-color: white
  91. .trigger-content
  92. position:absolute
  93. top:50%
  94. transform: translateY(-50%)
  95. left:10px
  96. .trigger-text
  97. font-size: 16px
  98. display:inline-block
  99. .trigger-text.trigger-text-email
  100. margin-left: 5px;
  101. margin-top: 10px;
  102. margin-bottom: 10px;
  103. .trigger-dropdown
  104. display:inline-block
  105. select
  106. width:100px
  107. height:30px
  108. margin:0px
  109. margin-left:5px
  110. input
  111. display: inline-block
  112. width: 80px;
  113. margin: 0;
  114. .trigger-content-mail
  115. left:20px
  116. right:100px
  117. .trigger-button
  118. position:absolute
  119. top:50%
  120. transform: translateY(-50%)
  121. width:30px
  122. height:30px
  123. border: 1px solid #eee
  124. border-radius: 4px
  125. box-shadow: inset -1px -1px 3px rgba(0,0,0,.05)
  126. text-align:center
  127. font-size: 20px
  128. right:10px
  129. i
  130. position: absolute
  131. top: 50%
  132. left: 50%
  133. box-shadow: none
  134. transform: translate(-50%,-50%)
  135. &:hover, &.is-active
  136. box-shadow: 0 0 0 2px darken(white, 60%) inset
  137. .trigger-button.trigger-button-email
  138. top:30px
  139. .trigger-item.trigger-item-mail
  140. height:300px