diff --git a/VERSIONS_WIP/75606 b/VERSIONS_WIP/75606 new file mode 100644 index 0000000000000000000000000000000000000000..8d571920a26ed8b56cd3b105cdec38c5e7528348 --- /dev/null +++ b/VERSIONS_WIP/75606 @@ -0,0 +1,2 @@ + - ticket #75606 : Cnil : amélioration de l'affichage du consetement CNIL. + \ No newline at end of file diff --git a/library/Class/Cnil.php b/library/Class/Cnil.php index 01f3324dbf6d0c3a889d0b9fcfd9d68dff4d58ec..8341b2f5f2f02261fb0350d6d36957a738c3f7b5 100644 --- a/library/Class/Cnil.php +++ b/library/Class/Cnil.php @@ -65,7 +65,10 @@ class Class_Cnil { 'action' => 'cookies']); Class_ScriptLoader::getInstance() ->notify($this->_('En poursuivant votre navigation sur ce site, vous acceptez l\'utilisation de cookies. <a href="'.$read_more.'">En savoir plus</a>'), - false); + false, + 10, + 'cnil_consent' + ); } diff --git a/public/admin/js/notification/css/jquery_notification.css b/public/admin/js/notification/css/jquery_notification.css index 40599b7358ab9a83d04912056c93f40354ae97a4..b18d559eabf031386f285b98bb0cb2b67f9c302d 100755 --- a/public/admin/js/notification/css/jquery_notification.css +++ b/public/admin/js/notification/css/jquery_notification.css @@ -111,4 +111,44 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8fdfe', end -moz-box-shadow: 0 0 5px #56a25e; -webkit-box-shadow: 0 0 5px #56a25e; box-shadow: 0 0 5px #56a25e; +} + +.cnil_consent { + background: #363738; +} + +.cnil_consent .message_area { + color: #F0F0F0; +} + +.cnil_consent .button_area:after { + content: 'X'; + width: 20px; + height: 20px; + display: inline-block; + cursor: pointer; + color: #F0F0F0; +} + +.cnil_consent .button_area:hover:after { + text-decoration: underline; +} + +#info_message.cnil_consent { + top: auto !important; + bottom: 0 !important; + left: 33%; + width: 33%; +} + +.cnil_consent .center_auto{ + width: 96%; +} + + +#info_message.cnil_consent .button_area { + float: none; + line-height: 2em; + width: auto; + height: auto; } \ No newline at end of file