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";
|
@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{
|
.Form{
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-wrap:wrap;
|
flex-wrap:wrap;
|
||||||
@ -109,6 +119,7 @@
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
.noselect;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Form-tab:hover {
|
.Form-tab:hover {
|
||||||
@ -423,6 +434,7 @@ input[type='radio']:checked:before {
|
|||||||
font-size: small;
|
font-size: small;
|
||||||
padding-right:5px;
|
padding-right:5px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
.noselect;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Form-buttons{
|
.Form-buttons{
|
||||||
@ -502,6 +514,7 @@ input[type='radio']:checked:before {
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
font-size: small;
|
font-size: small;
|
||||||
color: @default-interface-txt;
|
color: @default-interface-txt;
|
||||||
|
.noselect;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 650px) {
|
@media only screen and (max-width: 650px) {
|
||||||
|
Loading…
Reference in New Issue
Block a user