gitlabhq/app/assets/stylesheets/sections/events.scss

118 lines
1.5 KiB
SCSS
Raw Normal View History

/**
* Events labels
*
*/
.event_label {
2012-09-24 12:33:51 +02:00
&.pushed {
padding:0 2px;
}
2012-09-24 12:33:51 +02:00
&.opened {
padding:0 2px;
}
2012-09-24 12:33:51 +02:00
&.closed {
padding:0 2px;
}
2012-09-24 12:33:51 +02:00
&.merged {
padding:0 2px;
}
2012-09-24 12:33:51 +02:00
&.left,
&.joined {
padding:0 2px;
2012-09-26 20:05:04 +02:00
float:none;
2012-09-24 12:33:51 +02:00
}
}
/**
* Dashboard events feed
*
*/
.event-item {
min-height:40px;
border-bottom:1px solid #eee;
.event-title {
color:#333;
font-weight: bold;
.author_name {
2012-09-24 12:33:51 +02:00
color:#333;
}
}
.event-body {
p {
2012-09-25 12:14:20 +02:00
color:#555;
}
2012-09-24 12:33:51 +02:00
.event-info {
color:#666;
}
}
.avatar {
width:32px;
}
.event_icon {
float: right;
border: 1px solid #EEE;
padding: 5px;
@include border-radius(5px);
background: #F9F9F9;
img {
width:20px;
}
}
ul {
margin-left:50px;
margin-bottom:5px;
.avatar {
2012-09-25 12:14:20 +02:00
width:18px;
margin-top:3px;
}
}
padding: 15px 5px;
&:last-child { border:none }
.wll:hover { background:none }
.event_commits {
margin-top: 5px;
2012-09-25 12:14:20 +02:00
li {
&.commit {
background: transparent;
padding:3px;
border:none;
font-size:12px;
}
&.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;
@extend .right;
margin: -3px;
}
}