Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-10 12:06:08 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-10 12:06:08 +0300
commitc157f963db87a40a3ba7b94b339530ee83194bc8 (patch)
tree9f8f9468daf727cce39bc7487af8bd9a53b8c59d /app/assets/stylesheets/pages/editor.scss
parentbd1e1afde56a9bd97e03ca24298e260dc071999e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/stylesheets/pages/editor.scss')
-rw-r--r--app/assets/stylesheets/pages/editor.scss65
1 files changed, 23 insertions, 42 deletions
diff --git a/app/assets/stylesheets/pages/editor.scss b/app/assets/stylesheets/pages/editor.scss
index 655b297295a..65d0ce8c52e 100644
--- a/app/assets/stylesheets/pages/editor.scss
+++ b/app/assets/stylesheets/pages/editor.scss
@@ -47,14 +47,19 @@
margin-right: 10px;
}
- .new-file-name {
+ .new-file-name,
+ .new-file-path {
display: inline-block;
- max-width: 420px;
+ max-width: 250px;
float: left;
@media(max-width: map-get($grid-breakpoints, lg)-1) {
width: 180px;
}
+
+ @media (max-width: 1360px) {
+ width: auto;
+ }
}
.file-buttons {
@@ -98,13 +103,14 @@
}
-@include media-breakpoint-down(sm) {
+@include media-breakpoint-down(md) {
.file-editor {
.file-title {
display: block;
}
- .new-file-name {
+ .new-file-name,
+ .new-file-path {
max-width: none;
width: 100%;
margin-bottom: 3px;
@@ -146,20 +152,17 @@
vertical-align: top;
display: inline-block;
- @media(max-width: map-get($grid-breakpoints, md)-1) {
+ @media(max-width: map-get($grid-breakpoints, lg)-1) {
display: block;
margin: 19px 0 12px;
}
}
.template-selectors-menu {
- display: inline-block;
+ display: flex;
vertical-align: top;
- margin: 14px 0 0 16px;
- padding: 0 0 0 14px;
- border-left: 1px solid $border-color;
- @media(max-width: map-get($grid-breakpoints, md)-1) {
+ @media(max-width: map-get($grid-breakpoints, lg)-1) {
display: block;
width: 100%;
margin: 5px 0;
@@ -168,24 +171,11 @@
}
}
-.templates-selectors-label {
- display: inline-block;
- vertical-align: top;
- margin-top: 6px;
- line-height: 21px;
-
- @media(max-width: map-get($grid-breakpoints, md)-1) {
- display: block;
- margin: 5px 0;
- }
-}
-
.template-selector-dropdowns-wrap {
display: inline-block;
- margin: 5px 0 0 8px;
vertical-align: top;
- @media(max-width: map-get($grid-breakpoints, md)-1) {
+ @media(max-width: map-get($grid-breakpoints, lg)-1) {
display: block;
width: 100%;
margin: 0 0 16px;
@@ -199,9 +189,8 @@
display: inline-block;
vertical-align: top;
font-family: $regular_font;
- margin-top: -5px;
- @media(max-width: map-get($grid-breakpoints, md)-1) {
+ @media(max-width: map-get($grid-breakpoints, lg)-1) {
display: block;
width: 100%;
margin: 5px 0;
@@ -212,30 +201,22 @@
}
.dropdown-menu-toggle {
- width: 250px;
+ width: 200px;
vertical-align: top;
- @media(max-width: map-get($grid-breakpoints, md)-1) {
+ @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;
}
}
-
}
}
-.template-selectors-undo-menu {
- display: inline-block;
- margin: 7px 0 0 10px;
-
- @media(max-width: map-get($grid-breakpoints, md)-1) {
- display: block;
- width: 100%;
- margin: 20px 0;
- }
-
- button {
- margin: -4px 0 0 15px;
- }
+.editor-title-row {
+ margin-bottom: 20px;
}