[英]Sencha Touch 2: how to remove right arrow of datepickerfield by using css?
I'm curious how to remove the right arrow of the datepickerfield in Sencha Touch 2 by using applying css style. 我很好奇如何通过使用CSS样式删除Sencha Touch 2中datepickerfield的右箭头。
That's the source code on the page of the datepicker: 那是日期选择器页面上的源代码:
<div class="x-component-outer" id="ext-element-126">
<div class="x-unsized x-field-input sencha-clear-icon" id="ext-input-2">
<input class="x-input-el x-input-text x-form-field datepicker-input" type="text" id="ext-element-129" name="mydate" placeholder="Select your date">
<div class="x-field-mask" style="" id="ext-element-130">
</div>
<div class="x-clear-icon" id="ext-element-131">
</div>
</div>
</div>
Just added: The only applied personal css style for all inputs, including datepickerfield on the page: 刚刚添加:所有输入(包括页面上的datepickerfield)唯一应用的个人CSS样式:
input{
border:3px solid #555;
border-radius: 15px;
}
This border doesn't look great in the area around the arrow. 在箭头周围的区域中,该边框看起来不太好。 Looks like it goes behind the standard select arrow of the datepickerfield.
看起来好像在datepickerfield的标准选择箭头后面。
Try adding this: 尝试添加以下内容:
.x-field-select .x-component-outer:after {
background-color: white;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.