mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-05 22:14:59 +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++) {
|
for (b = 0; b < 5; b++) {
|
||||||
color = String(numberList[r]) + String(numberList[g]) + String(numberList[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 += '<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>';
|
html += '</td>';
|
||||||
}
|
}
|
||||||
|
@ -111,14 +111,16 @@
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<!-- IF BBCODE_STATUS -->
|
<!-- IF BBCODE_STATUS -->
|
||||||
<!-- IF .smiley --><hr /><!-- ENDIF -->
|
<div class="bbcode-status">
|
||||||
{BBCODE_STATUS}<br />
|
<!-- IF .smiley --><hr /><!-- ENDIF -->
|
||||||
<!-- IF S_BBCODE_ALLOWED -->
|
{BBCODE_STATUS}<br />
|
||||||
{IMG_STATUS}<br />
|
<!-- IF S_BBCODE_ALLOWED -->
|
||||||
{FLASH_STATUS}<br />
|
{IMG_STATUS}<br />
|
||||||
{URL_STATUS}<br />
|
{FLASH_STATUS}<br />
|
||||||
<!-- ENDIF -->
|
{URL_STATUS}<br />
|
||||||
{SMILIES_STATUS}
|
<!-- ENDIF -->
|
||||||
|
{SMILIES_STATUS}
|
||||||
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- IF S_EDIT_DRAFT || S_DISPLAY_REVIEW -->
|
<!-- IF S_EDIT_DRAFT || S_DISPLAY_REVIEW -->
|
||||||
<!-- IF S_DISPLAY_REVIEW --><hr /><!-- ENDIF -->
|
<!-- IF S_DISPLAY_REVIEW --><hr /><!-- ENDIF -->
|
||||||
|
@ -300,6 +300,53 @@ table.mcp-logs-full td:nth-child(3) {
|
|||||||
text-align: right;
|
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
|
/* Misc stuff
|
||||||
----------------------------------------*/
|
----------------------------------------*/
|
||||||
h2 {
|
h2 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user