123
might be abc
or thank you
might work123
might be abc
or thank you
might workSteve wrote: Sat Mar 08, 2025 10:56 am There is no release for version 0.9.4. I'm still get use to GitHub.
I will release new files tomorrow.
123
might be abc
or thank you
might workbutton-icon-only
class to harmonise the display with the other buttons (this is not noticeable with prosilver but the difference can be obvious with other styles).
Code: Select all
<span title="{{ lang('ADD_REACTION') }}" class="button button-secondary dropdown-trigger">
color: inherit;
), again with a view to letting the elements display naturally in the context of the styles, especially when several are used on the board.Thank You for testing.cabot wrote: Fri Mar 21, 2025 12:44 pm Hello Steve,
If I may make two suggestions:
- Use the
button-icon-only
class to harmonise the display with the other buttons (this is not noticeable with prosilver but the difference can be obvious with other styles).Code: Select all
<span title="{{ lang('ADD_REACTION') }}" class="button button-secondary dropdown-trigger">
- Remove the ability to change the button colour or leave the choice to use the default colour (aka
color: inherit;
), again with a view to letting the elements display naturally in the context of the styles, especially when several are used on the board.
Code: Select all
<span title="{{ lang('ADD_REACTION') }}" class="button button-icon-only button-secondary dropdown-trigger">
<i data-show-reaction-types="true" class="icon {% if REACTIONS_BUTTON_ICON %}{{ REACTIONS_BUTTON_ICON }}{% else %}fa-smile-o{% endif %} fa-fw" style="color: {% if REACTIONS_BUTTON_COLOR %}#{{ REACTIONS_BUTTON_COLOR }}{% else %}inherit{% endif %};"></i>
</span>
123
might be abc
or thank you
might workreactions_button_color field
from the extension management page, REACTIONS_BUTTON_COLOR
is false so the style attribute is not returned to HTML and the colour is that of the default links (perhaps add a short explanation in the PCA like ‘Leave the field empty to use the default colour’?).Code: Select all
{% if REACTIONS_BUTTON_COLOR %}style="color: #{{ REACTIONS_BUTTON_COLOR }}{% endif %}"
{% endif %}"
should be "{% endif %}
.button-secondary
with button-icon-only
as in the other links.Code: Select all
<button title="{{ lang('ADD_REACTION') }}" class="button button-icon-only dropdown-trigger">
<i data-show-reaction-types="true" class="icon {% if REACTIONS_BUTTON_ICON %}{{ REACTIONS_BUTTON_ICON }}{% else %}fa-smile-o{% endif %} fa-fw"{% if REACTIONS_BUTTON_COLOR %} style="color: #{{ REACTIONS_BUTTON_COLOR }}"{% endif %}></i><span class="sr-only">{{ lang('ADD_REACTION') }}</span>
</button>
Code: Select all
<span title="{{ lang('ADD_REACTION') }}" class="button button-icon-only button-secondary dropdown-trigger">
<i data-show-reaction-types="true" class="icon {% if REACTIONS_BUTTON_ICON %}{{ REACTIONS_BUTTON_ICON }}{% else %}fa-smile-o{% endif %} fa-fw" style="color: {% if REACTIONS_BUTTON_COLOR %}#{{ REACTIONS_BUTTON_COLOR }}{% else %}inherit{% endif %};"></i>
</span>
<button>
suggestion... Thanks for your input.123
might be abc
or thank you
might workCode: Select all
{% if REACTIONS_BUTTON_COLOR %} style="color: #{{ REACTIONS_BUTTON_COLOR }}"{% endif %}
REACTIONS_BUTTON_COLOR = true
=> style="color: #{{ REACTIONS_BUTTON_COLOR }}"
REACTIONS_BUTTON_COLOR = false
=> default color, AKA the one declared by the style on .button .icon
Code: Select all
/**
* Reactions $extends the phpBB Software package.
* @copyright (c) 2024, Steve, https://steven-clark.tech/
* @license GNU General Public License, version 2 (GPL-2.0)
*/
.reaction-avatar img {
max-height: 30px;
vertical-align: middle;
width: auto;
margin-left: 5px;
}
.reaction-centered { text-align: center; }
.reaction-contact-icons-with-text { font-size: 11px !important; }
.reaction-count { border-radius: 5px !important; }
.badge.reaction-count {
margin-top: -9px !important;
margin-right: -12px !important;
border-radius: 25% !important;
}
.reaction_disabled, .reaction_enabled {
margin: 2px;
border-radius: 10px;
padding: 5px 7px;
text-align: center;
}
.reaction_disabled, .reaction_delete { background-color: #ECD5D8; }
.reaction_enabled { background-color: #80FF40; }
.reaction-ear {
border-radius: 5px;
opacity: 0.8;
line-height: 1;
float: right;
margin-left: -5px;
position: relative;
top: 3px;
padding: 4px 6px;
}
.reaction-ear-color {
background: #E72F6D;
color: #fff;
}
.reactions-font, .reactions-font:active a, .reactions-font:hover a, .reactions-font a {
font-size: 12px;
color: #fff;
border-radius: 5px !important;
}
.reaction-image {
vertical-align: middle;
float: right;
}
@media (max-width: 700px) {
.reaction-image {
width: 25px !important;
height: 25px !important;
}
}
.reaction-image-size {
width: 30px;
height: 30px;
}
.reaction-image-left {
float: left;
margin-right: 5px;
}
img.reaction-notification {
max-width: 30px !important;
max-height: 30px !important;
}
.reaction-user-alert {
padding-bottom: 1px;
border-bottom: 2px dashed #D31141;
margin-bottom: 2px;
float: right;
}
.reaction-user-alert-new {
padding-bottom: 1px;
float: right;
}
.reactions {
margin-top: 5px;
padding: 3px 0;
}
.reactions-icon {
padding: 3px;
margin: 0 1px 0 2px;
float: right;
color: #fff;
}
.reactions-post-button-ul {
float: right;
margin-left: 10px;
margin-right: -10px;
list-style: none;
}
123
might be abc
or thank you
might workI will fix that, for now just don't use the hash tag.Miri4ever wrote: Thu Mar 27, 2025 3:15 pm I have noticed the Color Picker won't accept numbers higher than 4 Digits, and with the 5 or 6 Number / Letter it removes the color you wanted to type in and switch to transparent mode.
I'm unclear what you mean? A slight guess you have edited the acp style sheet to make it dark themed?Not even to mention, it took me an age to remove this white colored things from the ACP menu. Luck the second tab appears to be normal. If using styles and color, always stay on PHPBB Standards and not try to add white colors by CSS with users might use a dark theme with white letters.
Font awesome is a huge library very useful but they do not cover most popular reaction images only a few. Yes you are correct, you just replace the images with what you would like to use.Why could we not have Font Awesome Icons instead of those ugly emojis? Sure, I know I can use my own, but for the basic setup it might be less difficult as the PHPBB Editors, in most cases, also use those.
123
might be abc
or thank you
might work