2014-09-02 18:07:02 +05:30
|
|
|
/**
|
|
|
|
* Dashboard events feed
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.event-item {
|
2015-09-25 12:07:36 +05:30
|
|
|
font-size: $gl-font-size;
|
2016-04-02 18:10:28 +05:30
|
|
|
padding: $gl-padding-top 0 $gl-padding-top ($gl-avatar-size + $gl-padding-top);
|
2015-11-26 14:37:03 +05:30
|
|
|
border-bottom: 1px solid $table-border-color;
|
2016-06-02 11:05:42 +05:30
|
|
|
color: $list-text-color;
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
&.event-inline {
|
|
|
|
.avatar {
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
}
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2015-11-26 14:37:03 +05:30
|
|
|
.event-title,
|
2015-09-25 12:07:36 +05:30
|
|
|
.event-item-timestamp {
|
2016-04-02 18:10:28 +05:30
|
|
|
line-height: 40px;
|
2015-09-25 12:07:36 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2016-06-02 11:05:42 +05:30
|
|
|
color: $gl-dark-link-color;
|
2015-09-25 12:07:36 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
2016-04-02 18:10:28 +05:30
|
|
|
margin-left: -($gl-avatar-size + $gl-padding-top);
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.event-title {
|
2015-04-26 12:48:37 +05:30
|
|
|
@include str-truncated(calc(100% - 174px));
|
2015-09-25 12:07:36 +05:30
|
|
|
font-weight: 600;
|
2016-06-02 11:05:42 +05:30
|
|
|
color: $list-text-color;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
.event-body {
|
2015-11-26 14:37:03 +05:30
|
|
|
margin-right: 174px;
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
.event-note {
|
2015-04-26 12:48:37 +05:30
|
|
|
word-wrap: break-word;
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
.md {
|
2016-06-02 11:05:42 +05:30
|
|
|
color: $gl-grayish-blue;
|
2015-09-25 12:07:36 +05:30
|
|
|
font-size: $gl-font-size;
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.label {
|
|
|
|
color: $gl-text-color;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
iframe.twitter-share-button {
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
code {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
pre {
|
|
|
|
border: none;
|
2016-09-29 09:46:39 +05:30
|
|
|
background: $gray-light;
|
2014-09-02 18:07:02 +05:30
|
|
|
border-radius: 0;
|
2015-04-26 12:48:37 +05:30
|
|
|
color: #777;
|
2014-09-02 18:07:02 +05:30
|
|
|
margin: 0 20px;
|
2015-04-26 12:48:37 +05:30
|
|
|
overflow: hidden;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.note-image-attach {
|
|
|
|
margin-top: 4px;
|
2016-06-02 11:05:42 +05:30
|
|
|
margin-left: 0;
|
2014-09-02 18:07:02 +05:30
|
|
|
max-width: 200px;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.event-note-icon {
|
|
|
|
color: #777;
|
|
|
|
float: left;
|
2015-09-25 12:07:36 +05:30
|
|
|
font-size: $gl-font-size;
|
2014-09-02 18:07:02 +05:30
|
|
|
line-height: 16px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.event_icon {
|
|
|
|
position: relative;
|
|
|
|
float: right;
|
2016-06-02 11:05:42 +05:30
|
|
|
border: 1px solid #eee;
|
2014-09-02 18:07:02 +05:30
|
|
|
padding: 5px;
|
|
|
|
@include border-radius(5px);
|
2016-09-29 09:46:39 +05:30
|
|
|
background: $gray-light;
|
2014-09-02 18:07:02 +05:30
|
|
|
margin-left: 10px;
|
|
|
|
top: -6px;
|
|
|
|
img {
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
&:last-child { border: none }
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
.event_commits {
|
|
|
|
li {
|
|
|
|
&.commit {
|
|
|
|
background: transparent;
|
|
|
|
padding: 3px;
|
|
|
|
padding-left: 0;
|
|
|
|
border: none;
|
|
|
|
.commit-row-title {
|
2015-09-25 12:07:36 +05:30
|
|
|
font-size: $gl-font-size;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
}
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
&.commits-stat {
|
|
|
|
display: block;
|
2016-09-29 09:46:39 +05:30
|
|
|
padding: 0 3px 0 0;
|
2014-09-02 18:07:02 +05:30
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.event-item-timestamp {
|
|
|
|
float: right;
|
|
|
|
line-height: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Last push widget
|
|
|
|
*/
|
|
|
|
.event-last-push {
|
2015-04-26 12:48:37 +05:30
|
|
|
overflow: auto;
|
2016-01-14 18:37:52 +05:30
|
|
|
width: 100%;
|
2016-06-22 15:30:34 +05:30
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
.event-last-push-text {
|
2015-04-26 12:48:37 +05:30
|
|
|
@include str-truncated(100%);
|
2016-06-22 15:30:34 +05:30
|
|
|
padding: 4px 0;
|
2015-04-26 12:48:37 +05:30
|
|
|
font-size: 13px;
|
2016-06-02 11:05:42 +05:30
|
|
|
float: left;
|
2015-04-26 12:48:37 +05:30
|
|
|
margin-right: -150px;
|
|
|
|
padding-right: 150px;
|
|
|
|
line-height: 20px;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
2015-04-26 12:48:37 +05:30
|
|
|
.event-item {
|
2015-11-26 14:37:03 +05:30
|
|
|
padding-left: $gl-padding;
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.event-title {
|
|
|
|
white-space: normal;
|
|
|
|
overflow: visible;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.event-body {
|
|
|
|
margin: 0;
|
2016-06-02 11:05:42 +05:30
|
|
|
border-left: 2px solid #ddd;
|
2015-04-26 12:48:37 +05:30
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.event-item-timestamp {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
|
|
|
|
// hide event scope (namespace + project) where it is not necessary
|
|
|
|
.project-activity {
|
|
|
|
.event-scope {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|