mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 12:00:26 +02:00
[ticket/14771] Add CSS class for audio controls
PHPBB3-14771
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
{% if _file.COMMENT %}<dd><em>{{ _file.COMMENT }}</em></dd>{% endif %}
|
{% if _file.COMMENT %}<dd><em>{{ _file.COMMENT }}</em></dd>{% endif %}
|
||||||
<dd>{{ _file.DOWNLOAD_NAME }} ({{ _file.FILESIZE }} {{ _file.SIZE_LANG }}) {{ _file.L_DOWNLOAD_COUNT }}</dd>
|
<dd>{{ _file.DOWNLOAD_NAME }} ({{ _file.FILESIZE }} {{ _file.SIZE_LANG }}) {{ _file.L_DOWNLOAD_COUNT }}</dd>
|
||||||
<dd>
|
<dd>
|
||||||
<audio controls="controls" preload="none" style="max-width:100%;width:360px">
|
<audio class="file-audio-controls" controls="controls" preload="none">
|
||||||
<source src="{{ _file.U_DOWNLOAD_LINK }}" type="{{ _file.MIMETYPE }}">
|
<source src="{{ _file.U_DOWNLOAD_LINK }}" type="{{ _file.MIMETYPE }}">
|
||||||
</audio>
|
</audio>
|
||||||
</dd>
|
</dd>
|
||||||
|
@@ -682,6 +682,10 @@ dl.thumbnail dt a:hover img {
|
|||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
audio.file-audio-controls {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/* Post poll styles
|
/* Post poll styles
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
fieldset.polls {
|
fieldset.polls {
|
||||||
|
Reference in New Issue
Block a user