1 .adaptive_placeholder(@height, @radius, @margin: 0em, @border: 1px) {
2 @borders: (@border * 2);
3 box-sizing: border-box;
5 height: ~"calc(@{height} + @{borders})";
8 border: @border solid #00bafa;
9 border-radius: @radius;
15 border-color: #00bafa;
30 transform: translate(0, (-1em)) scale(.9, .9);
50 line-height: @margin * 1.25;
51 margin-top: ~"calc(-1em - @{borders})";
52 margin-bottom: ~"calc((@{height} - @{margin}) + @{borders})";
54 content: attr(placeholder);
55 display: inline-block;
56 margin: 0 ~"calc(@{margin} + @{borders})";
61 transition: .3s ease-in-out;
63 background-image: linear-gradient(to bottom, #fff, #fff);
64 background-size: 100% 5px;
65 background-repeat: no-repeat;
66 background-position: center;
73 .gab-column-provider-form {
77 .gab-column-provider-input {
80 .adaptive_placeholder(@height, (@height / 2));
84 .gab-column-provider-input.ng-valid[required], .gab-column-provider-input.ng-valid.required {
85 border-left: 5px solid #42bb48;
86 border-right: 5px solid #42bb48;
89 .gab-column-provider-input.ng-invalid:not(form) {
90 border-left: 5px solid #ff0511;
91 border-right: 5px solid #ff0511;