]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Updated Repeat notice option submit button style
authorSarven Capadisli <csarven@status.net>
Wed, 23 Dec 2009 20:59:31 +0000 (15:59 -0500)
committerSarven Capadisli <csarven@status.net>
Wed, 23 Dec 2009 20:59:31 +0000 (15:59 -0500)
js/util.js
lib/repeatform.php
theme/base/css/display.css
theme/identica/css/display.css

index 9171c1e675fae0d5363ab08c9d028cfcd162ad1d..0987c6cc03b7b12bfb48f3cc7922e04c888da104 100644 (file)
@@ -345,6 +345,7 @@ var SN = { // StatusNet
 
                 var submit = form.find('.submit').clone();
                 submit.addClass('submit_dialogbox');
+                submit.removeClass('submit');
                 form.append(submit);
 
                 $(this).hide();
index 50e5d6dbe04d19e44284f1166a0872d2ec333ad8..4f1c8aa3201d7cc44453f56c1aa2f79e541ed18e 100644 (file)
@@ -104,7 +104,7 @@ class RepeatForm extends Form
      */
     function formLegend()
     {
-        $this->out->element('legend', null, _('Repeat this notice'));
+        $this->out->element('legend', null, _('Repeat this notice?'));
     }
 
     /**
@@ -129,7 +129,7 @@ class RepeatForm extends Form
     function formActions()
     {
         $this->out->submit('repeat-submit-' . $this->notice->id,
-                           _('Repeat'), 'submit', null, _('Repeat this notice'));
+                           _('Yes'), 'submit', null, _('Repeat this notice'));
     }
 
     /**
index 9cbee32c8d460bd3d83e163f7705578dfa6ae682..810b3aa806803784bf7810d28b273f99c8061006 100644 (file)
@@ -1027,15 +1027,17 @@ display:block !important;
 margin-right:18px;
 }
 
-.form_repeat.dialogbox legend:after {
-content:'?';
-}
-.dialogbox button {
+.dialogbox button.close {
 position:absolute;
 right:3px;
 top:3px;
 }
 
+.dialogbox .submit_dialogbox {
+text-indent:0;
+font-weight:bold;
+}
+
 .notice-options {
 position:relative;
 font-size:0.95em;
index 009a726f1a753a44a5ba50a05ed77adc3ea95f41..e86ee2437f08e137daff31349d050b7def853fe1 100644 (file)
@@ -88,6 +88,7 @@ color:#FFFFFF;
 border-color:transparent;
 text-shadow:none;
 }
+.dialogbox .submit_dialogbox,
 input.submit,
 .form_notice input.submit {
 background:#AAAAAA url(../../base/images/illustrations/illu_pattern-01.png) 0 0 repeat-x;
@@ -97,9 +98,11 @@ border-color:#AAAAAA;
 border-top-color:#CCCCCC;
 border-left-color:#CCCCCC;
 }
+.dialogbox .submit_dialogbox:hover,
 input.submit:hover {
 background-position:0 -5px;
 }
+.dialogbox .submit_dialogbox:focus,
 input.submit:focus {
 background-position:0 -15px;
 box-shadow:3px 3px 3px rgba(194, 194, 194, 0.1);