do you know of a way to keep the current (default) color scheme but improve the contrast in the highlighted (selected) text?
Massimo On Dec 28, 12:29 pm, "sudhakar m" <sudhakar...@gmail.com> wrote: > I have created a dark color scheme for EditArea. For those who are looking > for better color scheme, here's the steps. > > 1. Modify the edit_area_full.js to have a dark background > /web2py/applications/admin/static/edit_area/edit_area_full.js > > The last line in the above file defines the color properties for EditArea > (common for all languages). editAreaLoader.iframe_css var holds the css data > for iframe. Modify the following properties. > > html{margin: 0;padding: 0;height: 100%;border: none;overflow: > hidden;background-color: #404040; color: #cccccc;} > #result .edit_area_selection_field .overline{background-color: #996600; > width: 100%;} > editarea_popup{border:2px solid > #FFFFFF;color:#222222;opacity:0.75;background-color: #ECE9D8;width: > 250px;padding: 4px;position: absolute;visibility: hidden;z-index: 15;top: > -500px;} > > Few other properties have been changed in this file, couldnt find it now as > it is minified. > > 2. Modify python.js to match the dark background > /web2py/applications/admin/static/edit_area/reg_syntax/python.js > > ,'STYLES' : { > 'COMMENTS': 'color: #AAAAAA;' > ,'QUOTESMARKS': 'color: #E67321;font-weight:normal;' > ,'KEYWORDS' : { > 'reserved' : 'color: #DFE63C;font-weight:bold;' > ,'builtins' : 'color: #4f94cd;' > ,'stdlib' : 'color: #87CEFA;' > ,'special': 'color: #fa8072;' > } > ,'OPERATORS' : 'color: #dddddd;' > ,'DELIMITERS' : 'color: #dddddd;' > } > > Its very difficult to modify the cursor color. So to make the cursor visible > ,the current line background is made lightgrey. > > Also attaching the above modified files. I have tested it in Firefox 3 & > opera in Ubuntu. So far it works fine. > > Sudhakar.M > > darky.png > 132KViewDownload > > edit_area_full.js > 160KViewDownload > > python.js > 10KViewDownload --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---