235 lines
3.5 KiB
SCSS
235 lines
3.5 KiB
SCSS
@import 'mixins_and_variables_and_functions';
|
|
|
|
$status-box-line-height: 26px;
|
|
|
|
.issues-sortable-list .str-truncated {
|
|
max-width: 90%;
|
|
}
|
|
|
|
.milestones {
|
|
.milestone {
|
|
h4 {
|
|
font-weight: $gl-font-weight-bold;
|
|
}
|
|
|
|
.progress {
|
|
width: 100%;
|
|
height: 6px;
|
|
margin-bottom: $gl-padding-4;
|
|
}
|
|
|
|
.milestone-progress,
|
|
.milestone-release-links {
|
|
a {
|
|
color: var(--blue-600, $blue-600);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.milestone-content {
|
|
.issuable-row {
|
|
span {
|
|
a {
|
|
color: var(--gray-900, $gray-900);
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.gl-label-link {
|
|
color: inherit;
|
|
}
|
|
}
|
|
}
|
|
|
|
.card-header {
|
|
line-height: $line-height-base;
|
|
padding: 14px 16px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.title {
|
|
flex: 1;
|
|
flex-grow: 2;
|
|
}
|
|
|
|
.issuable-count-weight {
|
|
white-space: nowrap;
|
|
|
|
.counter,
|
|
.weight {
|
|
color: var(--gray-500, $gray-500);
|
|
font-weight: $gl-font-weight-bold;
|
|
}
|
|
}
|
|
|
|
&.text-white {
|
|
.issuable-count-weight svg {
|
|
fill: $white;
|
|
}
|
|
|
|
.issuable-count-weight .counter,
|
|
.weight {
|
|
color: var(--white, $white);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.milestone-sidebar {
|
|
.milestone-progress {
|
|
.title {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.progress {
|
|
height: 6px;
|
|
margin: 0;
|
|
}
|
|
|
|
.sidebar-collapsed-icon {
|
|
clear: both;
|
|
padding: 15px 5px 5px;
|
|
|
|
.progress {
|
|
margin: 5px 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.collapsed-milestone-date {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.milestone-date {
|
|
display: block;
|
|
}
|
|
|
|
.date-separator {
|
|
line-height: 5px;
|
|
}
|
|
|
|
.remaining-days strong {
|
|
font-weight: $gl-font-weight-normal;
|
|
}
|
|
|
|
.milestone-stat {
|
|
float: left;
|
|
margin-right: 14px;
|
|
}
|
|
|
|
.milestone-stat:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.right-sidebar-expanded & {
|
|
.gutter-toggle {
|
|
margin-bottom: $sidebar-milestone-toggle-bottom-margin;
|
|
}
|
|
}
|
|
|
|
.right-sidebar-collapsed & {
|
|
.milestone-progress {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.reference {
|
|
border-top: 1px solid $border-gray-normal;
|
|
}
|
|
}
|
|
}
|
|
|
|
.milestone-issues-list,
|
|
.milestone-merge_requests-list {
|
|
.issuable-detail {
|
|
display: block;
|
|
margin-top: 7px;
|
|
|
|
.issue-link {
|
|
display: inline-block;
|
|
}
|
|
|
|
.issuable-number {
|
|
color: var(--gray-500, $gray-500);
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.avatar {
|
|
float: none;
|
|
}
|
|
|
|
> a:not(:last-of-type) {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.milestone-detail {
|
|
border-bottom: 1px solid var(--border-color, $border-color);
|
|
}
|
|
|
|
@include media-breakpoint-down(md) {
|
|
.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;
|
|
|
|
.milestone-buttons {
|
|
margin-left: auto;
|
|
order: 2;
|
|
|
|
.verbose {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.header-text-content {
|
|
order: 3;
|
|
width: 100%;
|
|
}
|
|
|
|
@include media-breakpoint-up(xs) {
|
|
.milestone-buttons .verbose {
|
|
display: inline;
|
|
}
|
|
|
|
.header-text-content {
|
|
order: 2;
|
|
width: auto;
|
|
}
|
|
|
|
.milestone-buttons {
|
|
order: 3;
|
|
}
|
|
}
|
|
}
|
|
|
|
.issuable-row {
|
|
background-color: var(--white, $white);
|
|
}
|
|
|
|
.milestone-popover-instructions-list {
|
|
padding-left: 2em;
|
|
|
|
> li {
|
|
padding-left: 1em;
|
|
}
|
|
}
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
.milestone-banner-text,
|
|
.milestone-banner-link {
|
|
display: inline;
|
|
}
|
|
}
|