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

Название: Глобальное сообщение

Добавил: Doogle

Добавлен: 09 Feb 2012

Категория: Русские хуки и моды IP.Board 3.2.x

Хук позволяет выводить на страницы форума глобальное сообщение. Доступны 3 вида: Важное (выделено красным цветом), информационное (выделено зеленым цветом) и простое (выделено основным цветом форума).

Локализация: Doogle (IPBMafia.ru)

  • 1 year later...
  • 2 недели спустя...

Всем привет!

 

Подскажите пожалуйста, можно ли убрать фон из блока глобального сообщения, чтобы остался тот цвет который стрелочкой показан?

 

post-6351-0-51893900-1379816176.jpg

Всем привет!

 

Подскажите пожалуйста, можно ли убрать фон из блока глобального сообщения, чтобы остался тот цвет который стрелочкой показан?

 

attachicon.gifБезымянный.jpg

.message.unspecific {
background-color: hsl(0, 0%, 16%);
border-color: hsl(0, 0%, 22%);
margin: 0 0 10px 0;
clear: both;
}
.message {
background: hsl(77, 40%, 40%) url('__ets2mods.ru/public/style_images/carbon_orange/highlight_faint.png') repeat-x 0 -1px;
padding: 10px;
border: 1px solid hsl(77, 36%, 47%);
text-shadow: hsla(0, 0%, 0%, 0.2) 0px -1px 0px;
line-height: 1.6;
font-size: 12px;
-webkit-box-shadow: hsla(0, 0%, 0%, 0.1) 0px 1px 3px;
-moz-box-shadow: rgba(0,0,0,0.1) 0px 1px 3px;
box-shadow: hsla(0, 0%, 0%, 0.1) 0px 1px 3px;
}

leha85

 

найти

.message.unspecific {
background-color: #292929;
border-bottom-color: #393939;
border-left-color: #393939;
border-right-color: #393939;
border-top-color: #393939;
clear: both;
margin: 0px 0px 10px;
}

цвет фона замени на background: transparent; и цвет границы по вкусу.

.message.unspecific {
background-color: hsl(0, 0%, 16%);
border-color: hsl(0, 0%, 22%);
margin: 0 0 10px 0;
clear: both;
}
.message {
background: hsl(77, 40%, 40%) url('__ets2mods.ru/public/style_images/carbon_orange/highlight_faint.png') repeat-x 0 -1px;
padding: 10px;
border: 1px solid hsl(77, 36%, 47%);
text-shadow: hsla(0, 0%, 0%, 0.2) 0px -1px 0px;
line-height: 1.6;
font-size: 12px;
-webkit-box-shadow: hsla(0, 0%, 0%, 0.1) 0px 1px 3px;
-moz-box-shadow: rgba(0,0,0,0.1) 0px 1px 3px;
box-shadow: hsla(0, 0%, 0%, 0.1) 0px 1px 3px;
}

 

 

leha85

 

найти

.message.unspecific {
background-color: #292929;
border-bottom-color: #393939;
border-left-color: #393939;
border-right-color: #393939;
border-top-color: #393939;
clear: both;
margin: 0px 0px 10px;
}
цвет фона замени на background: transparent; и цвет границы по вкусу.

Ага. А еще фон изменится в других местах, где используются классы message и unspecific, т.к. данные классы являются дефолтными. Правильнее будет - отредактировать хук.

Edited by LvsF

  • 4 месяца спустя...
  • 9 месяцев спустя...

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.