change view
This commit is contained in:
parent
bf2216ea8f
commit
5b424b2a25
apps/common/main
|
@ -343,7 +343,9 @@ define([
|
||||||
me.withoutExt = true;
|
me.withoutExt = true;
|
||||||
_.delay(function(){
|
_.delay(function(){
|
||||||
me.setDocTile(name);
|
me.setDocTile(name);
|
||||||
|
me.labelDocName.select();
|
||||||
},100);
|
},100);
|
||||||
|
me.labelDocName.addClass('active-title');
|
||||||
}
|
}
|
||||||
|
|
||||||
function onDocNameKeyDown(e) {
|
function onDocNameKeyDown(e) {
|
||||||
|
@ -727,6 +729,7 @@ define([
|
||||||
me.withoutExt = false;
|
me.withoutExt = false;
|
||||||
me.setDocTile(me.documentCaption);
|
me.setDocTile(me.documentCaption);
|
||||||
}
|
}
|
||||||
|
me.labelDocName.removeClass('active-title');
|
||||||
},
|
},
|
||||||
'paste': function (e) {
|
'paste': function (e) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
|
|
@ -499,6 +499,15 @@
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 0 none;
|
border: 0 none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|
||||||
|
&:hover,&.active-title{
|
||||||
|
border: @highlight-header-button-hover solid 2px;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
&.active-title{
|
||||||
|
cursor: text;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.lr-separator {
|
.lr-separator {
|
||||||
|
@ -510,7 +519,7 @@
|
||||||
.inner-box-icon.crypted {
|
.inner-box-icon.crypted {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
margin-right: 1px;
|
||||||
> svg {
|
> svg {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
|
|
Loading…
Reference in a new issue