浏览代码

Fixed accessibility issues with viewing options

Previnash Wong 8 年之前
父节点
当前提交
70ebbf1499

文件差异内容过多而无法显示
+ 0 - 132
docs/demo/awselect/css/awselect.css


文件差异内容过多而无法显示
+ 0 - 0
docs/demo/awselect/js/awselect.min.js


+ 1 - 0
package/css/awselect.css

@@ -107,6 +107,7 @@ Github: https://github.com/prevwong/awesome-select/
           -o-transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
           transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
           .awselect .back_face ul li a:hover {
+            background: rgba(0, 0, 0, 0.07);
             opacity: 1; }
   .awselect.animate {
     z-index: 3;

文件差异内容过多而无法显示
+ 0 - 0
package/css/awselect.css.map


文件差异内容过多而无法显示
+ 0 - 0
package/css/awselect.min.css


+ 1 - 0
package/css/awselect.scss

@@ -115,6 +115,7 @@ transition: .4s cubic-bezier(.19,1,.22,1);
 					width:100%;
 					@include transition();
 					&:hover {
+						background:rgba(0,0,0,0.07);
 						opacity:1;
 					}
 				}

+ 1 - 1
package/js/awselect.js

@@ -67,7 +67,7 @@ awselect_count = 0; // used for generating sequential ID for <select> that does
             if (typeof $(this).attr("selected") !== typeof undefined && $(this).attr("selected") !== false) {
                 selected = $(this).text();
             }
-            options_html += '<li><a style="padding: 0 '+ horizontal_padding +'">' + $(this).text() + '</a></li>';
+            options_html += '<li><a style="padding: 2px '+ horizontal_padding +'">' + $(this).text() + '</a></li>';
         });
         if (selected !== false) {
             classes += " hasValue";

文件差异内容过多而无法显示
+ 0 - 0
package/js/awselect.min.js


部分文件因为文件数量过多而无法显示