mirror of
https://github.com/wekan/wekan.git
synced 2026-03-05 13:20:15 +01:00
Click on the page to escape the last action
This is a generalization of what we had for closing a popup by clicking outside of it. It now works for inlinedForms and detailsPane as well.
This commit is contained in:
parent
12919cbfc6
commit
92dd05d06d
17 changed files with 199 additions and 145 deletions
|
|
@ -12,16 +12,15 @@
|
|||
font-size: 12px
|
||||
display: flex
|
||||
|
||||
#header-user-bar
|
||||
#header-user-bar,
|
||||
ul li
|
||||
color: darken(white, 17%)
|
||||
|
||||
a, .fa
|
||||
.fa
|
||||
color: inherit
|
||||
text-decoration: none
|
||||
|
||||
&:hover
|
||||
color: white
|
||||
a:hover, a.is-active
|
||||
color: white
|
||||
|
||||
ul
|
||||
flex: 1
|
||||
|
|
@ -76,9 +75,6 @@
|
|||
float: left
|
||||
border-radius: 3px
|
||||
|
||||
&.is-clickable
|
||||
cursor: pointer
|
||||
|
||||
.board-header-btns
|
||||
display: block
|
||||
margin-top: 3px
|
||||
|
|
|
|||
|
|
@ -18,11 +18,6 @@ function whichTransitionEvent() {
|
|||
var transitionEvent = whichTransitionEvent();
|
||||
|
||||
Popup.template.events({
|
||||
click: function(evt) {
|
||||
if (evt.originalEvent) {
|
||||
evt.originalEvent.clickInPopup = true;
|
||||
}
|
||||
},
|
||||
'click .js-back-view': function() {
|
||||
Popup.back();
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.pop-over(
|
||||
.pop-over.js-pop-over(
|
||||
class="{{#unless title}}miniprofile{{/unless}}"
|
||||
class=currentBoard.colorClass
|
||||
class="{{#unless title}}no-title{{/unless}}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue