[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Freeipa-devel] [PATCH] 0010-Facet-icon-swap-and-tab-sizing



Minor tweaks to the sizing of the facet tabs as well as new icons under the facets. Attached a screen shot of 0009 and 0010 results. The same screen shot is attached in 0009 as well.

Kyle Baker
Visual Designer
Desk - 978 392 3116
IRC - kylebaker

From 8c36a263d91c272d9e7dc200720836332f698a1f Mon Sep 17 00:00:00 2001
From: kylebaker <kylebaker dhcp-100-2-212 bos redhat com>
Date: Tue, 21 Jun 2011 11:58:26 -0400
Subject: [PATCH 2/2] Facet icon swap and tab sizing

---
 install/ui/association.js  |    8 ++++----
 install/ui/ipa.css         |   32 +++++++++++++++++++++++++++++++-
 install/ui/reset-icon.png  |  Bin 0 -> 1080 bytes
 install/ui/update-icon.png |  Bin 0 -> 1101 bytes
 4 files changed, 35 insertions(+), 5 deletions(-)
 create mode 100644 install/ui/reset-icon.png
 create mode 100644 install/ui/update-icon.png

diff --git a/install/ui/association.js b/install/ui/association.js
index 883bb2b..4374500 100644
--- a/install/ui/association.js
+++ b/install/ui/association.js
@@ -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;
diff --git a/install/ui/ipa.css b/install/ui/ipa.css
index 7baa183..af27ed5 100644
--- a/install/ui/ipa.css
+++ b/install/ui/ipa.css
@@ -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;
diff --git a/install/ui/reset-icon.png b/install/ui/reset-icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..3bf67a08e003375db2b6d3c3f351275915ffc51a
GIT binary patch
literal 1080
zcmaJ=O-K|`93NfL^$QF=WQTf;hz0J>%&xoZ4sPo1?6wPz$hwdPMYA(cchdQA=Gl%5
z!75}3UW!hE5G5W&q7Fe4ksX3O1WI(NOLPk=BS9)8d$YP*hqi$? BJUY-|zqV=7$E)
zG}axfBM71~5$BS4Z?c!O8vjr1><f5nMbQy7tc{|qU_hc@($Wwl6k!Y|p&(69ZonRb
zaFB9p1dZ?mtf(n&!N#~PMaOJ{=;^g|K^%t&q~VyXhRE$F&qyFkA Zz`r+GaBGjcp<
zz~S6rO3aOmL5b`=4SFmV3n&l?z)~huleI!*L6^m6`<fy_0fNRu<Uvp){1Av}1_VAg
z?GkA}4g8Fo pc6QfllC|8JeO!6ytF*0oLnbX&M}UB=%-Vqim9k9s0snh|D0QvlNxh
zX5Cq TQkNeCKwFb8Xk`eBV6XRiUiB0nr%e|4w|AN>qypAU Hn~Z3=}*9O*#{ie8dc
z&BHR`f>D;BQ;eIoQz`;^{{K)#DWOf2gn#1wr?8ot)*+RIrZ#1WxN)Oxwkw^D7*If(
zk<zq Vikun8q&;+rh~|^5AcF0tF~Rh^E{hSO(duyOmHC*E4XD Vx!#=4-@pqf?eJi
z!$j#|q~8~2e4enMiE?2dSLAY<IHf=p6}eK08=%W_?NLy4?3sgxd<9A|LsLK WmYa9
z3s+X}kSmpq#UCxprEoBm-PpexUA)56V;@Uni;dFYLlsZEfydf<bmKaH5~~TWKV`j5
z 9ppRI@<H|GvW10a`*GQ4r1x&O!rLuYJL9k=ElZHM|~>a ~R<zx%u2?RpsL1V&MJj
zwe0pq2bem((s87{!70zJto6O=TN><a`szJ7x9fOVvH4 cx<E97)!Q QEB(HOJGYzz
zH9K2(w~nk-EVquICzc&nXG^%b#&N2)_Df|f7MuN5v*tWnJ@@h(csfw^Vb5_h`yh91
ea }m}%U2MIp3tWk&-HuuTTVm=x%=Tuv%dk<&Rx|2

literal 0
HcmV?d00001

diff --git a/install/ui/update-icon.png b/install/ui/update-icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..678143713c396fb1c4ec63cf7294f333c1292e53
GIT binary patch
literal 1101
zcmaJ=TSyd97 iPn+p-J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[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]