panel.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. * {
  2. -moz-box-sizing: border-box;
  3. -webkit-box-sizing: border-box;
  4. -o-box-sizing: border-box;
  5. -ms-box-sizing: border-box;
  6. box-sizing: border-box;
  7. }
  8. .panel {
  9. overflow: hidden;
  10. text-align: left;
  11. margin: 0;
  12. border: 0;
  13. -moz-border-radius: 0 0 0 0;
  14. -webkit-border-radius: 0 0 0 0;
  15. border-radius: 0 0 0 0;
  16. }
  17. .panel-header,
  18. .panel-body {
  19. border-width: 1px;
  20. border-style: solid;
  21. }
  22. .panel-header {
  23. padding: 5px;
  24. position: relative;
  25. }
  26. .panel-title {
  27. background: url('images/blank.gif') no-repeat;
  28. }
  29. .panel-header-noborder {
  30. border-width: 0 0 1px 0;
  31. }
  32. .panel-body {
  33. overflow: auto;
  34. border-top-width: 0;
  35. padding: 0;
  36. }
  37. .panel-body-noheader {
  38. border-top-width: 1px;
  39. }
  40. .panel-body-noborder {
  41. border-width: 0px;
  42. }
  43. .panel-body-nobottom {
  44. border-bottom-width: 0;
  45. }
  46. .panel-with-icon {
  47. padding-left: 18px;
  48. }
  49. .panel-icon,
  50. .panel-tool {
  51. position: absolute;
  52. top: 50%;
  53. margin-top: -8px;
  54. height: 16px;
  55. overflow: hidden;
  56. }
  57. .panel-icon {
  58. left: 5px;
  59. width: 16px;
  60. }
  61. .panel-tool {
  62. right: 5px;
  63. width: auto;
  64. }
  65. .panel-tool a {
  66. display: inline-block;
  67. width: 16px;
  68. height: 16px;
  69. opacity: 0.6;
  70. filter: alpha(opacity=60);
  71. margin: 0 0 0 2px;
  72. vertical-align: top;
  73. }
  74. .panel-tool a:hover {
  75. opacity: 1;
  76. filter: alpha(opacity=100);
  77. background-color: #777;
  78. -moz-border-radius: 3px 3px 3px 3px;
  79. -webkit-border-radius: 3px 3px 3px 3px;
  80. border-radius: 3px 3px 3px 3px;
  81. }
  82. .panel-loading {
  83. padding: 11px 0px 10px 30px;
  84. }
  85. .panel-noscroll {
  86. overflow: hidden;
  87. }
  88. .panel-fit,
  89. .panel-fit body {
  90. height: 100%;
  91. margin: 0;
  92. padding: 0;
  93. border: 0;
  94. overflow: hidden;
  95. }
  96. .panel-loading {
  97. background: url('images/loading.gif') no-repeat 10px 10px;
  98. }
  99. .panel-tool-close {
  100. background: url('images/panel_tools.png') no-repeat -16px 0px;
  101. }
  102. .panel-tool-min {
  103. background: url('images/panel_tools.png') no-repeat 0px 0px;
  104. }
  105. .panel-tool-max {
  106. background: url('images/panel_tools.png') no-repeat 0px -16px;
  107. }
  108. .panel-tool-restore {
  109. background: url('images/panel_tools.png') no-repeat -16px -16px;
  110. }
  111. .panel-tool-collapse {
  112. background: url('images/panel_tools.png') no-repeat -32px 0;
  113. }
  114. .panel-tool-expand {
  115. background: url('images/panel_tools.png') no-repeat -32px -16px;
  116. }
  117. .panel-header,
  118. .panel-body {
  119. border-color: #000;
  120. }
  121. .panel-header {
  122. background-color: #3d3d3d;
  123. background: -webkit-linear-gradient(top,#454545 0,#383838 100%);
  124. background: -moz-linear-gradient(top,#454545 0,#383838 100%);
  125. background: -o-linear-gradient(top,#454545 0,#383838 100%);
  126. background: linear-gradient(to bottom,#454545 0,#383838 100%);
  127. background-repeat: repeat-x;
  128. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0);
  129. }
  130. .panel-body {
  131. background-color: #666;
  132. color: #fff;
  133. font-size: 14px;
  134. }
  135. .panel-title {
  136. font-size: 14px;
  137. font-weight: bold;
  138. color: #fff;
  139. height: 20px;
  140. line-height: 20px;
  141. }
  142. .panel-footer {
  143. border: 1px solid #000;
  144. overflow: hidden;
  145. background: #555;
  146. }
  147. .panel-footer-noborder {
  148. border-width: 1px 0 0 0;
  149. }
  150. .panel-hleft,
  151. .panel-hright {
  152. position: relative;
  153. }
  154. .panel-hleft>.panel-body,
  155. .panel-hright>.panel-body {
  156. position: absolute;
  157. }
  158. .panel-hleft>.panel-header {
  159. float: left;
  160. }
  161. .panel-hright>.panel-header {
  162. float: right;
  163. }
  164. .panel-hleft>.panel-body {
  165. border-top-width: 1px;
  166. border-left-width: 0;
  167. }
  168. .panel-hright>.panel-body {
  169. border-top-width: 1px;
  170. border-right-width: 0;
  171. }
  172. .panel-hleft>.panel-body-nobottom {
  173. border-bottom-width: 1px;
  174. border-right-width: 0;
  175. }
  176. .panel-hright>.panel-body-nobottom {
  177. border-bottom-width: 1px;
  178. border-left-width: 0;
  179. }
  180. .panel-hleft>.panel-footer {
  181. position: absolute;
  182. right: 0;
  183. }
  184. .panel-hright>.panel-footer {
  185. position: absolute;
  186. left: 0;
  187. }
  188. .panel-hleft>.panel-header-noborder {
  189. border-width: 0 1px 0 0;
  190. }
  191. .panel-hright>.panel-header-noborder {
  192. border-width: 0 0 0 1px;
  193. }
  194. .panel-hleft>.panel-body-noborder {
  195. border-width: 0;
  196. }
  197. .panel-hright>.panel-body-noborder {
  198. border-width: 0;
  199. }
  200. .panel-hleft>.panel-body-noheader {
  201. border-left-width: 1px;
  202. }
  203. .panel-hright>.panel-body-noheader {
  204. border-right-width: 1px;
  205. }
  206. .panel-hleft>.panel-footer-noborder {
  207. border-width: 0 0 0 1px;
  208. }
  209. .panel-hright>.panel-footer-noborder {
  210. border-width: 0 1px 0 0;
  211. }
  212. .panel-hleft>.panel-header .panel-icon,
  213. .panel-hright>.panel-header .panel-icon {
  214. margin-top: 0;
  215. top: 5px;
  216. left: 50%;
  217. margin-left: -8px;
  218. }
  219. .panel-hleft>.panel-header .panel-title,
  220. .panel-hright>.panel-header .panel-title {
  221. position: absolute;
  222. min-width: 16px;
  223. left: 25px;
  224. top: 5px;
  225. bottom: auto;
  226. white-space: nowrap;
  227. word-wrap: normal;
  228. -webkit-transform: rotate(90deg);
  229. -webkit-transform-origin: 0 0;
  230. -moz-transform: rotate(90deg);
  231. -moz-transform-origin: 0 0;
  232. -o-transform: rotate(90deg);
  233. -o-transform-origin: 0 0;
  234. transform: rotate(90deg);
  235. transform-origin: 0 0;
  236. }
  237. .panel-hleft>.panel-header .panel-title-up,
  238. .panel-hright>.panel-header .panel-title-up {
  239. position: absolute;
  240. min-width: 16px;
  241. left: 21px;
  242. top: auto;
  243. bottom: 0px;
  244. text-align: right;
  245. white-space: nowrap;
  246. word-wrap: normal;
  247. -webkit-transform: rotate(-90deg);
  248. -webkit-transform-origin: 0 0;
  249. -moz-transform: rotate(-90deg);
  250. -moz-transform-origin: 0 0;
  251. -o-transform: rotate(-90deg);
  252. -o-transform-origin: 0 0;
  253. transform: rotate(-90deg);
  254. transform-origin: 0 16px;
  255. }
  256. .panel-hleft>.panel-header .panel-with-icon.panel-title-up,
  257. .panel-hright>.panel-header .panel-with-icon.panel-title-up {
  258. padding-left: 0;
  259. padding-right: 18px;
  260. }
  261. .panel-hleft>.panel-header .panel-tool,
  262. .panel-hright>.panel-header .panel-tool {
  263. top: auto;
  264. bottom: 5px;
  265. width: 16px;
  266. height: auto;
  267. left: 50%;
  268. margin-left: -8px;
  269. margin-top: 0;
  270. }
  271. .panel-hleft>.panel-header .panel-tool a,
  272. .panel-hright>.panel-header .panel-tool a {
  273. margin: 2px 0 0 0;
  274. }