mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Added facet tabs coloring
Facet tabs are now colored according to their group. https://fedorahosted.org/freeipa/ticket/1976
This commit is contained in:
committed by
Endi S. Dewata
parent
2d6eeb205e
commit
cb649f2de2
@@ -280,7 +280,7 @@ IPA.facet_header = function(spec) {
|
||||
|
||||
that.create_facet_group = function(container, facet_group) {
|
||||
|
||||
var section = $('<span/>', {
|
||||
var section = $('<div/>', {
|
||||
name: facet_group.name,
|
||||
'class': 'facet-group'
|
||||
}).appendTo(container);
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 957 B After Width: | Height: | Size: 228 B |
Binary file not shown.
|
Before Width: | Height: | Size: 941 B After Width: | Height: | Size: 192 B |
@@ -546,23 +546,17 @@ span.main-nav-off > a:visited {
|
||||
border-left: 1px solid #c9c3ba;
|
||||
border-right: 1px solid #c9c3ba;
|
||||
margin: 0 0 0;
|
||||
padding: 6px 16px;
|
||||
padding: 8px 16px 4px 16px;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
line-height: 19px;
|
||||
background-image: url(images/facet-tab-off.png);
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.facet-tab li a:hover {
|
||||
background-color: #f1f0ee;
|
||||
}
|
||||
|
||||
.facet-tab li a.selected {
|
||||
color: #6C6F73;
|
||||
background-color: #f1f0ee;
|
||||
font-weight: bold;
|
||||
background-image: url(images/facet-tab-on.png);
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
@@ -570,6 +564,32 @@ span.main-nav-off > a:visited {
|
||||
margin-left:1em; margin-right:1em;
|
||||
}
|
||||
|
||||
|
||||
/* Facet tabs coloring */
|
||||
|
||||
.facet-group li a {
|
||||
background-image: url(images/facet-tab-off.png);
|
||||
background-repeat: repeat-x;
|
||||
background-position: 0px -33px;
|
||||
}
|
||||
|
||||
.facet-group li a.selected {
|
||||
background-image: url(images/facet-tab-on.png);
|
||||
}
|
||||
|
||||
div[name=settings].facet-group li a {
|
||||
background-position: 0px -66px;
|
||||
}
|
||||
|
||||
.facet-group li[name^=member] a,
|
||||
.facet-group li[name^=managedby] a {
|
||||
background-position: 0px 0px;
|
||||
}
|
||||
|
||||
.facet-group li[name^=memberof] a {
|
||||
background-position: 0px -33px;
|
||||
}
|
||||
|
||||
/* ---- Facet Controls ---- */
|
||||
|
||||
.facet-controls {
|
||||
|
||||
Reference in New Issue
Block a user