Skip to content

Commit

Permalink
Fix for license info on add dataset page for IE7
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Aug 29, 2012
1 parent 52efccf commit 5ae3f10
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
19 changes: 19 additions & 0 deletions ckan/public/base/less/forms.less
Expand Up @@ -171,6 +171,25 @@ textarea {
top: 8px;
}

.info-block,
.info-inline {
.icon-large {
float: left;
font-size: 22px;
margin-right: @gutterSmallX;
}
}

.ie7 .controls {
position: relative;
.info-block,
.info-inline {
position: absolute;
top: 0;
right: 0;
}
}

.form-horizontal .info-block a {
color: @emptyTextColor;
text-decoration: underline;
Expand Down
9 changes: 9 additions & 0 deletions ckan/public/base/less/module.less
Expand Up @@ -38,6 +38,15 @@
text-decoration: underline;
}

.ie7 .module-heading {
position: relative;
.action {
position: absolute;
top: 9px;
right: 10px;
}
}

.module-content {
padding: 0 @gutterX;
margin: 20px 0;
Expand Down
4 changes: 4 additions & 0 deletions ckan/public/base/less/nav.less
Expand Up @@ -68,6 +68,10 @@
z-index: 2;
}

.ie7 .module-narrow .nav-item.image {
.clearfix;
}

// FACET NAVIGATION

.nav-facet .nav-item > a:hover:after,
Expand Down
3 changes: 2 additions & 1 deletion ckan/templates/package/snippets/package_basic_fields.html
Expand Up @@ -24,7 +24,8 @@
{% endfor %}
</select>
{% if error %}<span class="error-block">{{ error }}</span>{% endif %}
<span class="info-block info-inline icon-large icon-info-sign">
<span class="info-block info-inline">
<i class="icon-large icon-info-sign"></i>
{% trans %}
License definitions and additional information can be found
at <a href="http://opendefinition.org/licenses/">opendefinition.org</a>
Expand Down

0 comments on commit 5ae3f10

Please sign in to comment.