sync
This commit is contained in:
		@@ -1,3 +1,7 @@
 | 
			
		||||
.LP-Input:has( .LP-Input__Field:disabled){
 | 
			
		||||
    background-color: red;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.LP-Input{
 | 
			
		||||
    $-margin-bottom: 30px;
 | 
			
		||||
    display: flex;
 | 
			
		||||
@@ -17,11 +21,29 @@
 | 
			
		||||
            background-color: $-secondary-background-color;
 | 
			
		||||
            border-radius: 3px 3px 0 0;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        &:disabled{
 | 
			
		||||
            background-color: transparent;
 | 
			
		||||
            border-bottom: 1px dashed $-secondary-color;
 | 
			
		||||
            cursor: not-allowed;
 | 
			
		||||
 | 
			
		||||
            &:active{
 | 
			
		||||
                margin-bottom: $-margin-bottom;
 | 
			
		||||
                border-radius: 0;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            ~.LP-Input__Message{
 | 
			
		||||
                visibility: hidden;
 | 
			
		||||
            }
 | 
			
		||||
            
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .LP-Input__Label{
 | 
			
		||||
        font-family: $-primary-sans-serif-font;
 | 
			
		||||
        font-size: 18px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .LP-Input__Message{
 | 
			
		||||
        font-family: $-primary-sans-serif-font;
 | 
			
		||||
        font-style: italic;
 | 
			
		||||
 
 | 
			
		||||
@@ -2,4 +2,9 @@
 | 
			
		||||
    <label for="input123" class="LP-Input__Label">First name</label>
 | 
			
		||||
    <input type="text" id="input123" class="LP-Input__Field"/>
 | 
			
		||||
    <span class="LP-Input__Message">Field is required</span>
 | 
			
		||||
</div>
 | 
			
		||||
<div class="LP-Input">
 | 
			
		||||
    <label for="input123" class="LP-Input__Label">First name</label>
 | 
			
		||||
    <input type="text" id="input123" class="LP-Input__Field" disabled="disabled"/>
 | 
			
		||||
    <span class="LP-Input__Message">Field is required</span>
 | 
			
		||||
</div>
 | 
			
		||||
@@ -25,6 +25,11 @@
 | 
			
		||||
                <input type="text" id="input123" class="LP-Input__Field"/>
 | 
			
		||||
                <span class="LP-Input__Message">Field is required</span>
 | 
			
		||||
            </span>
 | 
			
		||||
            <span class="LP-Form__Field LP-Form__Field--narrower LP-Input">
 | 
			
		||||
                <label for="input123" class="LP-Input__Label">Disabled</label>
 | 
			
		||||
                <input type="text" id="input123" class="LP-Input__Field" disabled="disabled"/>
 | 
			
		||||
                <span class="LP-Input__Message">Field is required</span>
 | 
			
		||||
            </span>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        <div class="LP-Form__Composition">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user