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;
|
2016-02-04 13:44:52 -05:00
|
|
|
padding: $gl-padding-top 0 $gl-padding-top ($gl-avatar-size + $gl-padding-top);
|
2015-10-19 05:19:45 -04:00
|
|
|
border-bottom: 1px solid $table-border-color;
|
2016-03-18 12:48:52 -04:00
|
|
|
color: $list-text-color;
|
2013-07-13 02:57:54 -04:00
|
|
|
|
2013-08-20 14:31:37 -04:00
|
|
|
&.event-inline {
|
|
|
|
.avatar {
|
2014-02-18 09:49:50 -05:00
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
2013-08-20 14:31:37 -04:00
|
|
|
}
|
2015-09-03 09:09:55 -04:00
|
|
|
|
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-06-15 17:18:04 -04:00
|
|
|
color: $gl-dark-link-color;
|
2015-09-03 07:44:54 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
2016-02-04 13:44:52 -05:00
|
|
|
margin-left: -($gl-avatar-size + $gl-padding-top);
|
2015-09-03 07:44:54 -04:00
|
|
|
}
|
|
|
|
|
2012-09-24 05:32:51 -04:00
|
|
|
.event-title {
|
2015-04-01 17:49:34 -04:00
|
|
|
@include str-truncated(calc(100% - 174px));
|
2015-09-04 05:56:32 -04:00
|
|
|
font-weight: 600;
|
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 {
|
2016-03-24 07:28:06 -04:00
|
|
|
color: $gl-grayish-blue;
|
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;
|
|
|
|
background: #f9f9f9;
|
|
|
|
border-radius: 0;
|
2014-12-06 11:22:19 -05:00
|
|
|
color: #777;
|
2013-06-13 03:59:27 -04:00
|
|
|
margin: 0 20px;
|
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
|
|
|
}
|
|
|
|
.event-note-icon {
|
2013-01-05 05:12:02 -05:00
|
|
|
color: #777;
|
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
|
|
|
}
|
|
|
|
.event_icon {
|
2012-12-14 14:39:55 -05:00
|
|
|
position: relative;
|
2012-09-24 05:32:51 -04:00
|
|
|
float: right;
|
2016-03-15 15:56:28 -04:00
|
|
|
border: 1px solid #eee;
|
2012-09-24 05:32:51 -04:00
|
|
|
padding: 5px;
|
|
|
|
@include border-radius(5px);
|
2016-03-15 15:56:28 -04:00
|
|
|
background: #f9f9f9;
|
2012-12-14 14:39:55 -05:00
|
|
|
margin-left: 10px;
|
|
|
|
top: -6px;
|
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-03-16 19:40:12 -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;
|
2012-11-23 11:33:43 -05:00
|
|
|
padding: 3px;
|
2014-02-05 12:19:46 -05:00
|
|
|
padding-left: 0;
|
2012-11-23 11:33:43 -05:00
|
|
|
border: none;
|
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 {
|
2015-09-03 07:44:54 -04:00
|
|
|
margin-top: 3px;
|
2012-09-25 06:14:20 -04:00
|
|
|
display: block;
|
2013-07-04 10:10:34 -04:00
|
|
|
padding: 3px;
|
2014-02-05 12:19:46 -05:00
|
|
|
padding-left: 0;
|
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-06-17 05:17:41 -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 {
|
2015-11-04 10:22:27 -05:00
|
|
|
padding-left: $gl-padding;
|
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%;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.event-body {
|
|
|
|
margin: 0;
|
2016-03-15 15:56:28 -04:00
|
|
|
border-left: 2px solid #ddd;
|
2014-11-19 10:45:41 -05:00
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|