2012-09-24 05:32:51 -04:00
|
|
|
/**
|
|
|
|
* Dashboard events feed
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.event-item {
|
2015-09-04 05:56:32 -04:00
|
|
|
font-size: $gl-font-size;
|
2017-03-31 17:24:15 -04:00
|
|
|
padding: $gl-padding-top 0 $gl-padding-top 40px;
|
2016-12-12 17:26:21 -05:00
|
|
|
border-bottom: 1px solid $white-normal;
|
2016-03-18 12:48:52 -04:00
|
|
|
color: $list-text-color;
|
2017-03-31 17:09:58 -04:00
|
|
|
position: relative;
|
2013-07-13 02:57:54 -04:00
|
|
|
|
2013-08-20 14:31:37 -04:00
|
|
|
&.event-inline {
|
2017-04-10 11:58:41 -04:00
|
|
|
.system-note-image {
|
2017-03-31 17:09:58 -04:00
|
|
|
top: 20px;
|
|
|
|
}
|
|
|
|
|
2017-04-10 11:58:41 -04:00
|
|
|
.user-avatar {
|
|
|
|
top: 14px;
|
|
|
|
}
|
|
|
|
|
2015-11-04 10:23:39 -05:00
|
|
|
.event-title,
|
2015-09-03 09:09:55 -04:00
|
|
|
.event-item-timestamp {
|
2016-02-04 13:44:52 -05:00
|
|
|
line-height: 40px;
|
2015-09-03 09:09:55 -04:00
|
|
|
}
|
2013-08-20 14:31:37 -04:00
|
|
|
}
|
|
|
|
|
2015-09-03 07:44:54 -04:00
|
|
|
a {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2015-09-03 07:44:54 -04:00
|
|
|
}
|
|
|
|
|
2017-04-10 11:58:41 -04:00
|
|
|
.system-note-image {
|
2017-03-31 17:09:58 -04:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 14px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 20px;
|
2017-04-07 13:50:15 -04:00
|
|
|
height: 20px;
|
2017-03-31 17:09:58 -04:00
|
|
|
fill: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
|
2017-04-11 13:32:42 -04:00
|
|
|
&.opened-icon,
|
|
|
|
&.created-icon {
|
|
|
|
svg {
|
|
|
|
fill: $green-300;
|
|
|
|
}
|
2017-03-31 17:09:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.closed-icon svg {
|
|
|
|
fill: $red-300;
|
|
|
|
}
|
|
|
|
|
2017-04-11 13:32:42 -04:00
|
|
|
&.accepted-icon svg {
|
2017-03-31 17:09:58 -04:00
|
|
|
fill: $blue-300;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-09-24 05:32:51 -04:00
|
|
|
.event-title {
|
2015-04-01 17:49:34 -04:00
|
|
|
@include str-truncated(calc(100% - 174px));
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2016-03-18 14:02:08 -04:00
|
|
|
color: $list-text-color;
|
2012-09-24 05:32:51 -04:00
|
|
|
}
|
2015-09-03 07:44:54 -04:00
|
|
|
|
2012-09-24 05:32:51 -04:00
|
|
|
.event-body {
|
2015-11-05 03:56:51 -05:00
|
|
|
margin-right: 174px;
|
|
|
|
|
2013-01-05 05:12:02 -05:00
|
|
|
.event-note {
|
2015-01-18 23:11:17 -05:00
|
|
|
word-wrap: break-word;
|
2013-02-11 08:47:01 -05:00
|
|
|
|
2014-03-26 05:13:06 -04:00
|
|
|
.md {
|
2015-09-04 05:56:32 -04:00
|
|
|
font-size: $gl-font-size;
|
2016-03-24 07:28:06 -04:00
|
|
|
|
|
|
|
.label {
|
|
|
|
color: $gl-text-color;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe.twitter-share-button {
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
2014-03-26 05:13:06 -04:00
|
|
|
}
|
|
|
|
|
2016-06-20 03:26:28 -04:00
|
|
|
code {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2013-05-29 16:26:24 -04:00
|
|
|
pre {
|
|
|
|
border: none;
|
2016-08-19 11:39:18 -04:00
|
|
|
background: $gray-light;
|
2013-05-29 16:26:24 -04:00
|
|
|
border-radius: 0;
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $events-pre-color;
|
2015-01-18 23:11:17 -05:00
|
|
|
overflow: hidden;
|
2013-05-29 16:26:24 -04:00
|
|
|
}
|
|
|
|
|
2013-08-20 14:20:11 -04:00
|
|
|
.note-image-attach {
|
|
|
|
margin-top: 4px;
|
2016-03-16 19:29:47 -04:00
|
|
|
margin-left: 0;
|
2013-08-20 14:20:11 -04:00
|
|
|
max-width: 200px;
|
2014-01-01 14:42:42 -05:00
|
|
|
float: none;
|
2013-02-11 08:47:01 -05:00
|
|
|
}
|
2013-08-26 08:49:11 -04:00
|
|
|
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2013-01-16 17:03:21 -05:00
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2013-01-16 17:03:21 -05:00
|
|
|
.event-note-icon {
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $events-pre-color;
|
2013-01-16 17:03:21 -05:00
|
|
|
float: left;
|
2015-09-04 05:56:32 -04:00
|
|
|
font-size: $gl-font-size;
|
2013-03-04 15:00:51 -05:00
|
|
|
line-height: 16px;
|
|
|
|
margin-right: 5px;
|
2013-01-05 05:12:02 -05:00
|
|
|
}
|
2012-09-24 05:32:51 -04:00
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2012-09-24 05:32:51 -04:00
|
|
|
.event_icon {
|
2012-12-14 14:39:55 -05:00
|
|
|
position: relative;
|
2012-09-24 05:32:51 -04:00
|
|
|
float: right;
|
2016-11-30 08:25:25 -05:00
|
|
|
border: 1px solid $gray-darker;
|
2012-09-24 05:32:51 -04:00
|
|
|
padding: 5px;
|
2016-09-09 12:59:36 -04:00
|
|
|
border-radius: 5px;
|
2016-08-19 11:39:18 -04:00
|
|
|
background: $gray-light;
|
2012-12-14 14:39:55 -05:00
|
|
|
margin-left: 10px;
|
|
|
|
top: -6px;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2012-09-24 05:32:51 -04:00
|
|
|
img {
|
2012-11-23 11:33:43 -05:00
|
|
|
width: 20px;
|
2012-09-24 05:32:51 -04:00
|
|
|
}
|
|
|
|
}
|
2013-08-16 08:28:32 -04:00
|
|
|
|
2016-10-14 16:39:08 -04:00
|
|
|
&:last-child { border: none; }
|
2012-09-24 05:32:51 -04:00
|
|
|
|
|
|
|
.event_commits {
|
2012-09-25 06:14:20 -04:00
|
|
|
li {
|
|
|
|
&.commit {
|
|
|
|
background: transparent;
|
2017-04-10 11:58:41 -04:00
|
|
|
padding: 0;
|
2012-11-23 11:33:43 -05:00
|
|
|
border: none;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2013-09-10 06:15:49 -04:00
|
|
|
.commit-row-title {
|
2015-09-04 05:56:32 -04:00
|
|
|
font-size: $gl-font-size;
|
2013-09-10 06:15:49 -04:00
|
|
|
}
|
2012-09-25 06:14:20 -04:00
|
|
|
}
|
2015-09-03 07:44:54 -04:00
|
|
|
|
2012-09-25 06:14:20 -04:00
|
|
|
&.commits-stat {
|
|
|
|
display: block;
|
2016-08-26 11:12:26 -04:00
|
|
|
padding: 0 3px 0 0;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2013-07-04 10:10:34 -04:00
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
2012-09-25 06:14:20 -04:00
|
|
|
}
|
2012-09-24 05:32:51 -04:00
|
|
|
}
|
|
|
|
}
|
2014-05-26 16:26:41 -04:00
|
|
|
|
|
|
|
.event-item-timestamp {
|
|
|
|
float: right;
|
|
|
|
line-height: 22px;
|
|
|
|
}
|
2012-09-24 05:32:51 -04:00
|
|
|
}
|
|
|
|
|
2014-12-15 13:00:44 -05:00
|
|
|
|
2014-05-26 16:26:41 -04:00
|
|
|
/*
|
|
|
|
* Last push widget
|
|
|
|
*/
|
|
|
|
.event-last-push {
|
2015-01-06 00:36:58 -05:00
|
|
|
overflow: auto;
|
2016-01-07 13:23:17 -05:00
|
|
|
width: 100%;
|
2016-10-24 15:23:40 -04:00
|
|
|
|
2014-05-26 16:26:41 -04:00
|
|
|
.event-last-push-text {
|
2015-01-06 00:36:58 -05:00
|
|
|
@include str-truncated(100%);
|
2016-06-17 05:17:41 -04:00
|
|
|
padding: 4px 0;
|
2015-03-17 21:11:27 -04:00
|
|
|
font-size: 13px;
|
2016-03-16 19:40:12 -04:00
|
|
|
float: left;
|
2015-01-06 00:36:58 -05:00
|
|
|
margin-right: -150px;
|
|
|
|
padding-right: 150px;
|
2015-03-17 21:11:27 -04:00
|
|
|
line-height: 20px;
|
2014-05-26 16:26:41 -04:00
|
|
|
}
|
|
|
|
}
|
2014-06-06 15:33:52 -04:00
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
2014-11-19 10:45:41 -05:00
|
|
|
.event-item {
|
2017-03-02 05:15:24 -05:00
|
|
|
padding-left: 0;
|
2015-11-04 09:55:19 -05:00
|
|
|
|
2014-11-19 10:45:41 -05:00
|
|
|
.event-title {
|
|
|
|
white-space: normal;
|
|
|
|
overflow: visible;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2017-04-10 11:58:41 -04:00
|
|
|
.system-note-image {
|
2014-11-19 10:45:41 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.event-body {
|
|
|
|
margin: 0;
|
2017-03-02 05:15:24 -05:00
|
|
|
padding-left: 0;
|
2014-11-19 10:45:41 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.event-item-timestamp {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-06-06 15:33:52 -04:00
|
|
|
}
|
|
|
|
}
|
2016-07-04 09:19:07 -04:00
|
|
|
|
|
|
|
// hide event scope (namespace + project) where it is not necessary
|
|
|
|
.project-activity {
|
|
|
|
.event-scope {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|