panel.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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: #eee;
  78. -moz-border-radius: 2px 2px 2px 2px;
  79. -webkit-border-radius: 2px 2px 2px 2px;
  80. border-radius: 2px 2px 2px 2px;
  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: #ddd;
  120. }
  121. .panel-header {
  122. background-color: #f5f5f5;
  123. }
  124. .panel-body {
  125. background-color: #ffffff;
  126. color: #404040;
  127. font-size: 14px;
  128. }
  129. .panel-title {
  130. font-size: 14px;
  131. font-weight: bold;
  132. color: #000000;
  133. height: 20px;
  134. line-height: 20px;
  135. }
  136. .panel-footer {
  137. border: 1px solid #ddd;
  138. overflow: hidden;
  139. background: #fafafa;
  140. }
  141. .panel-footer-noborder {
  142. border-width: 1px 0 0 0;
  143. }
  144. .panel-hleft,
  145. .panel-hright {
  146. position: relative;
  147. }
  148. .panel-hleft>.panel-body,
  149. .panel-hright>.panel-body {
  150. position: absolute;
  151. }
  152. .panel-hleft>.panel-header {
  153. float: left;
  154. }
  155. .panel-hright>.panel-header {
  156. float: right;
  157. }
  158. .panel-hleft>.panel-body {
  159. border-top-width: 1px;
  160. border-left-width: 0;
  161. }
  162. .panel-hright>.panel-body {
  163. border-top-width: 1px;
  164. border-right-width: 0;
  165. }
  166. .panel-hleft>.panel-body-nobottom {
  167. border-bottom-width: 1px;
  168. border-right-width: 0;
  169. }
  170. .panel-hright>.panel-body-nobottom {
  171. border-bottom-width: 1px;
  172. border-left-width: 0;
  173. }
  174. .panel-hleft>.panel-footer {
  175. position: absolute;
  176. right: 0;
  177. }
  178. .panel-hright>.panel-footer {
  179. position: absolute;
  180. left: 0;
  181. }
  182. .panel-hleft>.panel-header-noborder {
  183. border-width: 0 1px 0 0;
  184. }
  185. .panel-hright>.panel-header-noborder {
  186. border-width: 0 0 0 1px;
  187. }
  188. .panel-hleft>.panel-body-noborder {
  189. border-width: 0;
  190. }
  191. .panel-hright>.panel-body-noborder {
  192. border-width: 0;
  193. }
  194. .panel-hleft>.panel-body-noheader {
  195. border-left-width: 1px;
  196. }
  197. .panel-hright>.panel-body-noheader {
  198. border-right-width: 1px;
  199. }
  200. .panel-hleft>.panel-footer-noborder {
  201. border-width: 0 0 0 1px;
  202. }
  203. .panel-hright>.panel-footer-noborder {
  204. border-width: 0 1px 0 0;
  205. }
  206. .panel-hleft>.panel-header .panel-icon,
  207. .panel-hright>.panel-header .panel-icon {
  208. margin-top: 0;
  209. top: 5px;
  210. left: 50%;
  211. margin-left: -8px;
  212. }
  213. .panel-hleft>.panel-header .panel-title,
  214. .panel-hright>.panel-header .panel-title {
  215. position: absolute;
  216. min-width: 16px;
  217. left: 25px;
  218. top: 5px;
  219. bottom: auto;
  220. white-space: nowrap;
  221. word-wrap: normal;
  222. -webkit-transform: rotate(90deg);
  223. -webkit-transform-origin: 0 0;
  224. -moz-transform: rotate(90deg);
  225. -moz-transform-origin: 0 0;
  226. -o-transform: rotate(90deg);
  227. -o-transform-origin: 0 0;
  228. transform: rotate(90deg);
  229. transform-origin: 0 0;
  230. }
  231. .panel-hleft>.panel-header .panel-title-up,
  232. .panel-hright>.panel-header .panel-title-up {
  233. position: absolute;
  234. min-width: 16px;
  235. left: 21px;
  236. top: auto;
  237. bottom: 0px;
  238. text-align: right;
  239. white-space: nowrap;
  240. word-wrap: normal;
  241. -webkit-transform: rotate(-90deg);
  242. -webkit-transform-origin: 0 0;
  243. -moz-transform: rotate(-90deg);
  244. -moz-transform-origin: 0 0;
  245. -o-transform: rotate(-90deg);
  246. -o-transform-origin: 0 0;
  247. transform: rotate(-90deg);
  248. transform-origin: 0 16px;
  249. }
  250. .panel-hleft>.panel-header .panel-with-icon.panel-title-up,
  251. .panel-hright>.panel-header .panel-with-icon.panel-title-up {
  252. padding-left: 0;
  253. padding-right: 18px;
  254. }
  255. .panel-hleft>.panel-header .panel-tool,
  256. .panel-hright>.panel-header .panel-tool {
  257. top: auto;
  258. bottom: 5px;
  259. width: 16px;
  260. height: auto;
  261. left: 50%;
  262. margin-left: -8px;
  263. margin-top: 0;
  264. }
  265. .panel-hleft>.panel-header .panel-tool a,
  266. .panel-hright>.panel-header .panel-tool a {
  267. margin: 2px 0 0 0;
  268. }