diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
commit | 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (patch) | |
tree | dc4d20fe6064752c0bd323187252c77e0a89144b /app/assets/stylesheets/pages/editor.scss | |
parent | 9868dae7fc0655bd7ce4a6887d4e6d487690eeed (diff) |
Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42
Diffstat (limited to 'app/assets/stylesheets/pages/editor.scss')
-rw-r--r-- | app/assets/stylesheets/pages/editor.scss | 204 |
1 files changed, 0 insertions, 204 deletions
diff --git a/app/assets/stylesheets/pages/editor.scss b/app/assets/stylesheets/pages/editor.scss deleted file mode 100644 index c177d0b74a2..00000000000 --- a/app/assets/stylesheets/pages/editor.scss +++ /dev/null @@ -1,204 +0,0 @@ -.file-editor { - .nav-links { - border-top: 1px solid $border-color; - border-right: 1px solid $border-color; - border-left: 1px solid $border-color; - border-bottom: 0; - border-radius: $border-radius-small $border-radius-small 0 0; - background: $gray-normal; - } - - #editor, - .editor { - @include gl-border-0; - @include gl-m-0; - @include gl-p-0; - @include gl-relative; - @include gl-w-full; - height: 500px; - - .editor-loading-content { - @include gl-h-full; - @include gl-border-0; - } - } - - .ace_gutter-cell { - background-color: $gray-light; - } - - .cancel-btn { - color: $red-600; - - &:hover { - color: $red-600; - } - } - - .file-title { - @include gl-font-monospace; - } - - .editor-ref { - background: $gray-light; - padding-right: $gl-padding; - border-right: 1px solid $border-color; - display: block; - float: left; - margin-right: 10px; - max-width: 250px; - } - - .new-file-name, - .new-file-path { - display: inline-block; - max-width: 250px; - float: left; - - @media(max-width: map-get($grid-breakpoints, lg)-1) { - width: 180px; - } - - @media (max-width: 1360px) { - width: auto; - } - } - - .file-buttons { - flex: 1; - } - - .soft-wrap-toggle { - font-family: $regular-font; - margin-left: $gl-padding-8; - - .soft-wrap { - display: inline-flex; - } - - .no-wrap { - display: none; - } - - &.soft-wrap-active { - .soft-wrap { - display: none; - } - - .no-wrap { - display: inline-flex; - } - } - } -} - - -@include media-breakpoint-down(md) { - .file-editor { - .file-title { - display: block; - } - - .new-file-name, - .new-file-path { - max-width: none; - width: 100%; - margin-top: $gl-padding-8; - } - - .file-buttons { - display: flex; - flex-direction: column; - width: 100%; - - .md-header-toolbar { - margin: $gl-padding 0; - } - - .soft-wrap-toggle { - width: 100%; - margin-left: 0; - } - - @media(max-width: map-get($grid-breakpoints, md)-1) { - clear: both; - } - } - } -} - -.blob-new-page-title, -.blob-edit-page-title { - margin: 19px 0 21px; - vertical-align: top; - display: inline-block; - - @media(max-width: map-get($grid-breakpoints, lg)-1) { - display: block; - margin: 19px 0 12px; - } -} - -.template-selectors-menu { - display: flex; - vertical-align: top; - - @media(max-width: map-get($grid-breakpoints, lg)-1) { - display: inline-block; - width: 100%; - padding: 0; - border-left: 0; - } -} - -.template-selector-dropdowns-wrap { - display: flex; - vertical-align: top; - - @media(max-width: map-get($grid-breakpoints, lg)-1) { - display: block; - width: 100%; - margin: 0 0 16px; - } - - .license-selector, - .gitignore-selector, - .gitlab-ci-yml-selector, - .dockerfile-selector, - .template-type-selector, - .metrics-dashboard-selector { - display: inline-block; - vertical-align: top; - font-family: $regular_font; - margin: 0 8px 0 0; - - @media(max-width: map-get($grid-breakpoints, lg)-1) { - display: block; - width: 100%; - margin: 5px 0; - } - - .dropdown { - line-height: 21px; - } - - .dropdown-menu-toggle { - width: 200px; - vertical-align: top; - - @media (max-width: map-get($grid-breakpoints, xl)-1) { - width: auto; - } - - @media(max-width: map-get($grid-breakpoints, lg)-1) { - display: block; - width: 100%; - margin: 5px 0; - } - } - } -} - -.popover.suggest-gitlab-ci-yml { - z-index: $header-zindex - 1; -} |