Facet icon swap and tab sizing

This commit is contained in:
kylebaker
2011-06-21 11:58:26 -04:00
committed by Endi S. Dewata
parent 545ecf94ef
commit 3d9fb938d9
4 changed files with 35 additions and 5 deletions

View File

@@ -381,7 +381,7 @@ IPA.association_table_widget = function (spec) {
var button = $('input[name=remove]', container);
button.replaceWith(IPA.action_button({
'label': button.val(),
'icon': 'ui-icon-trash',
'icon': 'remove-icon',
'click': function() {
if ($(this).hasClass('action-button-disabled')) {
return false;
@@ -410,7 +410,7 @@ IPA.association_table_widget = function (spec) {
button = $('input[name=add]', container);
button.replaceWith(IPA.action_button({
'label': button.val(),
'icon': 'ui-icon-plus',
'icon': 'add-icon',
'click': function() {
if ($(this).hasClass('action-button-disabled')) {
return false;
@@ -825,7 +825,7 @@ IPA.association_facet = function (spec) {
if (!that.read_only) {
that.remove_button = IPA.action_button({
label: IPA.messages.buttons.remove,
icon: 'ui-icon-trash',
icon: 'remove-icon',
click: function() {
that.show_remove_dialog();
return false;
@@ -834,7 +834,7 @@ IPA.association_facet = function (spec) {
that.add_button = IPA.action_button({
label: IPA.messages.buttons.enroll,
icon: 'ui-icon-plus',
icon: 'add-icon',
click: function() {
that.show_add_dialog();
return false;

View File

@@ -1,3 +1,4 @@
/* Authors:
* Pavel Zuna <pzuna@redhat.com>
* Adam Young <ayoung@redhat.com>
@@ -162,6 +163,24 @@ body {
margin: -4px 0 0 1px;
}
.input_link span.update-icon {
background: url(update-icon.png);
border: none;
margin: -4px 0 0 1px;
}
.input_link span.reset-icon {
background: url(reset-icon.png);
border: none;
margin: -4px 0 0 1px;
}
.input_link span.enroll-icon {
background: url(enroll-icon.png);
border: none;
margin: -4px 0 0 1px;
}
.ipa-icon {
font-size: 0.7em;
padding-right: 0.3em;
@@ -476,11 +495,12 @@ div.tabs {
border-left: 1px solid #c9c3ba;
border-right: 1px solid #c9c3ba;
margin: 5px 0 0;
padding: 6px 25px;
padding: 6px 16px;
text-decoration: none;
display: inline-block;
line-height: 19px;
background-image: url("facet-tab_off.png");
color: #666666;
}
.facet-tab li a:hover {
@@ -1059,6 +1079,16 @@ span.ui-icon-search {
margin-left: 7px;
}
[name="memberof_hbacrule"] {
margin-top: 30px;
margin-left: 7px;
}
[name="memberof_sudorule"] {
margin-top: 30px;
margin-left: 7px;
}
[name="memberof_permission"] {
margin-top: 30px;
margin-left: 7px;

BIN
install/ui/reset-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
install/ui/update-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB