2017-01-05 16:07:13 -05:00
|
|
|
// Limit MR description for side-by-side diff view
|
|
|
|
.fixed-width-container {
|
|
|
|
max-width: $limited-layout-width - ($gl-padding * 2);
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2017-09-14 07:01:07 -04:00
|
|
|
.issuable-warning-icon {
|
2017-09-22 20:06:18 -04:00
|
|
|
background-color: $orange-100;
|
2017-08-07 21:38:15 -04:00
|
|
|
border-radius: $border-radius-default;
|
2017-09-14 07:01:07 -04:00
|
|
|
margin: 0 $btn-side-margin 0 0;
|
|
|
|
width: $issuable-warning-size;
|
|
|
|
height: $issuable-warning-size;
|
|
|
|
text-align: center;
|
2017-10-06 07:32:39 -04:00
|
|
|
|
2017-11-16 11:44:16 -05:00
|
|
|
.icon {
|
|
|
|
fill: $orange-600;
|
|
|
|
vertical-align: text-bottom;
|
2017-10-06 07:32:39 -04:00
|
|
|
}
|
2017-08-07 19:56:16 -04:00
|
|
|
|
2017-11-16 11:44:16 -05:00
|
|
|
&:first-of-type {
|
|
|
|
margin-right: $issuable-warning-icon-margin;
|
2017-08-07 19:56:16 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-05 16:07:13 -05:00
|
|
|
.limit-container-width {
|
2017-04-21 10:09:37 -04:00
|
|
|
.detail-page-header,
|
|
|
|
.page-content-header,
|
|
|
|
.commit-box,
|
|
|
|
.info-well,
|
|
|
|
.commit-ci-menu,
|
2017-08-08 12:12:11 -04:00
|
|
|
.files-changed-inner,
|
2017-06-23 06:45:08 -04:00
|
|
|
.limited-header-width,
|
|
|
|
.limited-width-notes {
|
2017-01-05 16:07:13 -05:00
|
|
|
@extend .fixed-width-container;
|
|
|
|
}
|
|
|
|
|
|
|
|
.issuable-details {
|
|
|
|
.detail-page-description,
|
|
|
|
.mr-source-target,
|
|
|
|
.mr-state-widget,
|
|
|
|
.merge-manually {
|
|
|
|
@extend .fixed-width-container;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.merge-request-details {
|
|
|
|
.emoji-list-container {
|
|
|
|
@extend .fixed-width-container;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffs {
|
2017-04-21 10:09:37 -04:00
|
|
|
.mr-version-controls {
|
2017-01-05 16:07:13 -05:00
|
|
|
@extend .fixed-width-container;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-07 16:04:23 -04:00
|
|
|
.issuable-details {
|
2015-12-10 13:03:48 -05:00
|
|
|
section {
|
2015-12-17 04:34:15 -05:00
|
|
|
.issuable-discussion {
|
2015-12-10 13:03:48 -05:00
|
|
|
margin-right: 1px;
|
|
|
|
}
|
|
|
|
}
|
2016-06-14 14:15:21 -04:00
|
|
|
|
2017-10-17 13:04:33 -04:00
|
|
|
.title-container {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2016-12-30 05:07:45 -05:00
|
|
|
.title {
|
|
|
|
padding: 0;
|
2017-11-28 14:07:25 -05:00
|
|
|
margin-bottom: $gl-padding;
|
2017-11-02 19:59:51 -04:00
|
|
|
border-bottom: 0;
|
2016-12-30 05:07:45 -05:00
|
|
|
}
|
|
|
|
|
2017-10-17 13:04:33 -04:00
|
|
|
.btn-edit {
|
|
|
|
margin-left: auto;
|
2017-11-28 14:07:25 -05:00
|
|
|
height: $gl-padding * 2;
|
2017-10-17 13:04:33 -04:00
|
|
|
}
|
|
|
|
|
2016-06-14 14:15:21 -04:00
|
|
|
// Border around images in issue and MR descriptions.
|
2016-06-19 20:31:29 -04:00
|
|
|
.description img:not(.emoji) {
|
2016-12-12 17:26:21 -05:00
|
|
|
border: 1px solid $white-normal;
|
2016-06-14 14:15:21 -04:00
|
|
|
padding: 5px;
|
2016-06-21 12:24:00 -04:00
|
|
|
max-height: calc(100vh - 100px);
|
2017-08-16 06:43:45 -04:00
|
|
|
max-width: 100%;
|
2016-06-14 14:15:21 -04:00
|
|
|
}
|
2017-05-19 17:05:51 -04:00
|
|
|
|
|
|
|
.emoji-block {
|
2017-06-02 19:06:29 -04:00
|
|
|
padding: 10px 0;
|
2017-05-19 17:05:51 -04:00
|
|
|
}
|
2015-09-07 16:04:23 -04:00
|
|
|
}
|
2015-10-22 10:08:45 -04:00
|
|
|
|
|
|
|
.issuable-filter-count {
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: -16px;
|
|
|
|
padding: 13px 0;
|
|
|
|
}
|
|
|
|
}
|
2015-10-23 09:29:53 -04:00
|
|
|
|
2015-12-03 14:01:35 -05:00
|
|
|
.issuable-show-labels {
|
|
|
|
a {
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
display: inline-block;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2015-12-03 14:01:35 -05:00
|
|
|
.color-label {
|
|
|
|
padding: 6px 10px;
|
2016-12-12 19:28:57 -05:00
|
|
|
border-radius: $label-border-radius;
|
2015-12-03 14:01:35 -05:00
|
|
|
}
|
2017-12-04 06:00:52 -05:00
|
|
|
|
|
|
|
&:hover .color-label {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2015-12-03 14:01:35 -05:00
|
|
|
}
|
2016-03-04 12:37:07 -05:00
|
|
|
|
|
|
|
&.has-labels {
|
|
|
|
margin-bottom: -5px;
|
|
|
|
}
|
2015-12-03 14:01:35 -05:00
|
|
|
}
|
|
|
|
|
2016-04-20 05:11:22 -04:00
|
|
|
.right-sidebar {
|
2017-12-15 15:34:26 -05:00
|
|
|
position: fixed;
|
2017-07-12 05:50:26 -04:00
|
|
|
top: $header-height;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2017-12-07 12:16:38 -05:00
|
|
|
transition: width $sidebar-transition-duration;
|
2017-07-12 05:50:26 -04:00
|
|
|
background: $gray-light;
|
|
|
|
z-index: 200;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2017-11-05 18:13:11 -05:00
|
|
|
a:not(.btn-retry),
|
2017-05-04 08:11:15 -04:00
|
|
|
.btn-link {
|
2016-03-21 05:07:53 -04:00
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2017-05-04 08:11:15 -04:00
|
|
|
.btn-link {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2016-06-07 04:44:01 -04:00
|
|
|
.issuable-header-text {
|
|
|
|
margin-top: 7px;
|
|
|
|
}
|
|
|
|
|
2015-12-10 13:03:48 -05:00
|
|
|
.block {
|
|
|
|
@include clearfix;
|
2016-03-16 19:40:12 -04:00
|
|
|
padding: $gl-padding 0;
|
2016-12-12 17:26:21 -05:00
|
|
|
border-bottom: 1px solid $border-gray-normal;
|
2016-02-05 05:53:06 -05:00
|
|
|
// This prevents the mess when resizing the sidebar
|
2016-01-28 18:26:47 -05:00
|
|
|
// of elements repositioning themselves..
|
2016-02-03 16:04:48 -05:00
|
|
|
width: $gutter_inner_width;
|
2016-01-28 18:26:47 -05:00
|
|
|
// --
|
2015-10-23 09:29:53 -04:00
|
|
|
|
2016-03-04 12:37:07 -05:00
|
|
|
&.issuable-sidebar-header {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 10px;
|
2016-01-27 22:50:18 -05:00
|
|
|
}
|
|
|
|
|
2015-12-10 13:03:48 -05:00
|
|
|
&:last-child {
|
2017-11-02 19:59:51 -04:00
|
|
|
border: 0;
|
2015-12-10 13:03:48 -05:00
|
|
|
}
|
2016-01-27 22:50:18 -05:00
|
|
|
|
2016-02-05 18:29:17 -05:00
|
|
|
.select2-container span {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2016-01-27 23:47:37 -05:00
|
|
|
.gutter-toggle {
|
2016-02-03 16:04:48 -05:00
|
|
|
margin-left: 20px;
|
2016-01-27 22:50:18 -05:00
|
|
|
padding-left: 10px;
|
2016-02-05 18:25:26 -05:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $gray-darkest;
|
|
|
|
}
|
2016-01-27 22:50:18 -05:00
|
|
|
}
|
2017-12-04 06:00:52 -05:00
|
|
|
|
|
|
|
&.assignee {
|
|
|
|
.author_link:hover {
|
|
|
|
.author {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-10-23 09:29:53 -04:00
|
|
|
}
|
2015-11-19 04:50:38 -05:00
|
|
|
|
2016-04-20 05:11:22 -04:00
|
|
|
.block-first {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2015-12-10 13:03:48 -05:00
|
|
|
.title {
|
|
|
|
color: $gl-text-color;
|
2016-03-04 12:37:07 -05:00
|
|
|
margin-bottom: 10px;
|
|
|
|
line-height: 1;
|
2015-11-11 08:12:51 -05:00
|
|
|
|
2015-12-10 13:03:48 -05:00
|
|
|
.avatar {
|
|
|
|
margin-left: 0;
|
2015-11-11 08:12:51 -05:00
|
|
|
}
|
|
|
|
|
2015-12-10 13:03:48 -05:00
|
|
|
.edit-link {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2016-03-04 12:37:07 -05:00
|
|
|
|
2017-01-04 18:38:54 -05:00
|
|
|
&:not([href]):hover {
|
|
|
|
color: rgba($avatar-border, .2);
|
2016-03-04 12:37:07 -05:00
|
|
|
}
|
2015-11-19 04:50:38 -05:00
|
|
|
}
|
2015-11-11 08:12:51 -05:00
|
|
|
}
|
|
|
|
|
2015-12-10 13:03:48 -05:00
|
|
|
.cross-project-reference {
|
2016-03-21 05:07:53 -04:00
|
|
|
color: inherit;
|
2016-01-14 07:59:28 -05:00
|
|
|
|
2016-01-07 15:18:07 -05:00
|
|
|
span {
|
|
|
|
white-space: nowrap;
|
2016-01-07 15:25:38 -05:00
|
|
|
width: 85%;
|
2016-01-07 15:18:07 -05:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2015-11-17 06:16:16 -05:00
|
|
|
|
2016-01-13 21:21:57 -05:00
|
|
|
cite {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
2015-12-10 13:03:48 -05:00
|
|
|
button {
|
|
|
|
float: right;
|
2016-07-18 15:48:26 -04:00
|
|
|
padding: 1px 5px;
|
|
|
|
background-color: $gray-light;
|
2015-11-17 06:16:16 -05:00
|
|
|
}
|
2015-12-10 13:03:48 -05:00
|
|
|
}
|
2015-11-19 04:50:38 -05:00
|
|
|
|
2015-12-10 13:03:48 -05:00
|
|
|
.selectbox {
|
2016-10-14 16:39:08 -04:00
|
|
|
display: none;
|
2015-12-10 13:03:48 -05:00
|
|
|
}
|
2015-11-19 04:50:38 -05:00
|
|
|
|
2016-11-27 17:49:59 -05:00
|
|
|
.btn-clipboard:hover {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2015-11-11 08:12:51 -05:00
|
|
|
}
|
2017-05-16 11:59:48 -04:00
|
|
|
|
|
|
|
.issuable-sidebar {
|
|
|
|
width: calc(100% + 100px);
|
2017-12-15 15:57:28 -05:00
|
|
|
height: 100%;
|
2017-05-16 11:59:48 -04:00
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
2016-01-27 22:50:18 -05:00
|
|
|
|
2017-07-24 08:21:34 -04:00
|
|
|
&.affix-top .issuable-sidebar {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2016-01-27 23:47:37 -05:00
|
|
|
&.right-sidebar-expanded {
|
|
|
|
width: $gutter_width;
|
2016-01-28 20:36:48 -05:00
|
|
|
|
2016-03-04 12:37:07 -05:00
|
|
|
.value {
|
|
|
|
line-height: 1;
|
2016-03-19 20:19:51 -04:00
|
|
|
|
|
|
|
.assign-yourself {
|
|
|
|
margin-top: 10px;
|
|
|
|
display: block;
|
|
|
|
}
|
2016-03-04 12:37:07 -05:00
|
|
|
}
|
|
|
|
|
2017-07-05 05:08:30 -04:00
|
|
|
.issuable-sidebar {
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
|
2017-05-17 04:44:47 -04:00
|
|
|
.issuable-sidebar-header {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
2017-08-16 20:47:59 -04:00
|
|
|
&:not(.issue-boards-sidebar):not([data-signed-in]):not([data-always-show-toggle]) {
|
2017-06-27 04:06:35 -04:00
|
|
|
.issuable-sidebar-header {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-04 08:11:15 -04:00
|
|
|
.assign-yourself .btn-link {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
2016-05-19 06:34:40 -04:00
|
|
|
.light {
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2016-05-19 06:34:40 -04:00
|
|
|
}
|
|
|
|
|
2017-11-10 18:41:04 -05:00
|
|
|
.no-value,
|
|
|
|
.btn-secondary-hover-link {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color-secondary;
|
2016-06-02 06:03:33 -04:00
|
|
|
}
|
|
|
|
|
2017-11-10 18:41:04 -05:00
|
|
|
.btn-secondary-hover-link:hover {
|
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
|
|
|
|
2016-02-22 09:58:25 -05:00
|
|
|
.sidebar-collapsed-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gutter-toggle {
|
2016-03-04 12:37:07 -05:00
|
|
|
margin-top: 7px;
|
2016-12-12 17:26:21 -05:00
|
|
|
border-left: 1px solid $border-gray-normal;
|
2017-11-10 18:41:04 -05:00
|
|
|
text-align: center;
|
2016-02-22 09:58:25 -05:00
|
|
|
}
|
2016-03-04 12:37:07 -05:00
|
|
|
|
2017-06-27 04:06:35 -04:00
|
|
|
.title .gutter-toggle {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2016-03-04 12:39:48 -05:00
|
|
|
.assignee .avatar {
|
2016-03-04 12:37:07 -05:00
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2017-05-04 08:11:15 -04:00
|
|
|
.assignee .user-list .avatar {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2016-03-04 12:37:07 -05:00
|
|
|
.username {
|
|
|
|
display: block;
|
|
|
|
margin-top: 4px;
|
|
|
|
font-size: 13px;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2016-03-04 12:37:07 -05:00
|
|
|
}
|
2017-03-24 12:17:38 -04:00
|
|
|
|
|
|
|
.hide-expanded {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-01-27 23:47:37 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.right-sidebar-collapsed {
|
2016-03-04 09:05:32 -05:00
|
|
|
/* Extra small devices (phones, less than 768px) */
|
|
|
|
display: none;
|
|
|
|
/* Small devices (tablets, 768px and up) */
|
2016-03-02 12:17:26 -05:00
|
|
|
@media (min-width: $screen-sm-min) {
|
2016-10-14 16:39:08 -04:00
|
|
|
display: block;
|
2016-03-02 12:17:26 -05:00
|
|
|
}
|
|
|
|
|
2017-02-13 11:34:01 -05:00
|
|
|
width: $gutter_collapsed_width;
|
2017-05-17 04:44:47 -04:00
|
|
|
padding: 0;
|
2016-01-28 20:36:48 -05:00
|
|
|
|
|
|
|
.block {
|
2017-02-13 11:34:01 -05:00
|
|
|
width: $gutter_collapsed_width - 2px;
|
2016-03-18 17:18:00 -04:00
|
|
|
padding: 15px 0 0;
|
2017-11-02 19:59:51 -04:00
|
|
|
border-bottom: 0;
|
2016-02-22 09:58:25 -05:00
|
|
|
overflow: hidden;
|
2016-01-28 20:36:48 -05:00
|
|
|
}
|
2016-02-05 18:21:50 -05:00
|
|
|
|
2016-03-04 12:37:07 -05:00
|
|
|
.participants {
|
2016-12-12 17:26:21 -05:00
|
|
|
border-bottom: 1px solid $border-gray-normal;
|
2016-03-04 12:37:07 -05:00
|
|
|
}
|
|
|
|
|
2016-02-25 05:35:52 -05:00
|
|
|
.hide-collapsed {
|
2016-01-28 00:06:36 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-01-28 18:26:47 -05:00
|
|
|
.gutter-toggle {
|
2016-03-04 12:37:07 -05:00
|
|
|
width: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 25px;
|
2016-01-28 18:26:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-collapsed-icon {
|
|
|
|
display: block;
|
2016-02-22 09:58:25 -05:00
|
|
|
width: 100%;
|
2016-01-28 19:27:42 -05:00
|
|
|
text-align: center;
|
2017-03-24 12:17:38 -04:00
|
|
|
margin-bottom: 10px;
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $issuable-sidebar-color;
|
2016-01-28 20:36:48 -05:00
|
|
|
|
2017-08-04 15:37:00 -04:00
|
|
|
svg {
|
|
|
|
fill: $issuable-sidebar-color;
|
|
|
|
}
|
|
|
|
|
2017-11-10 18:41:04 -05:00
|
|
|
&:hover:not(.disabled),
|
2017-03-27 08:33:20 -04:00
|
|
|
&:hover .todo-undone {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2017-08-04 15:37:00 -04:00
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $gl-text-color;
|
|
|
|
}
|
2016-11-27 17:49:59 -05:00
|
|
|
}
|
|
|
|
|
2016-01-28 20:36:48 -05:00
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2016-02-05 19:43:18 -05:00
|
|
|
|
2017-05-04 08:11:15 -04:00
|
|
|
.sidebar-avatar-counter {
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
|
2017-03-24 11:04:57 -04:00
|
|
|
.todo-undone {
|
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
|
|
|
|
2016-03-07 03:40:19 -05:00
|
|
|
.author {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-05-04 08:11:15 -04:00
|
|
|
.avatar-counter:hover {
|
|
|
|
color: $issuable-sidebar-color;
|
2017-07-18 10:58:12 -04:00
|
|
|
border-color: $issuable-sidebar-color;
|
2017-05-04 08:11:15 -04:00
|
|
|
}
|
|
|
|
|
2016-02-05 19:43:18 -05:00
|
|
|
.btn-clipboard {
|
2017-11-02 19:59:51 -04:00
|
|
|
border: 0;
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $issuable-sidebar-color;
|
2016-02-05 19:43:18 -05:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: transparent;
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2016-02-05 19:43:18 -05:00
|
|
|
}
|
|
|
|
}
|
2017-05-04 08:11:15 -04:00
|
|
|
|
|
|
|
&.multiple-users {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-avatar-counter {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
border-radius: 12px;
|
2016-01-28 18:26:47 -05:00
|
|
|
}
|
2016-03-04 12:37:07 -05:00
|
|
|
|
|
|
|
.sidebar-collapsed-user {
|
|
|
|
padding-bottom: 0;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2016-06-15 13:38:47 -04:00
|
|
|
|
|
|
|
.issuable-header-btn {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-05-04 08:11:15 -04:00
|
|
|
|
|
|
|
.multiple-users {
|
|
|
|
height: 24px;
|
|
|
|
margin-bottom: 17px;
|
|
|
|
margin-top: 4px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
|
|
|
|
.btn-link {
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-link:first-child {
|
|
|
|
position: absolute;
|
|
|
|
left: 10px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-link:last-child {
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-09-14 05:02:29 -04:00
|
|
|
|
2017-12-07 12:37:33 -05:00
|
|
|
.milestone-title span,
|
|
|
|
.collapse-truncated-title {
|
2017-09-14 05:02:29 -04:00
|
|
|
@include str-truncated(100%);
|
|
|
|
display: block;
|
|
|
|
margin: 0 4px;
|
|
|
|
}
|
2016-01-28 00:06:36 -05:00
|
|
|
}
|
|
|
|
|
2017-10-16 04:07:28 -04:00
|
|
|
a:not(.btn-retry) {
|
2016-03-04 12:37:07 -05:00
|
|
|
&:hover {
|
|
|
|
color: $md-link-color;
|
2017-01-03 08:51:19 -05:00
|
|
|
|
|
|
|
.avatar {
|
2017-01-04 18:38:54 -05:00
|
|
|
border-color: rgba($avatar-border, .2);
|
2017-01-03 08:51:19 -05:00
|
|
|
}
|
2016-03-04 12:37:07 -05:00
|
|
|
}
|
|
|
|
}
|
2016-03-21 05:07:53 -04:00
|
|
|
|
2016-03-12 06:52:50 -05:00
|
|
|
.dropdown-menu-toggle {
|
|
|
|
width: 100%;
|
2016-03-19 11:39:34 -04:00
|
|
|
padding-top: 6px;
|
2016-03-12 06:52:50 -05:00
|
|
|
}
|
|
|
|
|
2017-08-14 03:26:19 -04:00
|
|
|
.dropdown-menu {
|
2016-03-12 06:52:50 -05:00
|
|
|
width: 100%;
|
|
|
|
}
|
2016-02-05 05:53:06 -05:00
|
|
|
}
|
2016-02-04 19:53:54 -05:00
|
|
|
|
2017-07-31 04:07:51 -04:00
|
|
|
.with-performance-bar .right-sidebar {
|
2017-09-29 17:03:50 -04:00
|
|
|
top: $header-height + $performance-bar-height;
|
2017-12-15 15:57:28 -05:00
|
|
|
|
|
|
|
.issuable-sidebar {
|
|
|
|
height: calc(100% - #{$performance-bar-height});
|
|
|
|
}
|
2017-07-31 04:07:51 -04:00
|
|
|
}
|
|
|
|
|
2017-08-14 03:26:19 -04:00
|
|
|
.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-02-04 19:53:54 -05:00
|
|
|
.detail-page-description {
|
2017-05-26 15:01:42 -04:00
|
|
|
padding: 16px 0;
|
2017-04-25 13:13:59 -04:00
|
|
|
|
2016-02-04 19:53:54 -05:00
|
|
|
small {
|
|
|
|
color: $gray-darkest;
|
|
|
|
}
|
2016-02-22 09:58:25 -05:00
|
|
|
}
|
2016-03-02 06:33:55 -05:00
|
|
|
|
|
|
|
.edited-text {
|
|
|
|
color: $gray-darkest;
|
2017-04-25 13:13:59 -04:00
|
|
|
display: block;
|
2017-05-26 15:01:42 -04:00
|
|
|
margin: 16px 0 0;
|
2017-06-13 13:01:59 -04:00
|
|
|
font-size: 85%;
|
2016-03-02 06:33:55 -05:00
|
|
|
|
|
|
|
.author_link {
|
|
|
|
color: $gray-darkest;
|
|
|
|
}
|
|
|
|
}
|
2016-03-04 12:37:07 -05:00
|
|
|
|
|
|
|
.participants-list {
|
2017-10-31 12:15:03 -04:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: -7px;
|
2016-03-04 12:37:07 -05:00
|
|
|
}
|
|
|
|
|
2017-05-05 12:02:40 -04:00
|
|
|
|
2017-05-04 08:11:15 -04:00
|
|
|
.user-list {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2016-03-04 12:37:07 -05:00
|
|
|
.participants-author {
|
2017-05-05 12:02:40 -04:00
|
|
|
display: inline-block;
|
2017-10-31 12:15:03 -04:00
|
|
|
padding: 7px;
|
2016-03-04 12:37:07 -05:00
|
|
|
|
2017-05-05 12:02:40 -04:00
|
|
|
&:nth-of-type(7n) {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
2016-03-04 12:37:07 -05:00
|
|
|
.author_link {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar.avatar-inline {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-04 08:11:15 -04:00
|
|
|
.user-item {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 5px;
|
|
|
|
flex-basis: 20%;
|
|
|
|
|
|
|
|
.user-link {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.participants-more,
|
|
|
|
.user-list-more {
|
2016-03-04 12:37:07 -05:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-left: 5px;
|
|
|
|
|
2017-05-04 08:11:15 -04:00
|
|
|
a,
|
|
|
|
.btn-link {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color-secondary;
|
2016-03-04 12:37:07 -05:00
|
|
|
}
|
2017-05-04 08:11:15 -04:00
|
|
|
|
|
|
|
.btn-link {
|
|
|
|
outline: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-link:hover {
|
|
|
|
@extend a:hover;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-link:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2016-03-04 12:37:07 -05:00
|
|
|
}
|
2016-04-11 12:04:01 -04:00
|
|
|
|
|
|
|
.issuable-form-padding-top {
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
padding-top: 7px;
|
|
|
|
}
|
|
|
|
}
|
2016-04-01 06:55:26 -04:00
|
|
|
|
|
|
|
.issuable-status-box {
|
2017-12-12 22:44:59 -05:00
|
|
|
align-self: stretch;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2016-04-01 06:55:26 -04:00
|
|
|
margin-top: 0;
|
2017-12-12 22:44:59 -05:00
|
|
|
padding-left: 9px;
|
|
|
|
padding-right: 9px;
|
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
display: inline-block;
|
|
|
|
height: auto;
|
|
|
|
align-self: center;
|
|
|
|
}
|
2016-04-01 06:55:26 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.issuable-gutter-toggle {
|
|
|
|
@media (max-width: $screen-sm-max) {
|
2017-11-28 16:35:01 -05:00
|
|
|
margin-left: $btn-side-margin;
|
2016-04-01 06:55:26 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.issuable-meta {
|
2017-11-28 16:35:01 -05:00
|
|
|
flex: 1;
|
2016-04-01 06:55:26 -04:00
|
|
|
display: inline-block;
|
2016-12-21 12:41:41 -05:00
|
|
|
font-size: 14px;
|
2017-11-03 18:55:17 -04:00
|
|
|
line-height: 24px;
|
|
|
|
align-self: center;
|
2016-04-01 06:55:26 -04:00
|
|
|
}
|
2016-06-24 15:43:46 -04:00
|
|
|
|
|
|
|
.js-issuable-selector-wrap {
|
|
|
|
.js-issuable-selector {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-06-24 15:43:46 -04:00
|
|
|
@media (max-width: $screen-sm-max) {
|
|
|
|
margin-bottom: $gl-padding;
|
|
|
|
}
|
|
|
|
}
|
2016-09-06 08:49:49 -04:00
|
|
|
|
|
|
|
.issuable-list {
|
|
|
|
li {
|
2017-02-07 05:30:44 -05:00
|
|
|
|
2017-02-08 02:04:00 -05:00
|
|
|
.issue-box {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.issue-info-container {
|
|
|
|
-webkit-flex: 1;
|
|
|
|
flex: 1;
|
2017-06-29 13:34:06 -04:00
|
|
|
display: flex;
|
2017-02-08 02:04:00 -05:00
|
|
|
padding-right: $gl-padding;
|
2017-06-29 13:34:06 -04:00
|
|
|
|
|
|
|
.issue-main-info {
|
|
|
|
flex: 1 auto;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.issuable-meta {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
flex: 1 0 auto;
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
margin-bottom: 2px;
|
|
|
|
line-height: 20px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.issue-updated-at {
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(max-width: $screen-xs-max) {
|
|
|
|
.issuable-meta {
|
|
|
|
.controls li {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-02-07 05:30:44 -05:00
|
|
|
}
|
|
|
|
|
2016-09-06 08:49:49 -04:00
|
|
|
.issue-check {
|
2016-09-08 08:33:53 -04:00
|
|
|
padding-right: $gl-padding;
|
2016-09-06 08:49:49 -04:00
|
|
|
margin-bottom: 10px;
|
|
|
|
min-width: 15px;
|
|
|
|
|
|
|
|
.selected_issue {
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
|
|
|
}
|
2017-06-29 13:34:06 -04:00
|
|
|
|
|
|
|
.issuable-milestone,
|
|
|
|
.issuable-info,
|
|
|
|
.task-status,
|
|
|
|
.issuable-updated-at {
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-06-29 13:34:06 -04:00
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $gl-text-color;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(max-width: $screen-md-max) {
|
|
|
|
.task-status,
|
|
|
|
.issuable-due-date,
|
|
|
|
.project-ref-path {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2016-09-06 08:49:49 -04:00
|
|
|
}
|
|
|
|
}
|
2016-12-20 09:44:24 -05:00
|
|
|
|
2017-05-04 08:11:15 -04:00
|
|
|
.issuable-list li,
|
|
|
|
.issue-info-container .controls {
|
|
|
|
.avatar-counter {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
min-width: 16px;
|
|
|
|
line-height: 14px;
|
|
|
|
height: 16px;
|
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-20 09:44:24 -05:00
|
|
|
.time_tracker {
|
|
|
|
padding-bottom: 0;
|
|
|
|
border-bottom: 0;
|
|
|
|
|
|
|
|
|
|
|
|
.sidebar-collapsed-icon {
|
|
|
|
|
|
|
|
> .stopwatch-svg {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2017-03-22 17:03:25 -04:00
|
|
|
fill: $issuable-sidebar-color;
|
2016-12-20 09:44:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover svg {
|
2017-01-13 15:35:24 -05:00
|
|
|
fill: $gl-text-color;
|
2016-12-20 09:44:24 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.help-button,
|
|
|
|
.close-help-button {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compare-meter {
|
|
|
|
&.within_estimate {
|
|
|
|
.meter-fill {
|
|
|
|
background: $gl-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.over_estimate {
|
|
|
|
.meter-fill {
|
2017-03-23 12:04:25 -04:00
|
|
|
background: $red-500;
|
2016-12-20 09:44:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.time-remaining,
|
|
|
|
.compare-value.spent {
|
2017-03-23 12:04:25 -04:00
|
|
|
color: $red-500;
|
2016-12-20 09:44:24 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.meter-container {
|
|
|
|
background: $border-gray-light;
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
|
|
.meter-fill {
|
|
|
|
max-width: 100%;
|
|
|
|
height: 5px;
|
|
|
|
border-radius: 3px;
|
|
|
|
background: $gl-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.compare-display-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: 5px;
|
|
|
|
|
|
|
|
.compare-display {
|
|
|
|
font-size: 13px;
|
2017-01-13 15:35:24 -05:00
|
|
|
color: $compare-display-color;
|
2016-12-20 09:44:24 -05:00
|
|
|
|
|
|
|
.compare-value {
|
2017-01-13 15:35:24 -05:00
|
|
|
color: $gl-text-color;
|
2016-12-20 09:44:24 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.time-tracking-help-state {
|
|
|
|
background: $white-light;
|
|
|
|
margin: 16px -20px 0;
|
|
|
|
padding: 16px 20px;
|
|
|
|
border-top: 1px solid $border-gray-light;
|
|
|
|
border-bottom: 1px solid $border-gray-light;
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: $btn-white-active;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.help-state-toggle-enter-active {
|
|
|
|
transition: all .8s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.help-state-toggle-leave-active {
|
|
|
|
transition: all .5s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.help-state-toggle-enter,
|
|
|
|
.help-state-toggle-leave-active {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-03-24 12:17:38 -04:00
|
|
|
|
|
|
|
.issuable-todo-btn {
|
|
|
|
.fa-spinner {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-loading {
|
|
|
|
.fa-spinner {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.sidebar-collapsed-icon {
|
|
|
|
.issuable-todo-inner {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-06-07 06:18:35 -04:00
|
|
|
|
|
|
|
.issuable-close-button,
|
|
|
|
.issuable-close-toggle {
|
|
|
|
@include transition(border-color, color);
|
|
|
|
}
|
|
|
|
|
2017-07-07 09:51:34 -04:00
|
|
|
.issuable-close-dropdown {
|
|
|
|
.dropdown-menu {
|
|
|
|
min-width: 270px;
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
.text {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle > .icon {
|
|
|
|
margin: 0 3px;
|
|
|
|
}
|
2017-06-07 06:18:35 -04:00
|
|
|
}
|
2017-11-10 18:41:04 -05:00
|
|
|
|
|
|
|
.right-sidebar-collapsed {
|
|
|
|
.sidebar-grouped-item {
|
|
|
|
.sidebar-collapsed-icon {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-collapsed-divider {
|
|
|
|
line-height: 5px;
|
|
|
|
font-size: 12px;
|
|
|
|
color: $theme-gray-700;
|
|
|
|
|
|
|
|
+ .sidebar-collapsed-icon {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|