AccueilDernières imagesRechercherS'enregistrerConnexion

Forum de graphisme, codage et game design proposant des tutoriels, astuces, libres services et commandes dans les domaines de l'infographie amateur, de l'intégration web (HTML et CSS essentiellement) ainsi que dans la conception de RPG sur forum.

Le Deal du moment : -20%
-20% Récupérateur à eau mural 300 ...
Voir le deal
79 €

    Profil "moderne" avec effet hover

    Alumine
    Alumine
    FémininAge : 26Messages : 487

    Sam 8 Nov 2014 - 17:56

    Rappel du premier message :



    Profil "moderne" avec effet hover


    Voici un petit LS à la demande de Clarisse; l'avatar est de taille 200x320px et les infos apparaissent au hover. Il n'y a pas de place prévue pour une image de rang mais seulement pour un texte.
    Alors ça donne ça (images faites par Clarisse) (la deuxième image est au survol)
    Profil "moderne" avec effet hover - Page 29 14130310 Profil "moderne" avec effet hover - Page 29 14130311

    Template

    Pour commencer rendez-vous dans votre panneau d'admin > affichage > Templates > général et dans Viewtopic_body, c'est la partie de HTML qui concerne l'affichage des messages.
    Vers la ligne 139 si vous n'avez rien changé, trouvez ceci
    Code:
    <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
     <span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
     <span class="postdetails poster-profile">
     {postrow.displayed.POSTER_RANK}<br />
     {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
     <!-- BEGIN profile_field -->
     {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
     <!-- END profile_field -->
     {postrow.displayed.POSTER_RPG}
     </span><br />
     <img src="http://2img.net/i/fa/empty.gif" alt="" style="width:150px;height:1px" />
     </td>

    Et remplacez-le par ça :
    Code:
    <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
                      <div class="profilmembre"><div class="pseudo"><span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><div class="flecheprofil"></div></div>
     <span class="postdetails poster-profile">
     {postrow.displayed.POSTER_AVATAR}
                                      <div class="rang">{postrow.displayed.POSTER_RANK}</div>
     <div class="infoprofil"><!-- BEGIN profile_field -->
                                      {postrow.displayed.profile_field.LABEL} <span class="infoprofilrep">{postrow.displayed.profile_field.CONTENT}</span>{postrow.displayed.profile_field.SEPARATOR}
                                      <!-- END profile_field --></div>
     {postrow.displayed.POSTER_RPG}
                        </span></div>
     </td>


    Ensuite, validez et n'oubliez pas de publier votre template (=

    CSS
    La suite se passe dans couleurs>feuille de style CSS !
    Ajoutez ceci
    Code:
    /*Profil et affichage de lavatar par Alu pour Never utopia */
    .profilmembre {
      border: 1px solid #a19388;
      position:relative;
      margin-right:10px;/*à adapter pour que la flèche noire ne morde pas le texte (augmenter)*/
      background-color:#ABABAB;
    }

    .pseudo{
          padding:4px 0;
          width:200px;
          background-color:#1C1C1C;
          position:relative;
          text-align:center;
          color:#949046;
          font:Josefin Slab, Georgia;
          text-transform:uppercase;
    }

    .pseudo .name a{font-size:24px; font-weight:300;color:#737373 !important;}

    .flecheprofil{
      width:0px;
      height:0px;
      border:8px solid transparent;
      border-left:25px solid #1C1C1C;
      position:absolute;
      top:10px;
      left:200px;
    }

    .rang {
      width:136px;
      height:19px;
      background-color: #1C1C1C;
      font: 10px Josefin Slab, Georgia;
      line-height:95%;
      text-transform: uppercase;
      color:#636363;
      margin:-15px auto 5px auto;
      padding:2px;
      text-align:center;  
      position:relative;
      z-index:2;
      -moz-box-shadow: 0px 0px 8px 0px #656565;
      -webkit-box-shadow: 0px 0px 8px 0px #656565;
      -o-box-shadow: 0px 0px 8px 0px #656565;
      box-shadow: 0px 0px 8px 0px #656565;
      filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=8);
    }
    .infoprofil{
      position:absolute;
      top:35px;
      left:0;
      background: rgba(0, 0, 0, 0.75);
      opacity:0;
      filter:alpha(opacity=0);
      height:320px;
      width:200px;
      text-align:center;
      font:13px sans-serif 500;
      text-transform:uppercase;
      color:#8A8A8A;
      -moz-transition: all 0.7s ease;
      -webkit-transition: all 0.7s ease;
      -o-transition: all 0.7s ease;
      transition: all 0.7s ease;
    }
    .infoprofil:hover{opacity:1; filter:alpha(opacity=100);}

    .infoprofil .label span {
      visibility:visible;
      text-decoration:underline;
      display:block;
      background-color:rgba(0, 0, 0, 0.65);
      color:#8A8A8A !important;
      padding:5px;
      margin: 5px 0 -5px 0;
    }
    .infoprofil .label{visibility:hidden;}
    .infoprofilrep {
      visibility:visible;
      display:block;
      background-color:rgba(0, 0, 0, 0.65);
      padding:3px;
      margin:-5px 0 -3px 0;
    }
    /*fin du profil ****************************************************/

    Puis validez, et c'est terminé ! Par contre il peut y avoir une petite modification à faire, pour que la petite flèche noire ne morde pas le texte du message, il faut éventuellement augmenter la marge de droite (margin-right) j'ai légendé l'endroit où le faire (=
    Voilà c'est tout ! Mettez un petit crédit à N-U s'il vous plaît ~

    Merci de laisser un message pour donner vos impressions, commentaires et/ou remerciements ^^
    Si vous avez des problèmes avec ce LS, venez poster ici.



    Alumine
    Isaac Berntsson
    Isaac Berntsson
    MasculinAge : 30Messages : 29

    Dim 17 Avr 2016 - 16:14

    Merc i!
    Youlia
    Youlia
    FémininAge : 30Messages : 28

    Dim 17 Avr 2016 - 17:40

    merci beaucoup pour le partage d'informations ( vitales ) c:
    LVVY
    LVVY
    FémininAge : 23Messages : 33

    Dim 17 Avr 2016 - 22:37

    Un grand merci à toi décidément ! :')
    Aidden
    Aidden
    MasculinAge : 29Messages : 45

    Lun 18 Avr 2016 - 1:04

    Merci beaucoup, c'est super sobre, et joli en plus !
    Aoko
    Aoko
    FémininAge : 30Messages : 38

    Lun 18 Avr 2016 - 17:33

    Merci! C'est très beau!
    Ganta
    Ganta
    MasculinAge : 31Messages : 69

    Mer 20 Avr 2016 - 18:00

    merci !
    Saik
    Saik
    MasculinAge : 28Messages : 65

    Jeu 21 Avr 2016 - 10:51

    merci
    Roromiya
    Roromiya
    FémininAge : 21Messages : 111

    Ven 22 Avr 2016 - 22:34

    trop beau



    Profil "moderne" avec effet hover - Page 29 Enma10
    Pau
    Pau
    FémininAge : 33Messages : 37

    Sam 23 Avr 2016 - 14:36

    c'est super! merci
    Loeva
    Loeva
    FémininAge : 29Messages : 7

    Dim 24 Avr 2016 - 17:24

    Merci !
    Ilythia
    Ilythia
    FémininAge : 29Messages : 28

    Lun 25 Avr 2016 - 16:22

    merciii ! cest super joli
    Chouchou
    Chouchou
    FémininAge : 33Messages : 3

    Jeu 28 Avr 2016 - 17:39

    Super beau !!! :)
    Pechemelba
    Pechemelba
    MasculinAge : 28Messages : 10

    Sam 30 Avr 2016 - 3:44

    Merci
    Sheewps
    Sheewps
    MasculinAge : 24Messages : 23

    Dim 1 Mai 2016 - 14:32

    merci beaucoup !
    R.Falsworth
    R.Falsworth
    FémininAge : 27Messages : 92

    Dim 1 Mai 2016 - 14:36

    merci hihi
    The baily gossip
    The baily gossip
    FémininAge : 38Messages : 36

    Dim 1 Mai 2016 - 14:52

    Merci c'est vraiment jolie
    avatar
    Risha
    FémininAge : 26Messages : 19

    Dim 1 Mai 2016 - 22:00

    Merci o/
    Arawen
    Arawen
    FémininAge : 32Messages : 126

    Lun 2 Mai 2016 - 21:53

    Merci Beaucoup ! ^^



    Profil "moderne" avec effet hover - Page 29 672035arawensaber
    jeremy31
    jeremy31
    MasculinAge : 26Messages : 22

    Mar 3 Mai 2016 - 21:28

    Merci :)
    unbreakable.
    unbreakable.
    FémininAge : 30Messages : 10

    Sam 7 Mai 2016 - 12:29

    Waw ! Merci :heart:
    Sighild
    Sighild
    FémininAge : 37Messages : 225

    Dim 8 Mai 2016 - 11:25

    Je suis curieuse! Merci pour le tuto.
    *-Atlas-*
    *-Atlas-*
    MasculinAge : 35Messages : 138

    Mar 10 Mai 2016 - 18:52

    merci



    Profil "moderne" avec effet hover - Page 29 539522Atlasnewban
    Rimaï J. Godwin
    Rimaï J. Godwin
    MasculinAge : 28Messages : 93

    Mar 10 Mai 2016 - 21:10

    Wow, cey jouli ça 8D J'pense que j'vais te l'emprunter =3
    Hiroshina
    Hiroshina
    FémininAge : 29Messages : 37

    Jeu 12 Mai 2016 - 17:30

    Merci !
    Anonymous
    Invité

    Jeu 12 Mai 2016 - 19:28

    J'adore Very Happy Beau travail Very Happy Merci du partage Very Happy
    Contenu sponsorisé


      La date/heure actuelle est Mer 8 Mai 2024 - 6:43