]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Updated button.close styles
authorSarven Capadisli <csarven@status.net>
Sun, 1 Nov 2009 19:53:25 +0000 (20:53 +0100)
committerSarven Capadisli <csarven@status.net>
Sun, 1 Nov 2009 19:53:25 +0000 (20:53 +0100)
js/util.js
theme/base/css/display.css
theme/default/css/display.css
theme/identica/css/display.css

index c5d03ce11796c790e053cb4a4ff6c387e122f6e4..210459844511cb6ec41c592abd3af59fac4b8680 100644 (file)
@@ -310,7 +310,7 @@ var SN = { // StatusNet
                 imgLoading : $('address .url')[0].href+'theme/base/images/illustrations/illu_progress_loading-01.gif',
                 bgClickToClose : true,
                 success : function() {
-                    $('#jOverlayContent').append('<button>&#215;</button>');
+                    $('#jOverlayContent').append('<button class="close">&#215;</button>');
                     $('#jOverlayContent button').click($.closeOverlay);
                 },
                 timeout : 0,
@@ -352,7 +352,7 @@ var SN = { // StatusNet
         NoticeDataAttach: function() {
             NDA = $('#'+SN.C.S.NoticeDataAttach);
             NDA.change(function() {
-                S = '<div id="'+SN.C.S.NoticeDataAttachSelected+'" class="'+SN.C.S.Success+'"><code>'+$(this).val()+'</code> <button>&#215;</button></div>';
+                S = '<div id="'+SN.C.S.NoticeDataAttachSelected+'" class="'+SN.C.S.Success+'"><code>'+$(this).val()+'</code> <button class="close">&#215;</button></div>';
                 NDAS = $('#'+SN.C.S.NoticeDataAttachSelected);
                 (NDAS.length > 0) ? NDAS.replaceWith(S) : $('#'+SN.C.S.FormNotice).append(S);
                 $('#'+SN.C.S.NoticeDataAttachSelected+' button').click(function(){
@@ -372,7 +372,7 @@ var SN = { // StatusNet
                         $('.entity_send-a-message').append(document._importNode($('form', data).get(0), true));
                         NDMF = $('.entity_send-a-message .form_notice');
                         SN.U.FormNoticeEnhancements(NDMF);
-                        NDMF.append('<button>&#215;</button>');
+                        NDMF.append('<button class="close">&#215;</button>');
                         $('.entity_send-a-message button').click(function(){
                             NDMF.hide();
                             return false;
index 1e6cd085a60eff3ef03bf89835b798c2be786085..fb630d58a6e26cd44e1afbb4c9502f91cd668eb5 100644 (file)
@@ -533,6 +533,16 @@ float:right;
 font-size:0.8em;
 }
 
+button.close {
+width:16px;
+height:16px;
+text-indent:-9999px;
+padding:0;
+border:0;
+text-align:center;
+font-weight:bold;
+}
+
 /* entity_profile */
 .entity_profile {
 position:relative;
@@ -1025,11 +1035,6 @@ margin-bottom:11px;
 position:absolute;
 top:0;
 right:0;
-width:29px;
-height:29px;
-text-align:center;
-font-weight:bold;
-padding:0;
 }
 #jOverlayContent h1 {
 max-width:425px;
index 89f682d732c002a6cd1508cd4563724579e58bba..40fdb255b92db46135de21114216f54ded7776b3 100644 (file)
@@ -166,6 +166,13 @@ background-color:#F7E8E8;
 background-color:#EFF3DC;
 }
 
+button.close {
+background-image:url(../../base/images/icons/twotone/green/x.gif);
+background-repeat:no-repeat;
+background-position:0 47%;
+background-color:transparent;
+}
+
 #anon_notice {
 background-color:#87B4C8;
 color:#FFFFFF;
index ec869212df819a913649a1b61680763e59db9da1..3b59652c41696bbf4c21f23737fa22a8d72cc90e 100644 (file)
@@ -166,6 +166,13 @@ background-color:#F7E8E8;
 background-color:#EFF3DC;
 }
 
+button.close {
+background-image:url(../../base/images/icons/twotone/green/x.gif);
+background-repeat:no-repeat;
+background-position:0 47%;
+background-color:transparent;
+}
+
 #anon_notice {
 background-color:#87B4C8;
 color:#FFFFFF;