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

885 lines
15 KiB
SCSS
Raw Normal View History

2018-03-17 18:26:18 +05:30
.issuable-warning-icon {
2020-11-24 15:15:51 +05:30
background-color: $orange-50;
2017-09-10 17:25:29 +05:30
border-radius: $border-radius-default;
2021-01-29 00:20:46 +05:30
color: $orange-600;
2018-03-17 18:26:18 +05:30
width: $issuable-warning-size;
height: $issuable-warning-size;
text-align: center;
2019-02-15 15:39:39 +05:30
margin-right: $issuable-warning-icon-margin;
line-height: $gl-line-height-24;
2021-11-11 11:23:49 +05:30
flex: 0 0 auto;
2017-09-10 17:25:29 +05:30
}
2017-08-17 22:00:37 +05:30
.limit-container-width {
2021-02-22 17:27:13 +05:30
.flash-container,
2017-08-17 22:00:37 +05:30
.detail-page-header,
.page-content-header,
.commit-box,
2019-07-07 11:18:12 +05:30
.info-well,
2017-08-17 22:00:37 +05:30
.commit-ci-menu,
2017-09-10 17:25:29 +05:30
.files-changed-inner,
.limited-header-width,
.limited-width-notes {
2019-07-31 22:56:46 +05:30
@include fixed-width-container;
2017-08-17 22:00:37 +05:30
}
.issuable-details {
.detail-page-description,
.mr-source-target,
.mr-state-widget,
.merge-manually {
2019-07-31 22:56:46 +05:30
@include fixed-width-container;
2017-08-17 22:00:37 +05:30
}
}
.merge-request-details {
.emoji-list-container {
2019-07-31 22:56:46 +05:30
@include fixed-width-container;
2017-08-17 22:00:37 +05:30
}
}
}
2015-09-11 14:41:01 +05:30
.issuable-details {
2015-12-23 02:04:40 +05:30
section {
.issuable-discussion {
margin-right: 1px;
2015-09-25 12:07:36 +05:30
}
2015-09-11 14:41:01 +05:30
}
2016-06-22 15:30:34 +05:30
2018-03-17 18:26:18 +05:30
.title-container {
display: flex;
2020-11-24 15:15:51 +05:30
align-items: flex-start;
2018-03-17 18:26:18 +05:30
}
2017-08-17 22:00:37 +05:30
.title {
padding: 0;
2018-03-17 18:26:18 +05:30
margin-bottom: $gl-padding;
border-bottom: 0;
2019-02-15 15:39:39 +05:30
word-wrap: break-word;
overflow-wrap: break-word;
min-width: 0;
width: 100%;
2019-07-31 22:56:46 +05:30
text-align: initial;
2018-03-17 18:26:18 +05:30
}
.btn-edit {
margin-left: auto;
2017-08-17 22:00:37 +05:30
}
.emoji-block {
2019-09-04 21:01:54 +05:30
padding: $gl-padding-4 0;
2017-08-17 22:00:37 +05:30
}
2015-09-11 14:41:01 +05:30
}
2015-11-26 14:37:03 +05:30
2015-12-23 02:04:40 +05:30
.issuable-show-labels {
2020-04-08 14:13:33 +05:30
.gl-label {
2015-12-23 02:04:40 +05:30
margin-bottom: 5px;
2018-03-27 19:54:05 +05:30
margin-right: 5px;
2020-04-08 14:13:33 +05:30
}
a {
2015-12-23 02:04:40 +05:30
display: inline-block;
2016-11-03 12:29:30 +05:30
2015-12-23 02:04:40 +05:30
.color-label {
2018-03-27 19:54:05 +05:30
padding: 4px $grid-size;
2017-08-17 22:00:37 +05:30
border-radius: $label-border-radius;
2020-04-08 14:13:33 +05:30
margin-right: 4px;
margin-bottom: 4px;
2015-12-23 02:04:40 +05:30
}
2018-03-17 18:26:18 +05:30
&:hover .color-label {
text-decoration: underline;
}
2015-11-26 14:37:03 +05:30
}
2016-06-02 11:05:42 +05:30
&.has-labels {
2018-03-27 19:54:05 +05:30
// this font size is a fix to
// prevent unintended spacing between labels
// which shows up when rendering markup has white-space
// characters present.
// see: https://css-tricks.com/fighting-the-space-between-inline-block-elements/#article-header-id-3
font-size: 0;
2016-06-02 11:05:42 +05:30
margin-bottom: -5px;
}
2015-11-26 14:37:03 +05:30
}
2021-01-03 14:25:43 +05:30
.assignee,
.reviewer {
2019-12-04 20:38:33 +05:30
.merge-icon {
2020-11-24 15:15:51 +05:30
color: $orange-400;
2019-12-04 20:38:33 +05:30
position: absolute;
2021-02-22 17:27:13 +05:30
filter: drop-shadow(0 0 0.5px $white) drop-shadow(0 0 1px $white) drop-shadow(0 0 2px $white);
2019-12-04 20:38:33 +05:30
}
}
2022-05-07 20:08:51 +05:30
.assignee .merge-icon {
top: calc(50% + 0.25rem);
left: 1.275rem;
}
2021-03-11 19:13:27 +05:30
.reviewer .merge-icon {
bottom: -3px;
right: -3px;
}
.right-sidebar {
2018-03-17 18:26:18 +05:30
position: fixed;
top: $header-height;
2021-11-11 11:23:49 +05:30
// Default value for CSS var must contain a unit
// stylelint-disable-next-line length-zero-no-unit
bottom: var(--review-bar-height, 0px);
2018-03-17 18:26:18 +05:30
right: 0;
transition: width $sidebar-transition-duration;
background: $gray-light;
z-index: 200;
overflow: hidden;
2019-09-04 21:01:54 +05:30
@include media-breakpoint-down(sm) {
z-index: 251;
}
2018-05-09 12:01:36 +05:30
a:not(.btn) {
2016-06-02 11:05:42 +05:30
color: inherit;
2018-05-09 12:01:36 +05:30
&:hover {
2018-11-20 20:47:30 +05:30
color: $blue-800;
2018-05-09 12:01:36 +05:30
.avatar {
2019-07-07 11:18:12 +05:30
border-color: rgba($gray-normal, 0.2);
2018-05-09 12:01:36 +05:30
}
2020-04-08 14:13:33 +05:30
}
}
2018-05-09 12:01:36 +05:30
2020-04-08 14:13:33 +05:30
.gl-label .gl-label-link:hover {
color: inherit;
}
2018-05-09 12:01:36 +05:30
2017-08-17 22:00:37 +05:30
.btn-link {
2018-05-09 12:01:36 +05:30
color: inherit;
2017-08-17 22:00:37 +05:30
}
.issuable-header-text {
margin-top: 7px;
}
2020-03-13 15:44:24 +05:30
.gutter-toggle {
margin-left: 20px;
padding-left: 10px;
&:hover {
color: $gl-text-color;
}
&:hover,
&:focus {
text-decoration: none;
}
}
2021-09-30 23:02:18 +05:30
.block,
2021-12-11 22:18:48 +05:30
.sidebar-contained-width,
2021-09-30 23:02:18 +05:30
.issuable-sidebar-header {
2015-12-23 02:04:40 +05:30
@include clearfix;
2016-06-02 11:05:42 +05:30
padding: $gl-padding 0;
2017-08-17 22:00:37 +05:30
border-bottom: 1px solid $border-gray-normal;
2016-04-02 18:10:28 +05:30
// This prevents the mess when resizing the sidebar
// of elements repositioning themselves..
2018-11-18 11:00:15 +05:30
width: $gutter-inner-width;
2016-04-02 18:10:28 +05:30
// --
2015-12-23 02:04:40 +05:30
&:last-child {
2018-03-17 18:26:18 +05:30
border: 0;
2016-04-02 18:10:28 +05:30
}
2018-03-17 18:26:18 +05:30
&.assignee {
2018-11-18 11:00:15 +05:30
.author-link {
2018-11-08 19:23:39 +05:30
display: block;
position: relative;
&:hover {
.author {
text-decoration: underline;
}
}
2018-03-17 18:26:18 +05:30
}
}
2015-12-23 02:04:40 +05:30
}
2015-11-26 14:37:03 +05:30
.block-first {
padding-top: 0;
}
2015-12-23 02:04:40 +05:30
.title {
color: $gl-text-color;
2020-11-24 15:15:51 +05:30
line-height: $gl-line-height-20;
2015-11-26 14:37:03 +05:30
2015-12-23 02:04:40 +05:30
.avatar {
margin-left: 0;
2015-11-26 14:37:03 +05:30
}
}
2021-04-29 21:17:54 +05:30
.cross-project-reference {
span {
width: 85%;
}
2015-11-26 14:37:03 +05:30
2015-12-23 02:04:40 +05:30
button {
2016-08-24 12:49:21 +05:30
padding: 1px 5px;
2015-11-26 14:37:03 +05:30
}
2015-12-23 02:04:40 +05:30
}
2015-11-26 14:37:03 +05:30
2015-12-23 02:04:40 +05:30
.selectbox {
2016-11-03 12:29:30 +05:30
display: none;
2019-07-07 11:18:12 +05:30
&.show {
display: block;
}
2015-12-23 02:04:40 +05:30
}
2015-11-26 14:37:03 +05:30
2017-08-17 22:00:37 +05:30
.btn-clipboard:hover {
color: $gl-text-color;
2015-11-26 14:37:03 +05:30
}
2017-09-10 17:25:29 +05:30
.issuable-sidebar {
2018-03-17 18:26:18 +05:30
height: 100%;
2017-09-10 17:25:29 +05:30
overflow-y: scroll;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
&.affix-top .issuable-sidebar {
height: 100%;
}
2016-04-02 18:10:28 +05:30
&.right-sidebar-expanded {
2018-11-18 11:00:15 +05:30
width: $gutter-width;
2016-04-02 18:10:28 +05:30
2016-06-02 11:05:42 +05:30
.value {
line-height: 1;
}
2017-09-10 17:25:29 +05:30
.issuable-sidebar {
padding: 0 20px;
}
2021-04-29 21:17:54 +05:30
&:not(.boards-sidebar):not([data-signed-in]):not([data-always-show-toggle]) {
2017-09-10 17:25:29 +05:30
.issuable-sidebar-header {
display: none;
}
}
2016-06-02 11:05:42 +05:30
.light {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2016-04-02 18:10:28 +05:30
}
2022-04-04 11:22:00 +05:30
.no-value {
2017-08-17 22:00:37 +05:30
color: $gl-text-color-secondary;
2016-06-22 15:30:34 +05:30
}
2016-04-02 18:10:28 +05:30
.sidebar-collapsed-icon {
display: none;
}
.gutter-toggle {
2017-08-17 22:00:37 +05:30
border-left: 1px solid $border-gray-normal;
2018-03-17 18:26:18 +05:30
text-align: center;
2016-04-02 18:10:28 +05:30
}
2017-09-10 17:25:29 +05:30
.title .gutter-toggle {
margin-top: 0;
}
2017-08-17 22:00:37 +05:30
.assignee .user-list .avatar {
margin: 0;
}
.hide-expanded {
display: none;
}
2016-04-02 18:10:28 +05:30
}
&.right-sidebar-collapsed {
2016-06-02 11:05:42 +05:30
/* Extra small devices (phones, less than 768px) */
display: none;
/* Small devices (tablets, 768px and up) */
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2016-11-03 12:29:30 +05:30
display: block;
2016-06-02 11:05:42 +05:30
}
2018-11-18 11:00:15 +05:30
width: $gutter-collapsed-width;
2017-09-10 17:25:29 +05:30
padding: 0;
2016-04-02 18:10:28 +05:30
2021-09-30 23:02:18 +05:30
.block,
2021-12-11 22:18:48 +05:30
.sidebar-contained-width,
2021-09-30 23:02:18 +05:30
.issuable-sidebar-header {
2018-11-18 11:00:15 +05:30
width: $gutter-collapsed-width - 2px;
2019-10-12 21:52:04 +05:30
padding: 0;
2018-03-17 18:26:18 +05:30
border-bottom: 0;
2016-04-02 18:10:28 +05:30
overflow: hidden;
2021-09-30 23:02:18 +05:30
}
2018-10-15 14:42:47 +05:30
2021-09-30 23:02:18 +05:30
.block,
.gutter-toggle,
.sidebar-collapsed-container {
2020-11-24 15:15:51 +05:30
&.with-sub-blocks .sub-block:hover,
&:not(.with-sub-blocks):hover {
2020-07-28 23:09:34 +05:30
background-color: $gray-100;
2018-10-15 14:42:47 +05:30
}
2016-04-02 18:10:28 +05:30
}
2016-06-02 11:05:42 +05:30
.participants {
2017-08-17 22:00:37 +05:30
border-bottom: 1px solid $border-gray-normal;
2016-06-02 11:05:42 +05:30
}
2016-04-02 18:10:28 +05:30
.hide-collapsed {
display: none;
}
.gutter-toggle {
2016-06-02 11:05:42 +05:30
width: 100%;
2018-10-15 14:42:47 +05:30
height: $sidebar-toggle-height;
2016-06-02 11:05:42 +05:30
margin-left: 0;
2018-10-15 14:42:47 +05:30
padding-left: 0;
2020-04-22 19:07:51 +05:30
border-bottom: 1px solid $border-white-normal;
2018-10-15 14:42:47 +05:30
}
a.gutter-toggle {
display: flex;
justify-content: center;
flex-direction: column;
text-align: center;
2016-04-02 18:10:28 +05:30
}
2021-02-22 17:27:13 +05:30
.merge-icon {
height: 12px;
width: 12px;
bottom: -5px;
right: 4px;
}
2016-04-02 18:10:28 +05:30
.sidebar-collapsed-icon {
2019-10-12 21:52:04 +05:30
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
2016-04-02 18:10:28 +05:30
width: 100%;
2019-10-12 21:52:04 +05:30
height: $sidebar-toggle-height;
2016-04-02 18:10:28 +05:30
text-align: center;
2018-11-20 20:47:30 +05:30
color: $gl-text-color-secondary;
2017-08-17 22:00:37 +05:30
2021-02-22 17:27:13 +05:30
> svg {
2018-11-20 20:47:30 +05:30
fill: $gl-text-color-secondary;
2017-09-10 17:25:29 +05:30
}
2018-03-17 18:26:18 +05:30
&:hover:not(.disabled),
2017-08-17 22:00:37 +05:30
&:hover .todo-undone {
color: $gl-text-color;
2017-09-10 17:25:29 +05:30
2021-02-22 17:27:13 +05:30
> svg {
2017-09-10 17:25:29 +05:30
fill: $gl-text-color;
}
2017-08-17 22:00:37 +05:30
}
2016-04-02 18:10:28 +05:30
2017-08-17 22:00:37 +05:30
.sidebar-avatar-counter {
padding-top: 2px;
}
.todo-undone {
2018-11-20 20:47:30 +05:30
color: $blue-600;
fill: $blue-600;
2017-08-17 22:00:37 +05:30
}
2016-06-02 11:05:42 +05:30
.author {
display: none;
}
2017-08-17 22:00:37 +05:30
.avatar-counter:hover {
2018-11-20 20:47:30 +05:30
color: $gl-text-color-secondary;
border-color: $gl-text-color-secondary;
2017-08-17 22:00:37 +05:30
}
2016-04-02 18:10:28 +05:30
.btn-clipboard {
2019-10-12 21:52:04 +05:30
/*
This change should be temporary, because the DOM currently gets
generated from a ruby definition in `app/helpers/button_helper.rb`.
2022-05-07 20:08:51 +05:30
As soon as the `copy to clipboard` button will be transferred to
2019-10-12 21:52:04 +05:30
Vue this should be adjusted as well.
*/
flex: 1;
align-self: stretch;
padding: 0;
2018-03-17 18:26:18 +05:30
border: 0;
2018-10-15 14:42:47 +05:30
background: transparent;
2018-11-20 20:47:30 +05:30
color: $gl-text-color-secondary;
2016-04-02 18:10:28 +05:30
&:hover {
2017-08-17 22:00:37 +05:30
color: $gl-text-color;
2016-04-02 18:10:28 +05:30
}
2017-08-17 22:00:37 +05:30
}
2016-04-02 18:10:28 +05:30
2017-08-17 22:00:37 +05:30
&.multiple-users {
display: flex;
justify-content: center;
2016-04-02 18:10:28 +05:30
}
}
2016-06-02 11:05:42 +05:30
2017-08-17 22:00:37 +05:30
.sidebar-avatar-counter {
width: 24px;
height: 24px;
border-radius: 12px;
}
2016-06-02 11:05:42 +05:30
.sidebar-collapsed-user {
padding-bottom: 0;
2018-11-08 19:23:39 +05:30
2018-11-18 11:00:15 +05:30
.author-link {
2018-11-08 19:23:39 +05:30
padding-left: 0;
.avatar {
position: static;
margin: 0;
}
}
2016-06-02 11:05:42 +05:30
}
2016-06-22 15:30:34 +05:30
.issuable-header-btn {
display: none;
}
2016-04-02 18:10:28 +05:30
2017-08-17 22:00:37 +05:30
.multiple-users {
.btn-link {
padding: 0;
border: 0;
.avatar {
margin: 0;
}
}
2016-06-02 11:05:42 +05:30
2017-08-17 22:00:37 +05:30
.btn-link:first-child {
position: absolute;
left: 10px;
z-index: 1;
}
.btn-link:last-child {
position: absolute;
right: 10px;
&:hover {
text-decoration: none;
}
}
2016-06-02 11:05:42 +05:30
}
2018-03-17 18:26:18 +05:30
.milestone-title span,
.collapse-truncated-title {
@include str-truncated(100%);
display: block;
margin: 0 4px;
}
2016-06-02 11:05:42 +05:30
}
.dropdown-menu-toggle {
width: 100%;
padding-top: 6px;
}
2018-03-17 18:26:18 +05:30
.dropdown-menu {
2016-06-02 11:05:42 +05:30
width: 100%;
2018-05-09 12:01:36 +05:30
/*
* Overwrite hover style for dropdown items, so that they are not blue
2019-12-04 20:38:33 +05:30
* This should be removed during dev of https://gitlab.com/gitlab-org/gitlab-foss/issues/44040
2018-05-09 12:01:36 +05:30
*/
li a {
&:hover,
&:active,
&:focus,
&.is-focused {
@include dropdown-item-hover;
}
}
2016-04-02 18:10:28 +05:30
}
}
2017-09-10 17:25:29 +05:30
.with-performance-bar .right-sidebar {
2022-03-02 08:16:31 +05:30
top: calc(#{$header-height} + #{$performance-bar-height});
2017-09-10 17:25:29 +05:30
}
2018-03-17 18:26:18 +05:30
.sidebar-move-issue-confirmation-button {
width: 100%;
&.is-loading {
.sidebar-move-issue-confirmation-loading-icon {
display: inline-block;
}
}
}
.sidebar-move-issue-confirmation-loading-icon {
display: none;
}
2016-04-02 18:10:28 +05:30
.detail-page-description {
2017-09-10 17:25:29 +05:30
padding: 16px 0;
2017-08-17 22:00:37 +05:30
2016-04-02 18:10:28 +05:30
small {
2020-10-24 23:57:45 +05:30
color: $gray-500;
2016-04-02 18:10:28 +05:30
}
}
2016-06-02 11:05:42 +05:30
.edited-text {
2020-10-24 23:57:45 +05:30
color: $gray-500;
2017-08-17 22:00:37 +05:30
display: block;
2017-09-10 17:25:29 +05:30
margin: 16px 0 0;
2018-03-17 18:26:18 +05:30
font-size: 85%;
2016-06-02 11:05:42 +05:30
2018-11-18 11:00:15 +05:30
.author-link {
2020-10-24 23:57:45 +05:30
color: $gray-500;
2016-06-02 11:05:42 +05:30
}
}
.participants-author {
2017-08-17 22:00:37 +05:30
&:nth-of-type(7n) {
padding-right: 0;
}
2016-06-02 11:05:42 +05:30
.avatar.avatar-inline {
margin: 0;
}
}
2017-08-17 22:00:37 +05:30
.user-item {
padding: 5px;
flex-basis: 20%;
.user-link {
display: inline-block;
}
}
.participants-more,
.user-list-more {
2016-06-02 11:05:42 +05:30
margin-left: 5px;
2017-08-17 22:00:37 +05:30
a,
.btn-link {
color: $gl-text-color-secondary;
}
.btn-link {
padding: 0;
}
.btn-link:hover {
2021-04-29 21:17:54 +05:30
color: $blue-800;
2017-08-17 22:00:37 +05:30
text-decoration: none;
}
.btn-link:focus {
text-decoration: none;
2016-06-02 11:05:42 +05:30
}
}
.issuable-status-box {
2018-03-17 18:26:18 +05:30
align-self: stretch;
display: flex;
justify-content: center;
align-items: center;
2016-06-02 11:05:42 +05:30
margin-top: 0;
2019-09-04 21:01:54 +05:30
padding: 0 $gl-padding-8;
2016-06-02 11:05:42 +05:30
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2018-03-17 18:26:18 +05:30
display: inline-block;
height: auto;
align-self: center;
2016-06-02 11:05:42 +05:30
}
}
.issuable-gutter-toggle {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(sm) {
2018-03-17 18:26:18 +05:30
margin-left: $btn-side-margin;
2016-06-02 11:05:42 +05:30
}
}
.issuable-meta {
2018-03-17 18:26:18 +05:30
flex: 1;
2016-06-02 11:05:42 +05:30
display: inline-block;
2017-08-17 22:00:37 +05:30
font-size: 14px;
2018-03-17 18:26:18 +05:30
align-self: center;
2018-11-08 19:23:39 +05:30
overflow: hidden;
text-overflow: ellipsis;
2018-11-20 20:47:30 +05:30
.user-status-emoji {
margin-left: $gl-padding-4;
margin-right: 0;
}
2016-06-02 11:05:42 +05:30
}
2016-09-13 17:45:13 +05:30
.js-issuable-selector-wrap {
.js-issuable-selector {
width: 100%;
}
2016-11-03 12:29:30 +05:30
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(sm) {
2016-09-13 17:45:13 +05:30
margin-bottom: $gl-padding;
}
}
2016-09-29 09:46:39 +05:30
.issuable-list {
li {
2018-12-05 23:21:45 +05:30
.issuable-info-container {
2017-08-17 22:00:37 +05:30
flex: 1;
2017-09-10 17:25:29 +05:30
display: flex;
2021-11-18 22:05:49 +05:30
}
2017-09-10 17:25:29 +05:30
2021-11-18 22:05:49 +05:30
.issuable-main-info {
flex: 1 auto;
margin-right: 10px;
min-width: 0;
2019-02-15 15:39:39 +05:30
2021-11-18 22:05:49 +05:30
.issue-weight-icon,
.issue-estimate-icon {
vertical-align: sub;
2017-09-10 17:25:29 +05:30
}
2021-11-18 22:05:49 +05:30
}
2017-09-10 17:25:29 +05:30
2021-11-18 22:05:49 +05:30
.issuable-meta {
display: flex;
flex-direction: column;
align-items: flex-end;
flex: 1 0 auto;
2017-09-10 17:25:29 +05:30
2021-11-18 22:05:49 +05:30
.controls {
margin-bottom: 2px;
line-height: 20px;
padding: 0;
2017-09-10 17:25:29 +05:30
}
2021-11-18 22:05:49 +05:30
.issue-updated-at {
line-height: 20px;
}
}
@include media-breakpoint-down(xs) {
.issuable-meta {
.controls li {
margin-right: 0;
2017-09-10 17:25:29 +05:30
}
}
2017-08-17 22:00:37 +05:30
}
2016-09-29 09:46:39 +05:30
.issue-check {
padding-right: $gl-padding;
margin-bottom: 10px;
min-width: 15px;
2018-12-05 23:21:45 +05:30
.selected-issuable {
2016-09-29 09:46:39 +05:30
vertical-align: text-top;
}
}
2017-09-10 17:25:29 +05:30
.issuable-milestone,
.issuable-info,
.task-status,
.issuable-updated-at {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2017-09-10 17:25:29 +05:30
color: $gl-text-color-secondary;
a {
color: $gl-text-color;
2020-04-08 14:13:33 +05:30
}
2017-09-10 17:25:29 +05:30
2020-04-08 14:13:33 +05:30
.gl-label-link {
color: inherit;
&:hover {
text-decoration: none;
.gl-label-text:last-of-type {
text-decoration: underline;
}
2017-09-10 17:25:29 +05:30
}
}
2020-10-24 23:57:45 +05:30
.milestone {
color: $gray-700;
}
2017-09-10 17:25:29 +05:30
}
2018-11-08 19:23:39 +05:30
@media(max-width: map-get($grid-breakpoints, lg)-1) {
2017-09-10 17:25:29 +05:30
.task-status,
.issuable-due-date,
2019-07-07 11:18:12 +05:30
.issuable-weight,
2017-09-10 17:25:29 +05:30
.project-ref-path {
display: none;
}
}
2016-09-29 09:46:39 +05:30
}
}
2017-08-17 22:00:37 +05:30
.issuable-list li,
2018-12-05 23:21:45 +05:30
.issuable-info-container .controls {
2017-08-17 22:00:37 +05:30
.avatar-counter {
display: inline-block;
vertical-align: middle;
min-width: 16px;
line-height: 14px;
height: 16px;
padding-left: 2px;
padding-right: 2px;
}
}
2021-11-18 22:05:49 +05:30
.add-issuable-form-input-wrapper {
&.focus {
border-color: $blue-300;
box-shadow: 0 0 4px $dropdown-input-focus-shadow;
2021-04-29 21:17:54 +05:30
}
2021-11-18 22:05:49 +05:30
.gl-show-field-errors &.form-control:not(textarea) {
height: auto;
}
2021-04-29 21:17:54 +05:30
}
2022-04-04 11:22:00 +05:30
.sidebar-help-wrap {
.sidebar-help-state {
margin: 16px -20px -20px;
padding: 16px 20px;
}
.help-state-toggle-enter-active {
transition: all 0.8s ease;
}
.help-state-toggle-leave-active {
transition: all 0.5s ease;
}
.help-state-toggle-enter,
.help-state-toggle-leave-active {
opacity: 0;
}
}
2021-01-29 00:20:46 +05:30
.time-tracker {
2017-08-17 22:00:37 +05:30
.sidebar-collapsed-icon {
> .stopwatch-svg {
display: inline-block;
}
svg {
width: 16px;
height: 16px;
2018-11-20 20:47:30 +05:30
fill: $gl-text-color-secondary;
2017-08-17 22:00:37 +05:30
}
&:hover svg {
fill: $gl-text-color;
}
}
.compare-meter {
&.over_estimate {
.time-remaining,
.compare-value.spent {
color: $red-500;
}
}
}
.compare-display-container {
2021-11-18 22:05:49 +05:30
font-size: 13px;
2017-08-17 22:00:37 +05:30
}
}
.issuable-todo-btn {
2020-11-24 15:15:51 +05:30
.gl-spinner {
2017-08-17 22:00:37 +05:30
display: none;
}
&.is-loading {
2020-11-24 15:15:51 +05:30
.gl-spinner {
2017-08-17 22:00:37 +05:30
display: inline-block;
}
&.sidebar-collapsed-icon {
.issuable-todo-inner {
display: none;
}
}
}
}
2017-09-10 17:25:29 +05:30
2021-01-29 00:20:46 +05:30
/*
* Following overrides are done to prevent
* legacy dropdown styles from influencing
* GitLab UI components used within GlDropdown
*/
.issuable-move-dropdown {
.b-dropdown-form {
@include gl-p-0;
}
.gl-search-box-by-type button.gl-clear-icon-button:hover {
@include gl-bg-transparent;
}
.issuable-move-button:not(.disabled):hover {
@include gl-text-white;
}
}
2018-03-17 18:26:18 +05:30
.right-sidebar-collapsed {
.sidebar-grouped-item {
.sidebar-collapsed-icon {
margin-bottom: 0;
}
.sidebar-collapsed-divider {
line-height: 5px;
font-size: 12px;
2020-10-24 23:57:45 +05:30
color: $gray-500;
2018-03-17 18:26:18 +05:30
+ .sidebar-collapsed-icon {
padding-top: 0;
}
}
}
}
2019-02-15 15:39:39 +05:30
.suggestion-footer {
font-size: 12px;
line-height: 15px;
.avatar {
margin-top: -3px;
border: 0;
}
}
2020-11-24 15:15:51 +05:30
@include media-breakpoint-down(sm) {
// Overriding the following rule with the negative margin
// https://gitlab.com/gitlab-org/gitlab/-/blob/146c43c931c3743a140529307aea616e4aa9ff21/app/assets/stylesheets/framework/sidebar.scss#L1-5
.container-fluid {
.issuable-list,
.issues-filters,
.epics-filters {
margin: 0 (-$gl-padding);
}
}
}
2022-04-04 11:22:00 +05:30
.icon-overlap-and-shadow {
filter:
drop-shadow(0 1px 0.5px #fff)
drop-shadow(1px 0 0.5px #fff)
drop-shadow(0 -1px 0.5px #fff)
drop-shadow(-1px 0 0.5px #fff);
margin-right: -7px;
z-index: 1;
}