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

187 lines
2.7 KiB
SCSS
Raw Normal View History

.issues-sortable-list .str-truncated {
2015-03-06 07:49:27 -05:00
max-width: 90%;
}
.milestones {
.milestone {
padding: 10px 16px;
h4 {
font-weight: bold;
}
.progress {
width: 100%;
height: 6px;
}
}
}
2016-01-26 10:58:04 -05:00
.milestone-content {
.issues-count {
margin-right: 17px;
float: right;
width: 105px;
}
2016-01-27 11:45:51 -05:00
2016-03-06 23:07:19 -05:00
.issuable-row {
2016-02-17 21:34:25 -05:00
span a {
color: $gl-text-color;
word-wrap: break-word;
}
2016-01-27 11:45:51 -05:00
}
}
.milestone-summary {
.milestone-stat {
white-space: nowrap;
margin-right: 10px;
&.with-drilldown {
margin-right: 2px;
}
}
2016-01-27 12:38:03 -05:00
.remaining-days {
color: $orange-light;
}
.milestone-stats-and-buttons {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
@media (min-width: $screen-xs-min) {
justify-content: space-between;
flex-wrap: nowrap;
}
}
.milestone-progress-buttons {
order: 1;
margin-top: 10px;
@media (min-width: $screen-xs-min) {
order: 2;
margin-top: 0;
flex-shrink: 0;
}
.btn {
float: left;
margin-right: $btn-side-margin;
&:last-child {
margin-right: 0;
}
}
}
.milestone-stats {
order: 2;
width: 100%;
padding: 7px 0;
flex-shrink: 1;
@media (min-width: $screen-xs-min) {
// when displayed on one line stats go first, buttons second
order: 1;
}
}
.progress {
width: 100%;
margin: 15px 0;
}
2016-01-27 12:38:03 -05:00
}
2016-01-27 19:18:08 -05:00
.issues-sortable-list,
.merge_requests-sortable-list {
2016-03-06 23:07:19 -05:00
.issuable-detail {
2016-01-27 19:18:08 -05:00
display: block;
2016-03-06 23:07:19 -05:00
margin-top: 7px;
2016-01-27 19:18:08 -05:00
2016-03-06 23:07:19 -05:00
.issuable-number {
2016-12-30 15:18:27 -05:00
color: $gl-text-color-secondary;
2016-01-27 19:18:08 -05:00
margin-right: 5px;
}
2016-01-27 19:18:08 -05:00
.avatar {
float: none;
}
> a:not(:last-of-type) {
margin-right: 5px;
}
2016-01-27 19:18:08 -05:00
}
}
2016-01-27 20:58:08 -05:00
.milestone-detail {
border-bottom: 1px solid $border-color;
padding: 20px 0;
}
2016-08-22 18:58:28 -04:00
2016-12-01 00:27:58 -05:00
@media (max-width: $screen-xs-max) {
2016-08-22 18:58:28 -04:00
.milestone-actions {
@include clearfix();
padding-top: $gl-vert-padding;
.btn:first-child {
margin-left: 0;
}
}
}
.milestone-page-header {
display: flex;
flex-flow: row;
align-items: center;
flex-wrap: wrap;
.status-box {
margin-top: 0;
}
.milestone-buttons {
margin-left: auto;
}
.status-box {
order: 1;
}
.milestone-buttons {
order: 2;
}
.header-text-content {
order: 3;
width: 100%;
}
.milestone-buttons .verbose {
display: none;
}
@media (min-width: $screen-xs-min) {
.milestone-buttons .verbose {
display: inline;
}
.header-text-content {
order: 2;
width: auto;
}
.milestone-buttons {
order: 3;
}
}
}
2017-01-06 11:52:18 -05:00
.issuable-row {
background-color: $white-light;
cursor: -webkit-grab;
cursor: grab;
}