From: Sarven Capadisli Date: Sat, 31 Oct 2009 16:25:41 +0000 (+0100) Subject: Updated form_notice styles. .form_notice applies to both noticeform X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d42ef1112338be06d0549adbc0b8f2ad42dcba2f;p=quix0rs-gnu-social.git Updated form_notice styles. .form_notice applies to both noticeform (form_notice) and messageform (form_notice-direct) --- diff --git a/theme/base/css/display.css b/theme/base/css/display.css index db6b08e632..8355a0a5cc 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -432,21 +432,21 @@ border-width:1px; border-style:solid; } -#form_notice { +.form_notice { width:45%; float:left; position:relative; line-height:1; } -#form_notice fieldset { +.form_notice fieldset { border:0; padding:0; position:relative; } -#form_notice legend { +.form_notice legend { display:none; } -#form_notice textarea { +.form_notice textarea { float:left; border-radius:7px; -moz-border-radius:7px; @@ -458,44 +458,44 @@ padding:7px 7px 16px 7px; position:relative; z-index:2; } -#form_notice label { +.form_notice label { display:block; float:left; font-size:1.3em; margin-bottom:7px; } -#form_notice label[for=notice_data-attach], -#form_notice #notice_data-attach { +.form_notice label[for=notice_data-attach], +.form_notice #notice_data-attach { position:absolute; top:25px; right:10.5%; cursor:pointer; } -#form_notice label[for=notice_data-attach] { +.form_notice label[for=notice_data-attach] { text-indent:-9999px; width:16px; height:16px; } -#form_notice #notice_data-attach { +.form_notice #notice_data-attach { padding:0; height:16px; } -#form_notice .form_note { +.form_notice .form_note { position:absolute; bottom:2px; right:21.715%; z-index:9; } -#form_notice .form_note dt { +.form_notice .form_note dt { font-weight:bold; display:none; } -#notice_text-count { +.form_notice #notice_text-count { font-weight:bold; line-height:1.15; padding:1px 2px; } -#form_notice #notice_action-submit { +.form_notice #notice_action-submit { width:14%; height:47px; padding:0; @@ -503,24 +503,24 @@ position:absolute; bottom:0; right:0; } -#form_notice label[for=to] { +.form_notice label[for=to] { margin-top:7px; } -#form_notice select[id=to] { +.form_notice select[id=to] { margin-bottom:7px; margin-left:18px; float:left; max-width:322px; } -#form_notice .error, -#form_notice .success { +.form_notice .error, +.form_notice .success { float:left; clear:both; width:81.5%; margin-bottom:0; line-height:1.618; } -#form_notice #notice_data-attach_selected code { +.form_notice #notice_data-attach_selected code { float:left; width:90%; display:block; @@ -528,7 +528,7 @@ font-size:1.1em; line-height:1.8; overflow:auto; } -#form_notice #notice_data-attach_selected button { +.form_notice #notice_data-attach_selected button { float:right; font-size:0.8em; } @@ -677,7 +677,7 @@ top:0; right:0; } -.entity_send-a-message #form_notice { +.entity_send-a-message .form_notice { position:absolute; top:34px; right:-1px; @@ -690,16 +690,16 @@ border:1px solid #CCCCCC; -moz-box-shadow:3px 7px 5px rgba(194, 194, 194, 0.7); -moz-border-radius:7px; } -.entity_send-a-message #form_notice legend { +.entity_send-a-message .form_notice legend { display:block; margin-bottom:11px; } -.entity_send-a-message #form_notice label, -.entity_send-a-message #form_notice select { +.entity_send-a-message .form_notice label, +.entity_send-a-message .form_notice select { display:none; } -.entity_send-a-message input.submit { +.entity_send-a-message .form_notice input.submit { text-align:center; } @@ -1333,7 +1333,7 @@ clear:both; #bookmarklet address { display:none; } -#bookmarklet #form_notice { +#bookmarklet .form_notice { width:auto; } #bookmarklet #wrap { diff --git a/theme/base/css/ie.css b/theme/base/css/ie.css index 3e128b84ed..84bc1b1d64 100644 --- a/theme/base/css/ie.css +++ b/theme/base/css/ie.css @@ -3,10 +3,10 @@ input.checkbox, input.radio { top:0; } -#form_notice textarea { +.form_notice textarea { width:78%; } -#form_notice .form_note + label { +.form_notice .form_note + label { position:absolute; top:25px; left:83%; @@ -15,14 +15,14 @@ height:16px; width:16px; display:block; } -#form_notice #notice_action-submit { +.form_notice #notice_action-submit { width:17%; max-width:17%; } -#form_notice #notice_data-attach_selected { +.form_notice #notice_data-attach_selected { width:78.5%; } -#form_notice #notice_data-attach_selected button { +.form_notice #notice_data-attach_selected button { padding:0 4px; } .notice-options input.submit { diff --git a/theme/default/css/display.css b/theme/default/css/display.css index a5f1fd6e47..5eff5842a7 100644 --- a/theme/default/css/display.css +++ b/theme/default/css/display.css @@ -37,14 +37,14 @@ background:none; } input.submit, -#form_notice.warning #notice_text-count, +.form_notice.warning #notice_text-count, .form_settings .form_note, .entity_remote_subscribe { background-color:#9BB43E; } input:focus, textarea:focus, select:focus, -#form_notice.warning #notice_data-text { +.form_notice.warning #notice_data-text { border-color:#9BB43E; box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3); -moz-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3); @@ -84,13 +84,13 @@ background-color:#C8D1D5; #notice_text-count { color:#333333; } -#form_notice.warning #notice_text-count { +.form_notice.warning #notice_text-count { color:#000000; } -#form_notice label[for=notice_data-attach] { +.form_notice label[for=notice_data-attach] { background:transparent url(../../base/images/icons/icons-01.png) no-repeat 0 -328px; } -#form_notice #notice_data-attach { +.form_notice #notice_data-attach { opacity:0; } diff --git a/theme/default/css/ie.css b/theme/default/css/ie.css index cbbd49ce6c..a0d3cd6825 100644 --- a/theme/default/css/ie.css +++ b/theme/default/css/ie.css @@ -6,9 +6,9 @@ color:#FFFFFF; #site_nav_local_views a { background-color:#C8D1D5; } -#form_notice .form_note + label { +.form_notice .form_note + label { background:transparent url(../../base/images/icons/twotone/green/clip-01.gif) no-repeat 0 45%; } -#form_notice #notice_data-attach { +.form_notice #notice_data-attach { filter: alpha(opacity=0); } diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css index 6339c9314e..8aedd5144d 100644 --- a/theme/identica/css/display.css +++ b/theme/identica/css/display.css @@ -37,14 +37,14 @@ background:none; } input.submit, -#form_notice.warning #notice_text-count, +.form_notice.warning #notice_text-count, .form_settings .form_note, .entity_remote_subscribe { background-color:#9BB43E; } input:focus, textarea:focus, select:focus, -#form_notice.warning #notice_data-text { +.form_notice.warning #notice_data-text { border-color:#9BB43E; box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3); -moz-box-shadow:3px 3px 3px rgba(194, 194, 194, 0.3); @@ -84,13 +84,13 @@ background-color:#CEE1E9; #notice_text-count { color:#333333; } -#form_notice.warning #notice_text-count { +.form_notice.warning #notice_text-count { color:#000000; } -#form_notice label[for=notice_data-attach] { +.form_notice label[for=notice_data-attach] { background:transparent url(../../base/images/icons/icons-01.png) no-repeat 0 -328px; } -#form_notice #notice_data-attach { +.form_notice #notice_data-attach { opacity:0; } diff --git a/theme/identica/css/ie.css b/theme/identica/css/ie.css index 044c32ff16..9ede1e324b 100644 --- a/theme/identica/css/ie.css +++ b/theme/identica/css/ie.css @@ -6,10 +6,10 @@ color:#FFFFFF; #site_nav_local_views a { background-color:#D9DADB; } -#form_notice .form_note + label { +.form_notice .form_note + label { background:transparent url(../../base/images/icons/icons-01.png) no-repeat 0 -328px; } -#form_notice #notice_data-attach { +.form_notice #notice_data-attach { filter: alpha(opacity=0); } .notice-options form.form_favor input.submit {