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

308 lines
5.7 KiB
SCSS
Raw Normal View History

2021-11-18 22:05:49 +05:30
.issue-token-link {
&[href] {
color: $blue-600;
}
2017-08-17 22:00:37 +05:30
2021-11-18 22:05:49 +05:30
&:hover,
&:focus {
outline: none;
text-decoration: none;
}
2017-08-17 22:00:37 +05:30
}
2021-11-18 22:05:49 +05:30
.issue-token-reference {
margin-right: 1px;
background-color: $gray-lighter;
transition: background $general-hover-transition-duration $general-hover-transition-curve, color $general-hover-transition-duration $general-hover-transition-curve;
2014-09-02 18:07:02 +05:30
2021-11-18 22:05:49 +05:30
.issue-token:hover &,
.issue-token-link:focus > & {
background-color: $gray-normal;
color: $blue-800;
text-decoration: none;
}
2014-09-02 18:07:02 +05:30
}
2021-11-18 22:05:49 +05:30
.issue-token-title {
background-color: $gray-normal;
transition: background $general-hover-transition-duration $general-hover-transition-curve;
2016-11-03 12:29:30 +05:30
2021-11-18 22:05:49 +05:30
.issue-token:hover &,
.issue-token-link:focus > & {
background-color: $border-gray-normal;
2016-09-29 09:46:39 +05:30
}
2021-11-18 22:05:49 +05:30
}
2017-08-17 22:00:37 +05:30
2021-11-18 22:05:49 +05:30
.issue-token-remove-button {
background-color: $gray-normal;
transition: background $general-hover-transition-duration $general-hover-transition-curve;
2017-09-10 17:25:29 +05:30
2021-11-18 22:05:49 +05:30
&:hover,
&:focus,
.issue-token:hover &,
.issue-token-link:focus + & {
background-color: $border-gray-normal;
outline: none;
2017-09-10 17:25:29 +05:30
}
2016-09-29 09:46:39 +05:30
}
2021-11-18 22:05:49 +05:30
.issue-realtime-pre-pulse {
opacity: 0;
}
.issue-realtime-trigger-pulse {
transition: opacity $fade-in-duration linear;
opacity: 1;
}
ul.related-merge-requests > li gl-emoji {
font-size: 1em;
2015-12-23 02:04:40 +05:30
}
.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
}
2020-01-01 13:55:28 +05:30
&.closed,
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
.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
}
2020-01-01 13:55:28 +05:30
.issues-nav-controls {
2019-02-15 15:39:39 +05:30
.btn-group:empty {
display: none;
}
}
2017-08-17 22:00:37 +05:30
.recaptcha {
margin-bottom: 30px;
}
.new-branch-col {
2018-12-13 13:39:08 +05:30
.discussion-filter-container {
&:not(:only-child) {
margin-right: $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;
}
.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
opacity: 1;
visibility: visible;
transform: translateY(0);
display: none;
2018-03-17 18:26:18 +05:30
margin-top: 4px;
// override dropdown item styles
2021-04-29 21:17:54 +05:30
.btn.btn-confirm {
2018-03-17 18:26:18 +05:30
@include btn-default;
2021-04-29 21:17:54 +05:30
@include btn-blue;
2018-03-17 18:26:18 +05:30
border-width: 1px;
line-height: $line-height-base;
width: auto;
2021-01-29 00:20:46 +05:30
&.disabled {
background-color: $gray-light;
border-color: $gray-100;
color: $gl-text-color-disabled;
}
2018-03-17 18:26:18 +05:30
}
2017-08-17 22:00:37 +05:30
}
2018-03-17 18:26:18 +05:30
}
2017-08-17 22:00:37 +05:30
2021-03-11 19:13:27 +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;
2021-03-11 19:13:27 +05:30
&.disabled {
color: $gl-text-color-disabled;
}
2019-02-15 15:39:39 +05:30
}
}
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;
}
2020-01-01 13:55:28 +05:30
}
2017-09-10 17:25:29 +05:30
2020-01-01 13:55:28 +05:30
.create-mr-dropdown-wrap {
.btn-group:not(.hidden) {
display: inline-flex;
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;
}
}
2020-04-08 14:13:33 +05:30
.issue-details {
.card-title {
a.anchor {
left: -16px;
top: 4px;
outline: none;
&::after {
content: image-url('icon_anchor.svg');
2020-11-24 15:15:51 +05:30
visibility: hidden;
2020-04-08 14:13:33 +05:30
}
}
&:hover > a.anchor::after {
2020-11-24 15:15:51 +05:30
visibility: visible;
2020-04-08 14:13:33 +05:30
}
}
}
2020-05-24 23:13:21 +05:30
2020-06-23 00:09:42 +05:30
.issue-sticky-header {
@include gl-left-0;
@include gl-w-full;
top: $header-height;
// collapsed right sidebar
@include media-breakpoint-up(sm) {
width: calc(100% - #{$gutter-collapsed-width});
}
.issue-sticky-header-text {
max-width: $limited-layout-width;
}
}
.with-performance-bar .issue-sticky-header {
2022-03-02 08:16:31 +05:30
top: calc(#{$header-height} + #{$performance-bar-height});
2020-06-23 00:09:42 +05:30
}
@include media-breakpoint-up(md) {
// collapsed left sidebar + collapsed right sidebar
.issue-sticky-header {
left: $contextual-sidebar-collapsed-width;
width: calc(100% - #{$contextual-sidebar-collapsed-width} - #{$gutter-collapsed-width});
}
// collapsed left sidebar + expanded right sidebar
.right-sidebar-expanded .issue-sticky-header {
width: calc(100% - #{$contextual-sidebar-collapsed-width} - #{$gutter-width});
}
}
@include media-breakpoint-up(xl) {
// expanded left sidebar + collapsed right sidebar
.issue-sticky-header {
left: $contextual-sidebar-width;
width: calc(100% - #{$contextual-sidebar-width} - #{$gutter-collapsed-width});
}
// collapsed left sidebar + collapsed right sidebar
.page-with-icon-sidebar .issue-sticky-header {
left: $contextual-sidebar-collapsed-width;
width: calc(100% - #{$contextual-sidebar-collapsed-width} - #{$gutter-collapsed-width});
}
// expanded left sidebar + expanded right sidebar
.right-sidebar-expanded .issue-sticky-header {
width: calc(100% - #{$contextual-sidebar-width} - #{$gutter-width});
}
// collapsed left sidebar + expanded right sidebar
.right-sidebar-expanded.page-with-icon-sidebar .issue-sticky-header {
width: calc(100% - #{$contextual-sidebar-collapsed-width} - #{$gutter-width});
}
}
.issuable-header-slide-enter-active,
.issuable-header-slide-leave-active {
@include gl-transition-slow;
}
.issuable-header-slide-enter,
.issuable-header-slide-leave-to {
transform: translateY(-100%);
}