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

297 lines
4.1 KiB
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
.issues-list {
.issue {
2017-08-17 22:00:37 +05:30
padding: 10px 0 10px $gl-padding;
2014-09-02 18:07:02 +05:30
position: relative;
2016-06-02 11:05:42 +05:30
.title {
margin-bottom: 2px;
2014-09-02 18:07:02 +05:30
}
.issue-labels {
display: inline-block;
}
2017-08-17 22:00:37 +05:30
2018-03-27 19:54:05 +05:30
.issuable-meta {
2018-11-18 11:00:15 +05:30
.author-link {
2018-03-27 19:54:05 +05:30
display: inline-block;
}
.issuable-comments {
height: 18px;
}
}
2017-08-17 22:00:37 +05:30
.icon-merge-request-unmerged {
height: 13px;
margin-bottom: 3px;
2018-03-27 19:54:05 +05:30
}
2014-09-02 18:07:02 +05:30
}
}
2017-08-17 22:00:37 +05:30
.issue-realtime-pre-pulse {
opacity: 0;
}
.issue-realtime-trigger-pulse {
transition: opacity $fade-in-duration linear;
opacity: 1;
}
2014-09-02 18:07:02 +05:30
.check-all-holder {
2015-04-26 12:48:37 +05:30
line-height: 36px;
2014-09-02 18:07:02 +05:30
float: left;
2015-04-26 12:48:37 +05:30
margin-right: 15px;
2014-09-02 18:07:02 +05:30
}
.issues_content {
.title {
height: 40px;
}
form {
margin: 0;
}
}
form.edit-issue {
margin: 0;
}
2016-09-29 09:46:39 +05:30
ul.related-merge-requests > li {
display: flex;
2017-09-10 17:25:29 +05:30
align-items: center;
2016-11-03 12:29:30 +05:30
2016-09-29 09:46:39 +05:30
.merge-request-id {
flex-shrink: 0;
}
2017-08-17 22:00:37 +05:30
.merge-request-info {
margin-left: 5px;
}
2017-09-10 17:25:29 +05:30
.row_title {
vertical-align: bottom;
}
gl-emoji {
font-size: 1em;
}
2016-09-29 09:46:39 +05:30
}
2017-08-17 22:00:37 +05:30
.related-branches-title {
2015-12-23 02:04:40 +05:30
font-size: 16px;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2015-12-23 02:04:40 +05:30
}
.merge-request-id {
display: inline-block;
}
.merge-request-status {
2017-08-17 22:00:37 +05:30
&.merged {
2019-03-02 22:35:43 +05:30
color: $blue-500;
2017-08-17 22:00:37 +05:30
}
&.closed {
2019-03-02 22:35:43 +05:30
color: $red-500;
2017-08-17 22:00:37 +05:30
}
&.open {
2019-03-02 22:35:43 +05:30
color: $green-500;
2017-08-17 22:00:37 +05:30
}
2015-12-23 02:04:40 +05:30
}
2014-09-02 18:07:02 +05:30
.merge-request,
.issue {
&.today {
2017-08-17 22:00:37 +05:30
background: $issues-today-bg;
border-color: $issues-today-border;
2014-09-02 18:07:02 +05:30
}
&.closed {
2016-09-29 09:46:39 +05:30
background: $gray-light;
2017-08-17 22:00:37 +05:30
border-color: $border-color;
2014-09-02 18:07:02 +05:30
}
&.merged {
2016-09-29 09:46:39 +05:30
background: $gray-light;
2017-08-17 22:00:37 +05:30
border-color: $border-color;
2014-09-02 18:07:02 +05:30
}
}
2017-08-17 22:00:37 +05:30
.merge-request-ci-status,
.related-merge-requests {
.ci-status-link {
display: block;
margin-right: 5px;
}
2016-08-24 12:49:21 +05:30
svg {
2017-08-17 22:00:37 +05:30
display: block;
2016-08-24 12:49:21 +05:30
}
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2018-03-17 18:26:18 +05:30
.detail-page-header {
.issuable-meta {
line-height: 18px;
2015-04-26 12:48:37 +05:30
}
}
}
2018-03-17 18:26:18 +05:30
.issue-form {
.select2-container {
width: 250px !important;
}
2016-09-13 17:45:13 +05:30
}
2019-05-18 00:54:41 +05:30
.issues-footer {
padding-top: $gl-padding;
padding-bottom: 37px;
}
2019-02-15 15:39:39 +05:30
.issues-nav-controls {
font-size: 0;
.btn-group:empty {
display: none;
}
}
2018-03-17 18:26:18 +05:30
.issuable-email-modal-btn {
2016-09-13 17:45:13 +05:30
padding: 0;
2018-11-20 20:47:30 +05:30
color: $blue-600;
2016-09-13 17:45:13 +05:30
background-color: transparent;
border: 0;
outline: 0;
&:hover {
text-decoration: underline;
}
}
.email-modal-input-group {
margin-bottom: 10px;
.form-control {
background-color: $white-light;
}
.btn {
2017-08-17 22:00:37 +05:30
background-color: $gray-light;
border: 1px solid $border-gray-normal;
}
}
.recaptcha {
margin-bottom: 30px;
}
.new-branch-col {
2018-12-13 13:39:08 +05:30
font-size: 0;
.discussion-filter-container {
&:not(:only-child) {
margin-right: $gl-padding-8;
}
@include media-breakpoint-down(md) {
margin-top: $gl-padding-8;
}
}
2017-08-17 22:00:37 +05:30
}
.create-mr-dropdown-wrap {
2018-03-17 18:26:18 +05:30
.ref::selection {
2018-11-20 20:47:30 +05:30
color: $gl-text-color-tertiary;
2018-03-17 18:26:18 +05:30
}
.dropdown {
.dropdown-menu-toggle {
min-width: 285px;
}
.dropdown-select {
width: 285px;
}
}
2018-11-08 19:23:39 +05:30
.btn-group:not(.hidden) {
2017-08-17 22:00:37 +05:30
display: flex;
2018-12-13 13:39:08 +05:30
@include media-breakpoint-down(md) {
margin-top: $gl-padding-8;
}
2017-08-17 22:00:37 +05:30
}
.js-create-merge-request {
flex-grow: 1;
flex-shrink: 0;
}
2018-03-17 18:26:18 +05:30
.create-merge-request-dropdown-menu {
2017-08-17 22:00:37 +05:30
width: 300px;
opacity: 1;
visibility: visible;
transform: translateY(0);
display: none;
2018-03-17 18:26:18 +05:30
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;
}
2017-08-17 22:00:37 +05:30
}
2018-03-17 18:26:18 +05:30
.create-merge-request-dropdown-toggle {
2017-08-17 22:00:37 +05:30
.fa-caret-down {
pointer-events: none;
color: inherit;
margin-left: 0;
}
}
2018-03-17 18:26:18 +05:30
}
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
.discussion-reply-holder .note-edit-form {
display: block;
2017-08-17 22:00:37 +05:30
}
2019-02-15 15:39:39 +05:30
.issue-sort-dropdown {
.btn-group {
width: 100%;
}
.reverse-sort-btn {
color: $gl-text-color-secondary;
}
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2017-09-10 17:25:29 +05:30
.emoji-block .row {
display: flex;
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.new-branch-col {
padding-top: 0;
align-self: center;
}
.create-mr-dropdown-wrap {
2018-11-08 19:23:39 +05:30
.btn-group:not(.hidden) {
display: inline-flex;
2017-09-10 17:25:29 +05:30
}
2017-08-17 22:00:37 +05:30
}
2016-09-13 17:45:13 +05:30
}
}
2018-12-13 13:39:08 +05:30
@include media-breakpoint-up(lg) {
.new-branch-col {
text-align: right;
}
}