2017-08-01 09:51:52 -04:00
|
|
|
.project-refs-form,
|
|
|
|
.project-refs-target-form {
|
2017-07-28 13:36:07 -04:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-07-18 08:00:55 -04:00
|
|
|
.fade-enter,
|
2017-08-06 12:51:56 -04:00
|
|
|
.fade-leave-to {
|
2017-07-18 08:00:55 -04:00
|
|
|
opacity: 0;
|
2017-06-27 14:10:43 -04:00
|
|
|
}
|
|
|
|
|
2017-07-10 08:10:43 -04:00
|
|
|
.commit-message {
|
2017-08-06 12:34:42 -04:00
|
|
|
@include str-truncated(250px);
|
2017-07-10 08:10:43 -04:00
|
|
|
}
|
|
|
|
|
2017-08-06 12:55:51 -04:00
|
|
|
.editable-mode {
|
2017-08-03 11:59:38 -04:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-12-21 10:05:47 -05:00
|
|
|
.ide-view {
|
2018-04-12 04:43:46 -04:00
|
|
|
position: relative;
|
2017-11-23 12:16:01 -05:00
|
|
|
display: flex;
|
2017-12-21 10:05:47 -05:00
|
|
|
height: calc(100vh - #{$header-height});
|
2018-04-02 10:27:12 -04:00
|
|
|
margin-top: 0;
|
2017-11-23 12:16:01 -05:00
|
|
|
border-top: 1px solid $white-dark;
|
2018-05-07 13:42:56 -04:00
|
|
|
padding-bottom: $ide-statusbar-height;
|
2017-11-23 12:16:01 -05:00
|
|
|
|
|
|
|
&.is-collapsed {
|
|
|
|
.ide-file-list {
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
2017-09-25 13:26:14 -04:00
|
|
|
}
|
2018-03-20 10:12:48 -04:00
|
|
|
|
|
|
|
.file-status-icon {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-06-27 14:10:43 -04:00
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.ide-file-list {
|
|
|
|
flex: 1;
|
2018-05-09 09:38:17 -04:00
|
|
|
padding-left: $gl-padding;
|
|
|
|
padding-right: $gl-padding;
|
2018-05-17 03:47:00 -04:00
|
|
|
padding-bottom: $grid-size;
|
2017-11-23 12:16:01 -05:00
|
|
|
|
|
|
|
.file {
|
|
|
|
cursor: pointer;
|
2017-12-21 10:05:47 -05:00
|
|
|
|
|
|
|
&.file-open {
|
2018-05-09 09:38:17 -04:00
|
|
|
background: $white-normal;
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
|
|
|
|
2018-03-27 10:25:42 -04:00
|
|
|
&.file-active {
|
|
|
|
font-weight: $gl-font-weight-bold;
|
|
|
|
}
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.ide-file-name {
|
|
|
|
flex: 1;
|
2017-12-21 10:05:47 -05:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2018-03-27 10:56:22 -04:00
|
|
|
max-width: inherit;
|
2018-04-18 12:16:40 -04:00
|
|
|
line-height: 22px;
|
2018-03-20 10:12:48 -04:00
|
|
|
|
|
|
|
svg {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-container {
|
|
|
|
margin-right: 4px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
|
|
|
|
2018-04-18 12:16:40 -04:00
|
|
|
.ide-file-icon-holder {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.ide-file-changed-icon {
|
|
|
|
margin-left: auto;
|
2018-03-22 06:14:27 -04:00
|
|
|
|
|
|
|
> svg {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.ide-new-btn {
|
2017-12-21 10:05:47 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-03-21 11:05:01 -04:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-05-09 09:38:17 -04:00
|
|
|
background: $white-normal;
|
2018-03-21 11:05:01 -04:00
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.ide-new-btn {
|
2017-12-21 10:05:47 -05:00
|
|
|
display: block;
|
|
|
|
}
|
2018-03-20 10:12:48 -04:00
|
|
|
}
|
2017-12-21 10:05:47 -05:00
|
|
|
|
2018-04-10 06:10:16 -04:00
|
|
|
.folder-icon {
|
|
|
|
fill: $gl-text-color-secondary;
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
2017-09-25 13:26:14 -04:00
|
|
|
}
|
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
a {
|
|
|
|
color: $gl-text-color;
|
2017-08-16 13:03:58 -04:00
|
|
|
}
|
|
|
|
|
2017-11-24 08:12:04 -05:00
|
|
|
th {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
2017-08-16 13:03:58 -04:00
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-08-16 13:03:58 -04:00
|
|
|
|
2018-05-09 09:38:17 -04:00
|
|
|
.file-name {
|
2018-03-20 10:12:48 -04:00
|
|
|
display: flex;
|
2017-12-21 10:05:47 -05:00
|
|
|
overflow: visible;
|
2018-04-18 12:16:40 -04:00
|
|
|
align-items: center;
|
2018-05-09 09:38:17 -04:00
|
|
|
width: 100%;
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-07-17 09:15:35 -04:00
|
|
|
|
2018-01-05 12:35:34 -05:00
|
|
|
.multi-file-loading-container {
|
|
|
|
margin-top: 10px;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-table-col-commit-message {
|
2017-12-21 10:05:47 -05:00
|
|
|
white-space: nowrap;
|
2017-11-24 08:12:04 -05:00
|
|
|
width: 50%;
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-07-18 08:00:55 -04:00
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-edit-pane {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 1;
|
|
|
|
border-left: 1px solid $white-dark;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2017-07-17 09:15:35 -04:00
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-tabs {
|
|
|
|
display: flex;
|
|
|
|
background-color: $white-normal;
|
|
|
|
box-shadow: inset 0 -1px $white-dark;
|
2017-09-07 18:07:50 -04:00
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
> ul {
|
|
|
|
display: flex;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: flex;
|
2018-04-20 09:02:26 -04:00
|
|
|
align-items: center;
|
|
|
|
padding: $grid-size $gl-padding;
|
|
|
|
background-color: $gray-normal;
|
|
|
|
border-right: 1px solid $white-dark;
|
|
|
|
border-bottom: 1px solid $white-dark;
|
2018-03-20 10:12:48 -04:00
|
|
|
|
2018-04-20 09:02:26 -04:00
|
|
|
&.active {
|
|
|
|
background-color: $white-light;
|
|
|
|
border-bottom-color: $white-light;
|
2018-03-20 10:12:48 -04:00
|
|
|
}
|
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-06-30 17:44:48 -04:00
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-tab {
|
2018-04-20 09:02:26 -04:00
|
|
|
@include str-truncated(141px);
|
2017-11-23 12:16:01 -05:00
|
|
|
cursor: pointer;
|
|
|
|
|
2018-01-03 05:08:14 -05:00
|
|
|
svg {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-08-04 08:27:44 -04:00
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-tab-close {
|
2018-03-20 10:12:48 -04:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2017-11-23 12:16:01 -05:00
|
|
|
padding: 0;
|
2018-04-20 09:02:26 -04:00
|
|
|
margin-left: $grid-size;
|
2017-11-23 12:16:01 -05:00
|
|
|
background: none;
|
|
|
|
border: 0;
|
2018-03-20 10:12:48 -04:00
|
|
|
border-radius: $border-radius-default;
|
|
|
|
color: $theme-gray-900;
|
2017-11-23 12:16:01 -05:00
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
svg {
|
|
|
|
position: relative;
|
2018-06-04 12:14:23 -04:00
|
|
|
top: -2px;
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-07-18 08:00:55 -04:00
|
|
|
|
2018-04-20 12:21:51 -04:00
|
|
|
.ide-file-changed-icon {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
2018-05-04 14:06:33 -04:00
|
|
|
right: -2px;
|
2018-04-20 12:21:51 -04:00
|
|
|
}
|
|
|
|
|
2018-05-02 06:47:36 -04:00
|
|
|
&:not([disabled]):hover {
|
2018-03-20 10:12:48 -04:00
|
|
|
background-color: $theme-gray-200;
|
|
|
|
}
|
|
|
|
|
2018-05-02 06:47:36 -04:00
|
|
|
&:not([disabled]):focus {
|
2018-03-20 10:12:48 -04:00
|
|
|
background-color: $blue-500;
|
|
|
|
color: $white-light;
|
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
|
|
|
}
|
2017-07-18 08:00:55 -04:00
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-edit-pane-content {
|
|
|
|
flex: 1;
|
|
|
|
height: 0;
|
|
|
|
}
|
2017-08-29 04:05:41 -04:00
|
|
|
|
2017-12-21 10:05:47 -05:00
|
|
|
.blob-editor-container {
|
|
|
|
flex: 1;
|
|
|
|
height: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.vertical-center {
|
|
|
|
min-height: auto;
|
|
|
|
}
|
2018-03-20 10:12:48 -04:00
|
|
|
|
|
|
|
.monaco-editor .lines-content .cigr {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-05-01 05:46:28 -04:00
|
|
|
.is-readonly,
|
|
|
|
.editor.original {
|
|
|
|
.view-lines {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cursors-layer {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.monaco-diff-editor.vs {
|
|
|
|
.editor.modified {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diagonal-fill {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffOverview {
|
|
|
|
background-color: $white-light;
|
|
|
|
border-left: 1px solid $white-dark;
|
|
|
|
cursor: ns-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diffViewport {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.char-insert {
|
|
|
|
background-color: $line-added-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.char-delete {
|
|
|
|
background-color: $line-removed-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-numbers {
|
|
|
|
color: $black-transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-overlays {
|
|
|
|
.line-insert {
|
|
|
|
background-color: $line-added;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-delete {
|
|
|
|
background-color: $line-removed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.margin {
|
|
|
|
background-color: $gray-light;
|
|
|
|
border-right: 1px solid $white-normal;
|
|
|
|
|
|
|
|
.line-insert {
|
|
|
|
border-right: 1px solid $line-added-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-delete {
|
|
|
|
border-right: 1px solid $line-removed-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.margin-view-overlays .insert-sign,
|
|
|
|
.margin-view-overlays .delete-sign {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
}
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.multi-file-editor-holder {
|
|
|
|
height: 100%;
|
2018-04-20 09:02:26 -04:00
|
|
|
min-height: 0;
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
|
|
|
|
2018-04-05 07:12:40 -04:00
|
|
|
.preview-container {
|
2018-05-17 23:51:36 -04:00
|
|
|
flex-grow: 1;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.md-previewer {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
padding: $gl-padding;
|
|
|
|
}
|
2018-04-05 07:12:40 -04:00
|
|
|
|
2018-04-06 13:49:06 -04:00
|
|
|
.file-container {
|
|
|
|
background-color: $gray-darker;
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.file-content {
|
|
|
|
padding: $gl-padding;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.isZoomable {
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: zoom-in;
|
|
|
|
|
|
|
|
&.isZoomed {
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: zoom-out;
|
|
|
|
max-width: none;
|
|
|
|
max-height: none;
|
|
|
|
margin-right: $gl-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-info {
|
|
|
|
font-size: $label-font-size;
|
|
|
|
color: $diff-image-info-color;
|
|
|
|
}
|
|
|
|
}
|
2018-04-05 07:12:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.ide-mode-tabs {
|
2017-12-21 10:05:47 -05:00
|
|
|
border-bottom: 1px solid $white-dark;
|
2018-04-05 07:12:40 -04:00
|
|
|
|
|
|
|
.nav-links {
|
|
|
|
border-bottom: 0;
|
|
|
|
|
|
|
|
li a {
|
|
|
|
padding: $gl-padding-8 $gl-padding;
|
|
|
|
line-height: $gl-btn-line-height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-btn-group {
|
|
|
|
padding: $gl-padding-4 $gl-vert-padding;
|
2018-05-02 04:10:24 -04:00
|
|
|
line-height: 24px;
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.ide-status-bar {
|
2018-04-05 07:12:40 -04:00
|
|
|
border-top: 1px solid $white-dark;
|
2018-05-25 06:08:53 -04:00
|
|
|
padding: 2px $gl-padding-8 0;
|
2017-12-21 10:05:47 -05:00
|
|
|
background: $white-light;
|
|
|
|
display: flex;
|
2018-05-07 13:42:56 -04:00
|
|
|
justify-content: space-between;
|
|
|
|
height: $ide-statusbar-height;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2018-04-19 03:44:24 -04:00
|
|
|
|
2018-05-25 06:08:53 -04:00
|
|
|
font-size: 12px;
|
|
|
|
line-height: 22px;
|
|
|
|
|
|
|
|
* {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2018-04-19 03:44:24 -04:00
|
|
|
> div + div {
|
|
|
|
padding-left: $gl-padding;
|
|
|
|
}
|
2017-12-21 10:05:47 -05:00
|
|
|
|
|
|
|
svg {
|
2018-05-25 06:08:53 -04:00
|
|
|
vertical-align: sub;
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
|
|
|
|
2018-05-07 13:42:56 -04:00
|
|
|
.ide-status-file {
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
.ide-status-branch + &,
|
|
|
|
&:first-child {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
// Not great, but this is to deal with our current output
|
|
|
|
.multi-file-preview-holder {
|
|
|
|
height: 100%;
|
|
|
|
overflow: scroll;
|
|
|
|
|
2017-11-24 08:12:04 -05:00
|
|
|
.file-content.code {
|
|
|
|
display: flex;
|
2017-07-28 19:33:56 -04:00
|
|
|
|
2017-11-24 08:12:04 -05:00
|
|
|
i {
|
|
|
|
margin-left: -10px;
|
2017-07-28 19:33:56 -04:00
|
|
|
}
|
2017-07-18 08:00:55 -04:00
|
|
|
}
|
|
|
|
|
2017-11-24 08:12:04 -05:00
|
|
|
.line-numbers {
|
|
|
|
min-width: 50px;
|
2017-07-14 07:44:26 -04:00
|
|
|
}
|
2017-07-11 00:50:36 -04:00
|
|
|
|
2017-11-24 08:12:04 -05:00
|
|
|
.file-content,
|
|
|
|
.line-numbers,
|
|
|
|
.blob-content,
|
|
|
|
.code {
|
|
|
|
min-height: 100%;
|
2017-07-11 00:50:36 -04:00
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-06-27 14:10:43 -04:00
|
|
|
|
2017-12-21 10:05:47 -05:00
|
|
|
.file-content.blob-no-preview {
|
|
|
|
a {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-commit-panel {
|
|
|
|
display: flex;
|
2018-01-04 04:31:06 -05:00
|
|
|
position: relative;
|
2018-03-20 10:12:48 -04:00
|
|
|
width: 340px;
|
2017-12-21 10:05:47 -05:00
|
|
|
padding: 0;
|
2017-11-23 12:16:01 -05:00
|
|
|
background-color: $gray-light;
|
2018-04-16 11:29:34 -04:00
|
|
|
padding-right: 1px;
|
2017-11-23 12:16:01 -05:00
|
|
|
|
2018-04-13 10:35:03 -04:00
|
|
|
.context-header {
|
|
|
|
width: auto;
|
|
|
|
margin-right: 0;
|
2018-04-24 03:12:10 -04:00
|
|
|
|
2018-06-06 11:10:11 -04:00
|
|
|
> a,
|
|
|
|
> button {
|
2018-05-31 06:18:21 -04:00
|
|
|
height: 60px;
|
|
|
|
}
|
2018-04-13 10:35:03 -04:00
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
|
2017-12-21 10:05:47 -05:00
|
|
|
.projects-sidebar {
|
2018-05-04 14:22:31 -04:00
|
|
|
min-height: 0;
|
2017-12-21 10:05:47 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-04-10 06:10:16 -04:00
|
|
|
flex: 1;
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.multi-file-commit-panel-inner {
|
2018-05-03 09:21:45 -04:00
|
|
|
position: relative;
|
2017-12-21 10:05:47 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-04-12 12:34:01 -04:00
|
|
|
height: 100%;
|
2018-05-02 12:11:03 -04:00
|
|
|
min-width: 0;
|
|
|
|
width: 100%;
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.multi-file-commit-panel-inner-scroll {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: auto;
|
2018-04-16 11:29:34 -04:00
|
|
|
background-color: $white-light;
|
|
|
|
border-left: 1px solid $white-dark;
|
2017-12-21 10:05:47 -05:00
|
|
|
border-top: 1px solid $white-dark;
|
2018-04-16 11:29:34 -04:00
|
|
|
border-top-left-radius: $border-radius-small;
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
|
|
|
}
|
2017-07-17 09:15:35 -04:00
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-commit-panel-section {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 1;
|
2018-04-02 10:27:12 -04:00
|
|
|
max-height: 100%;
|
|
|
|
overflow: auto;
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-07-02 18:17:53 -04:00
|
|
|
|
2018-04-05 05:46:19 -04:00
|
|
|
.ide-commit-empty-state {
|
2018-03-21 06:05:08 -04:00
|
|
|
padding: 0 $gl-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-commit-empty-state-container {
|
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
2018-03-20 10:12:48 -04:00
|
|
|
}
|
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-commit-panel-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-04-02 10:27:12 -04:00
|
|
|
margin-bottom: 0;
|
2017-11-23 12:16:01 -05:00
|
|
|
border-bottom: 1px solid $white-dark;
|
2018-05-09 10:10:08 -04:00
|
|
|
padding: 12px 0;
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-10-13 05:08:10 -04:00
|
|
|
|
2017-12-21 10:05:47 -05:00
|
|
|
.multi-file-commit-panel-header-title {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
2018-05-02 06:47:36 -04:00
|
|
|
align-items: center;
|
2017-07-11 00:50:36 -04:00
|
|
|
|
2017-12-21 10:05:47 -05:00
|
|
|
svg {
|
|
|
|
margin-right: $gl-btn-padding;
|
2018-03-22 06:14:27 -04:00
|
|
|
color: $theme-gray-700;
|
2017-07-11 00:50:36 -04:00
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-06-27 14:10:43 -04:00
|
|
|
|
2017-12-21 10:05:47 -05:00
|
|
|
.multi-file-commit-panel-collapse-btn {
|
|
|
|
border-left: 1px solid $white-dark;
|
2018-03-21 06:05:08 -04:00
|
|
|
margin-left: auto;
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-commit-list {
|
|
|
|
flex: 1;
|
2017-12-21 10:05:47 -05:00
|
|
|
overflow: auto;
|
2018-05-17 03:47:00 -04:00
|
|
|
padding: $grid-size 0;
|
2018-05-09 09:38:17 -04:00
|
|
|
margin-left: -$grid-size;
|
|
|
|
margin-right: -$grid-size;
|
2018-03-20 10:12:48 -04:00
|
|
|
min-height: 60px;
|
2018-05-09 09:38:17 -04:00
|
|
|
|
2018-05-29 10:58:31 -04:00
|
|
|
&.form-text.text-muted {
|
2018-05-17 03:47:00 -04:00
|
|
|
margin-left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-07-02 18:17:53 -04:00
|
|
|
|
2018-04-19 09:41:51 -04:00
|
|
|
.multi-file-addition,
|
|
|
|
.multi-file-addition-solid {
|
2018-04-18 07:55:24 -04:00
|
|
|
color: $green-500;
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-08-04 04:41:18 -04:00
|
|
|
|
2018-04-09 11:05:21 -04:00
|
|
|
.multi-file-modified,
|
|
|
|
.multi-file-modified-solid {
|
2018-04-18 07:55:24 -04:00
|
|
|
color: $orange-500;
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-07-10 08:10:43 -04:00
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-commit-list-collapsed {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-03-21 06:05:08 -04:00
|
|
|
padding: $gl-padding 0;
|
2017-07-26 11:39:32 -04:00
|
|
|
|
2018-03-22 06:14:27 -04:00
|
|
|
svg {
|
|
|
|
display: block;
|
2017-11-23 12:16:01 -05:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2018-03-21 06:05:08 -04:00
|
|
|
color: $theme-gray-700;
|
2017-07-02 18:17:53 -04:00
|
|
|
}
|
2018-03-20 10:12:48 -04:00
|
|
|
|
|
|
|
.file-status-icon {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
2017-07-02 18:17:53 -04:00
|
|
|
}
|
|
|
|
|
2018-06-13 04:44:14 -04:00
|
|
|
.multi-file-commit-list-path,
|
2018-05-09 09:38:17 -04:00
|
|
|
.ide-file-list .file {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: -$grid-size;
|
|
|
|
margin-right: -$grid-size;
|
|
|
|
padding: $grid-size / 2 $grid-size;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: $white-normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-commit-list-path {
|
2018-06-13 04:44:14 -04:00
|
|
|
&.is-active {
|
|
|
|
background-color: $white-normal;
|
|
|
|
}
|
2018-05-09 09:38:17 -04:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2018-03-20 10:12:48 -04:00
|
|
|
|
|
|
|
svg {
|
|
|
|
min-width: 16px;
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.multi-file-commit-list-file-path {
|
2018-06-13 09:09:39 -04:00
|
|
|
@include str-truncated(calc(100% - 30px));
|
2018-03-20 10:12:48 -04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-11-23 12:16:01 -05:00
|
|
|
}
|
2017-10-13 05:08:10 -04:00
|
|
|
|
2018-06-13 04:44:14 -04:00
|
|
|
.multi-file-discard-btn {
|
2018-06-13 11:20:43 -04:00
|
|
|
top: 4px;
|
2018-06-13 04:44:14 -04:00
|
|
|
right: 8px;
|
2018-06-13 11:20:43 -04:00
|
|
|
bottom: 4px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
top: 0;
|
|
|
|
}
|
2018-06-13 04:44:14 -04:00
|
|
|
}
|
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.multi-file-commit-form {
|
2018-04-30 04:55:57 -04:00
|
|
|
position: relative;
|
2018-04-27 04:59:44 -04:00
|
|
|
background-color: $white-light;
|
|
|
|
border-left: 1px solid $white-dark;
|
2018-04-30 04:55:57 -04:00
|
|
|
transition: all 0.3s ease;
|
2017-08-07 18:21:10 -04:00
|
|
|
|
2018-05-09 09:38:17 -04:00
|
|
|
> form,
|
|
|
|
> .commit-form-compact {
|
|
|
|
padding: $gl-padding 0;
|
|
|
|
margin-left: $gl-padding;
|
|
|
|
margin-right: $gl-padding;
|
|
|
|
border-top: 1px solid $white-dark;
|
|
|
|
}
|
|
|
|
|
2017-11-23 12:16:01 -05:00
|
|
|
.btn {
|
2018-03-20 10:12:48 -04:00
|
|
|
font-size: $gl-font-size;
|
2017-08-07 17:56:07 -04:00
|
|
|
}
|
2018-05-03 09:21:45 -04:00
|
|
|
|
|
|
|
.multi-file-commit-panel-success-message {
|
|
|
|
top: 0;
|
|
|
|
}
|
2017-08-07 17:56:07 -04:00
|
|
|
}
|
2017-11-07 09:24:46 -05:00
|
|
|
|
2018-05-03 04:30:44 -04:00
|
|
|
.multi-file-commit-panel-bottom {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2017-11-16 07:55:01 -05:00
|
|
|
.dirty-diff {
|
|
|
|
// !important need to override monaco inline style
|
2017-11-28 10:21:46 -05:00
|
|
|
width: 4px !important;
|
|
|
|
left: 0 !important;
|
2017-11-16 07:55:01 -05:00
|
|
|
|
|
|
|
&-modified {
|
2017-11-17 05:46:26 -05:00
|
|
|
background-color: $blue-500;
|
2017-11-16 07:55:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&-added {
|
2017-11-17 05:46:26 -05:00
|
|
|
background-color: $green-600;
|
2017-11-16 07:55:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&-removed {
|
2017-11-28 10:21:46 -05:00
|
|
|
height: 0 !important;
|
|
|
|
width: 0 !important;
|
2017-11-16 07:55:01 -05:00
|
|
|
bottom: -2px;
|
2017-11-17 05:46:26 -05:00
|
|
|
border-style: solid;
|
|
|
|
border-width: 5px;
|
|
|
|
border-color: transparent transparent transparent $red-500;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100px;
|
|
|
|
height: 1px;
|
2018-03-20 10:12:48 -04:00
|
|
|
background-color: rgba($red-500, 0.5);
|
2017-11-17 05:46:26 -05:00
|
|
|
}
|
2017-11-16 07:55:01 -05:00
|
|
|
}
|
|
|
|
}
|
2017-12-21 10:05:47 -05:00
|
|
|
|
|
|
|
.ide-loading {
|
|
|
|
display: flex;
|
|
|
|
height: 100vh;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-empty-state {
|
|
|
|
display: flex;
|
|
|
|
height: 100vh;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.ide-new-btn {
|
2018-05-31 06:18:21 -04:00
|
|
|
.btn {
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2017-12-21 10:05:47 -05:00
|
|
|
.dropdown-toggle svg {
|
2018-05-31 06:18:21 -04:00
|
|
|
top: 0;
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
|
|
|
|
label {
|
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
padding: 5px 8px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.ide {
|
|
|
|
overflow: hidden;
|
2018-01-19 04:38:34 -05:00
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
&.nav-only {
|
2018-04-02 10:27:12 -04:00
|
|
|
padding-top: $header-height;
|
|
|
|
|
|
|
|
.with-performance-bar & {
|
|
|
|
padding-top: $header-height + $performance-bar-height;
|
|
|
|
}
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.flash-container {
|
2018-04-02 10:27:12 -04:00
|
|
|
margin-top: 0;
|
2018-03-20 10:12:48 -04:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-01-19 04:38:34 -05:00
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.alert-wrapper .flash-container .flash-alert:last-child,
|
|
|
|
.alert-wrapper .flash-container .flash-notice:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-01-19 04:38:34 -05:00
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.content-wrapper {
|
2018-04-02 10:27:12 -04:00
|
|
|
margin-top: 0;
|
2018-03-20 10:12:48 -04:00
|
|
|
padding-bottom: 0;
|
2018-01-19 04:38:34 -05:00
|
|
|
}
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
&.flash-shown {
|
|
|
|
.content-wrapper {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-view {
|
|
|
|
height: calc(100vh - #{$header-height + $flash-height});
|
|
|
|
}
|
2018-01-19 04:38:34 -05:00
|
|
|
}
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.projects-sidebar {
|
|
|
|
.multi-file-commit-panel-inner-scroll {
|
|
|
|
flex: 1;
|
|
|
|
}
|
2018-01-19 04:38:34 -05:00
|
|
|
}
|
|
|
|
}
|
2017-12-21 10:05:47 -05:00
|
|
|
}
|
2018-01-04 04:31:06 -05:00
|
|
|
|
2018-01-19 04:38:34 -05:00
|
|
|
.with-performance-bar .ide.nav-only {
|
|
|
|
.flash-container {
|
2018-04-02 10:27:12 -04:00
|
|
|
margin-top: 0;
|
2018-01-19 04:38:34 -05:00
|
|
|
}
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.content-wrapper {
|
2018-04-02 10:27:12 -04:00
|
|
|
margin-top: 0;
|
2018-03-20 10:12:48 -04:00
|
|
|
padding-bottom: 0;
|
2018-01-04 04:31:06 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.ide-view {
|
|
|
|
height: calc(100vh - #{$header-height + $performance-bar-height});
|
|
|
|
}
|
2018-01-19 04:38:34 -05:00
|
|
|
|
|
|
|
&.flash-shown {
|
|
|
|
.ide-view {
|
2018-03-27 10:25:42 -04:00
|
|
|
height: calc(100vh - #{$header-height + $performance-bar-height + $flash-height});
|
2018-01-19 04:38:34 -05:00
|
|
|
}
|
|
|
|
}
|
2018-01-04 04:31:06 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.dragHandle {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2018-04-16 11:29:34 -04:00
|
|
|
width: 1px;
|
2018-01-04 04:31:06 -05:00
|
|
|
background-color: $white-dark;
|
|
|
|
|
|
|
|
&.dragright {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.dragleft {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-03-20 10:12:48 -04:00
|
|
|
|
2018-03-21 06:05:08 -04:00
|
|
|
.ide-commit-list-container {
|
|
|
|
display: flex;
|
2018-04-19 07:58:43 -04:00
|
|
|
flex: 1;
|
2018-03-21 06:05:08 -04:00
|
|
|
flex-direction: column;
|
2018-04-19 07:58:43 -04:00
|
|
|
min-height: 140px;
|
2018-05-09 09:38:17 -04:00
|
|
|
margin-left: $gl-padding;
|
|
|
|
margin-right: $gl-padding;
|
2018-03-21 06:05:08 -04:00
|
|
|
|
2018-04-30 04:55:57 -04:00
|
|
|
&.is-first {
|
|
|
|
border-bottom: 1px solid $white-dark;
|
2018-04-18 09:14:45 -04:00
|
|
|
}
|
2018-03-21 06:05:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.ide-staged-action-btn {
|
2018-06-12 12:05:45 -04:00
|
|
|
width: 22px;
|
2018-06-13 04:44:14 -04:00
|
|
|
margin-left: -1px;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
|
|
|
|
> svg {
|
|
|
|
top: 0;
|
|
|
|
}
|
2018-05-02 06:47:36 -04:00
|
|
|
}
|
|
|
|
|
2018-04-27 04:59:44 -04:00
|
|
|
.ide-commit-file-count {
|
|
|
|
min-width: 22px;
|
|
|
|
background-color: $gray-light;
|
|
|
|
border: 1px solid $white-dark;
|
2018-03-21 06:05:08 -04:00
|
|
|
}
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
.ide-commit-radios {
|
|
|
|
label {
|
|
|
|
font-weight: normal;
|
2018-05-04 07:52:46 -04:00
|
|
|
|
|
|
|
&.is-disabled {
|
|
|
|
.ide-radio-label {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
}
|
2018-03-20 10:12:48 -04:00
|
|
|
}
|
|
|
|
|
2018-04-11 14:26:37 -04:00
|
|
|
.form-text.text-muted {
|
2018-03-20 10:12:48 -04:00
|
|
|
margin-top: 0;
|
|
|
|
line-height: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-commit-new-branch {
|
|
|
|
margin-left: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-sidebar-link {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-04-16 11:29:34 -04:00
|
|
|
position: relative;
|
2018-04-20 09:02:26 -04:00
|
|
|
height: 60px;
|
2018-04-16 11:29:34 -04:00
|
|
|
width: 100%;
|
2018-04-20 09:02:26 -04:00
|
|
|
padding: 0 $gl-padding;
|
2018-04-16 11:29:34 -04:00
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
outline: 0;
|
2018-05-31 06:18:21 -04:00
|
|
|
cursor: pointer;
|
2018-04-16 11:29:34 -04:00
|
|
|
|
|
|
|
svg {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2018-04-20 09:02:26 -04:00
|
|
|
&:hover {
|
2018-04-20 11:48:36 -04:00
|
|
|
color: $gl-text-color;
|
2018-04-20 09:02:26 -04:00
|
|
|
background-color: $theme-gray-100;
|
|
|
|
}
|
|
|
|
|
2018-04-16 11:29:34 -04:00
|
|
|
&:focus {
|
2018-04-20 11:48:36 -04:00
|
|
|
color: $gl-text-color;
|
2018-04-20 09:02:26 -04:00
|
|
|
background-color: $theme-gray-200;
|
2018-04-16 11:29:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2018-04-18 09:45:50 -04:00
|
|
|
// extend width over border of sidebar section
|
|
|
|
width: calc(100% + 1px);
|
|
|
|
padding-right: $gl-padding + 1px;
|
2018-04-16 11:29:34 -04:00
|
|
|
background-color: $white-light;
|
|
|
|
border-top-color: $white-dark;
|
|
|
|
border-bottom-color: $white-dark;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
right: -1px;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 1px;
|
|
|
|
background: $white-light;
|
|
|
|
}
|
2018-05-23 10:29:34 -04:00
|
|
|
|
|
|
|
&.is-right {
|
2018-05-25 12:03:09 -04:00
|
|
|
padding-right: $gl-padding;
|
|
|
|
padding-left: $gl-padding + 1px;
|
|
|
|
|
2018-05-23 10:29:34 -04:00
|
|
|
&::after {
|
|
|
|
right: auto;
|
|
|
|
left: -1px;
|
|
|
|
}
|
|
|
|
}
|
2018-04-16 11:29:34 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-activity-bar {
|
|
|
|
position: relative;
|
|
|
|
flex: 0 0 60px;
|
2018-05-03 09:21:45 -04:00
|
|
|
z-index: 1;
|
2018-03-20 10:12:48 -04:00
|
|
|
}
|
2018-04-16 04:46:10 -04:00
|
|
|
|
2018-04-12 07:00:07 -04:00
|
|
|
.ide-file-finder-overlay {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-file-finder {
|
|
|
|
top: 10px;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
|
|
.highlighted {
|
|
|
|
color: $blue-500;
|
|
|
|
font-weight: $gl-font-weight-bold;
|
|
|
|
}
|
|
|
|
}
|
2018-04-18 09:19:11 -04:00
|
|
|
|
2018-04-16 04:46:10 -04:00
|
|
|
.ide-commit-message-field {
|
|
|
|
height: 200px;
|
|
|
|
background-color: $white-light;
|
|
|
|
|
|
|
|
.md-area {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-links {
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
2018-05-29 10:58:31 -04:00
|
|
|
.form-text.text-muted {
|
2018-04-16 10:08:04 -04:00
|
|
|
margin-top: 2px;
|
2018-04-16 04:46:10 -04:00
|
|
|
color: $blue-500;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-commit-message-textarea-container {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.note-textarea {
|
|
|
|
font-family: $monospace_font;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-commit-message-highlights-container {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: -100px;
|
|
|
|
bottom: 0;
|
|
|
|
padding-right: 100px;
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
.highlights {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
mark {
|
|
|
|
margin-left: -1px;
|
|
|
|
padding: 0 2px;
|
|
|
|
border-radius: $border-radius-small;
|
|
|
|
background-color: $orange-200;
|
|
|
|
color: transparent;
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-commit-message-textarea {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 2;
|
|
|
|
background: transparent;
|
|
|
|
resize: none;
|
|
|
|
}
|
2018-04-19 10:51:43 -04:00
|
|
|
|
2018-04-17 11:27:46 -04:00
|
|
|
.ide-tree-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-05-17 03:47:00 -04:00
|
|
|
margin-bottom: 8px;
|
2018-05-09 10:10:08 -04:00
|
|
|
padding: 12px 0;
|
2018-04-17 11:27:46 -04:00
|
|
|
border-bottom: 1px solid $white-dark;
|
|
|
|
|
|
|
|
.ide-new-btn {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
2018-04-17 11:41:18 -04:00
|
|
|
|
|
|
|
.ide-sidebar-branch-title {
|
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
}
|
2018-04-27 04:59:44 -04:00
|
|
|
|
|
|
|
.commit-form-compact {
|
|
|
|
.btn {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-form-slide-up-enter-active,
|
|
|
|
.commit-form-slide-up-leave-active {
|
|
|
|
position: absolute;
|
2018-05-09 09:38:17 -04:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2018-04-27 04:59:44 -04:00
|
|
|
transition: all 0.3s ease;
|
|
|
|
}
|
|
|
|
|
2018-05-03 04:58:58 -04:00
|
|
|
.is-full .commit-form-slide-up-enter,
|
|
|
|
.is-compact .commit-form-slide-up-leave-to {
|
2018-04-27 04:59:44 -04:00
|
|
|
transform: translateY(100%);
|
|
|
|
}
|
|
|
|
|
2018-05-03 04:58:58 -04:00
|
|
|
.is-full .commit-form-slide-up-enter-to,
|
|
|
|
.is-compact .commit-form-slide-up-leave {
|
2018-04-27 04:59:44 -04:00
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-form-slide-up-enter,
|
|
|
|
.commit-form-slide-up-leave-to {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2018-04-20 05:34:57 -04:00
|
|
|
.ide-review-header {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
2018-05-03 06:26:18 -04:00
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
2018-04-20 05:34:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.ide-review-sub-header {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
2018-04-27 12:58:18 -04:00
|
|
|
|
2018-04-19 04:27:16 -04:00
|
|
|
.ide-tree-changes {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2018-04-30 04:24:22 -04:00
|
|
|
|
2018-05-03 09:21:45 -04:00
|
|
|
.multi-file-commit-panel-success-message {
|
|
|
|
position: absolute;
|
|
|
|
top: 61px;
|
|
|
|
left: 1px;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 10;
|
|
|
|
background: $white-light;
|
|
|
|
overflow: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2018-05-04 10:26:55 -04:00
|
|
|
|
2018-05-03 06:26:18 -04:00
|
|
|
.ide-review-button-holder {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2018-05-04 06:40:13 -04:00
|
|
|
|
|
|
|
.ide-context-header {
|
|
|
|
.avatar {
|
2018-06-11 10:40:07 -04:00
|
|
|
flex: 0 0 38px;
|
2018-05-04 06:40:13 -04:00
|
|
|
}
|
2018-06-05 11:36:45 -04:00
|
|
|
|
|
|
|
.ide-merge-requests-dropdown.dropdown-menu {
|
2018-06-06 04:03:44 -04:00
|
|
|
width: 385px;
|
2018-06-05 11:36:45 -04:00
|
|
|
max-height: initial;
|
|
|
|
}
|
2018-05-04 06:40:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.ide-sidebar-project-title {
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
.sidebar-context-title {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2018-06-04 07:11:00 -04:00
|
|
|
|
|
|
|
.ide-sidebar-branch-title {
|
|
|
|
min-width: 50px;
|
|
|
|
}
|
2018-05-04 06:40:13 -04:00
|
|
|
}
|
2018-05-25 12:16:57 -04:00
|
|
|
|
|
|
|
.ide-external-link {
|
2018-06-04 09:19:59 -04:00
|
|
|
position: relative;
|
|
|
|
|
2018-05-25 12:16:57 -04:00
|
|
|
svg {
|
|
|
|
display: none;
|
2018-06-04 09:19:59 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 2px;
|
|
|
|
right: -$gl-padding;
|
2018-05-25 12:16:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
svg {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-29 10:10:49 -04:00
|
|
|
|
|
|
|
.ide-right-sidebar {
|
|
|
|
width: auto;
|
|
|
|
min-width: 60px;
|
|
|
|
|
|
|
|
.ide-activity-bar {
|
|
|
|
border-left: 1px solid $white-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.multi-file-commit-panel-inner {
|
|
|
|
width: 350px;
|
|
|
|
padding: $grid-size $gl-padding;
|
|
|
|
background-color: $white-light;
|
|
|
|
border-left: 1px solid $white-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-pipeline {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
2018-06-04 09:19:59 -04:00
|
|
|
margin-top: -$grid-size;
|
|
|
|
margin-bottom: -$grid-size;
|
2018-05-29 10:10:49 -04:00
|
|
|
|
|
|
|
.empty-state {
|
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: $grid-size 0;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn,
|
|
|
|
h4 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-06-04 09:19:59 -04:00
|
|
|
|
|
|
|
.build-trace,
|
|
|
|
.top-bar {
|
|
|
|
margin-left: -$gl-padding;
|
|
|
|
}
|
|
|
|
|
2018-06-06 03:43:15 -04:00
|
|
|
&.build-page .top-bar {
|
2018-06-04 09:19:59 -04:00
|
|
|
top: 0;
|
|
|
|
font-size: 12px;
|
|
|
|
border-top-right-radius: $border-radius-default;
|
|
|
|
}
|
2018-05-29 10:10:49 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.ide-pipeline-list {
|
|
|
|
flex: 1;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-pipeline-header {
|
2018-05-31 10:50:24 -04:00
|
|
|
min-height: 55px;
|
2018-05-29 10:10:49 -04:00
|
|
|
padding-left: $gl-padding;
|
|
|
|
padding-right: $gl-padding;
|
|
|
|
|
|
|
|
.ci-status-icon {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-job-item {
|
|
|
|
display: flex;
|
|
|
|
padding: 16px;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ci-status-icon {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2018-06-04 09:19:59 -04:00
|
|
|
min-width: 24px;
|
2018-05-29 10:10:49 -04:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-stage {
|
|
|
|
.card-header {
|
|
|
|
display: flex;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.ci-status-icon {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-body {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-stage-collapse-icon {
|
|
|
|
margin: auto 0 auto auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-stage-title {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2018-06-04 09:19:59 -04:00
|
|
|
|
|
|
|
.ide-job-header {
|
|
|
|
min-height: 60px;
|
|
|
|
}
|
2018-06-01 12:30:50 -04:00
|
|
|
|
|
|
|
.ide-merge-requests-dropdown {
|
|
|
|
.nav-links li {
|
|
|
|
width: 50%;
|
2018-06-04 12:07:33 -04:00
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2018-06-05 03:38:11 -04:00
|
|
|
|
|
|
|
a {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&:not(.active) {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
|
|
|
}
|
2018-06-01 12:30:50 -04:00
|
|
|
}
|
2018-06-06 04:03:44 -04:00
|
|
|
|
|
|
|
.dropdown-input {
|
|
|
|
padding-left: $gl-padding;
|
|
|
|
padding-right: $gl-padding;
|
2018-06-06 11:10:11 -04:00
|
|
|
|
|
|
|
.fa {
|
|
|
|
right: 26px;
|
|
|
|
}
|
2018-06-06 04:03:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-link {
|
|
|
|
padding-top: $gl-padding;
|
|
|
|
padding-bottom: $gl-padding;
|
|
|
|
}
|
2018-06-01 12:30:50 -04:00
|
|
|
}
|
2018-06-05 11:36:45 -04:00
|
|
|
|
|
|
|
.ide-merge-request-current-icon {
|
|
|
|
min-width: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-merge-requests-empty {
|
|
|
|
height: 230px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ide-merge-requests-dropdown-content {
|
|
|
|
min-height: 230px;
|
|
|
|
max-height: 470px;
|
|
|
|
}
|
2018-06-06 04:03:44 -04:00
|
|
|
|
|
|
|
.ide-merge-request-project-path {
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 16px;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|