debian-mirror-gitlab/app/assets/stylesheets/framework/timeline.scss

75 lines
1.1 KiB
SCSS
Raw Normal View History

2015-04-26 12:48:37 +05:30
.timeline {
2015-09-25 12:07:36 +05:30
@include basic-list;
2015-04-26 12:48:37 +05:30
2015-09-25 12:07:36 +05:30
margin: 0;
padding: 0;
2015-04-26 12:48:37 +05:30
.timeline-entry {
2015-09-25 12:07:36 +05:30
padding: $gl-padding;
2015-11-26 14:37:03 +05:30
border-color: $table-border-color;
2015-09-25 12:07:36 +05:30
margin-left: -$gl-padding;
margin-right: -$gl-padding;
color: $gl-gray;
2015-10-24 18:46:33 +05:30
border-bottom: 1px solid #ECEEF1;
border-right: 1px solid #ECEEF1;
&:target {
background: $hover;
}
2015-09-25 12:07:36 +05:30
&:last-child {
border-bottom: none;
2015-04-26 12:48:37 +05:30
}
2015-09-25 12:07:36 +05:30
.avatar {
margin-right: 15px;
}
2015-04-26 12:48:37 +05:30
2015-09-25 12:07:36 +05:30
.controls {
padding-top: 10px;
float: right;
2015-04-26 12:48:37 +05:30
}
}
2015-09-25 12:07:36 +05:30
.note-text {
p:last-child {
margin-bottom: 0;
2015-04-26 12:48:37 +05:30
}
2015-09-25 12:07:36 +05:30
}
2015-04-26 12:48:37 +05:30
2015-09-25 12:07:36 +05:30
.system-note {
.note-text {
color: $gl-gray !important;
2015-04-26 12:48:37 +05:30
}
}
2015-09-25 12:07:36 +05:30
.diff-file {
border: 1px solid $border-color;
border-bottom: none;
margin-left: 0;
margin-right: 0;
}
2015-04-26 12:48:37 +05:30
}
@media (max-width: $screen-xs-max) {
.timeline {
&:before {
background: none;
}
.timeline-entry .timeline-entry-inner {
.timeline-icon {
display: none;
}
.timeline-content {
margin-left: 0;
}
}
}
}
2015-09-25 12:07:36 +05:30
.discussion .timeline-entry {
margin: 0;
border-right: none;
}