diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/images/3_bullets.png | bin | 0 -> 1250 bytes | |||
-rw-r--r-- | public/javascripts/context_menu.js | 3 | ||||
-rw-r--r-- | public/stylesheets/application.css | 4 | ||||
-rw-r--r-- | public/stylesheets/responsive.css | 5 |
4 files changed, 9 insertions, 3 deletions
diff --git a/public/images/3_bullets.png b/public/images/3_bullets.png Binary files differnew file mode 100644 index 000000000..616593b2a --- /dev/null +++ b/public/images/3_bullets.png diff --git a/public/javascripts/context_menu.js b/public/javascripts/context_menu.js index cd2cf0884..9bc64b171 100644 --- a/public/javascripts/context_menu.js +++ b/public/javascripts/context_menu.js @@ -5,7 +5,7 @@ var contextMenuObserving; function contextMenuRightClick(event) { var target = $(event.target); - if (target.is('a')) {return;} + if (target.is('a:not(.js-contextmenu)')) {return;} var tr = target.closest('.hascontextmenu').first(); if (tr.length < 1) {return;} event.preventDefault(); @@ -218,6 +218,7 @@ function contextMenuInit() { if (!contextMenuObserving) { $(document).click(contextMenuClick); $(document).contextmenu(contextMenuRightClick); + $(document).on('click', '.js-contextmenu', contextMenuRightClick); contextMenuObserving = true; } } diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 35bd4ca04..fa9e44bdc 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -228,6 +228,7 @@ table.list td.checkbox { width: 15px; padding: 2px 0 0 0; } table.list td.checkbox input {padding:0px;} table.list td.buttons, div.buttons { white-space:nowrap; text-align: right; } table.list td.buttons a, div.buttons a { margin-right: 0.6em; } +table.list td.buttons a:last-child, div.buttons a:last-child { margin-right: 0; } table.list td.buttons img, div.buttons img {vertical-align:middle;} table.list td.reorder {width:15%; white-space:nowrap; text-align:center; } table.list table.progress td {padding-right:0px;} @@ -473,7 +474,7 @@ div.issue.overdue .due-date .value { color: #c22; } #issue_tree table.issues, #relations table.issues { border: 0; } #issue_tree td.checkbox, #relations td.checkbox {display:none;} -#relations td.buttons {padding:0;} +#relations td.buttons, #issue_tree td.buttons {padding:0;} fieldset.collapsible {border-width: 1px 0 0 0;} fieldset.collapsible>legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; } @@ -1308,6 +1309,7 @@ div.wiki img {vertical-align:middle; max-width:100%;} .icon-project { background-image: url(../images/projects.png); } .icon-add-bullet { background-image: url(../images/bullet_add.png); } .icon-shared { background-image: url(../images/link.png); } +.icon-actions { background-image: url(../images/3_bullets.png); } .icon-file { background-image: url(../images/files/default.png); } .icon-file.text-plain { background-image: url(../images/files/text.png); } diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css index 76e2d5945..fb156863a 100644 --- a/public/stylesheets/responsive.css +++ b/public/stylesheets/responsive.css @@ -793,11 +793,13 @@ width: 33.33%; /* three columns for all cells that are not subject */ } + #issue_tree .issues, #issue_tree .issue, #relations .issues, #relations .issue { position: relative; /* needed for .buttons positioning */ } /* positioniong of unline button */ + #issue_tree .issue > td.buttons, #relations .issue > td.buttons { text-align: right; position: absolute; @@ -806,11 +808,12 @@ padding-right: 0; } + #issue_tree .issue .buttons a, #relations .issue .buttons a { vertical-align: middle; - padding-right: 5px; } + #issue_tree .issue > td.subject, #relations .issue > td.subject { padding-right: 25px; /* this is the spaces that .buttons uses next to subject */ } |