From efe308b5ac9ac7e8d399fb880f31b6967de8fec1 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Fri, 6 Jan 2012 09:11:25 +0100 Subject: Use html5 placeholder for title text input --- view/theme/darkzero/style.css | 18 ++++++++++++++++++ view/theme/duepuntozero/jot.tpl | 25 ++++++++++--------------- view/theme/duepuntozero/style.css | 28 +++++++++++++++++----------- 3 files changed, 45 insertions(+), 26 deletions(-) (limited to 'view/theme') diff --git a/view/theme/darkzero/style.css b/view/theme/darkzero/style.css index 1aa1efe87..25ae0c71f 100644 --- a/view/theme/darkzero/style.css +++ b/view/theme/darkzero/style.css @@ -70,3 +70,21 @@ input#dfrn-url { color: #000088; } +#jot-perms-icon { + float: left; +} + + +#jot-title { + background-color: #333333; + border: 1px solid #333333; +} + +#jot-title::-webkit-input-placeholder{ color: #555555!important;} +#jot-title:-moz-placeholder{color: #555555!important;} + + +#jot-title:hover, +#jot-title:focus { + border: 1px solid #cccccc; +} diff --git a/view/theme/duepuntozero/jot.tpl b/view/theme/duepuntozero/jot.tpl index 36008c5a1..e6ea1c1bd 100644 --- a/view/theme/duepuntozero/jot.tpl +++ b/view/theme/duepuntozero/jot.tpl @@ -14,42 +14,37 @@ -
- - - -
- + {{ if $content }}{{ endif }} -