template.css 8.4 KB

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