PHRAS-934 - fix download modal in lightbox

This commit is contained in:
Florian BLOUET
2016-02-08 14:34:49 +01:00
parent 9211ce7b18
commit 5c21e51c34
3 changed files with 1326 additions and 147 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,194 @@
$imagesPath: '/assets/vendors/jquery-ui/images/dark-hive/';
$uiTextContentColor: #ffffff !default;
$uiTextTitleColor: #333333 !default;
$uiLinkColor: #ffffff !default;
$uiLinkFocusColor: #c77405 !default;
$uiLinkActiveColor: #eb8f00 !default;
$defaultBorderColor: #303030;
$defaultBorderRadius: 2px;
$darkBackgroundColor: #292929;
$darkBorderColor: #303030;
$darkTextColor: #A6A6A6;
$mediumBackgroundColor: #3b3b3b;
$mediumBackgroundHoverColor: #666666;
$mediumBorderColor: #303030; //#404040; //
$mediumBorderHighlightColor: #666666;
$mediumTextColor: #a1a1a1;
$mediumTextHoverColor: #EAEAEA;
$mediumTextActiveColor: #EAEAEA;
@import './shared';
.ui-widget-content {
//border: 1px solid #555555;
background-color: #212121; // url('#{$imagesPath}ui-bg_loop_25_000000_21x21.png') 50% 50% repeat;
color: $uiTextContentColor;
}
.ui-widget-content a {
color: $uiLinkColor;
}
.ui-widget-header {
color: $uiLinkColor;
font-weight: bold;
}
.ui-widget-header a {
color: $uiLinkColor;
}
/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
border: 1px solid $darkBackgroundColor;
background: $darkBackgroundColor;
font-weight: normal;
color: #eeeeee;
}
.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited {
color: #eeeeee;
text-decoration: none;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
border: 1px solid $mediumBackgroundColor;
background: $mediumBackgroundColor;
font-weight: normal;
color: #ffffff;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited {
color: #ffffff;
text-decoration: none;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
border: 1px solid $mediumBackgroundColor;
background: $mediumBackgroundColor;
font-weight: normal;
color: #ffffff;
}
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
color: #ffffff;
text-decoration: none;
}
/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
border: 1px solid #cccccc;
background: #eeeeee url('#{$imagesPath}ui-bg_highlight-soft_80_eeeeee_1x100.png') 50% top repeat-x;
color: #2e7db2;
}
.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
color: #2e7db2;
}
.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
border: 1px solid #ffb73d;
background: #ffc73d url('#{$imagesPath}ui-bg_glass_40_ffc73d_1x400.png') 50% 50% repeat-x;
color: #111111;
}
.ui-state-error a,
.ui-widget-content .ui-state-error a,
.ui-widget-header .ui-state-error a {
color: #111111;
}
.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
color: #111111;
}
.ui-priority-primary,
.ui-widget-content .ui-priority-primary,
.ui-widget-header .ui-priority-primary {
font-weight: bold;
}
.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
opacity: .7;
filter:Alpha(Opacity=70);
font-weight: normal;
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
opacity: .35;
filter:Alpha(Opacity=35);
background-image: none;
}
.ui-state-disabled .ui-icon {
filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
}
/* Icons
----------------------------------*/
/* states and images */
.ui-icon {
width: 16px;
height: 16px;
}
.ui-icon,
.ui-widget-content .ui-icon {
background-image: url('#{$imagesPath}ui-icons_cccccc_256x240.png');
}
.ui-widget-header .ui-icon {
background-image: url('#{$imagesPath}ui-icons_ffffff_256x240.png');
}
.ui-state-default .ui-icon {
background-image: url('#{$imagesPath}ui-icons_cccccc_256x240.png');
}
.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon {
background-image: url('#{$imagesPath}ui-icons_ffffff_256x240.png');
}
.ui-state-active .ui-icon {
background-image: url('#{$imagesPath}ui-icons_222222_256x240.png');
}
.ui-state-highlight .ui-icon {
background-image: url('#{$imagesPath}ui-icons_4b8e0b_256x240.png');
}
.ui-state-error .ui-icon,
.ui-state-error-text .ui-icon {
background-image: url('#{$imagesPath}ui-icons_a83300_256x240.png');
}
/* Overlays */
.ui-widget-overlay {
background: #5c5c5c url('#{$imagesPath}ui-bg_flat_50_5c5c5c_40x100.png') 50% 50% repeat-x;
opacity: .8;
filter: Alpha(Opacity=80);
}
.ui-widget-shadow {
margin: -7px 0 0 -7px;
padding: 7px;
background: #cccccc url('#{$imagesPath}ui-bg_flat_30_cccccc_40x100.png') 50% 50% repeat-x;
opacity: .6;
filter: Alpha(Opacity=60);
border-radius: 8px;
}
.ui-tabs {
.ui-tabs-panel {
background-color: $mediumBackgroundColor;
}
}

