content-box.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. /* Boxes */
  2. .content-box {
  3. background: #fff;
  4. margin-bottom: 20px;
  5. }
  6. .content-box,
  7. .content-box-header {
  8. position: relative;
  9. border-width: 1px;
  10. border-style: solid;
  11. }
  12. .content-box-header {
  13. font-size: 14px;
  14. text-transform: uppercase;
  15. margin: -1px -1px 0;
  16. padding: 15px;
  17. border-color: transparent;
  18. }
  19. .content-box-header small + .font-size-11.float-right {
  20. position: absolute;
  21. top: 14px;
  22. right: 10px;
  23. }
  24. .content-box-header-alt {
  25. padding: 15px 10px 14px;
  26. }
  27. .content-box-header-alt {
  28. font-size: 12px;
  29. font-weight: bold;
  30. text-transform: uppercase;
  31. }
  32. .content-box-header-alt small {
  33. font-size: 13px;
  34. font-weight: normal;
  35. display: block;
  36. padding: 5px 0 0;
  37. text-transform: none;
  38. opacity: .70;
  39. filter: alpha(opacity: 70);
  40. }
  41. .content-box .ui-widget-overlay {
  42. position: absolute;
  43. }
  44. .content-box .ui-widget-overlay img {
  45. position: absolute;
  46. top: 50%;
  47. left: 50%;
  48. margin: -27px 0 0 -27px;
  49. }
  50. .content-box .content-box-wrapper {
  51. line-height: 1.6em;
  52. padding: 15px;
  53. }
  54. .content-box .content-box-wrapper .scrollable-content,
  55. .content-box .content-box-wrapper p:last-child {
  56. margin-bottom: 0;
  57. }
  58. /* Icons */
  59. .content-box .content-box-header > .glyph-icon {
  60. margin-right: 5px;
  61. opacity: .70;
  62. filter: alpha(opacity: 70);
  63. }
  64. .content-box-header-alt > .glyph-icon,
  65. .content-box-header-alt .icon-separator .glyph-icon {
  66. font-size: 22px;
  67. line-height: 30px;
  68. position: absolute;
  69. top: 50%;
  70. left: 15px;
  71. width: 30px;
  72. height: 30px;
  73. margin-top: -15px;
  74. }
  75. .content-box-header > .icon-separator {
  76. position: relative;
  77. top: 1px;
  78. left: -15px;
  79. padding: 18px 15px 16px;
  80. text-align: center;
  81. }
  82. .content-box-header > .icon-separator .glyph-icon {
  83. margin-left: 3px;
  84. }
  85. .content-box-header-alt > .header-wrapper {
  86. overflow: hidden;
  87. display: block;
  88. margin-left: 40px;
  89. }
  90. .content-box-header-alt > .icon-separator + .header-wrapper {
  91. margin-left: 65px;
  92. }
  93. .content-box-header-alt > .icon-separator {
  94. position: absolute;
  95. top: 0;
  96. left: 0;
  97. width: 60px;
  98. height: 100%;
  99. }
  100. .content-box-header-alt > .icon-separator .glyph-icon {
  101. left: 50%;
  102. margin-left: -15px;
  103. }
  104. /* Header single buttons */
  105. .header-buttons {
  106. position: absolute;
  107. top: 0;
  108. right: 10px;
  109. height: 100%;
  110. display: block;
  111. }
  112. .header-buttons .btn-xs {
  113. top: 13px;
  114. }
  115. .header-buttons .btn-sm {
  116. top: 10px;
  117. }
  118. .header-buttons .btn-sm:last-child {
  119. margin-right: 0;
  120. }
  121. .header-buttons > .btn-group:last-child {
  122. margin-right: -2px;
  123. }
  124. .content-box-header-alt .header-buttons .btn-xs {
  125. top: 24px;
  126. }
  127. .content-box-header-alt .header-buttons .btn-sm {
  128. top: 20px;
  129. }
  130. .content-box-header-alt .header-buttons .btn-sm:last-child {
  131. margin-right: 5px;
  132. }
  133. /* Header button separators */
  134. .header-buttons-separator {
  135. position: absolute;
  136. top: 0;
  137. right: 0;
  138. height: 100%;
  139. }
  140. .header-buttons-separator .icon-separator {
  141. top: 0;
  142. left: 0;
  143. display: block;
  144. float: left;
  145. min-width: 20px;
  146. height: 100%;
  147. padding: 0 10px;
  148. }
  149. .header-buttons-separator .icon-separator .glyph-icon {
  150. line-height: 30px;
  151. position: relative;
  152. top: 50%;
  153. display: block;
  154. min-width: 30px;
  155. height: 30px;
  156. margin: -15px 0 0;
  157. text-align: center;
  158. }
  159. /* Header button groups */
  160. .header-buttons > .btn-group {
  161. margin-top: 8px;
  162. }
  163. .header-buttons .btn-group-xs {
  164. margin-top: 14px;
  165. }
  166. .header-buttons .btn-group-xs:last-child {
  167. margin-right: 0;
  168. }
  169. /* Button panes */
  170. .ui-dialog-buttonpane,
  171. body .button-pane {
  172. padding: 10px;
  173. text-align: center;
  174. border-width: 1px 0 0 0;
  175. border-style: solid;
  176. border-top-left-radius: 0;
  177. border-top-right-radius: 0;
  178. }
  179. body .button-pane-top {
  180. border-width: 0 0 1px;
  181. border-radius: 0;
  182. }
  183. /* Scrollable boxes sizes */
  184. .scrollable-content {
  185. overflow-y: scroll;
  186. overflow-x: hidden;
  187. height: 300px;
  188. padding-right: 0;
  189. }
  190. .scrollable-xs {
  191. overflow-y: scroll;
  192. height: 200px;
  193. }
  194. .scrollable-sm {
  195. overflow-y: scroll;
  196. height: 400px;
  197. }
  198. .scrollable-lg {
  199. overflow-y: scroll;
  200. height: 500px;
  201. }
  202. /* Toggle Boxes */
  203. .toggle-button .glyph-icon {
  204. -webkit-transition-duration: .5s;
  205. -moz-transition-duration: .5s;
  206. -o-transition-duration: .5s;
  207. transition-duration: .5s;
  208. -webkit-transition-property: -webkit-transform;
  209. -moz-transition-property: -moz-transform;
  210. -o-transition-property: -o-transform;
  211. transition-property: transform;
  212. }
  213. .hidden-button .content-box-header a,
  214. .hidden-button .content-box-header .btn,
  215. .hidden-button .content-box-header button {
  216. display: none;
  217. }
  218. /* Border colored content boxes */
  219. .content-box.border-top .content-box-header {
  220. font-size: 18px;
  221. margin: 0;
  222. }
  223. .content-box.border-top .content-box-header small {
  224. opacity: .80;
  225. -moz-opacity: .80;
  226. filter: alpha(opacity: 80);
  227. }
  228. .content-box.border-top .content-box-header + .content-box-wrapper {
  229. padding-top: 0;
  230. }
  231. /* Boxes widths */
  232. .box-xs {
  233. width: 200px;
  234. }
  235. .box-sm {
  236. width: 324px;
  237. }
  238. .box-md {
  239. width: 400px;
  240. }
  241. .box-lg {
  242. width: 500px;
  243. }
  244. /* Content box tabs */
  245. .content-box-header > .ui-tabs-nav {
  246. position: absolute;
  247. top: 2px;
  248. right: 0;
  249. padding: 0;
  250. list-style: none;
  251. border: 0;
  252. }
  253. .content-box-header > .ui-tabs-nav li > a {
  254. line-height: 49px;
  255. height: 49px;
  256. margin: 0 2px;
  257. color: rgba(255, 255, 255, .7);
  258. border: 0;
  259. background: none;
  260. }
  261. .content-box-header > .ui-tabs-nav li > a:hover {
  262. color: #fff;
  263. background: rgba(255, 255, 255, .2);
  264. }
  265. .content-box-header.bg-default > .ui-tabs-nav li.ui-tabs-active > a,
  266. .content-box-header.bg-gray > .ui-tabs-nav li.ui-tabs-active > a,
  267. .content-box-header.bg-white > .ui-tabs-nav li.ui-tabs-active > a,
  268. .content-box-header.bg-default > .ui-tabs-nav li.ui-tabs-active.ui-state-hover > a,
  269. .content-box-header.bg-gray > .ui-tabs-nav li.ui-tabs-active.ui-state-hover > a,
  270. .content-box-header.bg-white > .ui-tabs-nav li.ui-tabs-active.ui-state-hover > a {
  271. line-height: 46px;
  272. height: 46px;
  273. background: #F6F6F9;
  274. }
  275. .content-box-header.bg-default > .ui-tabs-nav li > a,
  276. .content-box-header.bg-gray > .ui-tabs-nav li > a,
  277. .content-box-header.bg-white > .ui-tabs-nav li > a {
  278. line-height: 50px;
  279. height: 50px;
  280. margin: 0;
  281. border-radius: 0;
  282. }
  283. .content-box-header.bg-default > .ui-tabs-nav,
  284. .content-box-header.bg-gray > .ui-tabs-nav,
  285. .content-box-header.bg-white > .ui-tabs-nav {
  286. top: 0;
  287. }
  288. .content-box-header > .ui-tabs-nav li.ui-tabs-active > a,
  289. .content-box-header > .ui-tabs-nav li.ui-tabs-active.ui-state-hover > a {
  290. line-height: 47px;
  291. height: 49px;
  292. background: #fff;
  293. }
  294. /* Bootstrap Panels */
  295. .panel {
  296. margin-bottom: 20px;
  297. border-width: 1px;
  298. border-style: solid;
  299. border-radius: 4px;
  300. background-color: #fff;
  301. box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  302. }
  303. .panel-body {
  304. padding: 15px 20px;
  305. position: relative;
  306. }
  307. .panel-heading {
  308. padding: 10px 15px;
  309. border-bottom: 1px solid transparent;
  310. }
  311. .panel-heading > .dropdown .dropdown-toggle {
  312. color: inherit;
  313. }
  314. .panel-title {
  315. font-size: 16px;
  316. margin-top: 0;
  317. margin-bottom: 0;
  318. color: inherit;
  319. }
  320. .panel-title > a {
  321. color: inherit;
  322. }
  323. .panel-footer {
  324. padding: 10px 15px;
  325. border-top: 1px solid transparent;
  326. background-color: #f5f5f5;
  327. }
  328. .panel > .list-group {
  329. margin-bottom: 0;
  330. }
  331. .panel > .list-group .list-group-item {
  332. border-width: 1px 0;
  333. border-radius: 0;
  334. }
  335. .panel > .list-group:first-child .list-group-item:first-child {
  336. border-top: 0;
  337. }
  338. .panel > .list-group:last-child .list-group-item:last-child {
  339. border-bottom: 0;
  340. }
  341. .panel-heading + .list-group .list-group-item:first-child {
  342. border-top-width: 0;
  343. }
  344. .panel-group {
  345. margin-bottom: 20px;
  346. }
  347. .panel-group .panel {
  348. overflow: hidden;
  349. margin-bottom: 0;
  350. }
  351. .panel-group .panel + .panel {
  352. margin-top: 5px;
  353. }
  354. .panel-group .panel-heading {
  355. border-bottom: 0;
  356. }
  357. .panel-group .panel-heading + .panel-collapse .panel-body {
  358. border-top: 1px solid transparent;
  359. }
  360. .panel-group .panel-footer {
  361. border-top: 0;
  362. }
  363. .panel-group .panel-footer + .panel-collapse .panel-body {
  364. border-bottom: 1px solid transparent;
  365. }
  366. .content-box.block { display:block; }