mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Add disabled styles for TextInput and CheckBox components.
This commit is contained in:
parent
7bf0bcf76f
commit
c7c27f59ea
4 changed files with 20 additions and 0 deletions
|
@ -41,4 +41,9 @@
|
|||
&:focus {
|
||||
@include focus;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
opacity: 0.3;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,4 +18,9 @@
|
|||
outline: none;
|
||||
border-color: $selectedBorderColor;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
opacity: 0.3;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
<input type="checkbox" class="kuiCheckBox">
|
||||
|
||||
<hr class="guideBreak">
|
||||
|
||||
<input type="checkbox" class="kuiCheckBox" checked>
|
||||
|
||||
<hr class="guideBreak">
|
||||
|
||||
<input type="checkbox" class="kuiCheckBox" checked disabled>
|
||||
|
|
|
@ -7,3 +7,7 @@
|
|||
<hr class="guideBreak">
|
||||
|
||||
<input type="text" class="kuiTextInput" required>
|
||||
|
||||
<hr class="guideBreak">
|
||||
|
||||
<input type="text" class="kuiTextInput" value="Disabled" disabled>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue