Jump to content

Buton de warn & mention


Şucăr

Recommended Posts

  • 2 weeks later...

N-ati da un search deloc

Schimbi codul care-l ai la buton cu acesta, după care adaugi al doilea cod în css  !

<a href="#" onclick="ipb.textEditor.getEditor( ipb.textEditor.getCurrentEditorId() ).insert( '@{$author['members_display_name']}' ); return false;" title="@{$author['members_display_name']}"><div class="mentionbtn"> @Mention  </div></a>
.mentionbtn {
      display:inline-block;
      position:relative;
      width:80px;
      height:35px;
      line-height:34px;
      border-radius:0px;
      font-size:0.9em;
      background-color:#333;
      color:#646464;
      transition:border-bottom 0.5s, box-shadow 0.1s, color 0.2s,box-shadow 0.1s;
      transition:border-bottom 0.5s, box-shadow 0.1s, color 0.2s,box-shadow 0.1s;
      text-decoration:none;-webkit-transition:all 0.2s ease-in;
      transition:all 0.2s ease-in;
      -webkit-user-select:none;
      -moz-user-select:none;
      -ms-user-select:none;
      user-select:none;
      white-space:nowrap;
      background:-webkit-linear-gradient(#333 50%, #333 50%);
      background:linear-gradient(#333 50%, #4f4fd9 50%);
      background-repeat:repeat;
      background-size:100% 200%;
      margin-top:5px
}

.mentionbtn:hover {
      color:#96281B;
      cursor:pointer;
      background-position:200% 100%;
      color:#FCFCFC;
      cursor:pointer

}

 

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.