template.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. .phpdocumentor-content {
  2. position: relative;
  3. display: flex;
  4. gap: var(--spacing-md);
  5. }
  6. .phpdocumentor-content > section:first-of-type {
  7. width: 75%;
  8. flex: 1 1 auto;
  9. }
  10. @media (min-width: 1900px) {
  11. .phpdocumentor-content > section:first-of-type {
  12. width: 100%;
  13. flex: 1 1 auto;
  14. }
  15. }
  16. .phpdocumentor .phpdocumentor-content__title {
  17. margin-top: 0;
  18. }
  19. .phpdocumentor-summary {
  20. font-style: italic;
  21. }
  22. .phpdocumentor-description {
  23. margin-bottom: var(--spacing-md);
  24. }
  25. .phpdocumentor-element {
  26. position: relative;
  27. }
  28. .phpdocumentor-element .phpdocumentor-element {
  29. border: 1px solid var(--primary-color-lighten);
  30. margin-bottom: var(--spacing-md);
  31. padding: var(--spacing-xs);
  32. border-radius: 5px;
  33. }
  34. .phpdocumentor-element.-deprecated .phpdocumentor-element__name {
  35. text-decoration: line-through;
  36. }
  37. @media (min-width: 550px) {
  38. .phpdocumentor-element .phpdocumentor-element {
  39. margin-bottom: var(--spacing-lg);
  40. padding: var(--spacing-md);
  41. }
  42. }
  43. .phpdocumentor-element__modifier {
  44. font-size: var(--text-xxs);
  45. padding: calc(var(--spacing-base-size) / 4) calc(var(--spacing-base-size) / 2);
  46. color: var(--text-color);
  47. background-color: var(--light-gray);
  48. border-radius: 3px;
  49. text-transform: uppercase;
  50. }
  51. .phpdocumentor .phpdocumentor-elements__header {
  52. margin-top: var(--spacing-xxl);
  53. margin-bottom: var(--spacing-lg);
  54. }
  55. .phpdocumentor .phpdocumentor-element__name {
  56. line-height: 1;
  57. margin-top: 0;
  58. font-weight: 300;
  59. font-size: var(--text-lg);
  60. word-break: break-all;
  61. margin-bottom: var(--spacing-sm);
  62. }
  63. @media (min-width: 550px) {
  64. .phpdocumentor .phpdocumentor-element__name {
  65. font-size: var(--text-xl);
  66. margin-bottom: var(--spacing-xs);
  67. }
  68. }
  69. @media (min-width: 1200px) {
  70. .phpdocumentor .phpdocumentor-element__name {
  71. margin-bottom: var(--spacing-md);
  72. }
  73. }
  74. .phpdocumentor-element__package,
  75. .phpdocumentor-element__extends,
  76. .phpdocumentor-element__implements {
  77. display: block;
  78. font-size: var(--text-xxs);
  79. font-weight: normal;
  80. opacity: .7;
  81. }
  82. .phpdocumentor-element__package .phpdocumentor-breadcrumbs {
  83. display: inline;
  84. }
  85. .phpdocumentor .phpdocumentor-signature {
  86. display: block;
  87. font-size: var(--text-sm);
  88. border: 1px solid #f0f0f0;
  89. }
  90. .phpdocumentor .phpdocumentor-signature.-deprecated .phpdocumentor-signature__name {
  91. text-decoration: line-through;
  92. }
  93. @media (min-width: 550px) {
  94. .phpdocumentor .phpdocumentor-signature {
  95. margin-left: calc(var(--spacing-xl) * -1);
  96. width: calc(100% + var(--spacing-xl));
  97. }
  98. }
  99. .phpdocumentor-table-of-contents {
  100. }
  101. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry {
  102. margin-bottom: var(--spacing-xxs);
  103. margin-left: 2rem;
  104. display: flex;
  105. }
  106. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > a {
  107. flex: 0 1 auto;
  108. }
  109. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > span {
  110. flex: 1;
  111. white-space: nowrap;
  112. text-overflow: ellipsis;
  113. overflow: hidden;
  114. }
  115. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:after {
  116. content: '';
  117. height: 12px;
  118. width: 12px;
  119. left: 16px;
  120. position: absolute;
  121. }
  122. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-private:after {
  123. background: url('data:image/svg+xml;utf8,<svg width="8" height="10" viewBox="0 0 8 10" fill="none" xmlns="http://www.w3.org/2000/svg"><rect y="4" width="8" height="6" rx="1.4" fill="%23EE6749"/><path d="M2 4C2 3 2.4 1 4 1C5.6 1 6 3 6 4" stroke="%23EE6749" stroke-width="1.4"/></svg>') no-repeat;
  124. }
  125. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-protected:after {
  126. left: 13px;
  127. background: url('data:image/svg+xml;utf8,<svg width="11" height="9" viewBox="0 0 11 9" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="8" height="6" rx="1.4" fill="%23EE9949"/><path d="M5 4C5 3 4.6 1 3 1C1.4 1 1 3 1 4" stroke="%23EE9949" stroke-width="1.4"/></svg>') no-repeat;
  128. }
  129. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:before {
  130. width: 1.25rem;
  131. height: 1.25rem;
  132. line-height: 1.25rem;
  133. background: transparent url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="10" fill="hsl( 262, 57%, 60%)"/></svg>') no-repeat center center;
  134. content: '';
  135. position: absolute;
  136. left: 0;
  137. border-radius: 50%;
  138. font-weight: 600;
  139. color: white;
  140. text-align: center;
  141. font-size: .75rem;
  142. margin-top: .2rem;
  143. }
  144. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-method:before {
  145. content: 'M';
  146. color: '';
  147. background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="10" fill="hsl( 262, 57%, 60%)"/></svg>');
  148. }
  149. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-function:before {
  150. content: 'M';
  151. color: ' 262';
  152. background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="10" fill="hsl( 262, 57%, 60%)"/></svg>');
  153. }
  154. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-property:before {
  155. content: 'P'
  156. }
  157. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-constant:before {
  158. content: 'C';
  159. background-color: transparent;
  160. background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="-3.05176e-05" y="9.99998" width="14.1422" height="14.1422" transform="rotate(-45 -3.05176e-05 9.99998)" fill="hsl( 262, 57%, 60%)"/></svg>');
  161. }
  162. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-class:before {
  163. content: 'C'
  164. }
  165. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-interface:before {
  166. content: 'I'
  167. }
  168. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-trait:before {
  169. content: 'T'
  170. }
  171. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-namespace:before {
  172. content: 'N'
  173. }
  174. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-package:before {
  175. content: 'P'
  176. }
  177. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-enum:before {
  178. content: 'E'
  179. }
  180. .phpdocumentor-table-of-contents dd {
  181. font-style: italic;
  182. margin-left: 2rem;
  183. }
  184. .phpdocumentor-element-found-in {
  185. display: none;
  186. }
  187. @media (min-width: 550px) {
  188. .phpdocumentor-element-found-in {
  189. display: block;
  190. font-size: var(--text-sm);
  191. color: gray;
  192. margin-bottom: 1rem;
  193. }
  194. }
  195. @media (min-width: 1200px) {
  196. .phpdocumentor-element-found-in {
  197. position: absolute;
  198. top: var(--spacing-sm);
  199. right: var(--spacing-sm);
  200. font-size: var(--text-sm);
  201. margin-bottom: 0;
  202. }
  203. }
  204. .phpdocumentor-element-found-in .phpdocumentor-element-found-in__source {
  205. flex: 0 1 auto;
  206. display: inline-flex;
  207. }
  208. .phpdocumentor-element-found-in .phpdocumentor-element-found-in__source:after {
  209. width: 1.25rem;
  210. height: 1.25rem;
  211. line-height: 1.25rem;
  212. background: transparent url('data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="gray"><path d="M5.854 4.854a.5.5 0 1 0-.708-.708l-3.5 3.5a.5.5 0 0 0 0 .708l3.5 3.5a.5.5 0 0 0 .708-.708L2.707 8l3.147-3.146zm4.292 0a.5.5 0 0 1 .708-.708l3.5 3.5a.5.5 0 0 1 0 .708l-3.5 3.5a.5.5 0 0 1-.708-.708L13.293 8l-3.147-3.146z" stroke="gray" stroke-width="1.4"/></svg>') no-repeat center center;
  213. content: '';
  214. left: 0;
  215. border-radius: 50%;
  216. font-weight: 600;
  217. text-align: center;
  218. font-size: .75rem;
  219. margin-top: .2rem;
  220. }
  221. .phpdocumentor-class-graph {
  222. width: 100%; height: 600px; border:1px solid black; overflow: hidden
  223. }
  224. .phpdocumentor-class-graph__graph {
  225. width: 100%;
  226. }
  227. .phpdocumentor-tag-list__definition {
  228. display: flex;
  229. }
  230. .phpdocumentor-tag-link {
  231. margin-right: var(--spacing-sm);
  232. }