Fix #1079 : lightbox zoom : bootstrap introduced a max-width on images

This commit is contained in:
Romain Neutron
2013-01-31 15:26:02 +01:00
parent c27f4e8604
commit d13eaad41a
4 changed files with 21 additions and 15 deletions

View File

@@ -323,6 +323,7 @@ function display_basket_element(compare, sselcont_id)
{ {
container = $('#record_main'); container = $('#record_main');
} }
$('.record_image', container).removeAttr('ondragstart');
$('.record_image', container).draggable(); $('.record_image', container).draggable();
var options_container = $('.options',container); var options_container = $('.options',container);

View File

@@ -410,6 +410,7 @@ function display_basket_element(compare, sselcont_id)
{ {
container = $('#record_main'); container = $('#record_main');
} }
$('.record_image', container).removeAttr('ondragstart');
$('.record_image', container).draggable(); $('.record_image', container).draggable();
var options_container = $('.options',container); var options_container = $('.options',container);

View File

@@ -64,6 +64,8 @@ img {
.record_display_box .record { .record_display_box .record {
position: relative; position: relative;
max-width: none;
max-height: none;
} }
.record_display_box .header .title { .record_display_box .header .title {

View File

@@ -59,8 +59,10 @@ ul{
left:0; left:0;
} }
.record_display_box .record {
max-width: none;
max-height: none;
}
.record_display_box .notes_overlay{ .record_display_box .notes_overlay{
background-color:black; background-color:black;
@@ -68,7 +70,7 @@ ul{
width:100%; width:100%;
height:100%; height:100%;
opacity:0.70; opacity:0.70;
filter:alpha(opacity=70); filter:alpha(opacity=70);
z-index:100; z-index:100;
} }
@@ -134,7 +136,7 @@ ul{
height:32px; height:32px;
text-align:center; text-align:center;
opacity:1; opacity:1;
filter:alpha(opacity=100); filter:alpha(opacity=100);
} }
#user_infos .big_box.agree{ #user_infos .big_box.agree{
@@ -230,7 +232,7 @@ li.userchoice {
.not_decided{ .not_decided{
opacity:0.30; opacity:0.30;
filter:alpha(opacity=30); filter:alpha(opacity=30);
} }
#sc_wrapper .not_decided{ #sc_wrapper .not_decided{
@@ -250,7 +252,7 @@ li.userchoice {
cursor:help; cursor:help;
position:absolute; position:absolute;
bottom:4px; bottom:4px;
right:8px; right:8px;
height:18px; height:18px;
width:18px; width:18px;
z-index:99; z-index:99;
@@ -324,9 +326,9 @@ li.userchoice {
/******* /*******
* *
* Index * Index
* *
* ******/ * ******/
#main_index{ #main_index{
@@ -410,7 +412,7 @@ table th i{
#sc_wrapper{ #sc_wrapper{
height:166px; height:166px;
} }
#sc_wrapper .thumb_wrapper{ #sc_wrapper .thumb_wrapper{
position:absolute; position:absolute;
top:28px; top:28px;
@@ -422,7 +424,7 @@ table th i{
width:100%; width:100%;
height:100%; height:100%;
opacity:0.70; opacity:0.70;
filter:alpha(opacity=70); filter:alpha(opacity=70);
z-index:100; z-index:100;
} }
@@ -525,22 +527,22 @@ hr{
} }
/* /*
* *
* Overrides JqueryUI * Overrides JqueryUI
* *
*/ */
.ui-button { .ui-button {
background:transparent; background:transparent;
border:none; border:none;
margin:0; margin:0;
padding:0; padding:0;
} }
.ui-button-text-only .ui-button-text{ .ui-button-text-only .ui-button-text{
padding:0.15em; padding:0.15em;
} }
.ui-state-default, .ui-state-default,
.ui-widget-content .ui-state-default, .ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default .ui-widget-header .ui-state-default
{ {
color:#BFBFBF; color:#BFBFBF;