template.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. .phpdocumentor-summary {
  2. font-style: italic;
  3. }
  4. .phpdocumentor-description {
  5. margin-bottom: var(--spacing-md);
  6. }
  7. .phpdocumentor-element {
  8. position: relative;
  9. }
  10. .phpdocumentor .phpdocumentor-element__name {
  11. line-height: 1;
  12. }
  13. .phpdocumentor-element__package,
  14. .phpdocumentor-element__extends,
  15. .phpdocumentor-element__implements {
  16. display: block;
  17. font-size: var(--text-xxs);
  18. font-weight: normal;
  19. opacity: .7;
  20. }
  21. .phpdocumentor-element__package .phpdocumentor-breadcrumbs {
  22. display: inline;
  23. }
  24. .phpdocumentor-element:not(:last-child) {
  25. border-bottom: 1px solid var(--primary-color-lighten);
  26. padding-bottom: var(--spacing-lg);
  27. }
  28. .phpdocumentor-element.-deprecated .phpdocumentor-element__name {
  29. text-decoration: line-through;
  30. }
  31. .phpdocumentor-element__modifier {
  32. font-size: var(--text-xxs);
  33. padding: calc(var(--spacing-base-size) / 4) calc(var(--spacing-base-size) / 2);
  34. color: var(--text-color);
  35. background-color: var(--light-gray);
  36. border-radius: 3px;
  37. text-transform: uppercase;
  38. }
  39. .phpdocumentor-signature {
  40. display: inline-block;
  41. font-size: var(--text-sm);
  42. margin-bottom: var(--spacing-md);
  43. }
  44. .phpdocumentor-signature.-deprecated .phpdocumentor-signature__name {
  45. text-decoration: line-through;
  46. }
  47. .phpdocumentor-table-of-contents {
  48. }
  49. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry {
  50. padding-top: var(--spacing-xs);
  51. margin-left: 2rem;
  52. display: flex;
  53. }
  54. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > a {
  55. flex: 0 1 auto;
  56. }
  57. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > span {
  58. flex: 1;
  59. white-space: nowrap;
  60. text-overflow: ellipsis;
  61. overflow: hidden;
  62. }
  63. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:after {
  64. content: '';
  65. height: 12px;
  66. width: 12px;
  67. left: 16px;
  68. position: absolute;
  69. }
  70. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-private:after {
  71. 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;
  72. }
  73. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-protected:after {
  74. left: 13px;
  75. 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;
  76. }
  77. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:before {
  78. width: 1.25rem;
  79. height: 1.25rem;
  80. line-height: 1.25rem;
  81. 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="%238DD35F"/></svg>') no-repeat center center;
  82. content: '';
  83. position: absolute;
  84. left: 0;
  85. border-radius: 50%;
  86. font-weight: 600;
  87. color: white;
  88. text-align: center;
  89. font-size: .75rem;
  90. margin-top: .2rem;
  91. }
  92. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-method:before {
  93. content: 'M';
  94. 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="%238DD35F"/></svg>');
  95. }
  96. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-function:before {
  97. content: 'M';
  98. 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="%238DD35F"/></svg>');
  99. }
  100. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-property:before {
  101. content: 'P'
  102. }
  103. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-constant:before {
  104. content: 'C';
  105. background-color: transparent;
  106. 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="%238DD35F"/></svg>');
  107. }
  108. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-class:before {
  109. content: 'C'
  110. }
  111. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-interface:before {
  112. content: 'I'
  113. }
  114. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-trait:before {
  115. content: 'T'
  116. }
  117. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-namespace:before {
  118. content: 'N'
  119. }
  120. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-package:before {
  121. content: 'P'
  122. }
  123. .phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-enum:before {
  124. content: 'E'
  125. }
  126. .phpdocumentor-table-of-contents dd {
  127. font-style: italic;
  128. margin-left: 2rem;
  129. }
  130. .phpdocumentor-element-found-in {
  131. position: absolute;
  132. top: 0;
  133. right: 0;
  134. font-size: var(--text-sm);
  135. color: gray;
  136. }
  137. .phpdocumentor-element-found-in .phpdocumentor-element-found-in__source {
  138. flex: 0 1 auto;
  139. display: inline-flex;
  140. }
  141. .phpdocumentor-element-found-in .phpdocumentor-element-found-in__source:after {
  142. width: 1.25rem;
  143. height: 1.25rem;
  144. line-height: 1.25rem;
  145. 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;
  146. content: '';
  147. left: 0;
  148. border-radius: 50%;
  149. font-weight: 600;
  150. text-align: center;
  151. font-size: .75rem;
  152. margin-top: .2rem;
  153. }
  154. .phpdocumentor-class-graph {
  155. width: 100%; height: 600px; border:1px solid black; overflow: hidden
  156. }
  157. .phpdocumentor-class-graph__graph {
  158. width: 100%;
  159. }
  160. .phpdocumentor-tag-list__definition {
  161. display: flex;
  162. }
  163. .phpdocumentor-tag-link {
  164. margin-right: var(--spacing-sm);
  165. }