mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-07 16:32:32 +02:00
variable press-to-select-text
It's useful for message or language changing trough variable.
This commit is contained in:
parent
a41fda45c3
commit
05f9d9f418
|
@ -14,6 +14,7 @@ $choices-highlight-color: $choices-primary-color !default;
|
||||||
$choices-button-icon-path: '../../icons/' !default;
|
$choices-button-icon-path: '../../icons/' !default;
|
||||||
$choices-button-dimension: 8px !default;
|
$choices-button-dimension: 8px !default;
|
||||||
$choices-button-offset: 8px !default;
|
$choices-button-offset: 8px !default;
|
||||||
|
$choices-press-to-select-text: 'Press to select' !default;
|
||||||
|
|
||||||
.choices {
|
.choices {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
@ -191,7 +192,7 @@ $choices-button-offset: 8px !default;
|
||||||
@media (min-width: 640px) {
|
@media (min-width: 640px) {
|
||||||
padding-right: 100px;
|
padding-right: 100px;
|
||||||
&:after {
|
&:after {
|
||||||
content: "Press to select";
|
content: $choices-press-to-select-text;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in a new issue