View File

@@ -1,6 +1,8 @@
@import '../../_shared/styles/variables'; @import '../../_shared/styles/variables';
$lightboxPath: '../images/'; $lightboxPath: '../images/';
$imagesPath: '/assets/vendors/jquery-ui/images/dark-hive/';
@import '../../vendors/jquery-contextmenu/styles/jquery.contextmenu'; @import '../../vendors/jquery-contextmenu/styles/jquery.contextmenu';
@import 'jquery-ui/theme';
$mainMenuBackgroundColor: #c7c7c7; //BFBFBF; $mainMenuBackgroundColor: #c7c7c7; //BFBFBF;
$mainMenuBottomBorder: 1px solid #c7c7c7; $mainMenuBottomBorder: 1px solid #c7c7c7;
@@ -58,39 +60,41 @@ img {
font-weight: bold; font-weight: bold;
} }
.record_display_box table {
vertical-align: middle;
table-layout: fixed;
}
.record_display_box { .record_display_box {
width: 100%; width: 100%;
height: 100%; height: 100%;
display: block; display: block;
} table {
vertical-align: middle;
.record_display_box .record { table-layout: fixed;
position: relative; }
max-width: none; .title {
max-height: none; margin: 0 10px;
} }
.record {
.record_display_box .header .title { position: relative;
overflow: hidden; max-width: none;
line-height: 20px; max-height: none;
height: 20px; }
} .header {
color: #BFBFBF;
.record_display_box .header { height: 30px;
color: #BFBFBF; bottom: auto;
height: 30px; overflow: hidden;
bottom: auto; .title {
overflow: hidden; overflow: hidden;
} line-height: 20px;
height: 20px;
.record_display_box .lightbox_container { }
top: 30px; }
overflow: hidden; .lightbox_container {
top: 30px;
overflow: hidden;
}
.display_id {
top: 5px;
margin: 0 0 0 5px;
}
} }
#sc_wrapper { #sc_wrapper {
@@ -119,15 +123,35 @@ img {
border: 1px solid #212121; border: 1px solid #212121;
text-align: left; text-align: left;
padding: 5px 8px; padding: 5px 8px;
} &.selected {
background-color: #212121;
.basket_element.selected { }
background-color: #212121; .display_id {
} top: 4px;
left: 8px;
.basket_element .display_id { }
top: 4px; .agreement {
left: 8px; position: absolute;
top: 4px;
right: 8px;
z-index: 99;
}
.image {
position: relative;
z-index: 90;
}
.previewTips {
background-image: url('#{$iconsPath}zoom.gif');
background-position: center center;
background-repeat: no-repeat;
cursor: help;
position: absolute;
bottom: 4px;
right: 8px;
height: 18px;
width: 18px;
z-index: 99;
}
} }
#report .display_id { #report .display_id {
@@ -152,13 +176,6 @@ img {
position: absolute; position: absolute;
} }
.basket_element .agreement {
position: absolute;
top: 4px;
right: 8px;
z-index: 99;
}
.not_decided { .not_decided {
opacity: 0.30; opacity: 0.30;
filter: alpha(opacity=30); filter: alpha(opacity=30);
@@ -168,33 +185,6 @@ img {
display: none; display: none;
} }
.basket_element .image {
position: relative;
z-index: 90;
}
.basket_element .previewTips {
background-image: url('#{$iconsPath}zoom.gif');
background-position: center center;
background-repeat: no-repeat;
cursor: help;
position: absolute;
bottom: 4px;
right: 8px;
height: 18px;
width: 18px;
z-index: 99;
}
.record_display_box .title {
margin: 0 10px;
}
.record_display_box .display_id {
top: 5px;
margin: 0 0 0 5px;
}
#right_scroller { #right_scroller {
width: 30px; width: 30px;
right: -10px; right: -10px;
@@ -235,17 +225,17 @@ img {
top: auto; top: auto;
} }
#basket_infos table { #basket_infos {
width: 100%; table {
margin: 5px 0; width: 100%;
} margin: 5px 0;
.title {
#basket_infos table .title { width: 100%;
width: 100%; }
} .report_wrapper {
text-align: right;
#basket_infos table .report_wrapper { }
text-align: right; }
} }
#right_column { #right_column {
@@ -431,11 +421,10 @@ table th i {
.basket_wrapper { .basket_wrapper {
margin: 10px; margin: 10px;
} table {
margin: 10px;
.basket_wrapper table { width: 580px;
margin: 10px; }
width: 580px;
} }
.basket_description table { .basket_description table {
@@ -456,10 +445,9 @@ table th i {
.thumb_wrapper { .thumb_wrapper {
text-align: center; text-align: center;
} .thumb {
position: relative;
.thumb_wrapper .thumb { }
position: relative;
} }
#sc_wrapper .thumb_wrapper { #sc_wrapper .thumb_wrapper {
@@ -467,50 +455,47 @@ table th i {
top: 28px; top: 28px;
} }
.record_display_box .notes_overlay { .record_display_box {
background-color: #BFBFBF; .notes_overlay {
position: absolute; background-color: #BFBFBF;
width: 100%; position: absolute;
height: 100%; width: 100%;
opacity: 0.70; height: 100%;
filter: alpha(opacity=70); opacity: 0.70;
z-index: 100; filter: alpha(opacity=70);
} z-index: 100;
}
.record_display_box .notes_wrapper { .notes_wrapper {
position: absolute; position: absolute;
top: -100%; top: -100%;
height: 100%; height: 100%;
width: 100%; width: 100%;
left: 0px; left: 0px;
} }
.note_wrapper {
.record_display_box .note_wrapper { background-color: white;
background-color: white; position: relative;
position: relative; max-width: 75%;
max-width: 75%; margin: 20px 0;
margin: 20px 0; padding: 10px;
padding: 10px; color: #212121;
color: #212121; }
} .note_wrapper.my_note {
background-color: #C9FFF7;
.record_display_box .note_wrapper.my_note { }
background-color: #C9FFF7; .notes h2 {
} margin: 10px 0;
}
.record_display_box .notes h2 { .notes {
margin: 10px 0; position: relative;
} margin: 0 auto;
width: 80%;
.record_display_box .notes { height: 90%;
position: relative; max-width: 450px;
margin: 0 auto; z-index: 110;
width: 80%; overflow-y: auto;
height: 90%; overflow-x: hidden;
max-width: 450px; }
z-index: 110;
overflow-y: auto;
overflow-x: hidden;
} }
.ui-state-default.note_closer, .ui-state-default.note_saver { .ui-state-default.note_closer, .ui-state-default.note_saver {
@@ -577,19 +562,13 @@ hr {
padding: 0.15em; padding: 0.15em;
} }
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { .ui-dialog {
color: #BFBFBF; .ui-dialog-titlebar {
background-image: none; padding: 1em 1em;
border: none; }
background-color: transparent;
}
.ui-widget-header {
background-color: #1F1E1B;
background-image: none;
border: none;
} }
.videoTips { .videoTips {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }