]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Style cleanup for ostatus forms.
authorSamantha Doherty <sammy@status.net>
Fri, 26 Aug 2011 16:51:55 +0000 (12:51 -0400)
committerSamantha Doherty <sammy@status.net>
Fri, 26 Aug 2011 16:51:55 +0000 (12:51 -0400)
plugins/OStatus/theme/base/css/ostatus.css
theme/base/css/display.css
theme/neo/css/display.css

index c2d724158fdcdfb9d9ee7edf5b965ee8e6a0b167..f8d708d81f2ecf27734b7e91543033b437e0b4ed 100644 (file)
@@ -1,74 +1,39 @@
-/** 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,
-#form_ostatus_sub.dialogbox {
-width:70%;
-background-image:none;
-}
-#form_ostatus_sub.dialogbox {
-width:65%;
-}
 #form_ostatus_connect.dialogbox .form_data label,
 #form_ostatus_sub.dialogbox .form_data label {
-width:34%;
+    display: block;
+    width: 100%;
+    text-align: left;
 }
+
 #form_ostatus_connect.dialogbox .form_data input,
 #form_ostatus_sub.dialogbox .form_data input {
-width:57%;
+    width: 90%;
+    padding: 4px;
+    margin: 0;
+    background-color: #fff !important;
+    border: 1px solid #888;
 }
+
 #form_ostatus_connect.dialogbox .form_data .form_guide,
 #form_ostatus_sub.dialogbox .form_data .form_guide {
-margin-left:36%;
+    margin-left: 0;
+    background-color: #fff !important;
 }
 
 #form_ostatus_connect.dialogbox #ostatus_nickname,
 #form_ostatus_sub.dialogbox #ostatus_nickname {
-display:none;
-}
-
-#form_ostatus_connect.dialogbox .submit_dialogbox,
-#form_ostatus_sub.dialogbox .submit_dialogbox {
-min-width:96px;
-}
-
-#entity_remote_subscribe {
-padding:0;
-float:right;
-position:relative;
-}
-
-.section .entity_actions {
-margin-bottom:0;
-margin-right:7px;
-}
-
-#entity_remote_subscribe .dialogbox {
-width:405px;
+    display: none;
 }
 
-.aside #entity_subscriptions .more,
-.aside #entity_groups .more {
-float:left;
+#form_ostatus_connect.dialogbox input.submit_dialogbox,
+#form_ostatus_sub.dialogbox input.submit_dialogbox {
+    padding: 4px;
 }
 
-.section #entity_remote_subscribe {
-border:0;
+.entity_remote_tag {
+    background-position: 5px -257px;
 }
 
-.section .entity_remote_subscribe {
-color:#002FA7;
-box-shadow:none;
--moz-box-shadow:none;
--webkit-box-shadow:none;
-background-color:transparent;
-background-position:0 -1183px;
-padding:0 0 0 23px;
-border:0;
+.section .entity_remote_tag {
+    background-position: 5px -257px;
 }
index 149fb323b71734ee03841de5ed1fd20cddc3bcd7..6b7629d4aad50fb62f3b9b19e85d9831d1b1e7c5 100644 (file)
@@ -1517,48 +1517,6 @@ span.rtl {
     float: right;
 } 
 
-/* override OStatus plugin style */
-
-#form_ostatus_connect.form_settings.dialogbox, #form_ostatus_sub.dialogbox {
-    width: 76%;
-}
-
-#form_ostatus_connect.form_settings.dialogbox legend {
-    font-size: 1.4em;
-    font-weight: normal;
-    padding-bottom: 10px;    
-}
-
-#form_ostatus_connect.dialogbox .form_data label,
-#form_ostatus_sub.dialogbox .form_data label {
-    font-weight: normal;
-    font-size: 1.2em;
-    width:34%;
-}
-
-#form_ostatus_connect.dialogbox .form_data input,
-#form_ostatus_sub.dialogbox .form_data input {
-    float: right;
-    width: 52% !important;
-}
-
-#form_ostatus_connect.dialogbox .form_data .form_guide,
-#form_ostatus_sub.dialogbox .form_data .form_guide {
-    background: none !important;
-    text-align: right;
-    margin-right: 16px;
-}
-
-.section .entity_actions {
-    margin-right: 0px !important;
-}
-
-.section .entity_remote_subscribe {
-    color:#000 !important;
-    padding-left: 26px !important;
-    background-position: 4px -1183px !important;
-}
-
 #filter_tags ul li,
 .entity_send-a-message .form_notice,
 .form_settings fieldset fieldset,
@@ -1759,11 +1717,6 @@ display:block;
 text-align:left;
 width:100%;
 }
-.entity_actions a {
-text-decoration:none;
-font-weight:bold;
-display:block;
-}
 
 .entity_actions a, .entity_actions input, .entity_actions p {
     color: #333 !important;
@@ -1772,6 +1725,8 @@ display:block;
 }
 
 .entity_actions a {
+text-decoration:none;
+display:block;
     padding: 3px 4px 4px 28px;
 }
 
index f472401007a1bf9e15394c77f1bdba80d844bea4..9082687442a1925dcb05ba9001964c8406c1b7c4 100644 (file)
@@ -519,24 +519,18 @@ div.entry-content a.response:after {
     top: 46px;
 }
 
-#aside_primary #entity_remote_subscribe a:hover {
-    background-color: #fff !important;
-}
-
-#entity_remote_subscribe .dialogbox {
-    border: 1px solid #7B4E82;
-    border-radius: 8px;
-       -moz-border-radius: 8px;
-       -webkit-border-radius: 8px;
-}
-
-#entity_remote_subscribe input {
-    padding-left: 4px;
+.entity_subscribe .dialogbox, .entity_tag .dialogbox {
+    border: 1px solid #aaa;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
+    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
+    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
 }
 
-#entity_remote_subscribe .submit_dialogbox {
-    margin-top: 10px;
-    float: right;
+.entity_subscribe .dialogbox input.submit_dialogbox, .entity_tag .dialogbox input.submit_dialogbox {
+    color: #fff !important;
 }
 
 #filter_tags_item .submit {
@@ -572,7 +566,10 @@ div.entry-content a.response:after {
 }
 
 
-.form_notice input.submit, .form_settings input.submit, .form_settings input.cancel, #form_invite input.submit {
+.form_notice input.submit, .form_settings input.submit, .form_settings input.cancel, #form_invite input.submit,
+.entity_subscribe .dialogbox input.submit_dialogbox,
+.entity_tag .dialogbox input.submit_dialogbox
+ {
     height: 1.9em;
     padding: 0px 10px;
     color:#fff;
@@ -590,7 +587,10 @@ div.entry-content a.response:after {
     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9d63', endColorstr='#FB6104',GradientType=0 );
 }
 
-.form_notice input.submit:hover, .form_settings input.submit:hover, .form_settings input.cancel:hover, #form_invite input.submit:hover {
+.form_notice input.submit:hover, .form_settings input.submit:hover, .form_settings input.cancel:hover, #form_invite input.submit:hover,
+.entity_subscribe .dialogbox input.submit_dialogbox:hover,
+.entity_tag .dialogbox input.submit_dialogbox:hover
+ {
     text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6);
     background: #ff9d63;
     background: -moz-linear-gradient(top, #FB6104 , #fc8035);