Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No syntax highlighting on .diff files #41

Closed
olegafx opened this issue Nov 6, 2014 · 7 comments · Fixed by #46
Closed

No syntax highlighting on .diff files #41

olegafx opened this issue Nov 6, 2014 · 7 comments · Fixed by #46

Comments

@olegafx
Copy link
Contributor

olegafx commented Nov 6, 2014

_ _110614_063012_pm

@ctf0
Copy link
Owner

ctf0 commented Nov 6, 2014

GRRRR ,i just found out that i added it but with all the scopes have the same color ,can u plz send me a file to test with ,also state what plugin are u using because there are like 3 plugins which i think does the same.

Edit:
scratch the above ,check the last update and tell me if its good or does it need any changes.

@olegafx
Copy link
Contributor Author

olegafx commented Nov 6, 2014

https://gist.github.com/olegafx/1a4c342cdf761ecba640

diff --git a/BOL/BOL.Site/front-end/build/build.css b/BOL/BOL.Site/front-end/build/build.css
index a1fd48c..b1ec941 100644
--- a/BOL/BOL.Site/front-end/build/build.css
+++ b/BOL/BOL.Site/front-end/build/build.css
@@ -314,6 +314,9 @@ a:hover,
   padding: 0;
   margin: 0;
 }
+::-moz-selection {
+  background: #7fcdea;
+}
 ::selection {
   background: #7fcdea;
 }
@@ -428,13 +431,9 @@ input:-webkit-autofill {
   zoom: 1;
 }
 .ui-menu .ui-menu-item:first-child a {
-  -webkit-border-radius: 2px 2px 0 0;
-  -moz-border-radius: 2px 2px 0 0;
   border-radius: 2px 2px 0 0;
 }
 .ui-menu .ui-menu-item:last-child a {
-  -webkit-border-radius: 0 0 2px 2px;
-  -moz-border-radius: 0 0 2px 2px;
   border-radius: 0 0 2px 2px;
 }

test_diff

@ctf0
Copy link
Owner

ctf0 commented Nov 6, 2014

okey ,now its as intended check and msg back ,btw the from/to could have dif color than the inserted/deleted ,so if u have any ideas for them plz advice.

@olegafx
Copy link
Contributor Author

olegafx commented Nov 6, 2014

Maybe grey color here?
test_diff

@ctf0
Copy link
Owner

ctf0 commented Nov 6, 2014

@olegafx u mean the to & from or the to only ?

@olegafx
Copy link
Contributor Author

olegafx commented Nov 6, 2014

--- a/BOL/BOL.Site/front-end/build/build.css
+++ b/BOL/BOL.Site/front-end/build/build.css
@@ -314,6 +314,9 @@

like this one img

@ctf0
Copy link
Owner

ctf0 commented Nov 6, 2014

@olegafx can u make a PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants