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

316 lines
4.7 KiB
SCSS
Raw Normal View History

2013-04-06 08:10:24 -04:00
.issues-list {
&.manual-ordering {
background-color: $gray-light;
border-radius: $border-radius-default;
padding: $gl-padding-8;
.issue {
background-color: $white;
margin-bottom: $gl-padding-8;
border-radius: $border-radius-default;
border: 1px solid $gray-100;
box-shadow: 0 1px 2px $issue-boards-card-shadow;
}
}
.issue {
2017-02-07 05:30:44 -05:00
padding: 10px 0 10px $gl-padding;
2013-04-06 08:10:24 -04:00
position: relative;
2012-06-21 01:29:53 -04:00
.title {
margin-bottom: 2px;
2013-04-06 08:10:24 -04:00
}
.issue-labels,
.author-link {
2013-04-06 08:10:24 -04:00
display: inline-block;
}
.icon-merge-request-unmerged {
height: 13px;
margin-bottom: 3px;
}
2012-06-26 15:23:49 -04:00
}
}
2012-07-27 20:35:24 -04:00
.issue-realtime-pre-pulse {
opacity: 0;
}
.issue-realtime-trigger-pulse {
transition: opacity $fade-in-duration linear;
opacity: 1;
}
.check-all-holder {
2015-03-27 15:00:31 -04:00
line-height: 36px;
float: left;
2015-03-27 15:00:31 -04:00
margin-right: 15px;
}
form.edit-issue {
margin: 0;
}
ul.related-merge-requests > li {
display: flex;
align-items: center;
.merge-request-id {
flex-shrink: 0;
}
.merge-request-info {
margin-left: 5px;
}
gl-emoji {
font-size: 1em;
}
}
.related-branches-title {
font-size: 16px;
font-weight: $gl-font-weight-bold;
}
.merge-request-status {
&.merged {
color: $blue-500;
}
&.closed {
color: $red-500;
}
&.open {
color: $green-500;
}
}
.merge-request,
.issue {
&.today {
2016-11-30 08:25:25 -05:00
background: $issues-today-bg;
border-color: $issues-today-border;
}
&.closed,
&.merged {
background: $gray-light;
2016-12-12 17:26:21 -05:00
border-color: $border-color;
}
}
.merge-request-ci-status,
.related-merge-requests {
.ci-status-link {
display: block;
margin-right: 5px;
}
2016-07-19 09:47:26 -04:00
svg {
display: block;
2016-07-19 09:47:26 -04:00
}
}
2018-04-09 11:26:28 -04:00
@include media-breakpoint-down(xs) {
.detail-page-header {
.issuable-meta {
line-height: 18px;
}
}
}
.issue-form {
.select2-container {
width: 250px !important;
}
2015-01-18 22:39:43 -05:00
}
2016-06-30 05:08:14 -04:00
2019-03-26 05:59:13 -04:00
.issues-footer {
padding-top: $gl-padding;
padding-bottom: 37px;
}
.issues-nav-controls,
.new-branch-col {
font-size: 0;
}
.issues-nav-controls {
.btn-group:empty {
display: none;
}
}
.issuable-email-modal-btn {
2016-06-30 05:08:14 -04:00
padding: 0;
2018-08-14 12:44:08 -04:00
color: $blue-600;
2016-06-30 05:08:14 -04:00
background-color: transparent;
border: 0;
outline: 0;
&:hover {
text-decoration: underline;
}
}
2016-07-01 04:07:29 -04:00
.email-modal-input-group {
margin-bottom: 10px;
.form-control {
background-color: $white;
2016-07-01 04:07:29 -04:00
}
.btn {
2016-12-12 17:26:21 -05:00
background-color: $gray-light;
border: 1px solid $border-gray-normal;
2016-07-01 04:07:29 -04:00
}
}
.recaptcha {
margin-bottom: 30px;
}
.new-branch-col {
.discussion-filter-container {
&:not(:only-child) {
margin-right: $gl-padding-8;
}
@include media-breakpoint-down(md) {
margin-top: $gl-padding-8;
}
}
}
.create-mr-dropdown-wrap {
.ref::selection {
2018-08-14 12:44:08 -04:00
color: $gl-text-color-tertiary;
}
.dropdown {
.dropdown-menu-toggle {
min-width: 285px;
}
.dropdown-select {
width: 285px;
}
}
2018-04-19 20:16:13 -04:00
.btn-group:not(.hidden) {
display: flex;
@include media-breakpoint-down(md) {
margin-top: $gl-padding-8;
}
}
.js-create-merge-request {
flex-grow: 1;
flex-shrink: 0;
}
.create-merge-request-dropdown-menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
display: none;
margin-top: 4px;
// override dropdown item styles
.btn.btn-success {
@include btn-default;
@include btn-green;
border-style: solid;
border-width: 1px;
line-height: $line-height-base;
width: auto;
}
}
.create-merge-request-dropdown-toggle {
.fa-caret-down {
pointer-events: none;
color: inherit;
margin-left: 0;
}
}
}
.discussion-reply-holder {
.avatar-note-form-holder .note-edit-form {
display: block;
margin-left: $note-icon-gutter-width;
@include media-breakpoint-down(xs) {
margin-left: 0;
}
}
}
.issue-sort-dropdown {
.btn-group {
width: 100%;
}
.reverse-sort-btn {
color: $gl-text-color-secondary;
}
}
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
.emoji-block .row {
display: flex;
.new-branch-col {
padding-top: 0;
align-self: center;
}
}
.create-mr-dropdown-wrap {
.btn-group:not(.hidden) {
display: inline-flex;
}
}
}
@include media-breakpoint-up(lg) {
.new-branch-col {
text-align: right;
}
}
.issue-details {
.card-title {
a.anchor {
left: -16px;
top: 4px;
outline: none;
&::after {
content: image-url('icon_anchor.svg');
@include invisible(hidden);
}
}
&:hover > a.anchor::after {
@include invisible(visible);
}
}
}
.issuable-list-root {
.gl-label-link {
text-decoration: none;
&:hover {
color: inherit;
}
}
}