From 2fe3cd72bf8b12c910422b2978233ebb3c00cfc8 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 5 Mar 2013 12:30:39 -0800 Subject: [PATCH] Fix thumb selection style Summary: I broke the code which shows which thumb is currently selected when I made the URLs fancy, by changing the container from `div` to `a`. Test Plan: Verified current thumb is now highlighted. Reviewers: chad Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D5231 --- src/__celerity_resource_map__.php | 4 ++-- webroot/rsrc/css/application/pholio/pholio.css | 2 +- .../rsrc/js/application/pholio/behavior-pholio-mock-view.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index 803dd565a3..8369c50e2c 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -1891,7 +1891,7 @@ celerity_register_resource_map(array( ), 'javelin-behavior-pholio-mock-view' => array( - 'uri' => '/res/c320fd85/rsrc/js/application/pholio/behavior-pholio-mock-view.js', + 'uri' => '/res/59c4d3ae/rsrc/js/application/pholio/behavior-pholio-mock-view.js', 'type' => 'js', 'requires' => array( @@ -3239,7 +3239,7 @@ celerity_register_resource_map(array( ), 'pholio-css' => array( - 'uri' => '/res/580babaa/rsrc/css/application/pholio/pholio.css', + 'uri' => '/res/8883529b/rsrc/css/application/pholio/pholio.css', 'type' => 'css', 'requires' => array( diff --git a/webroot/rsrc/css/application/pholio/pholio.css b/webroot/rsrc/css/application/pholio/pholio.css index 4fccef41a4..205a001a73 100644 --- a/webroot/rsrc/css/application/pholio/pholio.css +++ b/webroot/rsrc/css/application/pholio/pholio.css @@ -30,7 +30,7 @@ } .device-desktop .pholio-mock-carousel-thumb-item:hover, - .pholio-mock-carousel-thumb-current { +.pholio-mock-carousel-thumb-current { background: #383838; border-color: #686868; } diff --git a/webroot/rsrc/js/application/pholio/behavior-pholio-mock-view.js b/webroot/rsrc/js/application/pholio/behavior-pholio-mock-view.js index 9a1cfe8530..e4c1564937 100644 --- a/webroot/rsrc/js/application/pholio/behavior-pholio-mock-view.js +++ b/webroot/rsrc/js/application/pholio/behavior-pholio-mock-view.js @@ -213,7 +213,7 @@ JX.behavior('pholio-mock-view', function(config) { var thumbs = JX.DOM.scry( JX.$('pholio-mock-carousel'), - 'div', + 'a', 'mock-thumbnail'); for(var k in thumbs) {