Skip to content

Commit

Permalink
Album: Split mode and no map
Browse files Browse the repository at this point in the history
  • Loading branch information
danactive committed Nov 29, 2014
1 parent 6752138 commit 593f227
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion js/album.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,6 @@ function displayAlbum (response) {
jQuery("#linkMap").click(function () {
xml = new Xml({"gallery": meta.gallery, "album": meta.album, "callback": displayAlbum});

$albumBox.addClass("splitMode");
jQuery("body").addClass("splitMode");
$mapBox.removeClass("hide");
});
12 changes: 5 additions & 7 deletions xslt/album.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
body { margin: 0; padding: 0; }
#albumBox, #divMapBubble, #divToolbox { font-family:verdana; font-size:11px; font-weight:bold; }
#albumBox, #divToolbox { float: left; }
#albumBox {
background-color: #323232;
width: 100%;
}
#albumBox { background-color: #323232; width: 100%; }
#albumBox > ul { list-style: none; padding-left: 2px; }
#albumBox .liAlbumPhoto {
float: left;
Expand All @@ -54,9 +51,10 @@
border: 5px solid white;
border-width: 5px 5px 20px;
}
#cboxOverlay { background-image: none; /* allows colortheif */ width: 75%; }
#mapBox { position: fixed; float: right; height: 100%; left: 75%; width: 25%; }
#albumBox.splitMode { width: 75%; }
#cboxOverlay { background-image: none; /* allows colortheif */ width: 100%; }
.splitMode #cboxOverlay { width: 75%; }
.splitMode #mapBox { position: fixed; float: right; height: 100%; left: 75%; width: 25%; }
.splitMode #albumBox { width: 75%; }
#mapBox.subtle { opacity: 0.35; }
]]>
</style>
Expand Down

0 comments on commit 593f227

Please sign in to comment.