stream.less 4.3 KB

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