|
|
|
@ -208,9 +208,16 @@ function vanillaSelectBox(domSelector, options) {
@@ -208,9 +208,16 @@ function vanillaSelectBox(domSelector, options) {
|
|
|
|
|
if (selector === ".vsb-main button") { |
|
|
|
|
cssArray = [ |
|
|
|
|
{ "key": "min-width", "value": "120px" }, |
|
|
|
|
{ "key": "border-radius", "value": "0" }, |
|
|
|
|
{ "key": "width", "value": "100%" }, |
|
|
|
|
{ "key": "text-align", "value": "left" }, |
|
|
|
|
{ "key": "z-index", "value": "1" } |
|
|
|
|
{ "key": "z-index", "value": "1" }, |
|
|
|
|
{ "key": "color", "value": "#333" }, |
|
|
|
|
{ "key": "background", "value": "white !important" }, |
|
|
|
|
{ "key": "border", "value": "1px solid #999 !important" }, |
|
|
|
|
{ "key": "line-height", "value": "20px" }, |
|
|
|
|
{ "key": "font-size", "value": "14px" }, |
|
|
|
|
{ "key": "padding", "value": "6px 12px" } |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -292,7 +299,7 @@ function vanillaSelectBox(domSelector, options) {
@@ -292,7 +299,7 @@ function vanillaSelectBox(domSelector, options) {
|
|
|
|
|
if(this.keepInlineCaretStyles) { |
|
|
|
|
caret.style.position = "absolute"; |
|
|
|
|
caret.style.right = "8px"; |
|
|
|
|
caret.style.marginTop = "6px"; |
|
|
|
|
caret.style.marginTop = "8px"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (self.userOptions.stayOpen) { |
|
|
|
@ -1394,3 +1401,4 @@ function vanillaSelectBox_type(target) {
@@ -1394,3 +1401,4 @@ function vanillaSelectBox_type(target) {
|
|
|
|
|
const lowercased = stripped.toLowerCase(); |
|
|
|
|
return lowercased; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|