template.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);
  2. @import url('phpdocumentor-clean-icons/style.css');
  3. body {
  4. padding-top: 40px;
  5. background-color: #333333;
  6. }
  7. a {
  8. color: #6495ed;
  9. }
  10. a.anchor {
  11. height: 40px;
  12. margin-top: -40px;
  13. display: block;
  14. }
  15. h1, h2, h3, h4, h5, h6, .brand {
  16. font-family: 'Source Sans Pro', sans-serif;
  17. font-weight: normal;
  18. letter-spacing: 0.05em;
  19. }
  20. h2, h3, .detailsbar h1 {
  21. overflow: hidden;
  22. white-space: nowrap;
  23. margin: 30px 0 20px 0;
  24. }
  25. h2:after, h3:after, .detailsbar h1:after {
  26. content: '';
  27. display: inline-block;
  28. vertical-align: middle;
  29. width: 100%;
  30. height: 2px;
  31. margin-left: 1em;
  32. background: silver;
  33. }
  34. h3 {
  35. margin: 10px 0 20px 0;
  36. }
  37. h4 {
  38. margin: 20px 0 10px 0;
  39. color: gray;
  40. font-size: 18.5px;
  41. }
  42. h3.public, h3.protected, h3.private {
  43. padding-left: 10px;
  44. text-overflow: ellipsis;
  45. }
  46. .table tr:first-of-type th, .table tr:first-of-type td {
  47. border-top: none;
  48. }
  49. .detailsbar {
  50. color: #eeeeee;
  51. background-color: #333333;
  52. font-size: 0.9em;
  53. overflow: hidden;
  54. border-left: 2px solid gray;
  55. }
  56. .detailsbar h1 {
  57. font-size: 1.5em;
  58. margin-bottom: 20px;
  59. margin-top: 0;
  60. }
  61. .detailsbar h2 {
  62. font-size: 1.2em;
  63. margin: 0;
  64. padding: 0;
  65. }
  66. .detailsbar h1:after {
  67. background: gray;
  68. }
  69. .detailsbar h2:after, .detailsbar h3:after {
  70. background: transparent;
  71. }
  72. .detailsbar dt {
  73. font-variant: small-caps;
  74. text-transform: lowercase;
  75. font-size: 1.1em;
  76. letter-spacing: 0.1em;
  77. color: silver;
  78. }
  79. .hierarchy div:nth-of-type(2) { margin-left: 11px; }
  80. .hierarchy div:nth-of-type(3) { margin-left: 22px; }
  81. .hierarchy div:nth-of-type(4) { margin-left: 33px; }
  82. .hierarchy div:nth-of-type(5) { margin-left: 44px; }
  83. .hierarchy div:nth-of-type(6) { margin-left: 55px; }
  84. .hierarchy div:nth-of-type(7) { margin-left: 66px; }
  85. .hierarchy div:nth-of-type(8) { margin-left: 77px; }
  86. .hierarchy div:nth-of-type(9) { margin-left: 88px; }
  87. .hierarchy div:before {
  88. content: "\f0da";
  89. font-family: FontAwesome;
  90. margin-right: 5px;
  91. }
  92. .row-fluid {
  93. background-color: white;
  94. overflow: hidden;
  95. }
  96. footer.row-fluid, footer.row-fluid * {
  97. background-color: #333333;
  98. color: white;
  99. }
  100. footer.row-fluid {
  101. border-top: 2px dashed #555;
  102. margin-top: 2px;
  103. }
  104. .footer-sections .span4 {
  105. border: 2px solid #555;
  106. text-align: center;
  107. border-radius: 10px;
  108. margin-top: 70px;
  109. margin-bottom: 20px;
  110. background: #373737;
  111. }
  112. .footer-sections .span4 h1 {
  113. background: transparent;
  114. margin-top: -30px;
  115. margin-bottom: 20px;
  116. font-size: 5em;
  117. }
  118. .footer-sections .span4 h1 * {
  119. background: transparent;
  120. }
  121. .footer-sections .span4 div {
  122. border-bottom-right-radius: 6px;
  123. border-bottom-left-radius: 6px;
  124. padding: 10px;
  125. min-height: 40px;
  126. }
  127. .footer-sections .span4 div, .footer-sections .span4 div * {
  128. background-color: #555;
  129. }
  130. .footer-sections .span4 ul {
  131. text-align: left;
  132. list-style: none;
  133. margin: 0;
  134. padding: 0;
  135. }
  136. .content {
  137. background-color: white;
  138. padding-right: 20px;
  139. }
  140. .content nav {
  141. text-align: center;
  142. border-bottom: 1px solid silver;
  143. margin: 5px 0 20px 0;
  144. padding-bottom: 5px;
  145. }
  146. .content > h1 {
  147. padding-bottom: 15px;
  148. }
  149. .content > h1 small {
  150. display: block;
  151. padding-bottom: 8px;
  152. font-size: 0.6em;
  153. }
  154. .deprecated {
  155. text-decoration: line-through;
  156. }
  157. .method {
  158. margin-bottom: 20px;
  159. }
  160. .method .signature .argument {
  161. color: maroon;
  162. font-weight: bold;
  163. }
  164. .class #summary section.row-fluid {
  165. overflow: hidden
  166. }
  167. .class #summary .heading {
  168. font-weight: bold;
  169. text-align: center;
  170. }
  171. .class #summary section .span4 {
  172. padding: 3px;
  173. overflow: hidden;
  174. margin-bottom: -9999px;
  175. padding-bottom: 9999px;
  176. white-space: nowrap;
  177. text-overflow: ellipsis;
  178. border-left: 5px solid transparent;
  179. }
  180. .class #summary section.public .span4:first-of-type:before,
  181. .class #summary section.public .span6:first-of-type:before,
  182. h3.public:before {
  183. font-family: FontAwesome;
  184. content: "\f046";
  185. color: green;
  186. display: inline-block;
  187. width: 1.2em;
  188. }
  189. .class #summary section .span4:first-of-type,
  190. .class #summary section .span6:first-of-type {
  191. padding-left: 21px;
  192. }
  193. .class #summary section .span4:first-of-type:before,
  194. .class #summary section .span6:first-of-type:before {
  195. margin-left: -21px;
  196. }
  197. .class #summary section.protected .span4:first-of-type:before,
  198. .class #summary section.protected .span6:first-of-type:before,
  199. h3.protected:before {
  200. font-family: FontAwesome;
  201. content: "\f132";
  202. color: orange;
  203. display: inline-block;
  204. width: 1.2em;
  205. }
  206. .class #summary section.private .span4:first-of-type:before,
  207. .class #summary section.private .span6:first-of-type:before,
  208. h3.private:before {
  209. font-family: FontAwesome;
  210. content: "\f023";
  211. color: red;
  212. display: inline-block;
  213. width: 1.2em;
  214. }
  215. .class #summary section em {
  216. font-size: 0.9em;
  217. color: silver;
  218. }
  219. .class #summary .inherited {
  220. color: gray;
  221. font-style: italic;
  222. }
  223. .accordion-group {
  224. border: none;
  225. }
  226. .accordion {
  227. margin-bottom: 0;
  228. }
  229. .accordion a:hover {
  230. text-decoration: none;
  231. background: #333333;
  232. color: #eeeeee;
  233. }
  234. .accordion-heading .accordion-toggle:before {
  235. content: "\f078";
  236. font-family: FontAwesome;
  237. margin-right: 5px;
  238. }
  239. .accordion-heading .accordion-toggle.collapsed:before {
  240. content: "\f054";
  241. }
  242. .accordion-heading .accordion-toggle {
  243. float: left;
  244. width: 16px;
  245. height: 16px;
  246. padding: 4px 2px 4px 12px;
  247. }
  248. .accordion-heading a {
  249. display: block;
  250. padding: 4px 12px;
  251. }
  252. .accordion-inner a {
  253. display: block;
  254. padding: 4px 12px;
  255. }
  256. .accordion-inner > ul a:before {
  257. font-family: 'phpdocumentor-clean-icons';
  258. content: "\e001";
  259. margin-right: 5px;
  260. }
  261. .accordion-inner li.class a:before {
  262. content: "\e002";
  263. }
  264. .accordion-inner li.interface a:before {
  265. content: "\e001";
  266. }
  267. .accordion-inner li.trait a:before {
  268. content: "\e000";
  269. }
  270. .accordion-inner {
  271. padding: 4px 0 4px 12px;
  272. }
  273. .accordion-inner ul {
  274. list-style: none;
  275. padding: 0;
  276. margin: 0;
  277. }
  278. .row-fluid .span2 {
  279. width: 16.5%;
  280. }
  281. body .modal {
  282. width: 90%; /* desired relative width */
  283. left: 5%; /* (100%-width)/2 */
  284. /* place center */
  285. margin-left:auto;
  286. margin-right:auto;
  287. }
  288. .side-nav.nav-list li a {
  289. overflow: hidden;
  290. white-space: nowrap;
  291. text-overflow: ellipsis;
  292. }
  293. @media (min-width: 767px) {
  294. .sidebar {
  295. position: fixed;
  296. top: 40px;
  297. bottom: 0;
  298. background-color: #f3f3f3;
  299. left: 0;
  300. border-right: 1px solid #e9e9e9;
  301. overflow-y: scroll;
  302. overflow-x: hidden;
  303. padding-top: 10px;
  304. }
  305. .sidebar::-webkit-scrollbar {
  306. width: 10px;
  307. }
  308. .sidebar::-webkit-scrollbar-thumb {
  309. background: #cccccc;
  310. background-clip: padding-box;
  311. border: 3px solid #f3f3f3;
  312. border-radius: 5px;
  313. }
  314. .sidebar::-webkit-scrollbar-button {
  315. display: none;
  316. }
  317. .sidebar::-webkit-scrollbar-track {
  318. background: #f3f3f3;
  319. }
  320. }
  321. @media (max-width: 979px) {
  322. body {
  323. padding-top: 0;
  324. }
  325. }
  326. @media (max-width: 767px) {
  327. .class #summary .heading {
  328. display: none;
  329. }
  330. .detailsbar h1 {
  331. display: none;
  332. }
  333. body {
  334. background-color: white;
  335. }
  336. footer.row-fluid, footer.row-fluid * {
  337. background-color: white;
  338. }
  339. .footer-sections .span4 h1 {
  340. color: #ccccd9;
  341. margin-top: 0;
  342. }
  343. .detailsbar {
  344. background-color: white;
  345. color: #333;
  346. border: none;
  347. }
  348. .row-fluid .span2 {
  349. width: 100%;
  350. }
  351. }
  352. @media (min-width: 767px) {
  353. .detailsbar {
  354. min-height: 100%;
  355. margin-bottom: -99999px;
  356. padding-bottom: 99999px;
  357. padding-left: 20px;
  358. padding-top: 10px;
  359. }
  360. }
  361. @media (min-width: 1200px) {
  362. .row-fluid .span2 {
  363. width: 16.5%;
  364. }
  365. }