mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
quattro: more on editor
This commit is contained in:
parent
2a3f94e452
commit
f3b499f119
4 changed files with 67 additions and 5 deletions
|
@ -862,7 +862,8 @@ function status_editor($a,$x, $notes_cid = 0) {
|
|||
'$audio' => t('Insert audio link'),
|
||||
'$setloc' => t('Set your location'),
|
||||
'$noloc' => t('Clear browser location'),
|
||||
'$title' => t('Set title'),
|
||||
'$title' => "",
|
||||
'$placeholdertitle' => t('Set title'),
|
||||
'$wait' => t('Please wait'),
|
||||
'$permset' => t('Permission settings'),
|
||||
'$ptyp' => (($notes_cid) ? 'note' : 'wall'),
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<form action="$action" method="post">
|
||||
<div id="jot">
|
||||
<div id="profile-jot-desc" > </div>
|
||||
<input name="title" id="jot-title" type="text" placeholder="$titleplaceholder" value="$title" class="jothidden" style="display:none">
|
||||
<div id="character-counter" class="grey"></div>
|
||||
<div id="profile-jot-desc" class="jothidden" > </div>
|
||||
<input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none">
|
||||
<div id="character-counter" class="grey jothidden"></div>
|
||||
|
||||
<input type="hidden" name="type" value="$ptyp" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
|
|
|
@ -34,6 +34,7 @@ h4 { font-size: 1.1em }
|
|||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
|
||||
a, a:link { color: @Link; text-decoration: none; }
|
||||
a:visited { color: @LinkVisited; text-decoration: none; }
|
||||
a:hover {color: @LinkHover; text-decoration: underline; }
|
||||
|
@ -461,7 +462,7 @@ section {
|
|||
}
|
||||
|
||||
/* editor */
|
||||
|
||||
.jothidden { display: none; }
|
||||
#jot {
|
||||
|
||||
width: 100%;
|
||||
|
@ -536,6 +537,35 @@ section {
|
|||
}
|
||||
}
|
||||
|
||||
#jot-title {
|
||||
border: 0px;
|
||||
margin: 0px;
|
||||
height: 20px;
|
||||
width: 700px;
|
||||
font-weight: bold;
|
||||
border: 1px solid @BodyBackground;
|
||||
|
||||
&:-webkit-input-placeholder {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
&:-moz-placeholder {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
&:hover { border: 1px solid @CommentBoxEmptyBorderColor }
|
||||
&:focus { border: 1px solid @CommentBoxEmptyBorderColor }
|
||||
}
|
||||
|
||||
#character-counter {
|
||||
width: 80px;
|
||||
float: right;
|
||||
text-align: right;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -787,6 +787,9 @@ section {
|
|||
color: #ffffff;
|
||||
}
|
||||
/* editor */
|
||||
.jothidden {
|
||||
display: none;
|
||||
}
|
||||
#jot {
|
||||
width: 100%;
|
||||
margin: 0px 2em 20px 0px;
|
||||
|
@ -863,6 +866,34 @@ section {
|
|||
background-color: #bdcdd4;
|
||||
color: #666666;
|
||||
}
|
||||
#jot #jot-title {
|
||||
border: 0px;
|
||||
margin: 0px;
|
||||
height: 20px;
|
||||
width: 700px;
|
||||
font-weight: bold;
|
||||
border: 1px solid #ffffff;
|
||||
}
|
||||
#jot #jot-title:-webkit-input-placeholder {
|
||||
font-weight: normal;
|
||||
}
|
||||
#jot #jot-title:-moz-placeholder {
|
||||
font-weight: normal;
|
||||
}
|
||||
#jot #jot-title:hover {
|
||||
border: 1px solid #999999;
|
||||
}
|
||||
#jot #jot-title:focus {
|
||||
border: 1px solid #999999;
|
||||
}
|
||||
#jot #character-counter {
|
||||
width: 80px;
|
||||
float: right;
|
||||
text-align: right;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
/** buttons **/
|
||||
/*input[type="submit"] {
|
||||
border: 0px;
|
||||
|
|
Loading…
Reference in a new issue