module_filter_tab.css 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. .sticky-header {
  2. z-index: 1;
  3. }
  4. #module-filter-tabs {
  5. float: left;
  6. }
  7. #module-filter-tabs ul {
  8. width: 239px;
  9. list-style: none;
  10. list-style-image: none;
  11. background-color: #ddd;
  12. border: 1px solid #ccc;
  13. border-top: none;
  14. margin: 0;
  15. padding: 0;
  16. line-height: 1;
  17. }
  18. #module-filter-tabs li {
  19. background: #eee;
  20. border-top: 1px solid #ccc;
  21. padding: 0;
  22. margin: 0;
  23. min-width: 0;
  24. }
  25. #module-filter-tabs li#new-tab {
  26. margin-bottom: 10px;
  27. border-bottom: 1px solid #ccc;
  28. }
  29. #module-filter-tabs li.disabled,
  30. #module-filter-tabs li#new-tab.disabled {
  31. pointer-events: none;
  32. cursor: default;
  33. background: #ccc;
  34. border-top-color: #bbb;
  35. border-bottom-color: #bbb;
  36. }
  37. #module-filter-tabs li.disabled a,
  38. #module-filter-tabs li.disabled span {
  39. color: #999;
  40. }
  41. #module-filter-tabs li.suggest {
  42. background: #F9F9F9;
  43. }
  44. #module-filter-tabs li a {
  45. display: block;
  46. text-decoration: none;
  47. padding: 10px;
  48. }
  49. #module-filter-tabs li a span.result-info {
  50. float: right;
  51. font-size: 10px;
  52. color: #999;
  53. margin-top: 3px;
  54. }
  55. #module-filter-tabs li a span.visual-aid {
  56. font-size: 8px;
  57. /* float: right;*/
  58. }
  59. #module-filter-tabs li span.visual-aid {
  60. font-weight: bold;
  61. }
  62. #module-filter-tabs li a span.enabling {
  63. color: green;
  64. }
  65. #module-filter-tabs li a span.disabling {
  66. color: red;
  67. }
  68. #module-filter-tabs li strong {
  69. font-size: 0.923em;
  70. }
  71. #module-filter-tabs li a:hover,
  72. #module-filter-tabs li a:focus {
  73. outline: 1px dotted;
  74. background: #d5d5d5;
  75. text-decoration: none;
  76. outline: 0;
  77. }
  78. #module-filter-tabs li.selected a,
  79. #module-filter-tabs li.selected a:hover,
  80. #module-filter-tabs li.selected a:focus,
  81. #module-filter-tabs li.selected a:active {
  82. background-color: #fff;
  83. margin-right: -1px;
  84. }
  85. #module-filter-tabs li .summary {
  86. display: block;
  87. margin-bottom: 0;
  88. color: #666;
  89. font-size: 0.846em;
  90. padding-top: 0.4em;
  91. }
  92. #module-filter-tabs li .summary .count {
  93. display: none;
  94. }
  95. #module-filter-tabs li.selected .summary .count {
  96. display: block;
  97. }
  98. html.js #module-filter-submit input {
  99. margin: 2em 2em 1em;
  100. }
  101. html.js .module-filter-inputs-wrapper {
  102. text-align: center;
  103. }
  104. html.js .module-filter-inputs-wrapper .form-item {
  105. margin: 0;
  106. padding: 9px;
  107. }
  108. html.js .module-filter-inputs-wrapper label {
  109. display: inline;
  110. }
  111. html.js .module-filter-inputs-wrapper input[name="module_filter[name]"] {
  112. width: 80%;
  113. }
  114. html.js #module-filter-show-wrapper {
  115. margin-bottom: 1em;
  116. }
  117. html.js #module-filter-modules {
  118. margin-left: 240px;
  119. border: 1px solid #ccc;
  120. }
  121. #module-filter-modules table {
  122. border-top: none;
  123. border-right: none;
  124. border-left: none;
  125. }
  126. html.js #module-filter-modules table {
  127. margin: 0;
  128. border-bottom: none;
  129. }
  130. html.js #module-filter-modules table tr,
  131. html.js #module-filter-modules table td {
  132. border-left: 0;
  133. border-right: 0;
  134. }
  135. #module-filter-modules table thead {
  136. display: none;
  137. }
  138. #module-filter-modules table tr.admin-package-title,
  139. #module-filter-modules table tr.admin-package-title td {
  140. border: none !important;
  141. border-top: 1px solid #ccc !important;
  142. background-color: transparent !important;
  143. padding: 10px 0 0;
  144. }
  145. #module-filter-modules table tr.admin-package-title.first,
  146. #module-filter-modules table tr.admin-package-title.first td {
  147. border-top: none !important;
  148. }
  149. #module-filter-modules table tr.admin-package-header td {
  150. border: 1px solid #ccc;
  151. text-transform: uppercase;
  152. background: #E1E2DC;
  153. font-weight: normal;
  154. padding: 3px 10px;
  155. }
  156. #module-filter-modules table tr.enabling {
  157. background-color: #dfd;
  158. }
  159. #module-filter-modules table tr.disabling {
  160. background-color: #fcc;
  161. }
  162. #module-filter-modules span.module-machine-name {
  163. font-size: 0.9em;
  164. font-weight: normal;
  165. }
  166. .admin-version {
  167. white-space: nowrap;
  168. }
  169. .admin-operations a.module-link {
  170. display: inline;
  171. }
  172. html.js .toggle-enable {
  173. margin: auto;
  174. position: relative;
  175. width: 50px;
  176. overflow: hidden;
  177. height: 18px;
  178. line-height: 18px;
  179. font-size: 11px;
  180. text-align: center;
  181. cursor: pointer;
  182. border: 1px solid #ccc;
  183. -moz-border-radius: 3px;
  184. -webkit-border-radius: 3px;
  185. -khtml-border-radius: 3px;
  186. border-radius: 3px;
  187. -moz-box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
  188. -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
  189. box-shadow: 0 0 10px rgba(0,0,0,0.50) inset;
  190. background-clip: padding-box;
  191. background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(50%, red), color-stop(50%, orange), color-stop(100%, orange));
  192. background-image: -moz-linear-gradient(left, red 50%, orange 50%, orange 100%);
  193. background-image: linear-gradient(left, red 50%, orange 50%, orange 100%);
  194. }
  195. html.js .toggle-enable.enabled {
  196. background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(50%, orange), color-stop(50%, green), color-stop(100%, green));
  197. background-image: -moz-linear-gradient(left, orange 50%, green 50%, green 100%);
  198. background-image: linear-gradient(left, orange 50%, green 50%, green 100%);
  199. }
  200. html.js .toggle-enable.disabled {
  201. background: #ccc;
  202. border-color: #ddd;
  203. cursor: auto;
  204. }
  205. html.js .toggle-enable div {
  206. position: relative;
  207. color: #777;
  208. width: 26px;
  209. -moz-border-radius: 2px;
  210. -webkit-border-radius: 2px;
  211. -khtml-border-radius: 2px;
  212. border-radius: 2px;
  213. background: white;
  214. text-shadow: 1px 1px 0 white;
  215. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #FEFEFE), color-stop(100%, #EAEAEA));
  216. background-image: -moz-linear-gradient(top, #FEFEFE 0%, #EAEAEA 100%);
  217. background-image: linear-gradient(top, #FEFEFE 0%, #EAEAEA 100%);
  218. -webkit-transition: left 0.2s;
  219. -mox-transition: left 0.2s;
  220. -o-transition: left 0.2s;
  221. transition: left 0.2s;
  222. }
  223. html.js .toggle-enable.disabled div {
  224. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #FEFEFE), color-stop(100%, #EEEEEE));
  225. background-image: -moz-linear-gradient(top, #FEFEFE 0%, #EEEEEE 100%);
  226. background-image: linear-gradient(top, #FEFEFE 0%, #EEEEEE 100%);
  227. }
  228. html.js .toggle-enable div:after,
  229. html.js .toggle-enable div:before {
  230. color: white;
  231. text-shadow: none;
  232. width: 25px;
  233. position: absolute;
  234. top: 0;
  235. font-size: 9px;
  236. font-weight: bold;
  237. }
  238. html.js .toggle-enable div:before {
  239. content: "OFF";
  240. left: -24px;
  241. }
  242. html.js .toggle-enable div:after {
  243. content: "ON";
  244. right: -24px;
  245. }
  246. html.js .toggle-enable.off div {
  247. left: 24px;
  248. }
  249. #module-filter-tabs.top-fixed {
  250. position: fixed;
  251. top: 0;
  252. }
  253. #module-filter-tabs.bottom-fixed {
  254. position: fixed;
  255. bottom: 0;
  256. }