From a44e76a0ca4c53f03b0e67a3b067015c72eb6579 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke <marijn@haverbeke.nl> Date: Sun, 26 Feb 2017 22:13:17 +0100 Subject: [PATCH] [active-line addon] Style active lines differently So that line widgets aren't included in the background style Closes #4606 --- lib/codemirror.css | 2 +- theme/3024-day.css | 2 +- theme/3024-night.css | 2 +- theme/abcdef.css | 2 +- theme/ambiance.css | 2 +- theme/base16-dark.css | 2 +- theme/base16-light.css | 2 +- theme/bespin.css | 2 +- theme/blackboard.css | 2 +- theme/cobalt.css | 2 +- theme/colorforth.css | 2 +- theme/dracula.css | 2 +- theme/duotone-dark.css | 2 +- theme/duotone-light.css | 2 +- theme/eclipse.css | 2 +- theme/elegant.css | 2 +- theme/erlang-dark.css | 2 +- theme/hopscotch.css | 2 +- theme/icecoder.css | 2 +- theme/isotope.css | 2 +- theme/lesser-dark.css | 2 +- theme/liquibyte.css | 2 +- theme/material.css | 2 +- theme/mbo.css | 2 +- theme/mdn-like.css | 2 +- theme/midnight.css | 2 +- theme/monokai.css | 2 +- theme/neat.css | 2 +- theme/night.css | 2 +- theme/panda-syntax.css | 2 +- theme/paraiso-dark.css | 2 +- theme/paraiso-light.css | 2 +- theme/pastel-on-dark.css | 2 +- theme/railscasts.css | 2 +- theme/rubyblue.css | 2 +- theme/seti.css | 2 +- theme/solarized.css | 4 ++-- theme/the-matrix.css | 2 +- theme/tomorrow-night-bright.css | 2 +- theme/tomorrow-night-eighties.css | 2 +- theme/twilight.css | 2 +- theme/vibrant-ink.css | 2 +- theme/xq-dark.css | 2 +- theme/xq-light.css | 2 +- theme/yeti.css | 2 +- theme/zenburn.css | 3 +-- 46 files changed, 47 insertions(+), 48 deletions(-) diff --git a/lib/codemirror.css b/lib/codemirror.css index 2a6a26228..319da7533 100644 --- a/lib/codemirror.css +++ b/lib/codemirror.css @@ -142,7 +142,7 @@ div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;} div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} .CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); } -.CodeMirror-activeline-background {background: #e8f2ff;} +.CodeMirror-activeline .CodeMirror-line {background: #e8f2ff;} /* STOP */ diff --git a/theme/3024-day.css b/theme/3024-day.css index 713265530..6b2a40fc8 100644 --- a/theme/3024-day.css +++ b/theme/3024-day.css @@ -37,5 +37,5 @@ .cm-s-3024-day span.cm-link { color: #a16a94; } .cm-s-3024-day span.cm-error { background: #db2d20; color: #5c5855; } -.cm-s-3024-day .CodeMirror-activeline-background { background: #e8f2ff; } +.cm-s-3024-day .CodeMirror-activeline .CodeMirror-line { background: #e8f2ff; } .cm-s-3024-day .CodeMirror-matchingbracket { text-decoration: underline; color: #a16a94 !important; } diff --git a/theme/3024-night.css b/theme/3024-night.css index adc5900ad..5a4b0c824 100644 --- a/theme/3024-night.css +++ b/theme/3024-night.css @@ -35,5 +35,5 @@ .cm-s-3024-night span.cm-link { color: #a16a94; } .cm-s-3024-night span.cm-error { background: #db2d20; color: #807d7c; } -.cm-s-3024-night .CodeMirror-activeline-background { background: #2F2F2F; } +.cm-s-3024-night .CodeMirror-activeline .CodeMirror-line { background: #2F2F2F; } .cm-s-3024-night .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; } diff --git a/theme/abcdef.css b/theme/abcdef.css index 7f9d78870..8b772e078 100644 --- a/theme/abcdef.css +++ b/theme/abcdef.css @@ -29,4 +29,4 @@ .cm-s-abcdef span.cm-header { color: aquamarine; font-weight: bold; } .cm-s-abcdef span.cm-link { color: blueviolet; } -.cm-s-abcdef .CodeMirror-activeline-background { background: #314151; } +.cm-s-abcdef .CodeMirror-activeline .CodeMirror-line { background: #314151; } diff --git a/theme/ambiance.css b/theme/ambiance.css index bce344649..a73727f37 100644 --- a/theme/ambiance.css +++ b/theme/ambiance.css @@ -64,7 +64,7 @@ .cm-s-ambiance .CodeMirror-cursor { border-left: 1px solid #7991E8; } -.cm-s-ambiance .CodeMirror-activeline-background { +.cm-s-ambiance .CodeMirror-activeline .CodeMirror-line { background: none repeat scroll 0% 0% rgba(255, 255, 255, 0.031); } diff --git a/theme/base16-dark.css b/theme/base16-dark.css index 026a81689..cc54ff0cb 100644 --- a/theme/base16-dark.css +++ b/theme/base16-dark.css @@ -34,5 +34,5 @@ .cm-s-base16-dark span.cm-link { color: #aa759f; } .cm-s-base16-dark span.cm-error { background: #ac4142; color: #b0b0b0; } -.cm-s-base16-dark .CodeMirror-activeline-background { background: #202020; } +.cm-s-base16-dark .CodeMirror-activeline .CodeMirror-line { background: #202020; } .cm-s-base16-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; } diff --git a/theme/base16-light.css b/theme/base16-light.css index 474e0ca9d..ef678a240 100644 --- a/theme/base16-light.css +++ b/theme/base16-light.css @@ -34,5 +34,5 @@ .cm-s-base16-light span.cm-link { color: #aa759f; } .cm-s-base16-light span.cm-error { background: #ac4142; color: #505050; } -.cm-s-base16-light .CodeMirror-activeline-background { background: #DDDCDC; } +.cm-s-base16-light .CodeMirror-activeline .CodeMirror-line { background: #DDDCDC; } .cm-s-base16-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; } diff --git a/theme/bespin.css b/theme/bespin.css index 60913ba93..fba3173f9 100644 --- a/theme/bespin.css +++ b/theme/bespin.css @@ -31,4 +31,4 @@ .cm-s-bespin span.cm-link {color: #9b859d;} .cm-s-bespin .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} -.cm-s-bespin .CodeMirror-activeline-background { background: #404040; } +.cm-s-bespin .CodeMirror-activeline .CodeMirror-line { background: #404040; } diff --git a/theme/blackboard.css b/theme/blackboard.css index b6eaedb18..db6150990 100644 --- a/theme/blackboard.css +++ b/theme/blackboard.css @@ -28,5 +28,5 @@ .cm-s-blackboard .cm-link { color: #8DA6CE; } .cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; } -.cm-s-blackboard .CodeMirror-activeline-background { background: #3C3636; } +.cm-s-blackboard .CodeMirror-activeline .CodeMirror-line { background: #3C3636; } .cm-s-blackboard .CodeMirror-matchingbracket { outline:1px solid grey;color:white !important; } diff --git a/theme/cobalt.css b/theme/cobalt.css index d88223ed8..713127b61 100644 --- a/theme/cobalt.css +++ b/theme/cobalt.css @@ -21,5 +21,5 @@ .cm-s-cobalt span.cm-link { color: #845dc4; } .cm-s-cobalt span.cm-error { color: #9d1e15; } -.cm-s-cobalt .CodeMirror-activeline-background { background: #002D57; } +.cm-s-cobalt .CodeMirror-activeline .CodeMirror-line { background: #002D57; } .cm-s-cobalt .CodeMirror-matchingbracket { outline:1px solid grey;color:white !important; } diff --git a/theme/colorforth.css b/theme/colorforth.css index 606899f30..e154700c6 100644 --- a/theme/colorforth.css +++ b/theme/colorforth.css @@ -30,4 +30,4 @@ .cm-s-colorforth span.cm-compilation { background: rgba(255, 255, 255, 0.12); } -.cm-s-colorforth .CodeMirror-activeline-background { background: #253540; } +.cm-s-colorforth .CodeMirror-activeline .CodeMirror-line { background: #253540; } diff --git a/theme/dracula.css b/theme/dracula.css index 53a660b52..1df12e02a 100644 --- a/theme/dracula.css +++ b/theme/dracula.css @@ -36,5 +36,5 @@ .cm-s-dracula span.cm-builtin { color: #50fa7b; } .cm-s-dracula span.cm-variable-3 { color: #ffb86c; } -.cm-s-dracula .CodeMirror-activeline-background { background: rgba(255,255,255,0.1); } +.cm-s-dracula .CodeMirror-activeline .CodeMirror-line { background: rgba(255,255,255,0.1); } .cm-s-dracula .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; } diff --git a/theme/duotone-dark.css b/theme/duotone-dark.css index b09a585c9..f60ec6707 100644 --- a/theme/duotone-dark.css +++ b/theme/duotone-dark.css @@ -12,7 +12,7 @@ CodeMirror template by Jan T. Sott (https://github.com/idleberg), adapted by Bra /* begin cursor */ .cm-s-duotone-dark .CodeMirror-cursor { border-left: 1px solid #ffad5c; /* border-left: 1px solid #ffad5c80; */ border-right: .5em solid #ffad5c; /* border-right: .5em solid #ffad5c80; */ opacity: .5; } -.cm-s-duotone-dark .CodeMirror-activeline-background { background: #363342; /* background: #36334280; */ opacity: .5;} +.cm-s-duotone-dark .CodeMirror-activeline .CodeMirror-line { background: #363342; /* background: #36334280; */ opacity: .5;} .cm-s-duotone-dark .cm-fat-cursor .CodeMirror-cursor { background: #ffad5c; /* background: #ffad5c80; */ opacity: .5;} /* end cursor */ diff --git a/theme/duotone-light.css b/theme/duotone-light.css index 80203d15d..a8365cbf0 100644 --- a/theme/duotone-light.css +++ b/theme/duotone-light.css @@ -12,7 +12,7 @@ CodeMirror template by Jan T. Sott (https://github.com/idleberg), adapted by Bra /* begin cursor */ .cm-s-duotone-light .CodeMirror-cursor { border-left: 1px solid #93abdc; /* border-left: 1px solid #93abdc80; */ border-right: .5em solid #93abdc; /* border-right: .5em solid #93abdc80; */ opacity: .5; } -.cm-s-duotone-light .CodeMirror-activeline-background { background: #e3dcce; /* background: #e3dcce80; */ opacity: .5; } +.cm-s-duotone-light .CodeMirror-activeline .CodeMirror-line { background: #e3dcce; /* background: #e3dcce80; */ opacity: .5; } .cm-s-duotone-light .cm-fat-cursor .CodeMirror-cursor { background: #93abdc; /* #93abdc80; */ opacity: .5; } /* end cursor */ diff --git a/theme/eclipse.css b/theme/eclipse.css index 1bde460e9..1d956d7ef 100644 --- a/theme/eclipse.css +++ b/theme/eclipse.css @@ -19,5 +19,5 @@ .cm-s-eclipse span.cm-link { color: #219; } .cm-s-eclipse span.cm-error { color: #f00; } -.cm-s-eclipse .CodeMirror-activeline-background { background: #e8f2ff; } +.cm-s-eclipse .CodeMirror-activeline .CodeMirror-line { background: #e8f2ff; } .cm-s-eclipse .CodeMirror-matchingbracket { outline:1px solid grey; color:black !important; } diff --git a/theme/elegant.css b/theme/elegant.css index 45b3ea655..fc6d46da4 100644 --- a/theme/elegant.css +++ b/theme/elegant.css @@ -9,5 +9,5 @@ .cm-s-elegant span.cm-link { color: #762; } .cm-s-elegant span.cm-error { background-color: #fdd; } -.cm-s-elegant .CodeMirror-activeline-background { background: #e8f2ff; } +.cm-s-elegant .CodeMirror-activeline .CodeMirror-line { background: #e8f2ff; } .cm-s-elegant .CodeMirror-matchingbracket { outline:1px solid grey; color:black !important; } diff --git a/theme/erlang-dark.css b/theme/erlang-dark.css index 65fe4814c..1d5101b5f 100644 --- a/theme/erlang-dark.css +++ b/theme/erlang-dark.css @@ -30,5 +30,5 @@ .cm-s-erlang-dark span.cm-variable-3 { color: #ccc; } .cm-s-erlang-dark span.cm-error { color: #9d1e15; } -.cm-s-erlang-dark .CodeMirror-activeline-background { background: #013461; } +.cm-s-erlang-dark .CodeMirror-activeline .CodeMirror-line { background: #013461; } .cm-s-erlang-dark .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; } diff --git a/theme/hopscotch.css b/theme/hopscotch.css index 7d05431bd..9a80e73b0 100644 --- a/theme/hopscotch.css +++ b/theme/hopscotch.css @@ -31,4 +31,4 @@ .cm-s-hopscotch span.cm-link {color: #c85e7c;} .cm-s-hopscotch .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} -.cm-s-hopscotch .CodeMirror-activeline-background { background: #302020; } +.cm-s-hopscotch .CodeMirror-activeline .CodeMirror-line { background: #302020; } diff --git a/theme/icecoder.css b/theme/icecoder.css index ffebaf2f0..6575a495e 100644 --- a/theme/icecoder.css +++ b/theme/icecoder.css @@ -40,4 +40,4 @@ ICEcoder default theme by Matt Pass, used in code editor available at https://ic .cm-s-icecoder .CodeMirror-gutters { background: #1d1d1b; min-width: 41px; border-right: 0; } .cm-s-icecoder .CodeMirror-linenumber { color: #555; cursor: default; } .cm-s-icecoder .CodeMirror-matchingbracket { color: #fff !important; background: #555 !important; } -.cm-s-icecoder .CodeMirror-activeline-background { background: #000; } +.cm-s-icecoder .CodeMirror-activeline .CodeMirror-line { background: #000; } diff --git a/theme/isotope.css b/theme/isotope.css index d0d6263cf..5fc5dc413 100644 --- a/theme/isotope.css +++ b/theme/isotope.css @@ -31,4 +31,4 @@ .cm-s-isotope span.cm-link {color: #cc00ff;} .cm-s-isotope .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} -.cm-s-isotope .CodeMirror-activeline-background { background: #202020; } +.cm-s-isotope .CodeMirror-activeline .CodeMirror-line { background: #202020; } diff --git a/theme/lesser-dark.css b/theme/lesser-dark.css index 690c183d7..a597c78e7 100644 --- a/theme/lesser-dark.css +++ b/theme/lesser-dark.css @@ -43,5 +43,5 @@ Ported to CodeMirror by Peter Kroon .cm-s-lesser-dark span.cm-link { color: #00c; } .cm-s-lesser-dark span.cm-error { color: #9d1e15; } -.cm-s-lesser-dark .CodeMirror-activeline-background { background: #3C3A3A; } +.cm-s-lesser-dark .CodeMirror-activeline .CodeMirror-line { background: #3C3A3A; } .cm-s-lesser-dark .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; } diff --git a/theme/liquibyte.css b/theme/liquibyte.css index 9db8bde73..c832454c7 100644 --- a/theme/liquibyte.css +++ b/theme/liquibyte.css @@ -51,7 +51,7 @@ .cm-s-liquibyte span.cm-compilation { background-color: rgba(255, 255, 255, 0.12); } -.cm-s-liquibyte .CodeMirror-activeline-background { background-color: rgba(0, 255, 0, 0.15); } +.cm-s-liquibyte .CodeMirror-activeline .CodeMirror-line { background-color: rgba(0, 255, 0, 0.15); } /* Default styles for common addons */ .cm-s-liquibyte .CodeMirror span.CodeMirror-matchingbracket { color: #0f0; font-weight: bold; } diff --git a/theme/material.css b/theme/material.css index 01d867932..485de2ec6 100644 --- a/theme/material.css +++ b/theme/material.css @@ -23,7 +23,7 @@ .cm-s-material .CodeMirror-line::selection, .cm-s-material .CodeMirror-line > span::selection, .cm-s-material .CodeMirror-line > span > span::selection { background: rgba(255, 255, 255, 0.10); } .cm-s-material .CodeMirror-line::-moz-selection, .cm-s-material .CodeMirror-line > span::-moz-selection, .cm-s-material .CodeMirror-line > span > span::-moz-selection { background: rgba(255, 255, 255, 0.10); } -.cm-s-material .CodeMirror-activeline-background { background: rgba(0, 0, 0, 0); } +.cm-s-material .CodeMirror-activeline .CodeMirror-line { background: rgba(0, 0, 0, 0); } .cm-s-material .cm-keyword { color: rgba(199, 146, 234, 1); } .cm-s-material .cm-operator { color: rgba(233, 237, 237, 1); } .cm-s-material .cm-variable-2 { color: #80CBC4; } diff --git a/theme/mbo.css b/theme/mbo.css index e164fcf42..c129099b9 100644 --- a/theme/mbo.css +++ b/theme/mbo.css @@ -32,6 +32,6 @@ .cm-s-mbo span.cm-error { border-bottom: #636363; color: #ffffec; } .cm-s-mbo span.cm-qualifier { color: #ffffec; } -.cm-s-mbo .CodeMirror-activeline-background { background: #494b41; } +.cm-s-mbo .CodeMirror-activeline .CodeMirror-line { background: #494b41; } .cm-s-mbo .CodeMirror-matchingbracket { color: #ffb928 !important; } .cm-s-mbo .CodeMirror-matchingtag { background: rgba(255, 255, 255, .37); } diff --git a/theme/mdn-like.css b/theme/mdn-like.css index f325d4500..c3dd4bf90 100644 --- a/theme/mdn-like.css +++ b/theme/mdn-like.css @@ -40,7 +40,7 @@ .cm-s-mdn-like .cm-link { color:#ad9361; font-style:italic; text-decoration:none; } .cm-s-mdn-like .cm-error { border-bottom: 1px solid red; } -div.cm-s-mdn-like .CodeMirror-activeline-background { background: #efefff; } +div.cm-s-mdn-like .CodeMirror-activeline .CodeMirror-line { background: #efefff; } div.cm-s-mdn-like span.CodeMirror-matchingbracket { outline:1px solid grey; color: inherit; } .cm-s-mdn-like.CodeMirror { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAyCAYAAAAp8UeFAAAHvklEQVR42s2b63bcNgyEQZCSHCdt2vd/0tWF7I+Q6XgMXiTtuvU5Pl57ZQKkKHzEAOtF5KeIJBGJ8uvL599FRFREZhFx8DeXv8trn68RuGaC8TRfo3SNp9dlDDHedyLyTUTeRWStXKPZrjtpZxaRw5hPqozRs1N8/enzIiQRWcCgy4MUA0f+XWliDhyL8Lfyvx7ei/Ae3iQFHyw7U/59pQVIMEEPEz0G7XiwdRjzSfC3UTtz9vchIntxvry5iMgfIhJoEflOz2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pE25Ab2WFDgyhnSuKbs4GuGzCjR+tIoUuMFg3kgcWKLTwRqanJQ2W00hAsenfaApRC42hbCvK1SlE0HtE9BGgneJO+ELamitD1YjjOYnNYVcraGhtKkW0EqVVeDx733I2NH581k1NNxNLG0i0IJ8/NjVaOZ0tYZ2Vtr0Xv7tPV3hkWp9EFkgS/J0vosngTaSoaG06WHi+xObQkaAdlbanP8B2+2l0f90LmUAAAAASUVORK5CYII=); } diff --git a/theme/midnight.css b/theme/midnight.css index e41f10560..dea3e56c9 100644 --- a/theme/midnight.css +++ b/theme/midnight.css @@ -5,7 +5,7 @@ .cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67 !important; } /*<!--activeline-->*/ -.cm-s-midnight .CodeMirror-activeline-background { background: #253540; } +.cm-s-midnight .CodeMirror-activeline .CodeMirror-line { background: #253540; } .cm-s-midnight.CodeMirror { background: #0F192A; diff --git a/theme/monokai.css b/theme/monokai.css index 7c8a4c5d0..a086ffe5d 100644 --- a/theme/monokai.css +++ b/theme/monokai.css @@ -29,7 +29,7 @@ .cm-s-monokai span.cm-link { color: #ae81ff; } .cm-s-monokai span.cm-error { background: #f92672; color: #f8f8f0; } -.cm-s-monokai .CodeMirror-activeline-background { background: #373831; } +.cm-s-monokai .CodeMirror-activeline .CodeMirror-line { background: #373831; } .cm-s-monokai .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; diff --git a/theme/neat.css b/theme/neat.css index 4267b1a37..b773ad897 100644 --- a/theme/neat.css +++ b/theme/neat.css @@ -8,5 +8,5 @@ .cm-s-neat span.cm-meta { color: #555; } .cm-s-neat span.cm-link { color: #3a3; } -.cm-s-neat .CodeMirror-activeline-background { background: #e8f2ff; } +.cm-s-neat .CodeMirror-activeline .CodeMirror-line { background: #e8f2ff; } .cm-s-neat .CodeMirror-matchingbracket { outline:1px solid grey; color:black !important; } diff --git a/theme/night.css b/theme/night.css index fd4e56193..ae47b7858 100644 --- a/theme/night.css +++ b/theme/night.css @@ -23,5 +23,5 @@ .cm-s-night span.cm-link { color: #845dc4; } .cm-s-night span.cm-error { color: #9d1e15; } -.cm-s-night .CodeMirror-activeline-background { background: #1C005A; } +.cm-s-night .CodeMirror-activeline .CodeMirror-line { background: #1C005A; } .cm-s-night .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; } diff --git a/theme/panda-syntax.css b/theme/panda-syntax.css index c93b2ea03..319bd048b 100644 --- a/theme/panda-syntax.css +++ b/theme/panda-syntax.css @@ -10,7 +10,7 @@ font-family: 'Operator Mono', 'Source Sans Pro', Menlo, Monaco, Consolas, Courier New, monospace; } .cm-s-panda-syntax .CodeMirror-cursor { border-color: #ff2c6d; } -.cm-s-panda-syntax .CodeMirror-activeline-background { +.cm-s-panda-syntax .CodeMirror-activeline .CodeMirror-line { background: rgba(99, 123, 156, 0.1); } .cm-s-panda-syntax .CodeMirror-selected { diff --git a/theme/paraiso-dark.css b/theme/paraiso-dark.css index aa9d207e6..b92cb010b 100644 --- a/theme/paraiso-dark.css +++ b/theme/paraiso-dark.css @@ -34,5 +34,5 @@ .cm-s-paraiso-dark span.cm-link { color: #815ba4; } .cm-s-paraiso-dark span.cm-error { background: #ef6155; color: #8d8687; } -.cm-s-paraiso-dark .CodeMirror-activeline-background { background: #4D344A; } +.cm-s-paraiso-dark .CodeMirror-activeline .CodeMirror-line { background: #4D344A; } .cm-s-paraiso-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; } diff --git a/theme/paraiso-light.css b/theme/paraiso-light.css index ae0c755f8..88004bb6f 100644 --- a/theme/paraiso-light.css +++ b/theme/paraiso-light.css @@ -34,5 +34,5 @@ .cm-s-paraiso-light span.cm-link { color: #815ba4; } .cm-s-paraiso-light span.cm-error { background: #ef6155; color: #776e71; } -.cm-s-paraiso-light .CodeMirror-activeline-background { background: #CFD1C4; } +.cm-s-paraiso-light .CodeMirror-activeline .CodeMirror-line { background: #CFD1C4; } .cm-s-paraiso-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; } diff --git a/theme/pastel-on-dark.css b/theme/pastel-on-dark.css index 2603d3620..ac48da16e 100644 --- a/theme/pastel-on-dark.css +++ b/theme/pastel-on-dark.css @@ -44,7 +44,7 @@ background: #757aD8; color: #f8f8f0; } -.cm-s-pastel-on-dark .CodeMirror-activeline-background { background: rgba(255, 255, 255, 0.031); } +.cm-s-pastel-on-dark .CodeMirror-activeline .CodeMirror-line { background: rgba(255, 255, 255, 0.031); } .cm-s-pastel-on-dark .CodeMirror-matchingbracket { border: 1px solid rgba(255,255,255,0.25); color: #8F938F !important; diff --git a/theme/railscasts.css b/theme/railscasts.css index aeff0449d..408e6dce5 100644 --- a/theme/railscasts.css +++ b/theme/railscasts.css @@ -31,4 +31,4 @@ .cm-s-railscasts span.cm-link {color: #b6b3eb;} .cm-s-railscasts .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} -.cm-s-railscasts .CodeMirror-activeline-background { background: #303040; } +.cm-s-railscasts .CodeMirror-activeline .CodeMirror-line { background: #303040; } diff --git a/theme/rubyblue.css b/theme/rubyblue.css index 76d33e779..d2fd1a17a 100644 --- a/theme/rubyblue.css +++ b/theme/rubyblue.css @@ -22,4 +22,4 @@ .cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; } .cm-s-rubyblue span.cm-error { color: #AF2018; } -.cm-s-rubyblue .CodeMirror-activeline-background { background: #173047; } +.cm-s-rubyblue .CodeMirror-activeline .CodeMirror-line { background: #173047; } diff --git a/theme/seti.css b/theme/seti.css index 6632d3fc7..dc67f72a5 100644 --- a/theme/seti.css +++ b/theme/seti.css @@ -40,5 +40,5 @@ .cm-s-seti span.cm-property { color: #a074c4; } .cm-s-seti span.cm-variable-3 { color: #9fca56; } .cm-s-seti span.cm-builtin { color: #9fca56; } -.cm-s-seti .CodeMirror-activeline-background { background: #101213; } +.cm-s-seti .CodeMirror-activeline .CodeMirror-line { background: #101213; } .cm-s-seti .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; } diff --git a/theme/solarized.css b/theme/solarized.css index 1f39c7edb..88be235fe 100644 --- a/theme/solarized.css +++ b/theme/solarized.css @@ -161,9 +161,9 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png .cm-s-solarized.cm-s-dark .cm-animate-fat-cursor { background-color: #586e75; } /* Active line */ -.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background { +.cm-s-solarized.cm-s-dark .CodeMirror-activeline .CodeMirror-line { background: rgba(255, 255, 255, 0.06); } -.cm-s-solarized.cm-s-light .CodeMirror-activeline-background { +.cm-s-solarized.cm-s-light .CodeMirror-activeline .CodeMirror-line { background: rgba(0, 0, 0, 0.06); } diff --git a/theme/the-matrix.css b/theme/the-matrix.css index 3912a8dbd..506f53d85 100644 --- a/theme/the-matrix.css +++ b/theme/the-matrix.css @@ -27,4 +27,4 @@ .cm-s-the-matrix span.cm-attribute { color: #FFF700; } .cm-s-the-matrix span.cm-error { color: #FF0000; } -.cm-s-the-matrix .CodeMirror-activeline-background { background: #040; } +.cm-s-the-matrix .CodeMirror-activeline .CodeMirror-line { background: #040; } diff --git a/theme/tomorrow-night-bright.css b/theme/tomorrow-night-bright.css index b6dd4a927..32c1d091b 100644 --- a/theme/tomorrow-night-bright.css +++ b/theme/tomorrow-night-bright.css @@ -31,5 +31,5 @@ .cm-s-tomorrow-night-bright span.cm-link { color: #a16a94; } .cm-s-tomorrow-night-bright span.cm-error { background: #d54e53; color: #6A6A6A; } -.cm-s-tomorrow-night-bright .CodeMirror-activeline-background { background: #2a2a2a; } +.cm-s-tomorrow-night-bright .CodeMirror-activeline .CodeMirror-line { background: #2a2a2a; } .cm-s-tomorrow-night-bright .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; } diff --git a/theme/tomorrow-night-eighties.css b/theme/tomorrow-night-eighties.css index 2a9debc32..ebc018fd8 100644 --- a/theme/tomorrow-night-eighties.css +++ b/theme/tomorrow-night-eighties.css @@ -34,5 +34,5 @@ .cm-s-tomorrow-night-eighties span.cm-link { color: #a16a94; } .cm-s-tomorrow-night-eighties span.cm-error { background: #f2777a; color: #6A6A6A; } -.cm-s-tomorrow-night-eighties .CodeMirror-activeline-background { background: #343600; } +.cm-s-tomorrow-night-eighties .CodeMirror-activeline .CodeMirror-line { background: #343600; } .cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; } diff --git a/theme/twilight.css b/theme/twilight.css index d342b899f..3bf509d89 100644 --- a/theme/twilight.css +++ b/theme/twilight.css @@ -28,5 +28,5 @@ .cm-s-twilight .cm-link { color:#ad9361; font-style:italic; text-decoration:none; } /**/ .cm-s-twilight .cm-error { border-bottom: 1px solid red; } -.cm-s-twilight .CodeMirror-activeline-background { background: #27282E; } +.cm-s-twilight .CodeMirror-activeline .CodeMirror-line { background: #27282E; } .cm-s-twilight .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; } diff --git a/theme/vibrant-ink.css b/theme/vibrant-ink.css index ac4ec6d87..268e1da38 100644 --- a/theme/vibrant-ink.css +++ b/theme/vibrant-ink.css @@ -30,5 +30,5 @@ .cm-s-vibrant-ink .cm-link { color: blue; } .cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; } -.cm-s-vibrant-ink .CodeMirror-activeline-background { background: #27282E; } +.cm-s-vibrant-ink .CodeMirror-activeline .CodeMirror-line { background: #27282E; } .cm-s-vibrant-ink .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; } diff --git a/theme/xq-dark.css b/theme/xq-dark.css index e3bd960bb..e42e80af0 100644 --- a/theme/xq-dark.css +++ b/theme/xq-dark.css @@ -49,5 +49,5 @@ THE SOFTWARE. .cm-s-xq-dark span.cm-attribute { color: #FFF700; } .cm-s-xq-dark span.cm-error { color: #f00; } -.cm-s-xq-dark .CodeMirror-activeline-background { background: #27282E; } +.cm-s-xq-dark .CodeMirror-activeline .CodeMirror-line { background: #27282E; } .cm-s-xq-dark .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; } diff --git a/theme/xq-light.css b/theme/xq-light.css index 8d2fcb667..ec507e231 100644 --- a/theme/xq-light.css +++ b/theme/xq-light.css @@ -39,5 +39,5 @@ THE SOFTWARE. .cm-s-xq-light span.cm-attribute { color: #7F007F; } .cm-s-xq-light span.cm-error { color: #f00; } -.cm-s-xq-light .CodeMirror-activeline-background { background: #e8f2ff; } +.cm-s-xq-light .CodeMirror-activeline .CodeMirror-line { background: #e8f2ff; } .cm-s-xq-light .CodeMirror-matchingbracket { outline:1px solid grey;color:black !important;background:yellow; } diff --git a/theme/yeti.css b/theme/yeti.css index c70d4d214..548dca9a2 100644 --- a/theme/yeti.css +++ b/theme/yeti.css @@ -40,5 +40,5 @@ .cm-s-yeti span.cm-property { color: #a074c4; } .cm-s-yeti span.cm-builtin { color: #a074c4; } .cm-s-yeti span.cm-variable-3 { color: #96c0d8; } -.cm-s-yeti .CodeMirror-activeline-background { background: #E7E4E0; } +.cm-s-yeti .CodeMirror-activeline .CodeMirror-line { background: #E7E4E0; } .cm-s-yeti .CodeMirror-matchingbracket { text-decoration: underline; } diff --git a/theme/zenburn.css b/theme/zenburn.css index 781c40aca..bfdef926c 100644 --- a/theme/zenburn.css +++ b/theme/zenburn.css @@ -31,7 +31,6 @@ .cm-s-zenburn span.cm-operator { color: #f0efd0; } .cm-s-zenburn span.CodeMirror-matchingbracket { box-sizing: border-box; background: transparent; border-bottom: 1px solid; } .cm-s-zenburn span.CodeMirror-nonmatchingbracket { border-bottom: 1px solid; background: none; } -.cm-s-zenburn .CodeMirror-activeline { background: #000000; } -.cm-s-zenburn .CodeMirror-activeline-background { background: #000000; } +.cm-s-zenburn .CodeMirror-activeline .CodeMirror-line { background: #000000; } .cm-s-zenburn div.CodeMirror-selected { background: #545454; } .cm-s-zenburn .CodeMirror-focused div.CodeMirror-selected { background: #4f4f4f; } -- GitLab