app/assets/stylesheets/trestle/components/_datepicker.scss in trestle-0.8.7 vs app/assets/stylesheets/trestle/components/_datepicker.scss in trestle-0.8.8
- old
+ new
@@ -1,4 +1,32 @@
+.clear-datepicker {
+ position: absolute;
+ top: 0;
+ right: 0;
+ z-index: 4;
+
+ width: 34px;
+ height: 34px;
+ line-height: 34px;
+ text-align: center;
+
+ color: #ccc;
+
+ &:hover, &:focus {
+ color: #aaa;
+ }
+
+ &::before {
+ @extend .fa;
+ content: $fa-var-times;
+ }
+
+ input[value=""] ~ &,
+ input:not([value]) ~ & {
+ display: none;
+ }
+}
+
.flatpickr-calendar {
background: $theme-bg;
&.arrowTop {
&::after {