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

255 lines
3.9 KiB
SCSS
Raw Normal View History

2021-01-03 14:25:43 +05:30
@import 'mixins_and_variables_and_functions';
2019-02-15 15:39:39 +05:30
$status-box-line-height: 26px;
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 {
2018-11-08 19:23:39 +05:30
padding: $gl-padding-8;
margin-top: $gl-padding-8;
border-radius: $border-radius-default;
2021-01-03 14:25:43 +05:30
background-color: var(--gray-100, $gray-100);
2018-11-08 19:23:39 +05:30
2016-11-03 12:29:30 +05:30
.milestone {
2018-11-08 19:23:39 +05:30
border: 0;
padding: $gl-padding-top $gl-padding;
border-radius: $border-radius-default;
2021-01-03 14:25:43 +05:30
background-color: var(--white, $white);
2018-11-08 19:23:39 +05:30
&:not(:last-child) {
margin-bottom: $gl-padding-4;
}
2016-11-03 12:29:30 +05:30
h4 {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2016-11-03 12:29:30 +05:30
}
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;
2018-11-08 19:23:39 +05:30
margin-bottom: $gl-padding-4;
}
2019-12-26 22:10:19 +05:30
.milestone-progress,
.milestone-release-links {
2018-11-08 19:23:39 +05:30
a {
2021-01-03 14:25:43 +05:30
color: var(--blue-600, $blue-600);
2018-11-08 19:23:39 +05:30
}
}
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 {
2020-04-08 14:13:33 +05:30
span {
a {
2021-01-03 14:25:43 +05:30
color: var(--gray-900, $gray-900);
2020-04-08 14:13:33 +05:30
word-wrap: break-word;
}
.gl-label-link {
color: inherit;
}
2016-04-02 18:10:28 +05:30
}
}
2017-08-17 22:00:37 +05:30
2018-11-08 19:23:39 +05:30
.card-header {
2017-08-17 22:00:37 +05:30
line-height: $line-height-base;
padding: 14px 16px;
display: flex;
2021-09-30 23:02:18 +05:30
justify-content: space-between;
2017-08-17 22:00:37 +05:30
.title {
flex: 1;
flex-grow: 2;
}
2021-09-30 23:02:18 +05:30
.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);
}
2017-08-17 22:00:37 +05:30
}
}
2016-04-02 18:10:28 +05:30
}
2017-08-17 22:00:37 +05:30
.milestone-sidebar {
.milestone-progress {
.title {
padding-top: 5px;
}
.progress {
height: 6px;
margin: 0;
}
2018-03-17 18:26:18 +05:30
.sidebar-collapsed-icon {
clear: both;
padding: 15px 5px 5px;
.progress {
margin: 5px 0;
}
}
2017-08-17 22:00:37 +05:30
}
.collapsed-milestone-date {
font-size: 12px;
}
.milestone-date {
display: block;
}
.date-separator {
line-height: 5px;
}
.remaining-days strong {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2017-08-17 22:00:37 +05:30
}
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;
}
2018-10-15 14:42:47 +05:30
.right-sidebar-expanded & {
.gutter-toggle {
margin-bottom: $sidebar-milestone-toggle-bottom-margin;
}
}
2017-08-17 22:00:37 +05:30
.right-sidebar-collapsed & {
2018-10-15 14:42:47 +05:30
.milestone-progress {
padding-top: 0;
}
2017-08-17 22:00:37 +05:30
.reference {
border-top: 1px solid $border-gray-normal;
}
2016-04-02 18:10:28 +05:30
}
}
2017-09-10 17:25:29 +05:30
.milestone-issues-list,
.milestone-merge_requests-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
2018-03-27 19:54:05 +05:30
.issue-link {
display: inline-block;
}
2016-06-02 11:05:42 +05:30
.issuable-number {
2021-01-03 14:25:43 +05:30
color: var(--gray-500, $gray-500);
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 {
2021-01-03 14:25:43 +05:30
border-bottom: 1px solid var(--border-color, $border-color);
2016-04-02 18:10:28 +05:30
}
2016-11-03 12:29:30 +05:30
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
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;
.milestone-buttons {
2018-03-17 18:26:18 +05:30
margin-left: auto;
2017-08-17 22:00:37 +05:30
order: 2;
2018-03-17 18:26:18 +05:30
.verbose {
display: none;
}
2017-08-17 22:00:37 +05:30
}
.header-text-content {
order: 3;
width: 100%;
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(xs) {
2017-08-17 22:00:37 +05:30
.milestone-buttons .verbose {
display: inline;
}
.header-text-content {
order: 2;
width: auto;
}
.milestone-buttons {
order: 3;
}
}
}
.issuable-row {
2021-01-03 14:25:43 +05:30
background-color: var(--white, $white);
2017-08-17 22:00:37 +05:30
}
2018-10-15 14:42:47 +05:30
.milestone-popover-instructions-list {
padding-left: 2em;
> li {
padding-left: 1em;
}
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2018-10-15 14:42:47 +05:30
.milestone-banner-text,
.milestone-banner-link {
display: inline;
}
}