Browse Source

New colors for URLs in sources table.

pull/24/head
Ben Kurtovic 10 years ago
parent
commit
5daf8e2528
2 changed files with 6 additions and 1 deletions
  1. +5
    -0
      static/style.css
  2. +1
    -1
      templates/index.mako

+ 5
- 0
static/style.css View File

@@ -321,3 +321,8 @@ a:active#a-settings { color: #666; }
a:active#cv-cached { color: #040; text-decoration: none; } a:active#cv-cached { color: #040; text-decoration: none; }
a:hover#cv-cached { text-decoration: none; } a:hover#cv-cached { text-decoration: none; }
a:hover#cv-cached span { display: block; } a:hover#cv-cached span { display: block; }

a:link.source-url { color: #357; }
a:visited.source-url { color: #357; }
a:hover.source-url { color: #035; }
a:active.source-url { color: #404; }

+ 1
- 1
templates/index.mako View File

@@ -205,7 +205,7 @@
</tr> </tr>
% for i, source in enumerate(result.sources): % for i, source in enumerate(result.sources):
<tr ${'class="source-default-hidden"' if i >= 10 else 'id="source-row-selected"' if i == 0 else ""}> <tr ${'class="source-default-hidden"' if i >= 10 else 'id="source-row-selected"' if i == 0 else ""}>
<td><a ${'id="source-selected"' if i == 0 else ""} href="${source.url | h}">${source.url | h}</a></td>
<td><a ${'id="source-selected"' if i == 0 else ""} class="source-url" href="${source.url | h}">${source.url | h}</a></td>
<td> <td>
% if source.skipped: % if source.skipped:
<% skips = True %> <% skips = True %>


Loading…
Cancel
Save