gitlab-org--gitlab-foss/app/assets/stylesheets/pages/events.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

193 lines
3.0 KiB
SCSS
Raw Normal View History

/**
* Dashboard events feed
*
*/
.event-item {
font-size: $gl-font-size;
2018-11-06 09:33:42 -05:00
padding: $gl-padding 0 $gl-padding 56px;
2016-12-12 17:26:21 -05:00
border-bottom: 1px solid $white-normal;
2018-11-06 09:33:42 -05:00
color: $gl-text-color-secondary;
2017-03-31 17:09:58 -04:00
position: relative;
line-height: $gl-line-height-20;
.system-note-image {
2017-03-31 17:09:58 -04:00
position: absolute;
left: 0;
svg {
fill: $gl-text-color-secondary;
}
2018-11-06 09:33:42 -05:00
}
.system-note-image-inline {
svg {
fill: $gl-text-color-secondary;
}
}
2017-03-31 17:09:58 -04:00
2018-11-06 09:33:42 -05:00
.system-note-image,
.system-note-image-inline {
&.opened-icon,
&.created-icon {
svg {
fill: $green-300;
}
2017-03-31 17:09:58 -04:00
}
&.closed-icon svg {
fill: $red-300;
}
&.accepted-icon svg {
2017-03-31 17:09:58 -04:00
fill: $blue-300;
}
2018-11-06 09:33:42 -05:00
&.commented-on-icon svg {
fill: $blue-600;
}
}
.event-user-info {
margin-bottom: $gl-padding-4;
2018-11-06 09:33:42 -05:00
.author-name {
2018-11-06 09:33:42 -05:00
a {
color: $gl-text-color;
font-weight: $gl-font-weight-bold;
}
}
2017-03-31 17:09:58 -04:00
}
.event-title {
2018-11-06 09:33:42 -05:00
.event-type {
&::first-letter {
text-transform: capitalize;
}
}
}
.event-body {
margin-top: $gl-padding-4;
margin-right: 174px;
2018-11-06 09:33:42 -05:00
color: $gl-text-color;
2013-01-05 05:12:02 -05:00
.event-note {
word-wrap: break-word;
2013-02-11 08:47:01 -05:00
.md {
font-size: $gl-font-size;
2016-03-24 07:28:06 -04:00
2018-04-09 11:26:28 -04:00
.badge.badge-pill {
2016-03-24 07:28:06 -04:00
color: $gl-text-color;
}
iframe.twitter-share-button {
vertical-align: bottom;
}
}
code {
white-space: pre-wrap;
}
2013-05-29 16:26:24 -04:00
pre {
2017-11-02 19:59:51 -04:00
border: 0;
background: $gray-light;
2013-05-29 16:26:24 -04:00
border-radius: 0;
color: $gray-500;
overflow: hidden;
2013-05-29 16:26:24 -04:00
}
2013-08-20 14:20:11 -04:00
.note-image-attach {
2018-11-06 09:33:42 -05:00
margin-top: $gl-padding-4;
margin-left: 0;
2013-08-20 14:20:11 -04:00
max-width: 200px;
float: none;
2013-02-11 08:47:01 -05:00
}
p:last-child {
margin-bottom: 0;
}
2013-01-16 17:03:21 -05:00
}
2013-01-16 17:03:21 -05:00
.event-note-icon {
color: $gray-500;
2013-01-16 17:03:21 -05:00
float: left;
font-size: $gl-font-size;
2013-03-04 15:00:51 -05:00
margin-right: 5px;
2013-01-05 05:12:02 -05:00
}
}
2018-11-06 09:33:42 -05:00
&:last-child {
border: 0;
}
.event-commits {
2012-09-25 06:14:20 -04:00
li {
&.commit {
background: transparent;
padding: 0;
2017-11-02 19:59:51 -04:00
border: 0;
2013-09-10 06:15:49 -04:00
.commit-row-title {
font-size: $gl-font-size;
2013-09-10 06:15:49 -04:00
}
2012-09-25 06:14:20 -04:00
}
2012-09-25 06:14:20 -04:00
&.commits-stat {
display: block;
padding: 0 3px 0 0;
2013-07-04 10:10:34 -04:00
&:hover {
background: none;
}
a {
color: $blue-600;
}
2012-09-25 06:14:20 -04:00
}
}
}
2014-05-26 16:26:41 -04:00
.event-item-timestamp {
float: right;
}
}
2018-04-09 11:26:28 -04:00
@include media-breakpoint-down(xs) {
.event-item {
padding-left: 0;
2018-11-06 09:33:42 -05:00
.event-user-info {
margin-bottom: $gl-padding-4;
}
.event-title {
white-space: normal;
overflow: visible;
max-width: 100%;
}
.system-note-image {
display: none;
}
.event-body {
2018-11-06 09:33:42 -05:00
margin-top: $gl-padding-4;
margin-right: 0;
padding-left: 0;
}
.event-item-timestamp {
display: none;
}
}
}
// hide event scope (namespace + project) where it is not necessary
.project-activity {
.event-scope {
display: none;
}
}