template.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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 > a.-deprecated {
  110. text-decoration: line-through;
  111. }
  112. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > span {
  113. flex: 1;
  114. white-space: nowrap;
  115. text-overflow: ellipsis;
  116. overflow: hidden;
  117. }
  118. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:after {
  119. content: '';
  120. height: 12px;
  121. width: 12px;
  122. left: 16px;
  123. position: absolute;
  124. }
  125. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-private:after {
  126. 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;
  127. }
  128. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-protected:after {
  129. left: 13px;
  130. 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;
  131. }
  132. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:before {
  133. width: 1.25rem;
  134. height: 1.25rem;
  135. line-height: 1.25rem;
  136. 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;
  137. content: '';
  138. position: absolute;
  139. left: 0;
  140. border-radius: 50%;
  141. font-weight: 600;
  142. color: white;
  143. text-align: center;
  144. font-size: .75rem;
  145. margin-top: .2rem;
  146. }
  147. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-method:before {
  148. content: 'M';
  149. color: '';
  150. 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>');
  151. }
  152. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-function:before {
  153. content: 'M';
  154. color: ' 262';
  155. 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>');
  156. }
  157. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-property:before {
  158. content: 'P'
  159. }
  160. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-constant:before {
  161. content: 'C';
  162. background-color: transparent;
  163. 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>');
  164. }
  165. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-class:before {
  166. content: 'C'
  167. }
  168. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-interface:before {
  169. content: 'I'
  170. }
  171. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-trait:before {
  172. content: 'T'
  173. }
  174. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-namespace:before {
  175. content: 'N'
  176. }
  177. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-package:before {
  178. content: 'P'
  179. }
  180. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-enum:before {
  181. content: 'E'
  182. }
  183. .phpdocumentor-table-of-contents dd {
  184. font-style: italic;
  185. margin-left: 2rem;
  186. }
  187. .phpdocumentor-element-found-in {
  188. display: none;
  189. }
  190. @media (min-width: 550px) {
  191. .phpdocumentor-element-found-in {
  192. display: block;
  193. font-size: var(--text-sm);
  194. color: gray;
  195. margin-bottom: 1rem;
  196. }
  197. }
  198. @media (min-width: 1200px) {
  199. .phpdocumentor-element-found-in {
  200. position: absolute;
  201. top: var(--spacing-sm);
  202. right: var(--spacing-sm);
  203. font-size: var(--text-sm);
  204. margin-bottom: 0;
  205. }
  206. }
  207. .phpdocumentor-element-found-in .phpdocumentor-element-found-in__source {
  208. flex: 0 1 auto;
  209. display: inline-flex;
  210. }
  211. .phpdocumentor-element-found-in .phpdocumentor-element-found-in__source:after {
  212. width: 1.25rem;
  213. height: 1.25rem;
  214. line-height: 1.25rem;
  215. 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;
  216. content: '';
  217. left: 0;
  218. border-radius: 50%;
  219. font-weight: 600;
  220. text-align: center;
  221. font-size: .75rem;
  222. margin-top: .2rem;
  223. }
  224. .phpdocumentor-class-graph {
  225. width: 100%; height: 600px; border:1px solid black; overflow: hidden
  226. }
  227. .phpdocumentor-class-graph__graph {
  228. width: 100%;
  229. }
  230. .phpdocumentor-tag-list__definition {
  231. display: flex;
  232. }
  233. .phpdocumentor-tag-link {
  234. margin-right: var(--spacing-sm);
  235. }
  236. .phpdocumentor-uml-diagram svg {
  237. cursor: zoom-in;
  238. }