mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Don't allow text selection on checkbox labels nor buttons
Prevents annoying random text selection when you're clicking through things.
This commit is contained in:
parent
aa9a4925b0
commit
01a2590271
@ -9,6 +9,16 @@
|
||||
|
||||
@import "awx/ui/client/src/shared/branding/colors.default.less";
|
||||
|
||||
.noselect {
|
||||
-webkit-touch-callout: none; /* iOS Safari */
|
||||
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
||||
-khtml-user-select: none; /* Konqueror */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
||||
user-select: none; /* Non-prefixed version, currently
|
||||
not supported by any browser */
|
||||
}
|
||||
|
||||
.Form{
|
||||
display:flex;
|
||||
flex-wrap:wrap;
|
||||
@ -109,6 +119,7 @@
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
.noselect;
|
||||
}
|
||||
|
||||
.Form-tab:hover {
|
||||
@ -423,6 +434,7 @@ input[type='radio']:checked:before {
|
||||
font-size: small;
|
||||
padding-right:5px;
|
||||
width: 100%;
|
||||
.noselect;
|
||||
}
|
||||
|
||||
.Form-buttons{
|
||||
@ -502,6 +514,7 @@ input[type='radio']:checked:before {
|
||||
margin-top: 5px;
|
||||
font-size: small;
|
||||
color: @default-interface-txt;
|
||||
.noselect;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 650px) {
|
||||
|
Loading…
Reference in New Issue
Block a user