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

172 lines
2.4 KiB
SCSS
Raw Normal View History

/**
* Events labels
*
*/
.event_label {
2012-09-24 06:33:51 -04:00
&.pushed {
padding: 0 2px;
2012-09-24 06:33:51 -04:00
}
2012-09-24 06:33:51 -04:00
&.opened {
padding: 0 2px;
2012-09-24 06:33:51 -04:00
}
2012-09-24 06:33:51 -04:00
&.closed {
padding: 0 2px;
2012-09-24 06:33:51 -04:00
}
2012-09-24 06:33:51 -04:00
&.merged {
padding: 0 2px;
2012-09-24 06:33:51 -04:00
}
2012-09-24 06:33:51 -04:00
&.left,
&.joined {
padding: 0 2px;
float: none;
2012-09-24 06:33:51 -04:00
}
}
/**
* Dashboard events feed
*
*/
.event-item {
border-bottom: 1px solid #eee;
.event-title {
color: #333;
font-weight: bold;
font-size: 14px;
.author_name {
color: #333;
}
}
.event-body {
2013-01-16 17:03:21 -05:00
.commit p {
color: #666;
padding-top: 5px;
}
2012-09-24 06:33:51 -04:00
.event-info {
color: #666;
2012-09-24 06:33:51 -04:00
}
2013-01-05 05:12:02 -05:00
.event-note {
2013-01-16 17:03:21 -05:00
color: #555;
2013-03-04 15:00:51 -05:00
margin-top: 5px;
margin-left: 40px;
2013-02-11 08:47:01 -05:00
.note-file-attach {
.note-image-attach {
2013-03-04 15:00:51 -05:00
margin-top: 4px;
2013-02-11 08:47:01 -05:00
margin-left: 0px;
max-width: 200px;
}
}
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;
font-size: 16px;
2013-03-04 15:00:51 -05:00
line-height: 16px;
margin-right: 5px;
2013-01-05 05:12:02 -05:00
}
}
.avatar {
position: relative;
top: -3px;
}
.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;
}
}
ul {
margin-left: 50px;
margin-bottom: 5px;
.avatar {
width: 18px;
margin-top: 3px;
}
}
padding: 16px 5px;
&:last-child { border:none }
.event_commits {
margin-top: 5px;
2012-09-25 06:14:20 -04:00
li {
&.commit {
background: transparent;
padding: 3px;
border: none;
font-size: 12px;
2012-09-25 06:14:20 -04:00
}
&.commits-stat {
display: block;
margin-top: 5px;
}
}
}
}
/**
* Push event widget
*
*/
.event_lp {
color: #777;
padding: 10px;
min-height: 22px;
border-left: 5px solid #5AB9C3;
margin-bottom: 20px;
background: #f9f9f9;
.avatar {
width: 24px;
}
.btn-new-mr {
@extend .btn-info;
@extend .small;
2013-01-30 09:40:43 -05:00
@extend .pull-right;
margin: -3px;
}
}
/**
* Event filter
*
*/
.event_filter {
position: absolute;
width: 40px;
margin-left: -55px;
.filter_icon {
a {
text-align:center;
border-left: 3px solid #29B;
background: #f9f9f9;
margin-bottom: 10px;
float: left;
padding: 9px 7px;
font-size: 18px;
width: 26px;
}
&.inactive {
a {
color: #DDD;
border-left: 3px solid #EEE;
}
}
}
}