From 4acead6e51880b0fd5db2ea09dcecb724fe88b12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Malbr=C3=A1n?= Date: Tue, 22 Jul 2014 20:33:19 -0300 Subject: [PATCH 1/2] Fixed the border around the languages button and the scrollbar fillers --- src/styles/brackets.less | 4 ++++ src/styles/brackets_theme_default.less | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/src/styles/brackets.less b/src/styles/brackets.less index 71597e0aa..cd25ebc70 100644 --- a/src/styles/brackets.less +++ b/src/styles/brackets.less @@ -188,6 +188,10 @@ a, img { vertical-align: top; width: auto; cursor: pointer; + border-radius: 0; + box-shadow: none; + text-shadow: none; + &:focus { outline: 0; } diff --git a/src/styles/brackets_theme_default.less b/src/styles/brackets_theme_default.less index e0bc4e966..77db3c151 100644 --- a/src/styles/brackets_theme_default.less +++ b/src/styles/brackets_theme_default.less @@ -174,6 +174,7 @@ /* Custom scrollbar colors */ &.platform-win { + .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { background-color: rgb(15, 15, 15); } @@ -196,6 +197,10 @@ } &.platform-linux { + .CodeMirror-scrollbar-filler, + .CodeMirror-gutter-filler { + background-color: #1d1f21; + } ::-webkit-scrollbar-thumb { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.24) inset; } From af91ac136bfcaba6016f0dd6fefb3e83e17c5ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Malbr=C3=A1n?= Date: Tue, 22 Jul 2014 23:05:01 -0300 Subject: [PATCH 2/2] Fixes line highlight when there are no line-number --- src/extensions/default/DarkTheme/main.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/default/DarkTheme/main.less b/src/extensions/default/DarkTheme/main.less index 6cf5683c6..a31a44192 100644 --- a/src/extensions/default/DarkTheme/main.less +++ b/src/extensions/default/DarkTheme/main.less @@ -63,7 +63,7 @@ .CodeMirror-focused .CodeMirror-activeline-background { background: #2f2f2f; } -.show-line-padding .CodeMirror-focused .CodeMirror-activeline-background { +&.show-line-padding .CodeMirror-focused .CodeMirror-activeline-background { box-shadow: inset 15px 0 0 0 #000; }