This commit is contained in:
1 parent
de081a5e33
commit
4b6937ecd2
1 file changed
+16
@@ -389,6 +389,22 @@
|
|||||||
box-shadow: 0 0 0 2px rgba(65, 155, 56, 0.1);
|
box-shadow: 0 0 0 2px rgba(65, 155, 56, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 抹除浏览器原生日期选择器的特殊样式,保持与项目其他输入框一致 */
|
||||||
|
.form-group input[type='date'] {
|
||||||
|
appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color-scheme: light;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group input[type='date']::-webkit-calendar-picker-indicator {
|
||||||
|
filter: invert(0.4);
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 0;
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.form-actions {
|
.form-actions {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in new issue
Block a user