Browse Source

[Backend] Bon de commadne historique et correctifs

feature/module_traiteur_v1
Fab 4 years ago
parent
commit
83fe293bfe
3 changed files with 75 additions and 1 deletions
  1. +39
    -0
      ShopBundle/Resources/public/css/backend/custom.css
  2. +6
    -1
      ShopBundle/Resources/public/js/backend/script/default/utils.js
  3. +30
    -0
      ShopBundle/Resources/public/sass/backend/custom.scss

+ 39
- 0
ShopBundle/Resources/public/css/backend/custom.css View File

#ticket-list .btn-sm { #ticket-list .btn-sm {
display: block; display: block;
} }

/* line 307, ../../sass/backend/custom.scss */
#toast-container {
width: 350px;
}

/* line 308, ../../sass/backend/custom.scss */
.toast {
float: right;
}

/* line 310, ../../sass/backend/custom.scss */
#toast-container:before:hover {
opacity: 1;
cursor: pointer;
}

/* line 314, ../../sass/backend/custom.scss */
#toast-container:before {
content: 'x';
position: absolute;
pointer-events: auto;
z-index: 999999999999999999999;
background: #BD362F;
border-radius: 3px;
color: #fff;
opacity: 0.8;
top: 1px;
width: 50px;
height: 50px;
font-size: 30px;
left: 0px;
text-align: center;
-webkit-text-shadow: 0 1px 0 #fff;
text-shadow: 0 1px 0 #fff;
-moz-box-shadow: 0 0 12px #999;
-webkit-box-shadow: 0 0 12px #999;
box-shadow: 0 0 12px #999;
}

+ 6
- 1
ShopBundle/Resources/public/js/backend/script/default/utils.js View File

} }


function generateNotice(type, text) { function generateNotice(type, text) {
toastr.options.timeOut = 30000;
$('#toast-container:before').on('click', function (){
alert('niche')
});
toastr.options.timeOut = 3000000;
toastr.options.extendedTimeOut = 3000000;

toastr.options.preventDuplicates = true; toastr.options.preventDuplicates = true;
toastr[type](text); toastr[type](text);



+ 30
- 0
ShopBundle/Resources/public/sass/backend/custom.scss View File

display: block ; display: block ;
} }
} }


#toast-container { width: 350px;}
.toast{float: right}

#toast-container:before:hover {
opacity:1;
cursor:pointer;
}
#toast-container:before {
content:'x';
position: absolute;
pointer-events: auto;
z-index: 999999999999999999999;
background: #BD362F;
border-radius: 3px;
color:#fff;
opacity:0.8;
top: 1px;
width: 50px;
height: 50px;
font-size: 30px;
left: 0px;
text-align: center;
-webkit-text-shadow: 0 1px 0 #fff;
text-shadow: 0 1px 0 #fff;
-moz-box-shadow: 0 0 12px #999;
-webkit-box-shadow: 0 0 12px #999;
box-shadow: 0 0 12px #999;
}

Loading…
Cancel
Save