Skip to content
Browse files

new bottombar design

  • Loading branch information...
1 parent 056fde6 commit feca2e6468b33ae3bad339ebb213f1f5ccf81646 Wojciech Ryrych committed
Showing with 39 additions and 4 deletions.
  1. +25 −2 widget/css/lightbox.css
  2. +14 −2 widget/lib/jquery.ui.rlightbox.js
View
27 widget/css/lightbox.css
@@ -97,6 +97,12 @@
padding: 0;
}
+#ui-lightbox-bottombar-bottom {
+ margin: 0;
+ padding: 0;
+ text-indent: 0;
+}
+
#ui-lightbox-title-wrapper {
font-size: 14px;
height: 20px;
@@ -107,16 +113,33 @@
#ui-lightbox-counter {
font-size: 9px;
line-height: 20px;
- text-indent: 0;
+}
+
+#ui-lightbox-separator {
+ padding: 0 2px;
+}
+
+#ui-lightbox-button-prev, #ui-lightbox-button-next, #ui-lightbox-button-play {
+ display: inline-block;
+ line-height: 20px;
+ vertical-align: middle;
}
#ui-lightbox-button-close {
- cursor: pointer;
position: absolute;
top: 17px;
right: 5px;
}
+.ui-lightbox-button {
+ cursor: pointer;
+}
+
+.ui-lightbox-button.ui-state-highlight {
+ border-style: none;
+ background: none;
+}
+
#ui-lightbox-map {
background-color: black;
border: 1px solid white;
View
16 widget/lib/jquery.ui.rlightbox.js
@@ -1937,8 +1937,20 @@ $.extend($.ui.rlightbox, {
"<p id='ui-lightbox-title-wrapper'>" +
"<span id='ui-lightbox-title'></span>" +
"</p>" +
- "<p id='ui-lightbox-counter'></p>" +
- "<a id='ui-lightbox-button-close'>" +
+ "<p id='ui-lightbox-bottombar-bottom'>" +
+ "<a id='ui-lightbox-button-prev' class='ui-lightbox-button'>" +
+ "<span class='ui-icon ui-icon-circle-arrow-w'>prev</span>" +
+ "</a>" +
+ "<span id='ui-lightbox-counter'></span>" +
+ "<a id='ui-lightbox-button-next' class='ui-lightbox-button'>" +
+ "<span class='ui-icon ui-icon-circle-arrow-e'>next</span>" +
+ "</a>" +
+ "<span id='ui-lightbox-separator'>|</span>" +
+ "<a id='ui-lightbox-button-play' class='ui-lightbox-button'>" +
+ "<span class='ui-icon ui-icon-circle-triangle-e'>play</span>" +
+ "</a>" +
+ "</p>" +
+ "<a id='ui-lightbox-button-close' class='ui-lightbox-button'>" +
"<span class='ui-icon ui-icon-closethick'>close</span>" +
"</a>" +
"</div>" +

0 comments on commit feca2e6

Please sign in to comment.
Something went wrong with that request. Please try again.