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