Skip to content

Commit

Permalink
minor profile view update, use default prettify js theme for syntax h…
Browse files Browse the repository at this point in the history
…ighliting
  • Loading branch information
trivektor committed Mar 17, 2013
1 parent 46a5f65 commit a0f2253
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion Gitos-iPad/Classes/TimelineEvent.m
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ - (NSMutableAttributedString *)decorateEmphasizedText:(NSString *)rawString
NSMutableAttributedString *decoratedString = [[NSMutableAttributedString alloc] initWithString:rawString]; NSMutableAttributedString *decoratedString = [[NSMutableAttributedString alloc] initWithString:rawString];
[decoratedString setAttributes:@{ [decoratedString setAttributes:@{
NSFontAttributeName:[UIFont fontWithName:@"Arial-BoldMT" size:13.0], NSFontAttributeName:[UIFont fontWithName:@"Arial-BoldMT" size:13.0],
NSForegroundColorAttributeName:[UIColor colorWithRed:77/255.0 green:130/255.0 blue:171/255.0 alpha:1.0] NSForegroundColorAttributeName:[UIColor colorWithRed:63/255.0 green:114/255.0 blue:155/255.0 alpha:1.0]
} range:NSMakeRange(0, decoratedString.length)]; } range:NSMakeRange(0, decoratedString.length)];


return decoratedString; return decoratedString;
Expand Down
6 changes: 2 additions & 4 deletions Gitos-iPad/Controllers/ProfileViewController.xib
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
<string key="NSFrame">{{44, 20}, {80, 80}}</string> <string key="NSFrame">{{44, 20}, {80, 80}}</string>
<reference key="NSSuperview" ref="525901754"/> <reference key="NSSuperview" ref="525901754"/>
<reference key="NSWindow"/> <reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:9</string> <string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIUserInteractionEnabled">NO</bool> <bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBIPadFramework</string> <string key="targetRuntimeIdentifier">IBIPadFramework</string>
Expand All @@ -90,7 +89,7 @@
<int key="IBUIContentMode">7</int> <int key="IBUIContentMode">7</int>
<bool key="IBUIUserInteractionEnabled">NO</bool> <bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBIPadFramework</string> <string key="targetRuntimeIdentifier">IBIPadFramework</string>
<string key="IBUIText">Label</string> <string key="IBUIText"/>
<object class="NSColor" key="IBUITextColor"> <object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">1</int> <int key="NSColorSpace">1</int>
<bytes key="NSRGB">MCAwIDAAA</bytes> <bytes key="NSRGB">MCAwIDAAA</bytes>
Expand All @@ -117,14 +116,13 @@
<string key="NSFrame">{{143, 61}, {455, 21}}</string> <string key="NSFrame">{{143, 61}, {455, 21}}</string>
<reference key="NSSuperview" ref="525901754"/> <reference key="NSSuperview" ref="525901754"/>
<reference key="NSWindow"/> <reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:9</string> <string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIOpaque">NO</bool> <bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool> <bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUIContentMode">7</int> <int key="IBUIContentMode">7</int>
<bool key="IBUIUserInteractionEnabled">NO</bool> <bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBIPadFramework</string> <string key="targetRuntimeIdentifier">IBIPadFramework</string>
<string key="IBUIText">Label</string> <string key="IBUIText"/>
<object class="NSColor" key="IBUITextColor"> <object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">1</int> <int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC40MzQ4ODkxOTAxIDAuNDEyNzg4MjQwMiAwLjQyMjU3MzQ1NDYAA</bytes> <bytes key="NSRGB">MC40MzQ4ODkxOTAxIDAuNDEyNzg4MjQwMiAwLjQyMjU3MzQ1NDYAA</bytes>
Expand Down
2 changes: 1 addition & 1 deletion Gitos-iPad/Html/prettify.css
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Pretty printing styles. Used with prettify.js. */ /* Pretty printing styles. Used with prettify.js. */
html, body, div, p, ul, li { margin:0; padding: 0 } html, body, div, p, ul, li { margin:0; padding: 0 }


body { background: #000 } body { padding: 20px }


.str { color: #080; } .str { color: #080; }
.kwd { color: #008; } .kwd { color: #008; }
Expand Down
1 change: 0 additions & 1 deletion Gitos-iPad/Html/raw_file.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<link rel='stylesheet' href='prettify.css'></link> <link rel='stylesheet' href='prettify.css'></link>
<link rel='stylesheet' href='sunburst.css'></link>
<script src='prettify.js'></script> <script src='prettify.js'></script>
</head> </head>
<body onload='prettyPrint()'> <body onload='prettyPrint()'>
Expand Down

0 comments on commit a0f2253

Please sign in to comment.