fixup formatting on remotesubscribe link

darcs-hash:20080701155442-84dde-948a31801bc639a0e5d7d9c04bee1fc0b1df7667.gz
This commit is contained in:
Evan Prodromou 2008-07-01 11:54:42 -04:00
parent 6d5ccdb0b7
commit 17284239fe
2 changed files with 50 additions and 46 deletions

View File

@ -172,7 +172,8 @@ class ShowstreamAction extends StreamAction {
function show_remote_subscribe_link($profile) { function show_remote_subscribe_link($profile) {
$url = common_local_url('remotesubscribe', $url = common_local_url('remotesubscribe',
array('nickname' => $profile->nickname)); array('nickname' => $profile->nickname));
common_element('a', array('href' => $url), common_element('a', array('href' => $url,
'class' => 'remotesubscribe'),
_t('Subscribe')); _t('Subscribe'));
} }

View File

@ -24,7 +24,7 @@ a {
} }
a:hover { a:hover {
text-decoration: underline; text-decoration: underline;
} }
img, img a { img, img a {
border: 0; border: 0;
} }
@ -38,7 +38,7 @@ h1 {
padding: 0 20px; padding: 0 20px;
width: 760px; width: 760px;
background: url(bg-header.gif) repeat-x #FCFFF5; background: url(bg-header.gif) repeat-x #FCFFF5;
} }
#header { #header {
position: relative; position: relative;
margin: 0 auto; margin: 0 auto;
@ -49,7 +49,7 @@ h1 {
} }
#logo { #logo {
margin-top: 9px; margin-top: 9px;
} }
p#branding { p#branding {
margin: 0; margin: 0;
padding: 6px 0 3px 0; padding: 6px 0 3px 0;
@ -61,7 +61,7 @@ p#branding {
p#branding a { p#branding a {
color: #dab134; color: #dab134;
} }
#header h1.pagetitle { #header h1.pagetitle {
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -77,10 +77,10 @@ p#branding a {
padding: 0; padding: 0;
color: #FCFFF5; color: #FCFFF5;
} }
/* ===== Begin Navigation Styling ===== */ /* ===== Begin Navigation Styling ===== */
/* ----- Navigation ------ */ /* ----- Navigation ------ */
#nav { #nav {
float: right; float: right;
margin: 0; margin: 0;
@ -128,7 +128,7 @@ p#branding a {
} }
#nav_views li a:hover { #nav_views li a:hover {
text-decoration: none; text-decoration: none;
} }
#nav_views li.current a, #nav_views li.current a:hover { #nav_views li.current a, #nav_views li.current a:hover {
color: #3F606F; color: #3F606F;
background-color: #FCFFF5; background-color: #FCFFF5;
@ -136,14 +136,14 @@ p#branding a {
} }
#nav_views li.current a:hover { #nav_views li.current a:hover {
color: #193441; color: #193441;
} }
#nav_views li a:hover { #nav_views li a:hover {
color: #FCFFF5; color: #FCFFF5;
background-color: #3F606F; background-color: #3F606F;
border-right: 1px solid #6A8787; border-right: 1px solid #6A8787;
} }
/* ----- Nav Footer ----- */ /* ----- Nav Footer ----- */
#nav_sub { #nav_sub {
clear: both; clear: both;
margin: 18px auto 0 auto; margin: 18px auto 0 auto;
@ -161,7 +161,7 @@ p#branding a {
} }
#nav_sub li a { #nav_sub li a {
padding: 6px 24px 6px 0; padding: 6px 24px 6px 0;
} }
#nav_sub li a:hover { #nav_sub li a:hover {
text-decoration: underline; text-decoration: underline;
} }
@ -182,7 +182,7 @@ p#branding a {
#content label { #content label {
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px; font-size: 12px;
} }
.instructions, .success, .error { .instructions, .success, .error {
font-weight: normal; font-weight: normal;
margin: 36px 0 0 0; margin: 36px 0 0 0;
@ -192,16 +192,16 @@ p#branding a {
line-height: 15px; line-height: 15px;
border: 1px solid #91AA9D; border: 1px solid #91AA9D;
color: #FCFFF5; color: #FCFFF5;
} }
.success { .success {
background-color: #48705b; background-color: #48705b;
} }
.error { .error {
background-color: #ce3728; background-color: #ce3728;
} }
/* ----- Profile -----*/ /* ----- Profile -----*/
#profile { #profile {
clear: left; clear: left;
@ -224,7 +224,7 @@ p#branding a {
font-size: 11px; font-size: 11px;
text-transform: uppercase; text-transform: uppercase;
color: #91AA9D; color: #91AA9D;
} }
#profile p { #profile p {
margin: 0 10px 0 0; margin: 0 10px 0 0;
font-size: 12px; font-size: 12px;
@ -232,12 +232,12 @@ p#branding a {
} }
#profile p.location { #profile p.location {
margin: 0 10px 12px 0; margin: 0 10px 12px 0;
font-style: italic; font-style: italic;
} }
#profile p.notice_current { #profile p.notice_current {
font-size: 18px; font-size: 18px;
line-height: 21px; line-height: 21px;
} }
#profile_avatar { #profile_avatar {
float: left; float: left;
margin-right: 4px; margin-right: 4px;
@ -252,13 +252,13 @@ p#branding a {
} }
.avatar.original { .avatar.original {
margin: 0 10px 18px 0; margin: 0 10px 18px 0;
} }
a.nickname { a.nickname {
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: 12px;
padding-right: 3px; padding-right: 3px;
} }
#profile_information { #profile_information {
float: left; float: left;
position: relative; position: relative;
@ -270,7 +270,7 @@ a.nickname {
} }
.statistics h2 { .statistics h2 {
margin: 12px 0 3px 0; margin: 12px 0 3px 0;
} }
dl.statistics { dl.statistics {
margin: 0; margin: 0;
font-size: 12px; font-size: 12px;
@ -286,21 +286,21 @@ dl.statistics {
} }
.statistics dd { .statistics dd {
clear: right; clear: right;
} }
.statistics dt:after { .statistics dt:after {
content: ":"; content: ":";
} }
#subscriptions { #subscriptions {
float: left; float: left;
margin: 18px 0 30px 0; margin: 18px 0 30px 0;
} }
#subscriptions_avatars { #subscriptions_avatars {
/*float: left;*/ /*float: left;*/
margin: 6px 0 0 0; margin: 6px 0 0 0;
padding: 0; padding: 0;
list-style-type: none; list-style-type: none;
width: 270px; width: 270px;
} }
#subscriptions_avatars li .avatar.mini { #subscriptions_avatars li .avatar.mini {
float: left; float: left;
margin: 0 3px 3px 0; margin: 0 3px 3px 0;
@ -326,8 +326,8 @@ ul.subscriptions li, ul.subscribers li {
float: left; float: left;
padding: 0; padding: 0;
} }
/* ----- End Subscriptions & Subscribers -----*/ /* ----- End Subscriptions & Subscribers -----*/
#notices { #notices {
clear: both; clear: both;
margin: 0 auto; margin: 0 auto;
@ -339,7 +339,7 @@ ul.subscriptions li, ul.subscribers li {
} }
#notices a:hover { #notices a:hover {
text-decoration: underline; text-decoration: underline;
} }
.notice_single { .notice_single {
clear: both; clear: both;
display: block; display: block;
@ -353,12 +353,12 @@ ul.subscriptions li, ul.subscribers li {
} }
.notice_single:hover { .notice_single:hover {
background-color: #F3F8EA; background-color: #F3F8EA;
} }
.notice_single p { .notice_single p {
display: inline; display: inline;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
.avatar { .avatar {
float: left; float: left;
margin: 0 10px 0 0; margin: 0 10px 0 0;
@ -372,7 +372,7 @@ p.time {
} }
p.time a { p.time a {
color: #91AA9D; color: #91AA9D;
} }
#pagination { #pagination {
margin: 18px auto; margin: 18px auto;
@ -393,7 +393,7 @@ p.time a {
} }
#nav_pagination li.before { #nav_pagination li.before {
margin-right: 1px; margin-right: 1px;
} }
#nav_pagination li a { #nav_pagination li a {
padding: 6px 15px; padding: 6px 15px;
line-height: 21px; line-height: 21px;
@ -405,7 +405,7 @@ p.time a {
color: #FCFFF5; color: #FCFFF5;
text-decoration: none; text-decoration: none;
} }
#footer { #footer {
clear: both; clear: both;
margin: 0 auto; margin: 0 auto;
@ -415,7 +415,7 @@ p.time a {
} }
#footer p { #footer p {
margin-top: 9px; margin-top: 9px;
} }
#cc { #cc {
float: left; float: left;
margin: 3px 10px 0 0; margin: 3px 10px 0 0;
@ -431,7 +431,7 @@ form {
form { form {
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px; font-size: 12px;
} }
form label { form label {
display: block; display: block;
font-size: 12px; font-size: 12px;
@ -464,7 +464,7 @@ textarea, input {
} }
textarea:focus, input:focus { textarea:focus, input:focus {
background-color: #f0f6eb; background-color: #f0f6eb;
} }
textarea { textarea {
width: 270px; width: 270px;
border: 1px solid #D8E2D7; border: 1px solid #D8E2D7;
@ -475,8 +475,8 @@ textarea {
line-height: 21px; line-height: 21px;
color: #91aa9d; color: #91aa9d;
font-family: Verdana, Arial, Helvetica, sans-serif; font-family: Verdana, Arial, Helvetica, sans-serif;
} }
/* ----- Status Form ----- */ /* ----- Status Form ----- */
#status_form { #status_form {
height: 96px; height: 96px;
@ -485,7 +485,7 @@ textarea {
#status_form p { #status_form p {
margin: 36px 0 0 0; margin: 36px 0 0 0;
padding: 0; padding: 0;
} }
#status_label { #status_label {
display: block; display: block;
clear: both; clear: both;
@ -524,7 +524,7 @@ textarea {
#status_submit:hover { #status_submit:hover {
background-color: #904632; background-color: #904632;
} }
/* ----- Subscribe Form ----- */ /* ----- Subscribe Form ----- */
#subscribe .submit, #unsubscribe .submit, #remotesubscribe .button { #subscribe .submit, #unsubscribe .submit, #remotesubscribe .button {
margin: 0; margin: 0;
@ -537,7 +537,7 @@ textarea {
background-color: #c15d42; background-color: #c15d42;
color: #fcfff5; color: #fcfff5;
border: 0; border: 0;
} }
#subscribe .button:hover, #unsubscribe .button:hover { #subscribe .button:hover, #unsubscribe .button:hover {
background-color: #904632; background-color: #904632;
cursor: pointer; cursor: pointer;
@ -547,7 +547,11 @@ input#profile_url {
padding: 3px; padding: 3px;
margin: 0 0 10px 0; margin: 0 0 10px 0;
} }
/* ----- Login Form -----*/ a#remotesubscribe {
display: block;
}
/* ----- Login Form -----*/
input#license { input#license {
width: auto; width: auto;
} }
@ -567,4 +571,3 @@ input#openid_url {
} }
/* ===== End Forms Styling ===== */ /* ===== End Forms Styling ===== */