Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Добрый день!

Подскажите как изменить цвет данной кнопки.

Компонент [EN32] Ajax Спасибо версия v1.0.6

В шаблоне Темы - ajaxThanksButton не нашел где изменить!

post-8008-0-66678800-1366568484.jpg

  • Author

Находится в шаблоне Темы - ajaxThanksButton

А можно поподробней, а то я не сильно разбираюсь вот код из шаблона ajaxThanksButton:

<if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'thank'">

<li class='ajax_thanks' id='ajaxThanks_{$post['post']['pid']}'>

<a href="javascript: ajaxThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_thank_author']}' class='ipsButton_secondary'>{$this->lang->words['en30_thank']}</a>

</li>

</if>

<if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'remove' && $this->settings['en31_remove_thanks']">

<li class='ajax_thanks' id='ajaxRemoveThanks_{$post['post']['pid']}'>

<a href="javascript: ajaxRemoveThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_unthank_author']}' class='ipsButton_secondary'>{$this->lang->words['en30_unthank']}</a>

</li>

</if>

<if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'thank'">

<li class='ajax_thanks' id='ajaxThanks_{$post['post']['pid']}'>

<a href="javascript: ajaxThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_thank_author']}' class='ipsButton_secondary'>{$this->lang->words['en30_thank']}</a>

</li>

</if>

<if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'remove' && $this->settings['en31_remove_thanks']">

<li class='ajax_thanks' id='ajaxRemoveThanks_{$post['post']['pid']}'>

<a href="javascript: ajaxRemoveThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_unthank_author']}' class='ipsButton_secondary'>{$this->lang->words['en30_unthank']}</a>

</li>

</li>

</if>

ipsButton_secondary - меняй на ipsButton_secondary_new

в ipb_styles.css :

.ipsButton_secondary_new {
height: 22px;
line-height: 22px;
font-size: 12px;
padding: 0 10px;
background: #F7FCFD;
background: -moz-linear-gradient(top, #F7FCFD 0%, #E4EAEC 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F7FCFD), color-stop(100%,#E4EAEC));
border: 1px solid #D5DDDF;
-moz-box-shadow: 0px 1px 0px rgba(255,255,255,1) inset, 0px 1px 0px rgba(0,0,0,0.3);
-webkit-box-shadow: 0px 1px 0px rgba(255, 255, 255, 1) inset, 0px 1px 0px rgba(0, 0, 0, 0.3);
box-shadow: 0px 1px 0px rgba(255, 255, 255, 1) inset, 0px 1px 0px rgba(0, 0, 0, 0.3);
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
color: #5D6264;
display: inline-block;
white-space: nowrap;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
}

Ну и цвета меняй на свои.

Guest
This topic is now closed to further replies.

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.