Style date_duration widget

This commit is contained in:
Hadi Nategh 2021-02-10 11:20:10 +01:00
parent 1e15a6efc7
commit e66061a411
3 changed files with 23 additions and 1 deletions

View File

@ -524,9 +524,19 @@ span.et2_date span {
text-align: center;
font-size: 9pt;
}
span.et2_date_duration input.et2_date_duration {
span.et2_date_duration {
border: 1px solid gray;
border-radius: 3px;
display: inline-block;
}
span.et2_date_duration .et2_date_duration {
width: 3em;
text-align: right;
border: none;
outline: none;
}
span.et2_date_duration :not(input:first-child) {
border-left: 1px solid #e0e0e0a8;
}
span.et2_date_duration span {
vertical-align: -webkit-baseline-middle;

View File

@ -342,6 +342,12 @@
span.et2_date span {
color: #FFFFFF;
}
span.et2_date_duration {
border: 1px solid #E6E6E6;
}
span.et2_date_duration :not(input:first-child) {
border-left: 1px solid #F2F2F2;
}
.ui-datepicker .ui-datepicker-buttonpane button[data-handler="today"] {
background-image: url(../images/bullet.svg);
background-color: transparent;

View File

@ -169,6 +169,12 @@ span.et2_date input.et2_date {
span.et2_date span {
color: @gray_0;
}
span.et2_date_duration {
border: 1px solid @gray_10;
}
span.et2_date_duration :not(input:first-child) {
border-left: 1px solid @gray_5;
}
.ui-datepicker .ui-datepicker-buttonpane button[data-handler="today"] {
background-image: url(../images/bullet.svg);