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