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

Название: [DNO] Reputation Points in Mobile Skin 1.0

Добавил: Respected

Добавлен: 21 Авг 2012

Категория: Хуки IP.Board 3.3.x

Название по-русски : Репутация в стиле для мобильных устройств

Хук [DNO] Reputation Points in Mobile Skin 1.0 позволяет отображать текущую репутацию пользователя в стиле для мобильных устройств!

  • 6 месяцев спустя...

Пытаюсь сделать так, чтобы кнопки + и - были ориентированы горизонтально и чуть более разнесены.

 

1. Отрисовал подложку с кнопками.

2. Поправил CSS.

 

/************************************************************************/
/* IP.Board 3 Mobile CSS - By Rikki Tissier - (c)2008 Invision Power Services	*/
/************************************************************************/
/* dno_mobilerep.css														*/
/************************************************************************/

.rep_up, .rep_down {
	width: 70px;
	height: 26px;
	display: block;
	text-indent: -2000em;
	position: relative;
	top: 3px; right: 10px;
	background-image: url({style_images_url}/like_unlike2.png );
        background-size:70px 26px;
	background-repeat: no-repeat;
} 
	.rep_up { background-position: left; }
	.rep_down { background-position: right; }


	.reputation.mobile {
		float:right;
		color:white;
		font-weight:bold;
		padding:3px 6px;
		-moz-border-radius:3px;
		-webkit-border-radius:3px;
		border-radius:3px; 
		margin-right:15px;
		margin-top:5px;
	}

	.positive.mobile {
		background:#6F8F52;
	}

	.negative.mobile {
		background:#b82929;
	}

 

Но ничего не получается, графика меняется, но сами кнопки остаются вертикально оринтированными.

Смотрел сам файл хука, там об этом ничего нет. Подозреваю, что вертикальная ориентация как-то связана с базовым функционалом IPB и системы Like/Unlike. Вот только где поправить не могу найти.

Ребят, может быть вы сталкивались с такой задачей и уже решали ее?

 

Был бы очень признателен за помощь в решении этой задачи.

 

С уважением,

Денис.

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 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.