diff options
author | Go MAEDA <maeda@farend.jp> | 2019-05-27 21:24:24 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-05-27 21:24:24 +0000 |
commit | 580e2f669a5d71435daf8e3a1060fbd69758289b (patch) | |
tree | a4d96102cbbd8aefdb02fd7419c7e652d9cfc5b1 /public | |
parent | 5b29b2b5d1c19181c9887beba4dee600f4a3aadf (diff) | |
download | redmine-580e2f669a5d71435daf8e3a1060fbd69758289b.tar.gz redmine-580e2f669a5d71435daf8e3a1060fbd69758289b.zip |
Use the regular "icon icon-*" classes for collapsible fields (#31433).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18204 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/application.js | 1 | ||||
-rw-r--r-- | public/stylesheets/application.css | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index def33c2d8..7829964f5 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -72,6 +72,7 @@ function toggleAllRowGroups(el) { function toggleFieldset(el) { var fieldset = $(el).parents('fieldset').first(); fieldset.toggleClass('collapsed'); + fieldset.children('legend').toggleClass('icon-expended icon-collapsed'); fieldset.children('div').toggle(); } diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index e9cf8921f..96e783df9 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -132,8 +132,7 @@ a.user.locked, a.user.locked:link, a.user.locked:visited {color: #999;} #admin-menu a {line-height:1.7em;} #admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;} -a.collapsible {padding-left: 12px; background: url(../images/arrow_down.png) no-repeat 0px 50%;} -a.collapsible.collapsed {background-image: url(../images/arrow_right.png);} +a.collapsible {padding-left: 12px; } a#toggle-completed-versions {color:#999;} @@ -519,8 +518,7 @@ div.issue.overdue .due-date .value { color: #c22; } #trackers_description dd {margin: 0; padding: 0 0 1em 0;} fieldset.collapsible {border-width: 1px 0 0 0;} -fieldset.collapsible>legend { padding-left: 18px; background: url(../images/arrow_down.png) no-repeat 4px 40%; cursor:pointer; } -fieldset.collapsible.collapsed>legend { background-image: url(../images/arrow_right.png); } +fieldset.collapsible>legend { cursor:pointer; padding-left: 18px; background-position: 4px;} fieldset#date-range p { margin: 2px 0 2px 0; } fieldset#filters table { border-collapse: collapse; } @@ -1501,6 +1499,8 @@ td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container { .icon-shared { background-image: url(../images/link.png); } .icon-actions { background-image: url(../images/3_bullets.png); } .icon-sort-handle { background-image: url(../images/reorder.png); } +.icon-expended { background-image: url(../images/arrow_down.png); } +.icon-collapsed { background-image: url(../images/arrow_right.png); } .icon-bookmark { background-image: url(../images/tag_blue_delete.png); } .icon-bookmark-off { background-image: url(../images/tag_blue_add.png); } |