causeway-standard-theme
Version:
71 lines (70 loc) • 1.39 kB
text/less
.currency {
&.form-group {
.add-on {
text-align: left;
padding-left: 10px;
&.select {
padding-left: 0;
height: 100%;
margin: 0;
top: 0;
border: 0;
line-height: normal;
.box-shadow(none);
background-color: @enterprise-blue;
&:hover {
background-color: @blue;
}
select {
height: 100%;
color: @white;
&:hover, &:focus, &:active {
background-color: @blue;
}
option {
background-color: @white;
}
}
}
}
&.disabled {
.add-on {
&.select {
background-color: @cool-grey;
cursor: not-allowed;
&:before {
color: @black080;
}
select {
cursor: not-allowed;
&:hover,&:focus,&:active {
background-color: @cool-grey;
}
}
&:hover,&:focus,&:active {
background-color: @cool-grey;
}
}
}
}
}
&.error-hover {
.control-input {
.error-message {
right: @addon-currency-width;
}
}
.select {
&:before {
right: 0;
}
&:after {
content: '';
display: none;
}
select {
padding-right: 30px;
}
}
}
}