stream.less 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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. }
  84. }
  85. .deploy {
  86. background: lighten(#f8f9fa, 1.25);
  87. font-size: 12px;
  88. text-align: center;
  89. border-bottom: 1px solid #e9ebec;
  90. padding: 5px 0;
  91. }
  92. .checkbox {
  93. position: absolute;
  94. left: 40px;
  95. top: 21px;
  96. }
  97. .event-details {
  98. padding: 12px 0 8px 24px;
  99. .event-extra {
  100. line-height: 1.1;
  101. }
  102. .event-extra {
  103. color: @gray;
  104. }
  105. .event-extra {
  106. ul {
  107. list-style: none;
  108. margin-left: -9px;
  109. .clearfix;
  110. li {
  111. float: left;
  112. margin: 0 0 5px 9px;
  113. font-size: 12px;
  114. line-height: 1;
  115. border-right: 1px solid lighten(@trim, 6);
  116. padding-right: 9px;
  117. height: 12px;
  118. &:last-child {
  119. border: 0;
  120. padding: 0;
  121. }
  122. a {
  123. display: block;
  124. color: lighten(@gray, 10);
  125. &:hover {
  126. color: @gray;
  127. }
  128. }
  129. .icon {
  130. margin-right: 4px;
  131. font-size: 10px;
  132. }
  133. .tag-label {
  134. margin-right: 4px;
  135. }
  136. }
  137. }
  138. }
  139. .event-meta {
  140. font-size: 80%;
  141. margin-top: 6px;
  142. clear: both;
  143. }
  144. p {
  145. line-height: 1.4;
  146. color: #79858c;
  147. margin-bottom: 0;
  148. }
  149. h3 a,
  150. p {
  151. display: block;
  152. max-width: 100%;
  153. text-overflow: ellipsis;
  154. white-space: nowrap;
  155. overflow: hidden;
  156. }
  157. }
  158. .severity {
  159. padding-top: 35px;
  160. }
  161. }
  162. /**
  163. * Issue list
  164. * ----------------------------------------------------------------------------
  165. * Initial step in renaming .group-list & .group to .issue-list & .issue. This
  166. * will eventually live in shared-components.less.
  167. * ============================================================================
  168. */
  169. .issue-list {
  170. padding: 0;
  171. .issue {
  172. h3 {
  173. em {
  174. font-style: normal;
  175. font-size: 14px;
  176. color: @60;
  177. font-weight: normal;
  178. }
  179. }
  180. &.isResolved {
  181. h3 {
  182. text-decoration: line-through;
  183. color: @gray;
  184. }
  185. }
  186. h3 {
  187. font-size: 16px;
  188. margin: 0;
  189. }
  190. .event-extra {
  191. padding-left: 20px;
  192. overflow: hidden;
  193. white-space: nowrap;
  194. text-overflow: ellipsis;
  195. color: @gray;
  196. > span {
  197. font-size: 13px;
  198. color: @gray;
  199. margin-right: 10px;
  200. }
  201. a {
  202. color: @gray;
  203. font-weight: bold;
  204. &:hover {
  205. color: darken(@gray, 20);
  206. }
  207. }
  208. }
  209. &:last-child {
  210. border-bottom: 0;
  211. }
  212. }
  213. }