stream.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. /**
  2. * Stream / Group List
  3. * ============================================================================
  4. */
  5. .event-list {
  6. background: #fff;
  7. border: 1px solid @trim;
  8. border-top: 1px solid @trim;
  9. box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  10. border-radius: 0 0 3px 3px;
  11. }
  12. .events,
  13. .event-list {
  14. list-style: none;
  15. .group {
  16. color: @gray-dark;
  17. position: relative;
  18. margin: 0;
  19. border-bottom: 1px solid @trim;
  20. padding-right: 10px;
  21. background: #fff;
  22. transition: all 0.4s ease-in-out;
  23. &.hoverable {
  24. cursor: pointer;
  25. transition: all 0s ease-in-out;
  26. &:hover {
  27. background-color: @white-dark;
  28. }
  29. }
  30. &.selected {
  31. background: lighten(@blue, 20);
  32. box-shadow: inset 0 1px 0 rgba(52, 60, 69, 0.08);
  33. .event-details:after {
  34. background: @blue;
  35. }
  36. }
  37. &.hasSeen {
  38. h3 {
  39. a {
  40. font-weight: 400;
  41. }
  42. }
  43. }
  44. &.isResolved {
  45. h3 {
  46. text-decoration: line-through;
  47. color: @gray;
  48. }
  49. }
  50. &.updated {
  51. background: #fffff8;
  52. color: #786e43 !important;
  53. border-color: #eceade;
  54. a {
  55. color: darken(#786e43, 5) !important;
  56. }
  57. .event-details:after {
  58. position: absolute;
  59. content: '';
  60. top: -1px;
  61. bottom: -1px;
  62. left: -1px;
  63. width: 3px;
  64. z-index: 100;
  65. transition: all 0.2s ease-in-out;
  66. background: @yellow;
  67. }
  68. }
  69. &:first-child {
  70. .event-cell {
  71. border-top: 0;
  72. }
  73. }
  74. &:last-child {
  75. border-bottom-color: transparent;
  76. border-radius: 0 0 3px 3px;
  77. .event-cell {
  78. border-bottom: 1px solid #e9ebec;
  79. }
  80. .event-details {
  81. border-radius: 0 0 0 4px;
  82. }
  83. .event-users {
  84. border-radius: 0 0 4px 0;
  85. }
  86. }
  87. }
  88. .deploy {
  89. background: lighten(#f8f9fa, 1.25);
  90. font-size: 12px;
  91. text-align: center;
  92. border-bottom: 1px solid #e9ebec;
  93. padding: 5px 0;
  94. }
  95. .checkbox {
  96. position: absolute;
  97. left: 40px;
  98. top: 21px;
  99. }
  100. .event-details {
  101. padding: 12px 0 8px 24px;
  102. .event-extra {
  103. line-height: 1.1;
  104. }
  105. .event-extra {
  106. color: @gray;
  107. }
  108. .event-extra {
  109. ul {
  110. list-style: none;
  111. margin-left: -9px;
  112. .clearfix;
  113. li {
  114. float: left;
  115. margin: 0 0 5px 9px;
  116. font-size: 12px;
  117. line-height: 1;
  118. border-right: 1px solid lighten(@trim, 6);
  119. padding-right: 9px;
  120. height: 12px;
  121. &:last-child {
  122. border: 0;
  123. padding: 0;
  124. }
  125. a {
  126. display: block;
  127. color: lighten(@gray, 10);
  128. &:hover {
  129. color: @gray;
  130. }
  131. }
  132. .icon {
  133. margin-right: 4px;
  134. font-size: 10px;
  135. }
  136. .tag-label {
  137. margin-right: 4px;
  138. }
  139. }
  140. }
  141. }
  142. .event-meta {
  143. font-size: 80%;
  144. margin-top: 6px;
  145. clear: both;
  146. }
  147. p {
  148. line-height: 1.4;
  149. color: #79858c;
  150. margin-bottom: 0;
  151. }
  152. h3 a,
  153. p {
  154. display: block;
  155. max-width: 100%;
  156. text-overflow: ellipsis;
  157. white-space: nowrap;
  158. overflow: hidden;
  159. }
  160. }
  161. .event-graph,
  162. .event-users,
  163. .event-count {
  164. line-height: 24px;
  165. }
  166. .severity {
  167. padding-top: 35px;
  168. }
  169. }
  170. /**
  171. * Issue list
  172. * ----------------------------------------------------------------------------
  173. * Initial step in renaming .group-list & .group to .issue-list & .issue. This
  174. * will eventually live in shared-components.less.
  175. * ============================================================================
  176. */
  177. .issue-list {
  178. padding: 0;
  179. .issue {
  180. h3 {
  181. em {
  182. font-style: normal;
  183. font-size: 14px;
  184. color: @60;
  185. font-weight: normal;
  186. }
  187. }
  188. &.isResolved {
  189. h3 {
  190. text-decoration: line-through;
  191. color: @gray;
  192. }
  193. }
  194. h3 {
  195. font-size: 16px;
  196. margin: 0;
  197. }
  198. .event-extra {
  199. padding-left: 20px;
  200. overflow: hidden;
  201. white-space: nowrap;
  202. text-overflow: ellipsis;
  203. color: @gray;
  204. > span {
  205. font-size: 13px;
  206. color: @gray;
  207. margin-right: 10px;
  208. }
  209. a {
  210. color: @gray;
  211. font-weight: bold;
  212. &:hover {
  213. color: darken(@gray, 20);
  214. }
  215. }
  216. }
  217. &.with-graph {
  218. position: relative;
  219. padding-right: 180px;
  220. }
  221. &:last-child {
  222. border-bottom: 0;
  223. }
  224. }
  225. }