@@ -63,5 +63,4 | |||
|
63 | 63 | |
|
64 | 64 | <% content_for :header_tags do %> |
|
65 | 65 | <%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@project}: #{@board}") %> |
|
66 | <%= stylesheet_link_tag 'scm' %> | |
|
67 | 66 | <% end %> |
@@ -28,7 +28,3 | |||
|
28 | 28 | <% end %> |
|
29 | 29 | |
|
30 | 30 | <% html_title @document.title -%> |
|
31 | ||
|
32 | <% content_for :header_tags do %> | |
|
33 | <%= stylesheet_link_tag 'scm' %> | |
|
34 | <% end %> |
@@ -45,6 +45,5 | |||
|
45 | 45 | <div id="preview" class="wiki"></div> |
|
46 | 46 | |
|
47 | 47 | <% content_for :header_tags do %> |
|
48 | <%= stylesheet_link_tag 'scm' %> | |
|
49 | 48 | <%= robot_exclusion_tag %> |
|
50 | 49 | <% end %> |
@@ -153,7 +153,6 end %> | |||
|
153 | 153 | |
|
154 | 154 | <% content_for :header_tags do %> |
|
155 | 155 | <%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@issue.project} - #{@issue.tracker} ##{@issue.id}: #{@issue.subject}") %> |
|
156 | <%= stylesheet_link_tag 'scm' %> | |
|
157 | 156 | <% end %> |
|
158 | 157 | |
|
159 | 158 | <%= context_menu issues_context_menu_path %> |
@@ -15,7 +15,3 | |||
|
15 | 15 | <%= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board, :id => @message}, 'message-form') %> |
|
16 | 16 | <% end %> |
|
17 | 17 | <div id="preview" class="wiki"></div> |
|
18 | ||
|
19 | <% content_for :header_tags do %> | |
|
20 | <%= stylesheet_link_tag 'scm' %> | |
|
21 | <% end %> |
@@ -84,8 +84,4 | |||
|
84 | 84 | </div> |
|
85 | 85 | <% end %> |
|
86 | 86 | |
|
87 | <% content_for :header_tags do %> | |
|
88 | <%= stylesheet_link_tag 'scm' %> | |
|
89 | <% end %> | |
|
90 | ||
|
91 | 87 | <% html_title @topic.subject %> |
@@ -32,7 +32,6 | |||
|
32 | 32 | </div> |
|
33 | 33 | |
|
34 | 34 | <% content_for :header_tags do %> |
|
35 | <%= stylesheet_link_tag 'scm' %> | |
|
36 | 35 | <%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'}, |
|
37 | 36 | :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %> |
|
38 | 37 | <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'}, |
@@ -40,7 +40,6 | |||
|
40 | 40 | <div id="preview" class="wiki"></div> |
|
41 | 41 | |
|
42 | 42 | <% content_for :header_tags do %> |
|
43 | <%= stylesheet_link_tag 'scm' %> | |
|
44 | 43 | <%= robot_exclusion_tag %> |
|
45 | 44 | <% end %> |
|
46 | 45 |
@@ -61,10 +61,6 | |||
|
61 | 61 | <%= f.link_to 'TXT', :url => {:id => @page.title, :version => params[:version]} %> |
|
62 | 62 | <% end if User.current.allowed_to?(:export_wiki_pages, @project) %> |
|
63 | 63 | |
|
64 | <% content_for :header_tags do %> | |
|
65 | <%= stylesheet_link_tag 'scm' %> | |
|
66 | <% end %> | |
|
67 | ||
|
68 | 64 | <% content_for :sidebar do %> |
|
69 | 65 | <%= render :partial => 'sidebar' %> |
|
70 | 66 | <% end %> |
@@ -1075,6 +1075,104 h2 img { vertical-align:middle; } | |||
|
1075 | 1075 | |
|
1076 | 1076 | .hascontextmenu { cursor: context-menu; } |
|
1077 | 1077 | |
|
1078 | /************* CodeRay styles *************/ | |
|
1079 | .syntaxhl div {display: inline;} | |
|
1080 | .syntaxhl .line-numbers { | |
|
1081 | padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px; | |
|
1082 | user-select: none; | |
|
1083 | -moz-user-select: none; | |
|
1084 | -o-user-select: none; | |
|
1085 | -ms-user-select: none; | |
|
1086 | -webkit-user-select: none; | |
|
1087 | } | |
|
1088 | .syntaxhl .code pre { overflow: auto } | |
|
1089 | .syntaxhl .debug { color: white !important; background: blue !important; } | |
|
1090 | ||
|
1091 | .syntaxhl .annotation { color:#007 } | |
|
1092 | .syntaxhl .attribute-name { color:#b48 } | |
|
1093 | .syntaxhl .attribute-value { color:#700 } | |
|
1094 | .syntaxhl .binary { color:#509 } | |
|
1095 | .syntaxhl .char .content { color:#D20 } | |
|
1096 | .syntaxhl .char .delimiter { color:#710 } | |
|
1097 | .syntaxhl .char { color:#D20 } | |
|
1098 | .syntaxhl .class { color:#B06; font-weight:bold } | |
|
1099 | .syntaxhl .class-variable { color:#369 } | |
|
1100 | .syntaxhl .color { color:#0A0 } | |
|
1101 | .syntaxhl .comment { color:#777 } | |
|
1102 | .syntaxhl .comment .char { color:#444 } | |
|
1103 | .syntaxhl .comment .delimiter { color:#444 } | |
|
1104 | .syntaxhl .complex { color:#A08 } | |
|
1105 | .syntaxhl .constant { color:#036; font-weight:bold } | |
|
1106 | .syntaxhl .decorator { color:#B0B } | |
|
1107 | .syntaxhl .definition { color:#099; font-weight:bold } | |
|
1108 | .syntaxhl .delimiter { color:black } | |
|
1109 | .syntaxhl .directive { color:#088; font-weight:bold } | |
|
1110 | .syntaxhl .doc { color:#970 } | |
|
1111 | .syntaxhl .doc-string { color:#D42; font-weight:bold } | |
|
1112 | .syntaxhl .doctype { color:#34b } | |
|
1113 | .syntaxhl .entity { color:#800; font-weight:bold } | |
|
1114 | .syntaxhl .error { color:#F00; background-color:#FAA } | |
|
1115 | .syntaxhl .escape { color:#666 } | |
|
1116 | .syntaxhl .exception { color:#C00; font-weight:bold } | |
|
1117 | .syntaxhl .float { color:#60E } | |
|
1118 | .syntaxhl .function { color:#06B; font-weight:bold } | |
|
1119 | .syntaxhl .global-variable { color:#d70 } | |
|
1120 | .syntaxhl .hex { color:#02b } | |
|
1121 | .syntaxhl .imaginary { color:#f00 } | |
|
1122 | .syntaxhl .include { color:#B44; font-weight:bold } | |
|
1123 | .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black } | |
|
1124 | .syntaxhl .inline-delimiter { font-weight: bold; color: #666 } | |
|
1125 | .syntaxhl .instance-variable { color:#33B } | |
|
1126 | .syntaxhl .integer { color:#00D } | |
|
1127 | .syntaxhl .key .char { color: #60f } | |
|
1128 | .syntaxhl .key .delimiter { color: #404 } | |
|
1129 | .syntaxhl .key { color: #606 } | |
|
1130 | .syntaxhl .keyword { color:#080; font-weight:bold } | |
|
1131 | .syntaxhl .label { color:#970; font-weight:bold } | |
|
1132 | .syntaxhl .local-variable { color:#963 } | |
|
1133 | .syntaxhl .namespace { color:#707; font-weight:bold } | |
|
1134 | .syntaxhl .octal { color:#40E } | |
|
1135 | .syntaxhl .operator { } | |
|
1136 | .syntaxhl .predefined { color:#369; font-weight:bold } | |
|
1137 | .syntaxhl .predefined-constant { color:#069 } | |
|
1138 | .syntaxhl .predefined-type { color:#0a5; font-weight:bold } | |
|
1139 | .syntaxhl .preprocessor { color:#579 } | |
|
1140 | .syntaxhl .pseudo-class { color:#00C; font-weight:bold } | |
|
1141 | .syntaxhl .regexp .content { color:#808 } | |
|
1142 | .syntaxhl .regexp .delimiter { color:#404 } | |
|
1143 | .syntaxhl .regexp .modifier { color:#C2C } | |
|
1144 | .syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); } | |
|
1145 | .syntaxhl .reserved { color:#080; font-weight:bold } | |
|
1146 | .syntaxhl .shell .content { color:#2B2 } | |
|
1147 | .syntaxhl .shell .delimiter { color:#161 } | |
|
1148 | .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); } | |
|
1149 | .syntaxhl .string .char { color: #b0b } | |
|
1150 | .syntaxhl .string .content { color: #D20 } | |
|
1151 | .syntaxhl .string .delimiter { color: #710 } | |
|
1152 | .syntaxhl .string .modifier { color: #E40 } | |
|
1153 | .syntaxhl .string { background-color:hsla(0,100%,50%,0.05); } | |
|
1154 | .syntaxhl .symbol .content { color:#A60 } | |
|
1155 | .syntaxhl .symbol .delimiter { color:#630 } | |
|
1156 | .syntaxhl .symbol { color:#A60 } | |
|
1157 | .syntaxhl .tag { color:#070 } | |
|
1158 | .syntaxhl .type { color:#339; font-weight:bold } | |
|
1159 | .syntaxhl .value { color: #088; } | |
|
1160 | .syntaxhl .variable { color:#037 } | |
|
1161 | ||
|
1162 | .syntaxhl .insert { background: hsla(120,100%,50%,0.12) } | |
|
1163 | .syntaxhl .delete { background: hsla(0,100%,50%,0.12) } | |
|
1164 | .syntaxhl .change { color: #bbf; background: #007; } | |
|
1165 | .syntaxhl .head { color: #f8f; background: #505 } | |
|
1166 | .syntaxhl .head .filename { color: white; } | |
|
1167 | ||
|
1168 | .syntaxhl .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; } | |
|
1169 | .syntaxhl .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } | |
|
1170 | ||
|
1171 | .syntaxhl .insert .insert { color: #0c0; background:transparent; font-weight:bold } | |
|
1172 | .syntaxhl .delete .delete { color: #c00; background:transparent; font-weight:bold } | |
|
1173 | .syntaxhl .change .change { color: #88f } | |
|
1174 | .syntaxhl .head .head { color: #f4f } | |
|
1175 | ||
|
1078 | 1176 | /***** Media print specific styles *****/ |
|
1079 | 1177 | @media print { |
|
1080 | 1178 | #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; } |
@@ -98,101 +98,3 table.annotate td.line-code { background-color: #fafafa; } | |||
|
98 | 98 | div.action_M { background: #fd8 } |
|
99 | 99 | div.action_D { background: #f88 } |
|
100 | 100 | div.action_A { background: #bfb } |
|
101 | ||
|
102 | /************* CodeRay styles *************/ | |
|
103 | .syntaxhl div {display: inline;} | |
|
104 | .syntaxhl .line-numbers { | |
|
105 | padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px; | |
|
106 | user-select: none; | |
|
107 | -moz-user-select: none; | |
|
108 | -o-user-select: none; | |
|
109 | -ms-user-select: none; | |
|
110 | -webkit-user-select: none; | |
|
111 | } | |
|
112 | .syntaxhl .code pre { overflow: auto } | |
|
113 | .syntaxhl .debug { color: white !important; background: blue !important; } | |
|
114 | ||
|
115 | .syntaxhl .annotation { color:#007 } | |
|
116 | .syntaxhl .attribute-name { color:#b48 } | |
|
117 | .syntaxhl .attribute-value { color:#700 } | |
|
118 | .syntaxhl .binary { color:#509 } | |
|
119 | .syntaxhl .char .content { color:#D20 } | |
|
120 | .syntaxhl .char .delimiter { color:#710 } | |
|
121 | .syntaxhl .char { color:#D20 } | |
|
122 | .syntaxhl .class { color:#B06; font-weight:bold } | |
|
123 | .syntaxhl .class-variable { color:#369 } | |
|
124 | .syntaxhl .color { color:#0A0 } | |
|
125 | .syntaxhl .comment { color:#777 } | |
|
126 | .syntaxhl .comment .char { color:#444 } | |
|
127 | .syntaxhl .comment .delimiter { color:#444 } | |
|
128 | .syntaxhl .complex { color:#A08 } | |
|
129 | .syntaxhl .constant { color:#036; font-weight:bold } | |
|
130 | .syntaxhl .decorator { color:#B0B } | |
|
131 | .syntaxhl .definition { color:#099; font-weight:bold } | |
|
132 | .syntaxhl .delimiter { color:black } | |
|
133 | .syntaxhl .directive { color:#088; font-weight:bold } | |
|
134 | .syntaxhl .doc { color:#970 } | |
|
135 | .syntaxhl .doc-string { color:#D42; font-weight:bold } | |
|
136 | .syntaxhl .doctype { color:#34b } | |
|
137 | .syntaxhl .entity { color:#800; font-weight:bold } | |
|
138 | .syntaxhl .error { color:#F00; background-color:#FAA } | |
|
139 | .syntaxhl .escape { color:#666 } | |
|
140 | .syntaxhl .exception { color:#C00; font-weight:bold } | |
|
141 | .syntaxhl .float { color:#60E } | |
|
142 | .syntaxhl .function { color:#06B; font-weight:bold } | |
|
143 | .syntaxhl .global-variable { color:#d70 } | |
|
144 | .syntaxhl .hex { color:#02b } | |
|
145 | .syntaxhl .imaginary { color:#f00 } | |
|
146 | .syntaxhl .include { color:#B44; font-weight:bold } | |
|
147 | .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black } | |
|
148 | .syntaxhl .inline-delimiter { font-weight: bold; color: #666 } | |
|
149 | .syntaxhl .instance-variable { color:#33B } | |
|
150 | .syntaxhl .integer { color:#00D } | |
|
151 | .syntaxhl .key .char { color: #60f } | |
|
152 | .syntaxhl .key .delimiter { color: #404 } | |
|
153 | .syntaxhl .key { color: #606 } | |
|
154 | .syntaxhl .keyword { color:#080; font-weight:bold } | |
|
155 | .syntaxhl .label { color:#970; font-weight:bold } | |
|
156 | .syntaxhl .local-variable { color:#963 } | |
|
157 | .syntaxhl .namespace { color:#707; font-weight:bold } | |
|
158 | .syntaxhl .octal { color:#40E } | |
|
159 | .syntaxhl .operator { } | |
|
160 | .syntaxhl .predefined { color:#369; font-weight:bold } | |
|
161 | .syntaxhl .predefined-constant { color:#069 } | |
|
162 | .syntaxhl .predefined-type { color:#0a5; font-weight:bold } | |
|
163 | .syntaxhl .preprocessor { color:#579 } | |
|
164 | .syntaxhl .pseudo-class { color:#00C; font-weight:bold } | |
|
165 | .syntaxhl .regexp .content { color:#808 } | |
|
166 | .syntaxhl .regexp .delimiter { color:#404 } | |
|
167 | .syntaxhl .regexp .modifier { color:#C2C } | |
|
168 | .syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); } | |
|
169 | .syntaxhl .reserved { color:#080; font-weight:bold } | |
|
170 | .syntaxhl .shell .content { color:#2B2 } | |
|
171 | .syntaxhl .shell .delimiter { color:#161 } | |
|
172 | .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); } | |
|
173 | .syntaxhl .string .char { color: #b0b } | |
|
174 | .syntaxhl .string .content { color: #D20 } | |
|
175 | .syntaxhl .string .delimiter { color: #710 } | |
|
176 | .syntaxhl .string .modifier { color: #E40 } | |
|
177 | .syntaxhl .string { background-color:hsla(0,100%,50%,0.05); } | |
|
178 | .syntaxhl .symbol .content { color:#A60 } | |
|
179 | .syntaxhl .symbol .delimiter { color:#630 } | |
|
180 | .syntaxhl .symbol { color:#A60 } | |
|
181 | .syntaxhl .tag { color:#070 } | |
|
182 | .syntaxhl .type { color:#339; font-weight:bold } | |
|
183 | .syntaxhl .value { color: #088; } | |
|
184 | .syntaxhl .variable { color:#037 } | |
|
185 | ||
|
186 | .syntaxhl .insert { background: hsla(120,100%,50%,0.12) } | |
|
187 | .syntaxhl .delete { background: hsla(0,100%,50%,0.12) } | |
|
188 | .syntaxhl .change { color: #bbf; background: #007; } | |
|
189 | .syntaxhl .head { color: #f8f; background: #505 } | |
|
190 | .syntaxhl .head .filename { color: white; } | |
|
191 | ||
|
192 | .syntaxhl .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; } | |
|
193 | .syntaxhl .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } | |
|
194 | ||
|
195 | .syntaxhl .insert .insert { color: #0c0; background:transparent; font-weight:bold } | |
|
196 | .syntaxhl .delete .delete { color: #c00; background:transparent; font-weight:bold } | |
|
197 | .syntaxhl .change .change { color: #88f } | |
|
198 | .syntaxhl .head .head { color: #f4f } |
General Comments 0
You need to be logged in to leave comments.
Login now