[ticket/12155] Construct post buttons using CSS.#2469
[ticket/12155] Construct post buttons using CSS.#2469bantu merged 21 commits intophpbb:develop-ascraeusfrom
Conversation
|
Looks nice (tested locally). Would be great to get it merged into 3.1. |
|
Is this still work in progress? |
|
Should be good to go now. |
|
looks nice |
There was a problem hiding this comment.
0.8s feels very slow, perhaps something like 0.5s?
|
@VSEphpbb Could you review the CSS please. |
There was a problem hiding this comment.
If breaking up selectors onto multiple lines, I would put one selector per line
|
In PM's drop down tools, text (ie: Print view) is too small. In posts/viewtopic, drop down tool text is 11px, but in PMs, text is 10px. So PM tool menu font size is being over-ridden somewhere |
|
Big buttons use |
|
Don't know if it is possible, but I'd like to see the buttons image-class moved to the In the best case, we would have: So you can make a simple But this might also be a task for a new PR |
|
@prototech please post, when this is ready for merge |
Created a css version of the mini post buttons with the use of language vars and no fixed width of height. PHPBB3-12155
PHPBB3-12155
…ttons. PHPBB3-12155
PHPBB3-12155
PHPBB3-12155
PHPBB3-12155
…w it. PHPBB3-12155
…e paths. PHPBB3-12155
… too long PHPBB3-12155
This was in place for IE7 due to the use of :after for inserting the button icon. IE7 does not support :after, so the hack removed the extra padding that made room for the icon. We no longer use :after for the icon, so this is no longer an issue... not to mention that IE7 is no longer supported. PHPBB3-12155
…ently. PHPBB3-12155
…le sprite PHPBB3-12155
…on works. PHPBB3-12155
…n Safari. PHPBB3-12155
…in FF. PHPBB3-12155
…re at it. PHPBB3-12155
…o .button PHPBB3-12155
[ticket/12155] Construct post buttons using CSS. * prototech/ticket/12155: (21 commits) [ticket/12155] Remove use of !important and move reddish color back to .button [ticket/12155] Reposition the button icons to the left side while we're at it. [ticket/12155] Get rid of line-height value causing alignment issues in FF. [ticket/12155] Get rid of the <span> where possible and fix buttons in Safari. [ticket/12155] Fix misplaced semicolon and ensure that value comparison works. [ticket/12155] Combine the post and topic/PM button icons into a single sprite [ticket/12155] Move icon class directly to <a> and use <span> consistently. [ticket/12155] Remove star hack from padding-right property of .button. [ticket/12155] Fix tabbing and put one selector per line if string is too long [ticket/12155] Make opacity transition faster and fix background image paths. [ticket/12155] Keep the selection method consistent with the one below it. [ticket/12155] Fade out the buttons when leaving the post. [ticket/12155] Display the buttons only when hovering the post. [ticket/12155] Make the buttons bigger on touch devices. [ticket/12155] Clean up icons. [ticket/12155] Remove unused font. [ticket/12155] Remove obsolete images. [ticket/12155] Use the new .button class as the basis for the post buttons. [ticket/12155] Move existing button style to a more generic class. [ticket/12155] Remove obsolete language images. ...
|
I have verified that phpBB/styles/prosilver/theme/images/icons_button.png which is the only image that is getting added here, does not contain an ICC profile. Ref #2498 |
[ticket/12155] Construct post buttons using CSS. * prototech/ticket/12155: (21 commits) [ticket/12155] Remove use of !important and move reddish color back to .button [ticket/12155] Reposition the button icons to the left side while we're at it. [ticket/12155] Get rid of line-height value causing alignment issues in FF. [ticket/12155] Get rid of the <span> where possible and fix buttons in Safari. [ticket/12155] Fix misplaced semicolon and ensure that value comparison works. [ticket/12155] Combine the post and topic/PM button icons into a single sprite [ticket/12155] Move icon class directly to <a> and use <span> consistently. [ticket/12155] Remove star hack from padding-right property of .button. [ticket/12155] Fix tabbing and put one selector per line if string is too long [ticket/12155] Make opacity transition faster and fix background image paths. [ticket/12155] Keep the selection method consistent with the one below it. [ticket/12155] Fade out the buttons when leaving the post. [ticket/12155] Display the buttons only when hovering the post. [ticket/12155] Make the buttons bigger on touch devices. [ticket/12155] Clean up icons. [ticket/12155] Remove unused font. [ticket/12155] Remove obsolete images. [ticket/12155] Use the new .button class as the basis for the post buttons. [ticket/12155] Move existing button style to a more generic class. [ticket/12155] Remove obsolete language images. ...
|
Great work. :-) |
Rebased after phpbb#2469 PHPBB3-12598
Rebased after phpbb#2469 PHPBB3-12598
Rebased after phpbb#2469 PHPBB3-12598
Rebased after phpbb#2469 PHPBB3-12598


https://tracker.phpbb.com/browse/PHPBB3-12155
https://tracker.phpbb.com/browse/PHPBB3-12548