]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added dialogbox styles for OStatus subscribe form
authorSarven Capadisli <csarven@status.net>
Sat, 13 Feb 2010 18:07:21 +0000 (19:07 +0100)
committerSarven Capadisli <csarven@status.net>
Sat, 13 Feb 2010 18:07:21 +0000 (19:07 +0100)
plugins/OStatus/OStatusPlugin.php
plugins/OStatus/theme/base/css/ostatus.css [new file with mode: 0644]

index 0e05a75cdb3e5968d9ab0c896fddefdfd0ae00d8..e84d68504313faf384fdbedc43e26b68a7be0155 100644 (file)
@@ -274,4 +274,9 @@ class OStatusPlugin extends Plugin
         $schema->ensureTable('hubsub', HubSub::schemaDef());
         return true;
     }
+
+    function onEndShowStatusNetStyles($action) {
+        $action->cssLink(common_path('plugins/OStatus/theme/base/css/ostatus.css'));
+        return true;
+    }
 }
diff --git a/plugins/OStatus/theme/base/css/ostatus.css b/plugins/OStatus/theme/base/css/ostatus.css
new file mode 100644 (file)
index 0000000..9bc90a7
--- /dev/null
@@ -0,0 +1,30 @@
+/** theme: base for OStatus
+ *
+ * @package   StatusNet
+ * @author    Sarven Capadisli <csarven@status.net>
+ * @copyright 2010 StatusNet, Inc.
+ * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
+ * @link      http://status.net/
+ */
+
+#form_ostatus_connect.dialogbox {
+width:70%;
+background-image:none;
+}
+#form_ostatus_connect.dialogbox .form_data label {
+width:34%;
+}
+#form_ostatus_connect.dialogbox .form_data input {
+width:57%;
+}
+#form_ostatus_connect.dialogbox .form_data .form_guide {
+margin-left:36%;
+}
+
+#form_ostatus_connect.dialogbox #ostatus_nickname {
+display:none;
+}
+
+#form_ostatus_connect.dialogbox .submit_dialogbox  {
+min-width:96px;
+}