debian-mirror-gitlab/app/assets/stylesheets/pages/milestone.scss

203 lines
2.8 KiB
SCSS
Raw Normal View History

2015-04-26 12:48:37 +05:30
.issues-sortable-list .str-truncated {
max-width: 90%;
}
2016-11-03 12:29:30 +05:30
.milestones {
.milestone {
padding: 10px 16px;
h4 {
font-weight: bold;
}
2015-09-25 12:07:36 +05:30
2016-11-03 12:29:30 +05:30
.progress {
2017-08-17 22:00:37 +05:30
width: 100%;
2016-11-03 12:29:30 +05:30
height: 6px;
}
2015-09-25 12:07:36 +05:30
}
2015-04-26 12:48:37 +05:30
}
2016-04-02 18:10:28 +05:30
.milestone-content {
.issues-count {
margin-right: 17px;
float: right;
width: 105px;
}
2016-06-02 11:05:42 +05:30
.issuable-row {
2016-04-02 18:10:28 +05:30
span a {
2016-06-02 11:05:42 +05:30
color: $gl-text-color;
2016-11-03 12:29:30 +05:30
word-wrap: break-word;
2016-04-02 18:10:28 +05:30
}
}
2017-08-17 22:00:37 +05:30
.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-04-02 18:10:28 +05:30
}
2017-08-17 22:00:37 +05:30
.milestone-sidebar {
.gutter-toggle {
margin-bottom: 10px;
}
.milestone-progress {
.title {
padding-top: 5px;
}
.progress {
height: 6px;
margin: 0;
}
}
.collapsed-milestone-date {
font-size: 12px;
}
.milestone-date {
display: block;
}
.date-separator {
line-height: 5px;
}
.remaining-days strong {
font-weight: normal;
}
2016-04-02 18:10:28 +05:30
.milestone-stat {
2017-08-17 22:00:37 +05:30
float: left;
margin-right: 14px;
}
.milestone-stat:last-child {
margin-right: 0;
}
.milestone-progress {
.sidebar-collapsed-icon {
clear: both;
padding: 15px 5px 5px;
.progress {
margin: 5px 0;
}
}
2016-04-02 18:10:28 +05:30
}
2017-08-17 22:00:37 +05:30
.right-sidebar-collapsed & {
.reference {
border-top: 1px solid $border-gray-normal;
}
2016-04-02 18:10:28 +05:30
}
}
2017-08-17 22:00:37 +05:30
.issues-sortable-list,
.merge_requests-sortable-list {
2016-06-02 11:05:42 +05:30
.issuable-detail {
2016-04-02 18:10:28 +05:30
display: block;
2016-06-02 11:05:42 +05:30
margin-top: 7px;
2016-04-02 18:10:28 +05:30
2016-06-02 11:05:42 +05:30
.issuable-number {
2017-08-17 22:00:37 +05:30
color: $gl-text-color-secondary;
2016-04-02 18:10:28 +05:30
margin-right: 5px;
}
2016-11-03 12:29:30 +05:30
2016-04-02 18:10:28 +05:30
.avatar {
float: none;
}
2017-08-17 22:00:37 +05:30
> a:not(:last-of-type) {
margin-right: 5px;
}
2016-04-02 18:10:28 +05:30
}
}
.milestone-detail {
border-bottom: 1px solid $border-color;
padding: 20px 0;
}
2016-11-03 12:29:30 +05:30
2017-08-17 22:00:37 +05:30
@media (max-width: $screen-xs-max) {
2016-11-03 12:29:30 +05:30
.milestone-actions {
@include clearfix();
padding-top: $gl-vert-padding;
.btn:first-child {
margin-left: 0;
}
}
}
2017-08-17 22:00:37 +05:30
.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;
}
}
}
.issuable-row {
background-color: $white-light;
cursor: -webkit-grab;
cursor: grab;
}