summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2010-11-14 20:28:10 +0100
committerJochen Topf <jochen@topf.org>2010-11-14 20:28:10 +0100
commita25d7303c612af08c2e53a7de76ac6c1930e7a6d (patch)
tree8cd3228caa85a736fc354b7e7aded87247a6446b
parent8fd6eceb1c1a20e7d92d4324c485d90a26814665 (diff)
downloadtaginfo-a25d7303c612af08c2e53a7de76ac6c1930e7a6d.tar
taginfo-a25d7303c612af08c2e53a7de76ac6c1930e7a6d.tar.gz
CSS cleanup
-rw-r--r--web/public/css/taginfo.css78
-rw-r--r--web/views/index.erb2
-rw-r--r--web/views/key.erb2
-rw-r--r--web/views/test/key.erb4
4 files changed, 33 insertions, 53 deletions
diff --git a/web/public/css/taginfo.css b/web/public/css/taginfo.css
index b5d69e8..9e57719 100644
--- a/web/public/css/taginfo.css
+++ b/web/public/css/taginfo.css
@@ -147,10 +147,6 @@ div#main {
/* ========== */
-div#tabs {
-// font-size: 100%;
-}
-
div#tabs h2 {
margin: 0 0 10px 0;
font-size: 110%;
@@ -235,30 +231,6 @@ span.lang {
-o-border-radius: 4px;
}
-div.value {
- width: 6em;
- float: left;
- padding: 0 !important;
- margin: 0 !important;
- text-align: right;
-}
-
-div.fraction {
- width: 5em;
- float: left;
- padding: 0 !important;
- margin: 0 !important;
- text-align: right;
-}
-
-div.bar {
- float: left;
- margin: 4px 0 0 6px !important;
- padding: 0 !important;
- height: 8px;
- background-color: #60c060;
-}
-
td.number {
text-align: right;
// color: #e06000;
@@ -290,8 +262,35 @@ form#filter-form {
padding-bottom: 20px;
}
-div.tagcloud {
- margin: 0 10%;
+div.canvas {
+ border: 1px solid #cccccc;
+ background-color: #ffffff;
+}
+
+/* ========== */
+
+div.value {
+ width: 6em;
+ float: left;
+ padding: 0 !important;
+ margin: 0 !important;
+ text-align: right;
+}
+
+div.fraction {
+ width: 5em;
+ float: left;
+ padding: 0 !important;
+ margin: 0 !important;
+ text-align: right;
+}
+
+div.bar {
+ float: left;
+ margin: 4px 0 0 6px !important;
+ padding: 0 !important;
+ height: 8px;
+ background-color: #60c060;
}
/* ========== */
@@ -362,25 +361,6 @@ table.reports th.last {
-o-border-radius: 0 0 4px 4px;
}
-/* ========== */
-
-div#canvas-values {
- position: absolute;
- border: 1px solid #cccccc;
- background-color: #ffffff;
-}
-
-div#canvas-keypairs {
-// position: absolute;
- border: 1px solid #cccccc;
- background-color: #ffffff;
-}
-
-div.canvas {
- border: 1px solid #cccccc;
- background-color: #ffffff;
-}
-
/* ========== */
table.drilldown {
diff --git a/web/views/index.erb b/web/views/index.erb
index 12e883d..53c131f 100644
--- a/web/views/index.erb
+++ b/web/views/index.erb
@@ -4,7 +4,7 @@
<p><span class="button"><a href="/keys"><%= t.buttons.show_all_keys %></a></span>
<span class="button"><a href="/reports"><%= t.buttons.reports %></a></span></p>
- <div class="tagcloud">
+ <div style="margin: 0 10%;">
<% @tags.each do |tag| %>
<a href="/keys/<%= tag['key'] %>" class="popkey" style="font-size: <%= tagcloud_size(tag) %>px;"><%= tag['key'] %></a>
<% end %>
diff --git a/web/views/key.erb b/web/views/key.erb
index 408ea4a..80111a3 100644
--- a/web/views/key.erb
+++ b/web/views/key.erb
@@ -38,7 +38,7 @@
</ul>
<div id="tabs-values">
<h2>Values used with this key</h2>
- <div id="canvas-values"></div>
+ <div class="canvas" id="canvas-values" style="position: absolute;"></div>
<div style="margin-left: 180px;">
<table id="grid-values">
</table>
diff --git a/web/views/test/key.erb b/web/views/test/key.erb
index d4cdd11..9a819ce 100644
--- a/web/views/test/key.erb
+++ b/web/views/test/key.erb
@@ -35,7 +35,7 @@
</ul>
<div id="tabs-values">
<h2>Values used with this key</h2>
- <div id="canvas-values"></div>
+ <div class="canvas" id="canvas-values"></div>
<div style="margin-left: 180px;">
<table id="grid-values">
</table>
@@ -45,7 +45,7 @@
<h2>Other keys used together with this key</h2>
<table id="grid-keys">
</table>
- <div id="canvas-keypairs"></div>
+ <div class="canvas" id="canvas-keypairs"></div>
</div>
<div id="tabs-map">
<h2>Geographical distribution of this key</h2>