summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2018-06-25 15:43:24 +0000
committerPhil Hughes <me@iamphill.com>2018-06-25 15:43:24 +0000
commit166c4ee93163dd96adfd4bf8bba38aaf5e95247c (patch)
tree837577b8f7c57b11aba999b50c820a7a979485fe /app
parent18565188a938f62d09c8c2809593d2cd4efa3ad7 (diff)
downloadgitlab-ce-166c4ee93163dd96adfd4bf8bba38aaf5e95247c.tar.gz
Resolve "Guide users towards editing capabilities in review mode of Web IDE"
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/pages/repo.scss13
1 files changed, 11 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/repo.scss b/app/assets/stylesheets/pages/repo.scss
index 0a56153203c..bd3320c8ae5 100644
--- a/app/assets/stylesheets/pages/repo.scss
+++ b/app/assets/stylesheets/pages/repo.scss
@@ -281,8 +281,8 @@
}
.margin {
- background-color: $gray-light;
- border-right: 1px solid $white-normal;
+ background-color: $white-light;
+ border-right: 1px solid $theme-gray-100;
.line-insert {
border-right: 1px solid $line-added-dark;
@@ -303,6 +303,15 @@
.multi-file-editor-holder {
height: 100%;
min-height: 0;
+
+ &.is-readonly,
+ .editor.original {
+ .monaco-editor,
+ .monaco-editor-background,
+ .monaco-editor .inputarea.ime-input {
+ background-color: $theme-gray-50;
+ }
+ }
}
.preview-container {