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

205 lines
3.0 KiB
SCSS
Raw Normal View History

.issues-sortable-list .str-truncated {
2015-03-06 12:49:27 +00:00
max-width: 90%;
}
.milestones {
.milestone {
padding: 10px 16px;
h4 {
font-weight: bold;
}
.progress {
width: 100%;
height: 6px;
}
}
}
2016-01-26 15:58:04 +00:00
.milestone-content {
.issues-count {
margin-right: 17px;
float: right;
width: 105px;
}
2016-01-27 16:45:51 +00:00
2016-03-07 04:07:19 +00:00
.issuable-row {
2016-02-18 02:34:25 +00:00
span a {
color: $gl-text-color;
word-wrap: break-word;
}
2016-01-27 16:45:51 +00:00
}
.panel-heading {
line-height: $line-height-base;
padding: 14px 16px;
display: -webkit-flex;
display: flex;
.title {
-webkit-flex: 1;
-webkit-flex-grow: 1;
flex: 1;
flex-grow: 2;
}
.counter {
-webkit-flex: 1;
flex: 0;
padding-left: 16px;
}
}
2016-01-27 16:45:51 +00:00
}
.milestone-sidebar {
.remaining-days strong {
font-weight: normal;
}
.milestone-stat {
float: left;
font-weight: bold;
margin-right: 14px;
}
.milestone-stat:last-child {
margin-right: 0;
}
.right-sidebar-collapsed & {
.reference {
border-top: 1px solid $border-gray-normal;
}
}
}
.milestone-summary {
.milestone-stat {
white-space: nowrap;
margin-right: 10px;
&.with-drilldown {
margin-right: 2px;
}
}
2016-01-27 17:38:03 +00:00
.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-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 17:38:03 +00:00
}
2016-01-28 00:18:08 +00:00
.issues-sortable-list,
.merge_requests-sortable-list {
2016-03-07 04:07:19 +00:00
.issuable-detail {
2016-01-28 00:18:08 +00:00
display: block;
2016-03-07 04:07:19 +00:00
margin-top: 7px;
2016-01-28 00:18:08 +00:00
2016-03-07 04:07:19 +00:00
.issuable-number {
2016-12-30 20:18:27 +00:00
color: $gl-text-color-secondary;
2016-01-28 00:18:08 +00:00
margin-right: 5px;
}
2016-01-28 00:18:08 +00:00
.avatar {
float: none;
}
> a:not(:last-of-type) {
margin-right: 5px;
}
2016-01-28 00:18:08 +00:00
}
}
2016-01-28 01:58:08 +00:00
.milestone-detail {
border-bottom: 1px solid $border-color;
padding: 20px 0;
}
2016-08-22 22:58:28 +00:00
2016-12-01 05:27:58 +00:00
@media (max-width: $screen-xs-max) {
2016-08-22 22:58:28 +00: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 16:52:18 +00:00
.issuable-row {
background-color: $white-light;
cursor: -webkit-grab;
cursor: grab;
}