rules.styl 3.6 KB

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