mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-28 10:09:15 +02:00
[ticket/11552] Responsive forms
PHPBB3-11552
This commit is contained in:
parent
12c34e4176
commit
ea874c2ffb
@ -325,7 +325,7 @@ function colorPalette(dir, width, height) {
|
||||
|
||||
for (b = 0; b < 5; b++) {
|
||||
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
|
||||
html += '<td bgcolor="#' + color + '" style="width: ' + width + 'px; height: ' + height + 'px;">';
|
||||
html += '<td style="background-color: #' + color + '; width: ' + width + 'px; height: ' + height + 'px;">';
|
||||
html += '<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;" style="display: block; width: ' + width + 'px; height: ' + height + 'px; " alt="#' + color + '" title="#' + color + '"></a>';
|
||||
html += '</td>';
|
||||
}
|
||||
|
@ -111,14 +111,16 @@
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF BBCODE_STATUS -->
|
||||
<!-- IF .smiley --><hr /><!-- ENDIF -->
|
||||
{BBCODE_STATUS}<br />
|
||||
<!-- IF S_BBCODE_ALLOWED -->
|
||||
{IMG_STATUS}<br />
|
||||
{FLASH_STATUS}<br />
|
||||
{URL_STATUS}<br />
|
||||
<!-- ENDIF -->
|
||||
{SMILIES_STATUS}
|
||||
<div class="bbcode-status">
|
||||
<!-- IF .smiley --><hr /><!-- ENDIF -->
|
||||
{BBCODE_STATUS}<br />
|
||||
<!-- IF S_BBCODE_ALLOWED -->
|
||||
{IMG_STATUS}<br />
|
||||
{FLASH_STATUS}<br />
|
||||
{URL_STATUS}<br />
|
||||
<!-- ENDIF -->
|
||||
{SMILIES_STATUS}
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_EDIT_DRAFT || S_DISPLAY_REVIEW -->
|
||||
<!-- IF S_DISPLAY_REVIEW --><hr /><!-- ENDIF -->
|
||||
|
@ -300,6 +300,53 @@ table.mcp-logs-full td:nth-child(3) {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
----------------------------------------*/
|
||||
fieldset dt, fieldset.fields1 dt, fieldset.fields2 dt {
|
||||
width: auto;
|
||||
float: none;
|
||||
}
|
||||
|
||||
fieldset dd, fieldset.fields1 dd, fieldset.fields2 dd {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
textarea, dd textarea, #message-box textarea {
|
||||
width: 100%;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#smiley-box, #message-box {
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#smiley-box {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.bbcode-status {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#colour_palette table, #colour_palette tbody, #colour_palette tr {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#colour_palette td {
|
||||
display: inline-block;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
#colour_palette td:nth-child(2n) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#colour_palette a {
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
/* Misc stuff
|
||||
----------------------------------------*/
|
||||
h2 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user