Projet

Général

Profil

« Précédent | Suivant » 

Révision b724d57d

Ajouté par Serghei Mihai (congés, retour 15/05) il y a plus de 8 ans

fix vincennes logo and sso block positions (#9428)

Voir les différences:

mandayejs/sites/vincennes/static/css/duonext.css
5 5
}
6 6

  
7 7
#mandaye-vc-logo {
8
    float: left;
8
    position: absolute;
9
    top: 10px;
10
    left: 0;
9 11
    padding: 10px 15px 0px 15px;
10 12
    width: 170px;
11 13
    height: 60px;
......
17 19
    background-color: transparent;
18 20
    background-repeat: no-repeat;
19 21
    background-image: url('/_mandaye/static/images/compte-citoyen.png');
20
    padding: 0px 12px 20px 47px;
22
    padding: 0px 12px 10px 47px;
21 23
    background-position: 10px 5px;
22 24
    font-weight : bold;
25
    height: 30px;
26
    margin-left: 210px;
23 27
}
24 28

  
25 29
#sso-url {
......
39 43
    font-weight : bold;
40 44
}
41 45

  
42
#imgMain {
43
    margin-right : 430px;;
44
}
45

  
46
#lblClient {
47
    margin-left: -255px;
48
}
49

  
46
#logo {
47
    display: none;
48
}
mandayejs/sites/vincennes/static/js/duonext.js
1 1
$(function(){
2
  $('#logo').remove()
3 2
  $('head').append('<link rel="stylesheet" href="/_mandaye/static/css/font-awesome.min.css" type="text/css" />');
4 3
  $('#mandaye-js').prepend('<div id="mandaye-vc-logo"><a href="https://www.vincennes.fr"><img src="/_mandaye/static/images/vincennes-logo.png" alt="vincennes-logo.png"></a></div>');
5 4
  $('head').append('<link rel="stylesheet" href="/_mandaye/static/css/duonext.css"> type="text/css"');
6 5
  $('#sso-username').after('<a id="demarches" href="https://demarches.vincennes.fr">Démarches en ligne</a>');
7
  if ($('#sso-username').length === 0){
8
      $('#imgMain').css({'margin-right':'210px'});
9
      console.log($('#mandaye-vc-logo'));
6
  if ($('#sso-username').length === 0) {
10 7
      $('#mandaye-vc-logo').after('<a id="demarches" href="https://demarches.vincennes.fr">Démarches en ligne</a>');
11 8
  }
12 9

  

Formats disponibles : Unified diff