@@ -386,7 +386,6 @@ body.hidemenu .body-right { | |||||
} | } | ||||
.colordlg { | .colordlg { | ||||
padding:0.5rem; | padding:0.5rem; | ||||
width:120px; | |||||
background:#fff; | background:#fff; | ||||
border:1px solid #dee2e6; | border:1px solid #dee2e6; | ||||
z-index:10005 | z-index:10005 | ||||
@@ -638,8 +637,8 @@ table,input,select,textarea,.search,.menu-body,.coolbg,.mysource,.mywriter,.pubd | |||||
border-bottom-right-radius:0.5rem!important | border-bottom-right-radius:0.5rem!important | ||||
} | } | ||||
#selColor { | #selColor { | ||||
padding:0; | |||||
width:40px | |||||
padding:5px; | |||||
width:35px | |||||
} | } | ||||
#edsta { | #edsta { | ||||
display:none; | display:none; | ||||
@@ -440,7 +440,7 @@ input[type=file] { | |||||
#returntop:hover { | #returntop:hover { | ||||
background:#e77817 | background:#e77817 | ||||
} | } | ||||
@media (max-width:480px) { | |||||
@media (max-width:768px) { | |||||
.m-pb-1 { | .m-pb-1 { | ||||
padding-bottom:1rem | padding-bottom:1rem | ||||
} | } | ||||
@@ -28,5 +28,5 @@ | |||||
<td bgcolor="#FFFF00" onClick="ColorSel('#FFFF00', 'color');"> </td> | <td bgcolor="#FFFF00" onClick="ColorSel('#FFFF00', 'color');"> </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<span class="d-block my-2">自定义:<input type="color" id="selColor"></span> | |||||
<button class="btn btn-sm btn-success" onclick="ColorSel(document.querySelector('#selColor').value, 'color')">确定</button> | |||||
<p class="my-2">自定义:<input type="color" id="selColor"></p> | |||||
<button onclick="ColorSel(document.querySelector('#selColor').value, 'color')" class="btn btn-sm btn-success">确定</button> |