2012-10-09 13:11:49 -04:00
|
|
|
.file-editor {
|
2017-04-03 13:54:40 -04:00
|
|
|
.nav-links {
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
border-right: 1px solid $border-color;
|
|
|
|
border-left: 1px solid $border-color;
|
2017-11-02 19:59:51 -04:00
|
|
|
border-bottom: 0;
|
2017-10-16 13:53:12 -04:00
|
|
|
border-radius: $border-radius-small $border-radius-small 0 0;
|
2017-04-03 13:54:40 -04:00
|
|
|
background: $gray-normal;
|
|
|
|
}
|
|
|
|
|
2020-10-29 02:08:45 -04:00
|
|
|
#editor,
|
|
|
|
.editor {
|
|
|
|
@include gl-border-0;
|
|
|
|
@include gl-m-0;
|
|
|
|
@include gl-p-0;
|
|
|
|
@include gl-relative;
|
|
|
|
@include gl-w-full;
|
2012-10-09 13:11:49 -04:00
|
|
|
height: 500px;
|
2020-07-31 17:10:12 -04:00
|
|
|
|
|
|
|
.editor-loading-content {
|
2020-10-29 02:08:45 -04:00
|
|
|
@include gl-h-full;
|
|
|
|
@include gl-border-0;
|
2020-07-31 17:10:12 -04:00
|
|
|
}
|
2012-10-09 13:11:49 -04:00
|
|
|
}
|
2012-11-17 09:43:13 -05:00
|
|
|
|
2015-09-15 05:17:22 -04:00
|
|
|
.ace_gutter-cell {
|
2016-12-12 17:26:21 -05:00
|
|
|
background-color: $gray-light;
|
2015-09-15 05:17:22 -04:00
|
|
|
}
|
|
|
|
|
2012-11-17 09:43:13 -05:00
|
|
|
.cancel-btn {
|
2018-08-22 12:40:38 -04:00
|
|
|
color: $red-600;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2012-11-17 09:43:13 -05:00
|
|
|
&:hover {
|
2018-08-22 12:40:38 -04:00
|
|
|
color: $red-600;
|
2012-11-17 09:43:13 -05:00
|
|
|
}
|
|
|
|
}
|
2015-01-26 23:57:42 -05:00
|
|
|
|
|
|
|
.file-title {
|
2021-04-01 08:08:56 -04:00
|
|
|
@include gl-font-monospace;
|
2015-01-26 23:57:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.editor-ref {
|
2016-12-12 17:26:21 -05:00
|
|
|
background: $gray-light;
|
2015-12-02 08:47:19 -05:00
|
|
|
padding-right: $gl-padding;
|
2015-09-15 05:17:22 -04:00
|
|
|
border-right: 1px solid $border-color;
|
2015-12-02 08:47:19 -05:00
|
|
|
display: block;
|
|
|
|
float: left;
|
2015-01-26 23:57:42 -05:00
|
|
|
margin-right: 10px;
|
2020-07-09 11:08:59 -04:00
|
|
|
max-width: 250px;
|
2015-01-26 23:57:42 -05:00
|
|
|
}
|
|
|
|
|
2019-10-10 05:06:08 -04:00
|
|
|
.new-file-name,
|
|
|
|
.new-file-path {
|
2015-12-02 08:47:19 -05:00
|
|
|
display: inline-block;
|
2019-10-10 05:06:08 -04:00
|
|
|
max-width: 250px;
|
2015-12-02 08:47:19 -05:00
|
|
|
float: left;
|
2016-11-28 16:42:38 -05:00
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@media(max-width: map-get($grid-breakpoints, lg)-1) {
|
2016-11-28 16:42:38 -05:00
|
|
|
width: 180px;
|
|
|
|
}
|
2019-10-10 05:06:08 -04:00
|
|
|
|
|
|
|
@media (max-width: 1360px) {
|
|
|
|
width: auto;
|
|
|
|
}
|
2015-09-15 05:17:22 -04:00
|
|
|
}
|
|
|
|
|
2016-11-02 14:34:17 -04:00
|
|
|
.file-buttons {
|
2018-08-09 18:17:13 -04:00
|
|
|
flex: 1;
|
2016-11-02 14:34:17 -04:00
|
|
|
}
|
|
|
|
|
2017-04-03 13:54:40 -04:00
|
|
|
.soft-wrap-toggle {
|
2018-07-24 17:17:49 -04:00
|
|
|
font-family: $regular-font;
|
2021-04-30 05:10:21 -04:00
|
|
|
margin-left: $gl-padding-8;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-09-27 17:08:05 -04:00
|
|
|
.soft-wrap {
|
2021-04-30 05:10:21 -04:00
|
|
|
display: inline-flex;
|
2016-09-27 17:08:05 -04:00
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-09-27 17:08:05 -04:00
|
|
|
.no-wrap {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-09-27 17:08:05 -04:00
|
|
|
&.soft-wrap-active {
|
|
|
|
.soft-wrap {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-09-27 17:08:05 -04:00
|
|
|
.no-wrap {
|
2021-04-30 05:10:21 -04:00
|
|
|
display: inline-flex;
|
2016-09-27 17:08:05 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-10-09 13:11:49 -04:00
|
|
|
}
|
2016-11-28 16:42:38 -05:00
|
|
|
|
2017-04-03 13:54:40 -04:00
|
|
|
|
2019-10-10 05:06:08 -04:00
|
|
|
@include media-breakpoint-down(md) {
|
2016-11-28 16:42:38 -05:00
|
|
|
.file-editor {
|
|
|
|
.file-title {
|
2018-08-03 13:51:54 -04:00
|
|
|
display: block;
|
2016-11-28 16:42:38 -05:00
|
|
|
}
|
|
|
|
|
2019-10-10 05:06:08 -04:00
|
|
|
.new-file-name,
|
|
|
|
.new-file-path {
|
2016-11-28 16:42:38 -05:00
|
|
|
max-width: none;
|
|
|
|
width: 100%;
|
2021-04-30 05:10:21 -04:00
|
|
|
margin-top: $gl-padding-8;
|
2016-11-28 16:42:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-buttons {
|
2021-04-30 05:10:21 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-11-28 16:42:38 -05:00
|
|
|
width: 100%;
|
2021-04-30 05:10:21 -04:00
|
|
|
|
|
|
|
.md-header-toolbar {
|
|
|
|
margin: $gl-padding 0;
|
|
|
|
}
|
2016-11-28 16:42:38 -05:00
|
|
|
|
|
|
|
.soft-wrap-toggle {
|
2016-12-14 10:44:04 -05:00
|
|
|
width: 100%;
|
2021-04-30 05:10:21 -04:00
|
|
|
margin-left: 0;
|
2016-11-28 16:42:38 -05:00
|
|
|
}
|
|
|
|
|
2018-12-14 12:56:25 -05:00
|
|
|
@media(max-width: map-get($grid-breakpoints, md)-1) {
|
|
|
|
clear: both;
|
|
|
|
}
|
2016-11-28 16:42:38 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-03 13:54:40 -04:00
|
|
|
|
|
|
|
.blob-new-page-title,
|
|
|
|
.blob-edit-page-title {
|
|
|
|
margin: 19px 0 21px;
|
|
|
|
vertical-align: top;
|
|
|
|
display: inline-block;
|
|
|
|
|
2019-10-10 05:06:08 -04:00
|
|
|
@media(max-width: map-get($grid-breakpoints, lg)-1) {
|
2017-04-03 13:54:40 -04:00
|
|
|
display: block;
|
|
|
|
margin: 19px 0 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.template-selectors-menu {
|
2019-10-10 05:06:08 -04:00
|
|
|
display: flex;
|
2017-04-03 13:54:40 -04:00
|
|
|
vertical-align: top;
|
|
|
|
|
2019-10-10 05:06:08 -04:00
|
|
|
@media(max-width: map-get($grid-breakpoints, lg)-1) {
|
2020-08-12 08:10:25 -04:00
|
|
|
display: inline-block;
|
2017-04-03 13:54:40 -04:00
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
2017-11-02 19:59:51 -04:00
|
|
|
border-left: 0;
|
2017-04-03 13:54:40 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.template-selector-dropdowns-wrap {
|
2019-12-12 07:07:33 -05:00
|
|
|
display: flex;
|
2019-02-14 08:40:42 -05:00
|
|
|
vertical-align: top;
|
2017-04-03 13:54:40 -04:00
|
|
|
|
2019-10-10 05:06:08 -04:00
|
|
|
@media(max-width: map-get($grid-breakpoints, lg)-1) {
|
2017-04-03 13:54:40 -04:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0 0 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.license-selector,
|
|
|
|
.gitignore-selector,
|
|
|
|
.gitlab-ci-yml-selector,
|
|
|
|
.dockerfile-selector,
|
2020-08-05 14:09:49 -04:00
|
|
|
.template-type-selector,
|
|
|
|
.metrics-dashboard-selector {
|
2017-04-03 13:54:40 -04:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
font-family: $regular_font;
|
2019-12-12 07:07:33 -05:00
|
|
|
margin: 0 8px 0 0;
|
2017-04-03 13:54:40 -04:00
|
|
|
|
2019-10-10 05:06:08 -04:00
|
|
|
@media(max-width: map-get($grid-breakpoints, lg)-1) {
|
2017-04-03 13:54:40 -04:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
line-height: 21px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu-toggle {
|
2019-10-10 05:06:08 -04:00
|
|
|
width: 200px;
|
2017-04-03 13:54:40 -04:00
|
|
|
vertical-align: top;
|
|
|
|
|
2019-10-10 05:06:08 -04:00
|
|
|
@media (max-width: map-get($grid-breakpoints, xl)-1) {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(max-width: map-get($grid-breakpoints, lg)-1) {
|
2017-04-03 13:54:40 -04:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-31 11:07:53 -04:00
|
|
|
.popover.suggest-gitlab-ci-yml {
|
|
|
|
z-index: $header-zindex - 1;
|
|
|
|
}
|