/** * Copyright (c) 2020. ExacTI Technology Solutions * MIT License. * https://exacti.com.br * floating-labels - https://github.com/exacti/floating-labels */ :root { --input-padding-x: 1rem; --input-padding-y: .5rem; --placeholder-color: #6c757d; --top-position: 14px; --label-z-index: 5; --input-background-color: #ffffff; --top-position-in-border: 5px; } .form-label-group { position: relative; margin-bottom: 1rem; } .form-label-group label { margin: 0; pointer-events: none; } .form-label-group input, .form-label-group textarea, .form-label-group label, .form-label-group:not(.in-border) select { padding: var(--input-padding-y) var(--input-padding-x); } .form-label-group label { position: absolute; top: 50%; left: 0; display: block; width: 100%; margin-bottom: 0; /* Override default `