338 lines
9.0KB

  1. #yii-debug-toolbar-logo {
  2. position: fixed;
  3. right: 31px;
  4. bottom: 4px;
  5. }
  6. .yii-debug-toolbar {
  7. font: 11px Verdana, Arial, sans-serif;
  8. text-align: left;
  9. width: 96px;
  10. transition: width .3s ease;
  11. z-index: 1000000;
  12. }
  13. .yii-debug-toolbar_active {
  14. width: 100%;
  15. }
  16. .yii-debug-toolbar_position_top {
  17. margin: 0 0 20px 0;
  18. width: 100%;
  19. }
  20. .yii-debug-toolbar_position_bottom {
  21. position: fixed;
  22. right: 0;
  23. bottom: 0;
  24. margin: 0;
  25. }
  26. .yii-debug-toolbar__bar {
  27. position: relative;
  28. padding: 0;
  29. font: 11px Verdana, Arial, sans-serif;
  30. text-align: left;
  31. overflow: hidden;
  32. box-sizing: content-box;
  33. background: rgb(255, 255, 255);
  34. background: -moz-linear-gradient(top, rgb(255, 255, 255) 0%, rgb(247, 247, 247) 100%); /* FF3.6-15 */
  35. background: -webkit-linear-gradient(top, rgb(255, 255, 255) 0%, rgb(247, 247, 247) 100%); /* Chrome10-25,Safari5.1-6 */
  36. background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(247, 247, 247) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  37. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f7f7f7', GradientType=0); /* IE6-9 */
  38. border: 1px solid rgba(0, 0, 0, 0.11);
  39. /* ensure debug toolbar text is displayed ltr even on rtl pages */
  40. direction: ltr;
  41. }
  42. .yii-debug-toolbar.yii-debug-toolbar_active:not(.yii-debug-toolbar_animating) .yii-debug-toolbar__bar {
  43. overflow: visible;
  44. }
  45. .yii-debug-toolbar:not(.yii-debug-toolbar_active) .yii-debug-toolbar__bar {
  46. height:40px;
  47. }
  48. .yii-debug-toolbar__bar:after {
  49. content: '';
  50. display: table;
  51. clear: both;
  52. }
  53. .yii-debug-toolbar__view {
  54. height: 0;
  55. overflow: hidden;
  56. background: white;
  57. }
  58. .yii-debug-toolbar__view iframe {
  59. margin: 0;
  60. padding: 0;
  61. padding-top: 10px;
  62. height: 100%;
  63. width: 100%;
  64. border: 0;
  65. }
  66. .yii-debug-toolbar_iframe_active .yii-debug-toolbar__view {
  67. height: 100%;
  68. }
  69. .yii-debug-toolbar_iframe_animating .yii-debug-toolbar__view {
  70. transition: height .3s ease;
  71. }
  72. .yii-debug-toolbar__block {
  73. float: left;
  74. margin: 0;
  75. border-right: 1px solid rgba(0, 0, 0, 0.11);
  76. padding: 4px 8px;
  77. line-height: 32px;
  78. white-space: nowrap;
  79. }
  80. .yii-debug-toolbar__block_active,
  81. .yii-debug-toolbar__ajax:hover {
  82. background: rgb(247, 247, 247); /* Old browsers */
  83. background: -moz-linear-gradient(top, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* FF3.6-15 */
  84. background: -webkit-linear-gradient(top, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* Chrome10-25,Safari5.1-6 */
  85. background: linear-gradient(to bottom, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  86. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#e0e0e0', GradientType=0); /* IE6-9 */
  87. }
  88. .yii-debug-toolbar__block a {
  89. display: inline-block;
  90. text-decoration: none;
  91. color: black;
  92. }
  93. .yii-debug-toolbar__block img {
  94. vertical-align: middle;
  95. }
  96. .yii-debug-toolbar__label {
  97. display: inline-block;
  98. padding: 2px 4px;
  99. font-size: 12px;
  100. font-weight: normal;
  101. line-height: 14px;
  102. white-space: nowrap;
  103. vertical-align: baseline;
  104. color: #ffffff;
  105. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  106. background-color: #999999;
  107. -webkit-border-radius: 3px;
  108. -moz-border-radius: 3px;
  109. border-radius: 3px;
  110. }
  111. .yii-debug-toolbar__label:empty {
  112. display: none;
  113. }
  114. a.yii-debug-toolbar__label:hover,
  115. a.yii-debug-toolbar__label:focus {
  116. color: #ffffff;
  117. text-decoration: none;
  118. cursor: pointer;
  119. }
  120. .yii-debug-toolbar__label_important,
  121. .yii-debug-toolbar__label_error {
  122. background-color: #b94a48;
  123. }
  124. .yii-debug-toolbar__label_important[href] {
  125. background-color: #953b39;
  126. }
  127. .yii-debug-toolbar__label_warning,
  128. .yii-debug-toolbar__badge_warning {
  129. background-color: #f89406;
  130. }
  131. .yii-debug-toolbar__label_warning[href] {
  132. background-color: #c67605;
  133. }
  134. .yii-debug-toolbar__label_success {
  135. background-color: #468847;
  136. }
  137. .yii-debug-toolbar__label_success[href] {
  138. background-color: #356635;
  139. }
  140. .yii-debug-toolbar__label_info {
  141. background-color: #3a87ad;
  142. }
  143. .yii-debug-toolbar__label_info[href] {
  144. background-color: #2d6987;
  145. }
  146. .yii-debug-toolbar__label_inverse,
  147. .yii-debug-toolbar__badge_inverse {
  148. background-color: #333333;
  149. }
  150. .yii-debug-toolbar__label_inverse[href],
  151. .yii-debug-toolbar__badge_inverse[href] {
  152. background-color: #1a1a1a;
  153. }
  154. .yii-debug-toolbar__title {
  155. background: rgb(247, 247, 247); /* Old browsers */
  156. background: -moz-linear-gradient(top, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* FF3.6-15 */
  157. background: -webkit-linear-gradient(top, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* Chrome10-25,Safari5.1-6 */
  158. background: linear-gradient(to bottom, rgb(247, 247, 247) 0%, rgb(224, 224, 224) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  159. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#e0e0e0', GradientType=0); /* IE6-9 */
  160. }
  161. .yii-debug-toolbar__block_last{ /* creates space for .yii-debug-toolbar__toggle, .yii-debug-toolbar__external */
  162. width: 80px;
  163. height: 40px;
  164. float: left;
  165. }
  166. .yii-debug-toolbar__toggle,
  167. .yii-debug-toolbar__external {
  168. cursor: pointer;
  169. position: absolute;
  170. width: 30px;
  171. height: 30px;
  172. font-size: 25px;
  173. font-weight: 100;
  174. line-height: 28px;
  175. color: #ffffff;
  176. text-align: center;
  177. opacity: 0.5;
  178. filter: alpha(opacity=50);
  179. transition: opacity .3s ease;
  180. }
  181. .yii-debug-toolbar__toggle:hover,
  182. .yii-debug-toolbar__toggle:focus,
  183. .yii-debug-toolbar__external:hover,
  184. .yii-debug-toolbar__external:focus {
  185. color: #ffffff;
  186. text-decoration: none;
  187. opacity: 0.9;
  188. filter: alpha(opacity=90);
  189. }
  190. .yii-debug-toolbar__toggle-icon,
  191. .yii-debug-toolbar__external-icon {
  192. display: inline-block;
  193. background-position: 50% 50%;
  194. background-repeat: no-repeat;
  195. }
  196. .yii-debug-toolbar__toggle {
  197. right: 10px;
  198. bottom: 4px;
  199. }
  200. .yii-debug-toolbar__toggle-icon {
  201. padding: 7px 0;
  202. width: 10px;
  203. height: 16px;
  204. background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDUwIDUwIj48cGF0aCBmaWxsPSIjNDQ0IiBkPSJNMTUuNTYzIDQwLjgzNmEuOTk3Ljk5NyAwIDAgMCAxLjQxNCAwbDE1LTE1YTEgMSAwIDAgMCAwLTEuNDE0bC0xNS0xNWExIDEgMCAwIDAtMS40MTQgMS40MTRMMjkuODU2IDI1LjEzIDE1LjU2MyAzOS40MmExIDEgMCAwIDAgMCAxLjQxNHoiLz48L3N2Zz4=');
  205. transition: -webkit-transform .3s ease-out;
  206. transition: transform .3s ease-out;
  207. -webkit-transform: rotate(180deg);
  208. transform: rotate(180deg);
  209. }
  210. .yii-debug-toolbar_active .yii-debug-toolbar__toggle-icon {
  211. -webkit-transform: rotate(0);
  212. transform: rotate(0);
  213. }
  214. .yii-debug-toolbar_iframe_active .yii-debug-toolbar__toggle-icon {
  215. -webkit-transform: rotate(90deg);
  216. transform: rotate(90deg);
  217. }
  218. .yii-debug-toolbar__external {
  219. display: none;
  220. right: 50px;
  221. bottom: 4px;
  222. }
  223. .yii-debug-toolbar_iframe_active .yii-debug-toolbar__external {
  224. display: block;
  225. }
  226. .yii-debug-toolbar__external-icon {
  227. padding: 8px 0;
  228. width: 14px;
  229. height: 14px;
  230. background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDUwIDUwIj48cGF0aCBmaWxsPSIjNDQ0IiBkPSJNMzkuNjQyIDkuNzIyYTEuMDEgMS4wMSAwIDAgMC0uMzgyLS4wNzdIMjguMTAzYTEgMSAwIDAgMCAwIDJoOC43NDNMMjEuNyAyNi43OWExIDEgMCAwIDAgMS40MTQgMS40MTVMMzguMjYgMTMuMDZ2OC43NDNhMSAxIDAgMCAwIDIgMFYxMC42NDZhMS4wMDUgMS4wMDUgMCAwIDAtLjYxOC0uOTI0eiIvPjxwYXRoIGQ9Ik0zOS4yNiAyNy45ODVhMSAxIDAgMCAwLTEgMXYxMC42NmgtMjh2LTI4aDEwLjY4M2ExIDEgMCAwIDAgMC0ySDkuMjZhMSAxIDAgMCAwLTEgMXYzMGExIDEgMCAwIDAgMSAxaDMwYTEgMSAwIDAgMCAxLTF2LTExLjY2YTEgMSAwIDAgMC0xLTF6Ii8+PC9zdmc+');
  231. }
  232. .yii-debug-toolbar__ajax {
  233. position: relative;
  234. }
  235. .yii-debug-toolbar__ajax:hover .yii-debug-toolbar__ajax_info,
  236. .yii-debug-toolbar__ajax:focus .yii-debug-toolbar__ajax_info {
  237. visibility: visible;
  238. }
  239. .yii-debug-toolbar__ajax_info {
  240. visibility: hidden;
  241. transition: visibility .2s linear;
  242. background-color: white;
  243. box-shadow: inset 0 -10px 10px -10px #e1e1e1;
  244. position: absolute;
  245. bottom: 40px;
  246. left: -1px;
  247. padding: 10px;
  248. max-width: 480px;
  249. max-height: 480px;
  250. word-wrap: break-word;
  251. overflow: hidden;
  252. overflow-y: auto;
  253. box-sizing: border-box;
  254. border: 1px solid rgba(0, 0, 0, 0.11);
  255. z-index: 1000001;
  256. }
  257. .yii-debug-toolbar__ajax a {
  258. color: #337ab7;
  259. }
  260. .yii-debug-toolbar__ajax table {
  261. width: 100%;
  262. table-layout: auto;
  263. border-spacing: 0;
  264. border-collapse: collapse;
  265. }
  266. .yii-debug-toolbar__ajax table td {
  267. padding: 4px;
  268. font-size: 12px;
  269. line-height: normal;
  270. vertical-align: top;
  271. border-top: 1px solid #ddd;
  272. }
  273. .yii-debug-toolbar__ajax table th {
  274. padding: 4px;
  275. font-size: 11px;
  276. line-height: normal;
  277. vertical-align: bottom;
  278. border-bottom: 2px solid #ddd;
  279. }
  280. .yii-debug-toolbar__ajax_request_status {
  281. color: white;
  282. padding: 2px 5px;
  283. }
  284. .yii-debug-toolbar__ajax_request_url {
  285. max-width: 170px;
  286. overflow: hidden;
  287. text-overflow: ellipsis;
  288. }