Base for a static organization website

debug_toolbar.css 8.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. /* @override http://localhost/mark_story/site/debug_kit/css/debug_toolbar.css */
  2. #debug-kit-toolbar {
  3. position: fixed;
  4. top: 0;
  5. right:0px;
  6. width: 100%;
  7. height: 1%;
  8. overflow: visible;
  9. z-index:10000;
  10. font-family: helvetica, arial, sans-serif;
  11. font-size: 12px;
  12. direction: ltr;
  13. }
  14. #debug-kit-toolbar img {
  15. border:0;
  16. outline:0;
  17. }
  18. /* panel tabs */
  19. #debug-kit-toolbar #panel-tabs {
  20. float: right;
  21. list-style: none;
  22. margin: 0;
  23. padding: 0;
  24. box-shadow: 0 5px 6px rgba(0, 0, 0, 0.5);
  25. border-radius: 8px 0 0 8px;
  26. }
  27. #debug-kit-toolbar .panel-tab {
  28. clear: none;
  29. float: left;
  30. margin: 0;
  31. padding: 0;
  32. list-style: none;
  33. }
  34. #debug-kit-toolbar .panel-tab > a {
  35. float: left;
  36. clear: none;
  37. background: #efefef;
  38. background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#cacaca));
  39. background: -moz-linear-gradient(top, #efefef, #cacaca);
  40. color: #222;
  41. padding: 6px;
  42. border-right: 1px solid #ccc;
  43. border-bottom: 1px solid #aaa;
  44. font-size: 12px;
  45. line-height: 16px;
  46. margin: 0;
  47. display: block;
  48. text-decoration:none;
  49. text-shadow:1px 1px #eee;
  50. -moz-text-shadow:1px 1px #eee;
  51. -webkit-text-shadow:1px 1px #eee;
  52. }
  53. #debug-kit-toolbar .panel-tab .active {
  54. background: #fff;
  55. background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#fff));
  56. background: -moz-linear-gradient(top, #f5f5f5, #fff);
  57. }
  58. #debug-kit-toolbar .panel-tab > a:hover {
  59. background: #fff;
  60. background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#fff));
  61. background: -moz-linear-gradient(top, #f5f5f5, #fff);
  62. text-decoration:underline;
  63. }
  64. #debug-kit-toolbar .panel-tab.icon a {
  65. padding: 4px;
  66. }
  67. #debug-kit-toolbar .panel-tab a.edit-value {
  68. float: none;
  69. display: inline;
  70. }
  71. #debug-kit-toolbar .panel-tab.icon a {
  72. border-radius: 8px 0 0 8px;
  73. }
  74. #debug-kit-toolbar .panel-tab.icon img {
  75. display:block;
  76. }
  77. /* panel content */
  78. #debug-kit-toolbar .panel-content {
  79. position: absolute;
  80. text-align: left;
  81. width: auto;
  82. top:28px;
  83. right:0px;
  84. background: #fff;
  85. color: #000;
  86. width:100%;
  87. box-shadow:0px 5px 6px rgba(0, 0, 0, 0.5);
  88. height: 200px;
  89. overflow: hidden;
  90. }
  91. #debug-kit-toolbar .panel-resize-region {
  92. padding:15px;
  93. position: absolute;
  94. top: 0;
  95. bottom: 14px;
  96. left: 0;
  97. right: 0;
  98. overflow: auto;
  99. }
  100. #debug-kit-toolbar .ui-control {
  101. background:#ccc;
  102. background: -webkit-gradient(linear, left top, left bottom, from(#d6d6d6), to(#c2c2c2));
  103. background: -moz-linear-gradient(top, #d6d6d6, #c2c2c2);
  104. text-align:center;
  105. border-top:1px solid #afafaf;
  106. border-bottom:1px solid #7c7c7c;
  107. color:#666;
  108. text-shadow: 1px 1px #eee;
  109. -webkit-text-shadow: 1px 1px #eee;
  110. -moz-text-shadow: 1px 1px #eee;
  111. }
  112. #debug-kit-toolbar .ui-button {
  113. border-radius: 5px;
  114. }
  115. #debug-kit-toolbar .ui-button:hover {
  116. text-decoration: none;
  117. background:#ccc;
  118. background: -webkit-gradient(linear, left top, left bottom, from(#c2c2c2), to(#d6d6d6));
  119. background: -moz-linear-gradient(top, #c2c2c2, #d6d6d6);
  120. }
  121. #debug-kit-toolbar .panel-resize-handle {
  122. cursor: row-resize;
  123. height:14px;
  124. line-height: 14px;
  125. position: absolute;
  126. bottom: 0;
  127. left: 0;
  128. right: 0;
  129. }
  130. #debug-kit-toolbar .panel-toggle {
  131. float: right;
  132. display: block;
  133. width: 16px;
  134. height: 16px;
  135. font-size: 16px;
  136. line-height: 14px;
  137. border-left: 1px solid #afafaf;
  138. border-right: 1px solid #7c7c7c;
  139. text-decoration: none;
  140. margin: 10px 20px 0 0;
  141. z-index: 999;
  142. position: relative;
  143. }
  144. /* Hide panel content by default */
  145. #debug-kit-toolbar .panel-content {
  146. display: none;
  147. }
  148. #debug-kit-toolbar .panel-content p {
  149. margin: 1em 0;
  150. }
  151. #debug-kit-toolbar .panel-content h2 {
  152. padding: 0;
  153. margin-top:0;
  154. }
  155. #debug-kit-toolbar .panel-content h3 {
  156. padding: 0;
  157. margin-top: 1em;
  158. }
  159. #debug-kit-toolbar .panel-content .info {
  160. padding: 4px;
  161. border-top: 1px dashed #6c6cff;
  162. border-bottom: 1px dashed #6c6cff;
  163. }
  164. #debug-kit-toolbar h1,
  165. #debug-kit-toolbar h2,
  166. #debug-kit-toolbar h3,
  167. #debug-kit-toolbar h4,
  168. #debug-kit-toolbar h5,
  169. #debug-kit-toolbar th {
  170. color: #5d1717;
  171. font-family: Arial, sans-serif;
  172. margin-bottom:0.6em;
  173. background:none;
  174. }
  175. #debug-kit-toolbar h1 {
  176. font-size: 18px;
  177. }
  178. #debug-kit-toolbar h2 {
  179. font-size: 16px;
  180. }
  181. #debug-kit-toolbar h4 {
  182. font-size: 14px;
  183. }
  184. /* panel tables */
  185. #debug-kit-toolbar .debug-table {
  186. width: 100%;
  187. border: 1px solid #eee;
  188. border-left: 0;
  189. clear:both;
  190. margin-bottom: 20px;
  191. border-spacing: 0;
  192. }
  193. #debug-kit-toolbar .debug-table td,
  194. #debug-kit-toolbar .debug-table th {
  195. text-align: left;
  196. border: 0;
  197. border-left: 1px solid #eee;
  198. padding: 3px;
  199. margin: 0;
  200. }
  201. #debug-kit-toolbar table.debug-table th {
  202. border-bottom: 1px solid #bbb;
  203. border-left: 1px solid #bbb;
  204. background: -webkit-linear-gradient(top, #d4d4d4, #c1c1c1);
  205. background: -moz-linear-gradient(top, #d4d4d4, #c1c1c1);
  206. color: #222;
  207. font-weight: bold;
  208. line-height: 16px;
  209. }
  210. #debug-kit-toolbar .debug-table tr:nth-child(2n) td {
  211. background: #f6f6f6;
  212. }
  213. #debug-kit-toolbar .debug-timers .debug-table td:nth-child(2),
  214. #debug-kit-toolbar .debug-timers .debug-table th:nth-child(2) {
  215. text-align:right;
  216. }
  217. /** code tables **/
  218. #debug-kit-toolbar .code-table td {
  219. white-space: pre;
  220. font-family: monaco, Consolas, "courier new", courier, monospaced;
  221. }
  222. #debug-kit-toolbar .code-table td:first-child {
  223. width: 15%;
  224. }
  225. #debug-kit-toolbar .code-table td:last-child {
  226. width: 80%;
  227. }
  228. #debug-kit-toolbar .panel-content.request {
  229. display: block;
  230. }
  231. /** Neat Array styles **/
  232. #debug-kit-toolbar .neat-array,
  233. #debug-kit-toolbar .neat-array li {
  234. list-style:none;
  235. list-style-image:none;
  236. }
  237. #debug-kit-toolbar .neat-array {
  238. padding: 1px 2px 1px 20px;
  239. background: #CE9E23;
  240. list-style: none;
  241. margin: 0 0 1em 0;
  242. }
  243. #debug-kit-toolbar .neat-array .neat-array {
  244. padding: 0 0 0 20px;
  245. margin: 0;
  246. border-top:1px solid #CE9E23;
  247. }
  248. #debug-kit-toolbar .neat-array li {
  249. background: #FEF6E5;
  250. border-top: 1px solid #CE9E23;
  251. border-bottom: 1px solid #CE9E23;
  252. margin: 0;
  253. line-height: 1.5em;
  254. }
  255. #debug-kit-toolbar .neat-array li:hover {
  256. background: #fff;
  257. }
  258. #debug-kit-toolbar .neat-array li strong {
  259. padding: 0 8px;
  260. font-weight: bold;
  261. }
  262. /* expandable sections */
  263. #debug-kit-toolbar .neat-array li.expandable {
  264. cursor: pointer;
  265. }
  266. #debug-kit-toolbar .neat-array .expanded {
  267. border-bottom:0;
  268. }
  269. #debug-kit-toolbar .neat-array li.expandable.expanded > strong:before {
  270. content: 'v ';
  271. }
  272. #debug-kit-toolbar .neat-array li.expandable.collapsed > strong:before,
  273. #debug-kit-toolbar .neat-array li.expandable.expanded .expandable.collapsed > strong:before {
  274. content: '> ';
  275. }
  276. #debug-kit-toolbar .neat-array li {
  277. cursor: default;
  278. }
  279. #debug-kit-toolbar .debug-kit-graph-bar,
  280. #debug-kit-toolbar .debug-kit-graph-bar-value {
  281. margin: 0;
  282. padding: 0;
  283. border: none;
  284. overflow: hidden;
  285. height: 10px;
  286. }
  287. #debug-kit-toolbar .debug-kit-graph-bar {
  288. background: #ddd;
  289. padding: 2px;
  290. border-radius: 2px;
  291. height: 12px;
  292. }
  293. #debug-kit-toolbar .debug-kit-graph-bar-value {
  294. background: -webkit-linear-gradient(top, #77D124, #4B9406);
  295. background: -moz-linear-gradient(top, #77D124, #4B9406);
  296. border-radius: 3px;
  297. border: 1px solid #4B9406;
  298. }
  299. /* Sql Log */
  300. #sqllog-tab td,
  301. #sqllog-tab .slow-query-container p {
  302. font-family: Monaco, 'Consolas', "Courier New", Courier, monospaced;
  303. }
  304. #debug-kit-toolbar #sqllog-tab a.show-slow {
  305. display:block;
  306. margin: 3px;
  307. float:none;
  308. }
  309. #sqllog-tab .slow-query-container p {
  310. display:block;
  311. clear:both;
  312. margin: 20px 0 5px;
  313. }
  314. #debug-kit-toolbar #sqllog-tab .panel-content-data a {
  315. background: none;
  316. border:none;
  317. }
  318. #sqllog-tab .slow-query {
  319. background:#e79302;
  320. font-size:9px;
  321. color:#fff;
  322. padding: 2px;
  323. white-space:nowrap;
  324. }
  325. #sqllog-tab input[type=submit] {
  326. border: 0;
  327. background: transparent;
  328. cursor: pointer;
  329. font-size: 12px;
  330. font-family: Monaco, 'Consolas', "Courier New", Courier, monospaced;
  331. }
  332. #sqllog-tab input[type=submit]:hover {
  333. color: darkred;
  334. }
  335. #debug-kit-toolbar .alert-duplicate {
  336. color: red;
  337. }
  338. /* previous panels */
  339. #debug-kit-toolbar .panel-history {
  340. display: none;
  341. background:#eeffff;
  342. }
  343. #debug-kit-toolbar #history-tab ul {
  344. margin: 20px 0 0 20px;
  345. }
  346. #debug-kit-toolbar #history-tab li {
  347. margin: 0 0 5px 0;
  348. }
  349. #debug-kit-toolbar #history-tab .panel-content-data a {
  350. float: none;
  351. display:block;
  352. }
  353. #debug-kit-toolbar #history-tab a.active {
  354. background: #FEF6E5;
  355. }
  356. #debug-kit-toolbar #history-tab a.loading:after {
  357. content : ' Loading...';
  358. font-style:italic;
  359. }
  360. /* Minimized mode */
  361. #debug-kit-toolbar.minimized {
  362. opacity: 0.75;
  363. }
  364. #debug-kit-toolbar.minimized:hover {
  365. opacity: inherit;
  366. }