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

193 lines
2.8 KiB
SCSS
Raw Normal View History

/**
* Events labels
*
*/
.event_label {
2012-09-24 10:33:51 +00:00
&.pushed {
padding: 0 2px;
2012-09-24 10:33:51 +00:00
}
2012-09-24 10:33:51 +00:00
&.opened {
padding: 0 2px;
2012-09-24 10:33:51 +00:00
}
2012-09-24 10:33:51 +00:00
&.closed {
padding: 0 2px;
2012-09-24 10:33:51 +00:00
}
2012-09-24 10:33:51 +00:00
&.merged {
padding: 0 2px;
2012-09-24 10:33:51 +00:00
}
2012-09-24 10:33:51 +00:00
&.left,
&.joined {
padding: 0 2px;
float: none;
2012-09-24 10:33:51 +00:00
}
}
/**
* Dashboard events feed
*
*/
.event-item {
2013-07-13 06:57:54 +00:00
&:first-child {
padding-top: 0;
}
2013-08-20 18:31:37 +00:00
&.event-inline {
.avatar {
position: relative;
top: -2px;
2013-08-20 18:31:37 +00:00
}
}
padding: 12px 0px;
border-bottom: 1px solid #eee;
.event-title {
2014-05-26 20:26:41 +00:00
@include str-truncated(72%);
color: #333;
2013-09-21 18:59:46 +00:00
font-weight: normal;
2013-10-27 14:38:38 +00:00
font-size: 14px;
.author_name {
color: #333;
}
}
.event-body {
2013-07-09 17:52:06 +00:00
margin-left: 35px;
margin-right: 100px;
2013-07-09 17:52:06 +00:00
2012-09-24 10:33:51 +00:00
.event-info {
color: #666;
2012-09-24 10:33:51 +00:00
}
2013-01-05 10:12:02 +00:00
.event-note {
2013-10-28 09:06:39 +00:00
color: #666;
2013-03-04 20:00:51 +00:00
margin-top: 5px;
2013-02-11 13:47:01 +00:00
.md {
font-size: 13px;
}
2013-05-29 20:26:24 +00:00
pre {
border: none;
background: #f9f9f9;
border-radius: 0;
2013-10-28 09:06:39 +00:00
color: #666;
margin: 0 20px;
2013-05-29 20:26:24 +00:00
}
2013-08-20 18:20:11 +00:00
.note-image-attach {
margin-top: 4px;
margin-left: 0px;
max-width: 200px;
float: none;
2013-02-11 13:47:01 +00:00
}
p:last-child {
margin-bottom: 0;
}
2013-01-16 22:03:21 +00:00
}
.event-note-icon {
2013-01-05 10:12:02 +00:00
color: #777;
2013-01-16 22:03:21 +00:00
float: left;
font-size: 16px;
2013-03-04 20:00:51 +00:00
line-height: 16px;
margin-right: 5px;
2013-01-05 10:12:02 +00:00
}
}
.event_icon {
position: relative;
float: right;
border: 1px solid #EEE;
padding: 5px;
@include border-radius(5px);
background: #F9F9F9;
margin-left: 10px;
top: -6px;
img {
width: 20px;
}
}
2013-08-16 12:28:32 +00:00
&:last-child { border:none }
.event_commits {
margin-top: 5px;
2012-09-25 10:14:20 +00:00
li {
&.commit {
background: transparent;
padding: 3px;
padding-left: 0;
border: none;
2013-09-10 10:15:49 +00:00
color: #666;
.commit-row-title {
font-size: 12px;
}
2012-09-25 10:14:20 +00:00
}
&.commits-stat {
display: block;
2013-07-04 14:10:34 +00:00
padding: 3px;
padding-left: 0;
2013-07-04 14:10:34 +00:00
&:hover {
background: none;
}
2012-09-25 10:14:20 +00:00
}
}
}
2014-05-26 20:26:41 +00:00
.event-item-timestamp {
float: right;
color: #999;
line-height: 22px;
}
}
/**
* Event filter
*
*/
.event_filter {
position: absolute;
width: 40px;
margin-left: -55px;
.filter_icon {
a {
text-align:center;
background: $bg_primary;
margin-bottom: 10px;
float: left;
2013-10-27 14:46:16 +00:00
padding: 9px 6px;
font-size: 18px;
width: 40px;
color: #FFF;
2013-10-27 14:46:16 +00:00
@include border-radius(3px);
}
&.inactive {
a {
color: #DDD;
2013-10-27 14:46:16 +00:00
background: #f9f9f9;
}
}
}
}
2014-05-26 20:26:41 +00:00
/*
* Last push widget
*/
.event-last-push {
.event-last-push-text {
@include str-truncated(75%);
line-height: 24px;
}
}
@media (max-width: $screen-xs-max) {
.event-item .event-title {
@include str-truncated(65%);
}
}