commit/galaxy-central: jgoecks: Make toggle icons use black and white and color on hover to match other Trackster icons.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/9dbc82483bd2/ changeset: 9dbc82483bd2 user: jgoecks date: 2011-11-10 22:16:26 summary: Make toggle icons use black and white and color on hover to match other Trackster icons. affected #: 5 files diff -r 6ec2d7f4a64dcf6a1c49415bd8f40c8d4ca907c5 -r 9dbc82483bd2c72f2def795bf2a7cd5f13886a24 static/june_2007_style/base.css.tmpl --- a/static/june_2007_style/base.css.tmpl +++ b/static/june_2007_style/base.css.tmpl @@ -865,10 +865,6 @@ -sprite-group: fugue; -sprite-image: fugue/toggle-expand.png; } -.icon-button.toggle { - -sprite-group: fugue; - -sprite-image: fugue/toggle.png; -} .icon-button.toggle-contract { -sprite-group: fugue; -sprite-image: fugue/toggle.png; diff -r 6ec2d7f4a64dcf6a1c49415bd8f40c8d4ca907c5 -r 9dbc82483bd2c72f2def795bf2a7cd5f13886a24 static/june_2007_style/blue/base.css --- a/static/june_2007_style/blue/base.css +++ b/static/june_2007_style/blue/base.css @@ -151,9 +151,10 @@ .icon-button.tag{background:url(fugue.png) no-repeat 0px -0px;} .icon-button.tags{background:url(fugue.png) no-repeat 0px -26px;} .icon-button.tag--plus{background:url(fugue.png) no-repeat 0px -52px;} -.icon-button.toggle-expand{background:url(fugue.png) no-repeat 0px -78px;} -.icon-button.toggle{background:url(fugue.png) no-repeat 0px -104px;} -.icon-button.toggle-contract{background:url(fugue.png) no-repeat 0px -104px;} +.icon-button.toggle-expand{background:transparent url(../images/fugue/toggle-expand-bw.png) no-repeat;} +.icon-button.toggle-expand:hover{background:url(fugue.png) no-repeat 0px -78px;} +.icon-button.toggle-contract{background:transparent url(../images/fugue/toggle-bw.png) no-repeat;} +.icon-button.toggle-contract:hover{background:url(fugue.png) no-repeat 0px -104px;} .icon-button.arrow-circle{background:url(fugue.png) no-repeat 0px -130px;} .icon-button.chevron{background:url(fugue.png) no-repeat 0px -156px;} .icon-button.bug{background:url(fugue.png) no-repeat 0px -182px;} diff -r 6ec2d7f4a64dcf6a1c49415bd8f40c8d4ca907c5 -r 9dbc82483bd2c72f2def795bf2a7cd5f13886a24 static/june_2007_style/blue/trackster.css --- a/static/june_2007_style/blue/trackster.css +++ b/static/june_2007_style/blue/trackster.css @@ -56,7 +56,7 @@ .tool-name{font-size:110%;font-weight:bold;} .param-row{margin-top:0.2em;margin-left:1em;} .param-label{float:left;font-weight:bold;padding-top:0.2em;} -.menu-button{padding:0px 4px 0px 4px;} +.menu-button{margin:0px 4px 0px 4px;} .settings-icon{background:transparent url(../images/fugue/gear-bw.png) no-repeat;} .settings-icon:hover{background:transparent url(../images/fugue/gear.png) no-repeat;} .overview-icon{background:transparent url(../images/fugue/application-dock-270-bw.png) no-repeat;} diff -r 6ec2d7f4a64dcf6a1c49415bd8f40c8d4ca907c5 -r 9dbc82483bd2c72f2def795bf2a7cd5f13886a24 static/june_2007_style/trackster.css.tmpl --- a/static/june_2007_style/trackster.css.tmpl +++ b/static/june_2007_style/trackster.css.tmpl @@ -295,7 +295,7 @@ padding-top: 0.2em; } .menu-button { - padding: 0px 4px 0px 4px; + margin: 0px 4px 0px 4px; } .settings-icon { background: transparent url(../images/fugue/gear-bw.png) no-repeat; diff -r 6ec2d7f4a64dcf6a1c49415bd8f40c8d4ca907c5 -r 9dbc82483bd2c72f2def795bf2a7cd5f13886a24 static/scripts/trackster.js --- a/static/scripts/trackster.js +++ b/static/scripts/trackster.js @@ -2389,7 +2389,7 @@ // Track icons. this.toggle_icon = $("<a/>").attr("href", "javascript:void(0);").attr("title", "Hide/show track content") - .addClass("icon-button toggle").tipsy( {gravity: 's'} ) + .addClass("icon-button toggle-contract").tipsy( {gravity: 's'} ) .appendTo(this.icons_div); this.settings_icon = $("<a/>").attr("href", "javascript:void(0);").attr("title", "Edit settings") .addClass("icon-button settings-icon").tipsy( {gravity: 's'} ) @@ -2414,12 +2414,12 @@ // Toggle icon hides or shows the track content this.toggle_icon.click( function() { if ( track.content_visible ) { - track.toggle_icon.addClass("toggle-expand").removeClass("toggle"); + track.toggle_icon.addClass("toggle-expand").removeClass("toggle-contract"); track.hide_contents(); track.mode_div.hide(); track.content_visible = false; } else { - track.toggle_icon.addClass("toggle").removeClass("toggle-expand"); + track.toggle_icon.addClass("toggle-contract").removeClass("toggle-expand"); track.content_visible = true; track.mode_div.show(); track.show_contents(); Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket