participants.less 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. //
  2. // Participants Lists
  3. // --------------------------------------------------
  4. // Participants popover
  5. //
  6. //==
  7. .participants-popover {
  8. margin: -4px -2px;
  9. &>li {
  10. margin: 0px;
  11. padding: @line-height-computed / 3 0px;
  12. min-width: 120px;
  13. img {
  14. border-radius: @border-radius-small;
  15. position: relative;
  16. bottom: 1px;
  17. }
  18. a {
  19. font-weight: bold;
  20. }
  21. }
  22. }
  23. // Participants field
  24. //
  25. //==
  26. .thread-participants-input {
  27. background: @input-bg;
  28. border: 2px solid @input-border;
  29. border-radius: @border-radius-large;
  30. input {
  31. border: none;
  32. .box-shadow(none);
  33. margin: 0px;
  34. }
  35. ul {
  36. float: left;
  37. margin: 0px;
  38. li {
  39. background: darken(@input-bg, 5%);
  40. border-radius: @border-radius-small;
  41. float: left;
  42. margin-left: 2px;
  43. margin-right: @line-height-computed / 2;
  44. margin-top: 2px;
  45. padding: @padding-small-vertical @padding-small-horizontal;
  46. padding-left: @padding-small-vertical + 1px;
  47. font-weight: bold;
  48. img {
  49. border-radius: @border-radius-small;
  50. height: 20px;
  51. margin-right: @line-height-computed / 5;
  52. margin-bottom: -2px;
  53. position: relative;
  54. bottom: 2px;
  55. }
  56. .btn {
  57. background: transparent;
  58. border-color: transparent;
  59. margin-left: @line-height-computed / 4;
  60. height: 17px;
  61. width: 17px;
  62. padding: 0px;
  63. position: relative;
  64. bottom: 2px;
  65. text-align: center;
  66. .fa {
  67. position: relative;
  68. left: 0px;
  69. bottom: 1px;
  70. font-size: 14px;
  71. }
  72. }
  73. }
  74. }
  75. .user-input {
  76. float: left;
  77. border: none;
  78. .box-shadow(none);
  79. }
  80. .twitter-typeahead {
  81. margin-bottom: -5px;
  82. .tt-dropdown-menu {
  83. background-color: @dropdown-bg;
  84. border-radius: @border-radius-base;
  85. box-shadow: 0px 0px 0px 4px @dropdown-shadow;
  86. min-width: 160px;
  87. padding: @padding-base-vertical 0px;
  88. &:after {
  89. border: solid transparent;
  90. border-bottom-color: @dropdown-bg;
  91. border-width: 4px;
  92. content: "";
  93. height: 0;
  94. position: absolute;
  95. pointer-events: none;
  96. left: 12px;
  97. top: -8px;
  98. width: 0;
  99. }
  100. .tt-suggestion {
  101. display: block;
  102. padding: @padding-base-vertical @padding-large-horizontal;
  103. color: @dropdown-link-color;
  104. font-weight: bold;
  105. cursor: pointer;
  106. img {
  107. border-radius: @border-radius-small;
  108. position: relative;
  109. bottom: 1px;
  110. }
  111. &.tt-cursor {
  112. &, a:hover, a:active {
  113. background-color: darken(@dropdown-bg, 10%);
  114. color: @dropdown-link-color;
  115. }
  116. }
  117. }
  118. }
  119. }
  120. }
  121. // Edit thread participants
  122. //
  123. //==
  124. .modal-edit-participants {
  125. .users-list-compact {
  126. margin-bottom: @line-height-computed * 1.5;
  127. }
  128. .invite-form {
  129. display: table;
  130. width: 100%;
  131. .input {
  132. display: table-cell;
  133. width: 100%;
  134. .thread-participants-input {
  135. margin: 0px;
  136. }
  137. }
  138. .button {
  139. display: table-cell;
  140. padding-left: @line-height-computed / 3;
  141. vertical-align: top;
  142. .btn {
  143. margin: 0px;
  144. }
  145. }
  146. }
  147. }