From ffb1bb1fbbab8ac25a725c1848d2607519959130 Mon Sep 17 00:00:00 2001 From: sarven Date: Sun, 18 Jan 2009 01:14:14 +0000 Subject: notice div.entry-content notice-options styles --- theme/identica/css/display.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'theme/identica/css/display.css') diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css index 4af7cf239..9896529ab 100644 --- a/theme/identica/css/display.css +++ b/theme/identica/css/display.css @@ -180,12 +180,14 @@ background:transparent url(../images/icons/twotone/green/favourite.gif) no-repea background:transparent url(../images/icons/twotone/green/trash.gif) no-repeat 0 45%; } -div.entry-content, div.notice-options { -opacity:0.2; +opacity:0.3; font-family:sans-serif; } -div.entry-content a, + +div.entry-content { +color:#333; +} div.notice-options a, div.notice-options input { font-family:sans-serif; -- cgit v1.2.3-54-g00ecf From 245f317bbdfd10a44adedafd27a1be5b79bf7921 Mon Sep 17 00:00:00 2001 From: sarven Date: Sun, 18 Jan 2009 01:52:54 +0000 Subject: Tweaking notice div.entry-content which impacts notice-option input --- theme/base/css/display.css | 6 ++++++ theme/identica/css/display.css | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'theme/identica/css/display.css') diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 2af6cc67d..e4b83a0fa 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -752,6 +752,7 @@ font-size:0.95em; .notice .notice-options a, .notice .notice-options input { float:left; +font-size:1.025em; } #laconicat .notice div.entry-content { @@ -802,6 +803,11 @@ padding-left:2%; float:left; width:50%; position:relative; +font-size:0.95em; +} + +.notice-options a { +float:left; } .notice-options .notice_delete, .notice-options .notice_reply, diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css index 9896529ab..6880e756e 100644 --- a/theme/identica/css/display.css +++ b/theme/identica/css/display.css @@ -182,7 +182,6 @@ background:transparent url(../images/icons/twotone/green/trash.gif) no-repeat 0 div.notice-options { opacity:0.3; -font-family:sans-serif; } div.entry-content { -- cgit v1.2.3-54-g00ecf From c1a247358d08c666a838f74ca3d7a54906445746 Mon Sep 17 00:00:00 2001 From: sarven Date: Sun, 18 Jan 2009 02:34:30 +0000 Subject: Outline for notice-option anchor --- theme/base/css/display.css | 11 +++++++++-- theme/identica/css/display.css | 3 +++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'theme/identica/css/display.css') diff --git a/theme/base/css/display.css b/theme/base/css/display.css index e4b83a0fa..789eaee4c 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -162,6 +162,12 @@ margin-top:0; margin-left:0; } + +.form_settings .form_note { +-moz-border-radius:4px; +padding:0 7px; +} + /* FORM SETTINGS */ @@ -769,7 +775,7 @@ display:inline; display:none; } .notice div.entry-content .timestamp a { - +display:inline-block; } .notice div.entry-content .device dt { text-transform:lowercase; @@ -831,6 +837,7 @@ display:none; .notice-options input, .notice-options a { text-indent:-9999px; +outline:none; } .notice-options .notice_reply a, @@ -850,7 +857,7 @@ padding-left:16px; .notice-options form input.submit { cursor:pointer; -padding:2px 0 2px 17px; +padding:2px 0 2px 10px; } .notice-options .notice_delete dt, diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css index 6880e756e..d3d28001a 100644 --- a/theme/identica/css/display.css +++ b/theme/identica/css/display.css @@ -203,6 +203,9 @@ background-color:#fcfcfc; opacity:1; } +.form_settings .form_note { +background-color:#A9BF4F; +} /*END: NOTICES */ -- cgit v1.2.3-54-g00ecf From 4b1cc73a583ce8b73760f6e709c0fc794af1b471 Mon Sep 17 00:00:00 2001 From: sarven Date: Sun, 18 Jan 2009 03:12:39 +0000 Subject: Favor/Disfavor form @class Created icon, and add style JS selector change Fixed return actions --- actions/disfavor.php | 2 +- actions/favor.php | 2 +- actions/login.php | 6 +++--- js/util.js | 8 ++++---- lib/disfavorform.php | 6 +++--- lib/favorform.php | 4 ++-- theme/base/css/display.css | 10 ++++++---- theme/identica/css/display.css | 9 ++++++--- 8 files changed, 26 insertions(+), 21 deletions(-) (limited to 'theme/identica/css/display.css') diff --git a/actions/disfavor.php b/actions/disfavor.php index fc36f7c75..3e3e4a547 100644 --- a/actions/disfavor.php +++ b/actions/disfavor.php @@ -69,7 +69,7 @@ class DisfavorAction extends Action $user->blowFavesCache(); if ($this->boolean('ajax')) { - common_start_html('text/xml;charset=utf-8', true); + $this->startHTML('text/xml;charset=utf-8', true); $this->elementStart('head'); $this->element('title', null, _('Add to favorites')); $this->elementEnd('head'); diff --git a/actions/favor.php b/actions/favor.php index 8d751a7a9..afda93cff 100644 --- a/actions/favor.php +++ b/actions/favor.php @@ -68,7 +68,7 @@ class FavorAction extends Action $user->blowFavesCache(); if ($this->boolean('ajax')) { - common_start_html('text/xml;charset=utf-8', true); + $this->startHTML('text/xml;charset=utf-8', true); $this->elementStart('head'); $this->element('title', null, _('Disfavor favorite')); $this->elementEnd('head'); diff --git a/actions/login.php b/actions/login.php index c213e2ab5..4e580d360 100644 --- a/actions/login.php +++ b/actions/login.php @@ -107,13 +107,13 @@ class LoginAction extends Action function showForm($error=null) { - $this->error = $error; - $this->showPage(); + $this->error = $error; + $this->showPage(); } function title() { - return _('Login'); + return _('Login'); } function showPageNotice() diff --git a/js/util.js b/js/util.js index 6fe477075..0a03b86c2 100644 --- a/js/util.js +++ b/js/util.js @@ -81,10 +81,10 @@ $(document).ready(function(){ this.appendChild(ajax); } - $("form.favor").ajaxForm(favoptions); - $("form.disfavor").ajaxForm(disoptions); - $("form.favor").each(addAjaxHidden); - $("form.disfavor").each(addAjaxHidden); + $("form.form_favor").ajaxForm(favoptions); + $("form.form_disfavor").ajaxForm(disoptions); + $("form.form_favor").each(addAjaxHidden); + $("form.form_disfavor").each(addAjaxHidden); $("#nudge").ajaxForm ({ dataType: 'xml', beforeSubmit: function(xml) { $("form#nudge input[type=submit]").attr("disabled", "disabled"); diff --git a/lib/disfavorform.php b/lib/disfavorform.php index ffca0cd8b..d0c3b1832 100644 --- a/lib/disfavorform.php +++ b/lib/disfavorform.php @@ -88,7 +88,7 @@ class DisfavorForm extends Form function action() { - common_local_url('disfavor'); + return common_local_url('disfavor'); } /** @@ -136,7 +136,7 @@ class DisfavorForm extends Form function formClass() { - return 'disfavor'; + return 'form_disfavor'; } -} \ No newline at end of file +} diff --git a/lib/favorform.php b/lib/favorform.php index 37e13fb1c..f3a7a9756 100644 --- a/lib/favorform.php +++ b/lib/favorform.php @@ -88,7 +88,7 @@ class FavorForm extends Form function action() { - common_local_url('favor'); + return common_local_url('favor'); } /** @@ -148,6 +148,6 @@ class FavorForm extends Form function formClass() { - return 'notice_favorite'; + return 'form_favor'; } } diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 789eaee4c..9146a2bf5 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -817,11 +817,13 @@ float:left; } .notice-options .notice_delete, .notice-options .notice_reply, -.notice-options .notice_favorite { +.notice-options .form_favor, +.notice-options .form_disfavor { position:absolute; top:0; } -.notice-options .notice_favorite { +.notice-options .form_favor, +.notice-options .form_disfavor { left:0; } .notice-options .notice_reply { @@ -861,11 +863,11 @@ padding:2px 0 2px 10px; } .notice-options .notice_delete dt, -.notice-options .notice_favorite legend { +.notice-options .form_favor legend { display:none; } .notice-options .notice_delete fieldset, -.notice-options .notice_favorite fieldset { +.notice-options .form_favor fieldset { border:0; padding:0; } diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css index d3d28001a..832862551 100644 --- a/theme/identica/css/display.css +++ b/theme/identica/css/display.css @@ -62,7 +62,7 @@ border-color:#fff; background-color:rgba(255, 255, 255, 0.2); } #site_nav_local_views a:hover { -background-color:rgba(255, 255, 255, 0.7);: +background-color:rgba(255, 255, 255, 0.7); } @@ -87,7 +87,7 @@ background-image:url(../../base/images/icons/icon_atom.jpg); } #export_data li a.foaf { background-image:url(../../base/images/icons/icon_foaf.gif); -=} +} #export_data li a.export_vcard { background-image:url(../../base/images/icons/icon_vcard.gif); } @@ -173,9 +173,12 @@ background-color:transparent; .notice-options .notice_reply a { background:transparent url(../images/icons/twotone/green/reply.gif) no-repeat 0 45%; } -.notice-options form.notice_favorite input.submit { +.notice-options form.form_favor input.submit { background:transparent url(../images/icons/twotone/green/favourite.gif) no-repeat 0 45%; } +.notice-options form.form_disfavor input.submit { +background:transparent url(../images/icons/twotone/green/disfavourite.gif) no-repeat 0 45%; +} .notice-options .notice_delete a { background:transparent url(../images/icons/twotone/green/trash.gif) no-repeat 0 45%; } -- cgit v1.2.3-54-g00ecf