webui: use h1 in facet title instead of h3

Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
Petr Vobornik
2014-04-11 14:19:39 +02:00
parent ad338b9d74
commit 3dd34d6e55
2 changed files with 9 additions and 12 deletions

View File

@@ -87,11 +87,6 @@ textarea[readonly] {
display: inline-block;
}
.facet-title h3 {
margin: 0;
line-height: 1.8em;
}
.facet-title span {
display: inline;
}
@@ -717,7 +712,7 @@ form#login {
/* --- Facet title states --- */
.facet-title h3 {
.facet-title h1 {
display: inline-block;
}
@@ -737,14 +732,16 @@ form#login {
.facet-title.enabled .header-icon:before {
content: "\f00c";
margin-right: 5px;
}
.facet-title.disabled .header-icon:before {
content: "\f068";
margin-right: 5px;
}
.facet-title.disabled h3,
.facet-title.disabled h3 .facet-pkey{
.facet-title.disabled h1,
.facet-title.disabled h1 .facet-pkey{
color: gray;
}

View File

@@ -1448,17 +1448,17 @@ exp.facet_title = IPA.facet_title = function(spec) {
'class': 'facet-title'
}).appendTo(container);
var h3 = $('<h3/>').appendTo(that.title_container);
var header = $('<h1/>').appendTo(that.title_container);
that.icon = $('<i />', {
'class': 'header-icon'
}).appendTo(h3);
}).appendTo(header);
that.title = $('<span/>').appendTo(h3);
that.title = $('<span/>').appendTo(header);
that.pkey = $('<span/>', {
'class': 'facet-pkey'
}).appendTo(h3);
}).appendTo(header);
};
/**