select arrow style improvement

This commit is contained in:
bergware
2018-11-09 18:41:14 +01:00
parent 4b2a5d8631
commit 9c84ac4884
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ input[type=button][disabled],input[type=reset][disabled],input[type=submit][disa
input:hover[type=button][disabled],input:hover[type=reset][disabled],input:hover[type=submit][disabled],button:hover[disabled],button:hover[type=button][disabled],a.button:hover[disabled]
input:active[type=button][disabled],input:active[type=reset][disabled],input:active[type=submit][disabled],button:active[disabled],button:active[type=button][disabled],a.button:active[disabled]{cursor:default;color:#808080;background:-webkit-gradient(linear,left top,right top,from(#404040),to(#808080)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#404040),to(#808080)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#404040),to(#404040)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#808080),to(#808080)) 100% 100% no-repeat;background:linear-gradient(90deg,#404040 0,#808080) 0 0 no-repeat,linear-gradient(90deg,#404040 0,#808080) 0 100% no-repeat,linear-gradient(0deg,#404040 0,#404040) 0 100% no-repeat,linear-gradient(0deg,#808080 0,#808080) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%}
input::-webkit-input-placeholder{color:#486dba}
select{-webkit-appearance:none;font-family:clear-sans;font-size:1.3rem;min-width:166px;max-width:300px;padding:2px 0;text-indent:0;margin:0 10px 0 0;border:none;border-bottom:#1c1c1c 1px solid;box-shadow:none;border-radius:0;color:#1c1c1c;background-color:transparent;background-image:linear-gradient(66.6deg, transparent 50%, #1c1c1c 50%),linear-gradient(113.4deg, #1c1c1c 50%, transparent 50%);background-position:calc(100% - .5rem) .6rem,100% .6rem;background-size:.5rem .8rem,.5rem .8rem;background-repeat:no-repeat;outline:none;display:inline-block;cursor:pointer}
select{-webkit-appearance:none;font-family:clear-sans;font-size:1.3rem;min-width:166px;max-width:300px;padding:2px 0;text-indent:0;margin:0 10px 0 0;border:none;border-bottom:#1c1c1c 1px solid;box-shadow:none;border-radius:0;color:#1c1c1c;background-color:transparent;background-image:linear-gradient(66.6deg, transparent 50%, #1c1c1c 50%),linear-gradient(113.4deg, #1c1c1c 50%, transparent 50%);background-position:calc(100% - .5rem),100%;background-size:.5rem .8rem,.5rem .8rem;background-repeat:no-repeat;outline:none;display:inline-block;cursor:pointer}
select option{color:#1c1c1c;background-color:#e8e8e8}
select:focus{outline:0}
select[disabled]{color:#1c1c1c;border-bottom-color:#a2a2a2;opacity:0.5;cursor:default}