themes
6 years ago
admin.css
6 years ago
font-awesome.css
5 years ago
jquery.selectBox.css
5 years ago
style.css
5 years ago
jquery.selectBox.css
147 lines
| 1 | /* Dropdown control */ |
| 2 | .selectBox-dropdown { |
| 3 | min-width: 150px; |
| 4 | position: relative; |
| 5 | border: solid 1px #BBB; |
| 6 | line-height: 1.5; |
| 7 | text-decoration: none; |
| 8 | text-align: left; |
| 9 | color: #000; |
| 10 | outline: none; |
| 11 | vertical-align: middle; |
| 12 | background: #F2F2F2; |
| 13 | background: -moz-linear-gradient(top, #F8F8F8 1%, #E1E1E1 100%); |
| 14 | background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #F8F8F8), color-stop(100%, #E1E1E1)); |
| 15 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F8F8F8', endColorstr='#E1E1E1', GradientType=0); |
| 16 | -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, .75); |
| 17 | -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .75); |
| 18 | box-shadow: 0 1px 0 rgba(255, 255, 255, .75); |
| 19 | -webkit-border-radius: 4px; |
| 20 | -moz-border-radius: 4px; |
| 21 | border-radius: 4px; |
| 22 | display: inline-block; |
| 23 | cursor: default; |
| 24 | } |
| 25 | |
| 26 | .selectBox-dropdown:focus, |
| 27 | .selectBox-dropdown:focus .selectBox-arrow { |
| 28 | border-color: #666; |
| 29 | } |
| 30 | |
| 31 | .selectBox-dropdown.selectBox-menuShowing { |
| 32 | -moz-border-radius-bottomleft: 0; |
| 33 | -moz-border-radius-bottomright: 0; |
| 34 | -webkit-border-bottom-left-radius: 0; |
| 35 | -webkit-border-bottom-right-radius: 0; |
| 36 | border-bottom-left-radius: 0; |
| 37 | border-bottom-right-radius: 0; |
| 38 | } |
| 39 | |
| 40 | .selectBox-dropdown .selectBox-label { |
| 41 | padding: 2px 8px; |
| 42 | display: inline-block; |
| 43 | white-space: nowrap; |
| 44 | overflow: hidden; |
| 45 | } |
| 46 | |
| 47 | .selectBox-dropdown .selectBox-arrow { |
| 48 | position: absolute; |
| 49 | top: 0; |
| 50 | right: 0; |
| 51 | width: 23px; |
| 52 | height: 100%; |
| 53 | background: url(../images/jquery.selectBox-arrow.gif) 50% center no-repeat; |
| 54 | border-left: solid 1px #BBB; |
| 55 | } |
| 56 | |
| 57 | /* Dropdown menu */ |
| 58 | .selectBox-dropdown-menu { |
| 59 | position: absolute; |
| 60 | z-index: 99999; |
| 61 | max-height: 200px; |
| 62 | min-height: 1em; |
| 63 | border: solid 1px #BBB; /* should be the same border width as .selectBox-dropdown */ |
| 64 | background: #FFF; |
| 65 | -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, .2); |
| 66 | -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .2); |
| 67 | box-shadow: 0 2px 6px rgba(0, 0, 0, .2); |
| 68 | overflow: auto; |
| 69 | -webkit-overflow-scrolling: touch; |
| 70 | } |
| 71 | |
| 72 | /* Inline control */ |
| 73 | .selectBox-inline { |
| 74 | min-width: 150px; |
| 75 | outline: none; |
| 76 | border: solid 1px #BBB; |
| 77 | background: #FFF; |
| 78 | display: inline-block; |
| 79 | -webkit-border-radius: 4px; |
| 80 | -moz-border-radius: 4px; |
| 81 | border-radius: 4px; |
| 82 | overflow: auto; |
| 83 | } |
| 84 | |
| 85 | .selectBox-inline:focus { |
| 86 | border-color: #666; |
| 87 | } |
| 88 | |
| 89 | /* Options */ |
| 90 | .selectBox-options, |
| 91 | .selectBox-options LI, |
| 92 | .selectBox-options LI A { |
| 93 | list-style: none; |
| 94 | display: block; |
| 95 | cursor: default; |
| 96 | padding: 0; |
| 97 | margin: 0; |
| 98 | } |
| 99 | |
| 100 | .selectBox-options LI A { |
| 101 | line-height: 1.5; |
| 102 | padding: 0 .5em; |
| 103 | white-space: nowrap; |
| 104 | overflow: hidden; |
| 105 | background: 6px center no-repeat; |
| 106 | } |
| 107 | |
| 108 | .selectBox-options LI.selectBox-hover A { |
| 109 | background-color: #EEE; |
| 110 | } |
| 111 | |
| 112 | .selectBox-options LI.selectBox-disabled A { |
| 113 | color: #888; |
| 114 | background-color: transparent; |
| 115 | } |
| 116 | |
| 117 | .selectBox-options LI.selectBox-selected A { |
| 118 | background-color: #C8DEF4; |
| 119 | } |
| 120 | |
| 121 | .selectBox-options .selectBox-optgroup { |
| 122 | color: #666; |
| 123 | background: #EEE; |
| 124 | font-weight: bold; |
| 125 | line-height: 1.5; |
| 126 | padding: 0 .3em; |
| 127 | white-space: nowrap; |
| 128 | } |
| 129 | |
| 130 | /* Disabled state */ |
| 131 | .selectBox.selectBox-disabled { |
| 132 | color: #888 !important; |
| 133 | } |
| 134 | |
| 135 | .selectBox-dropdown.selectBox-disabled .selectBox-arrow { |
| 136 | opacity: .5; |
| 137 | filter: alpha(opacity=50); |
| 138 | border-color: #666; |
| 139 | } |
| 140 | |
| 141 | .selectBox-inline.selectBox-disabled { |
| 142 | color: #888 !important; |
| 143 | } |
| 144 | |
| 145 | .selectBox-inline.selectBox-disabled .selectBox-options A { |
| 146 | background-color: transparent !important; |
| 147 | } |