Skip to content

Commit 4eaaf99

Browse files
author
PHPDOC CI Job
committed
Updated phpdoc for maintaina-com/Css_Parser (FRAMEWORK_6_0 branch) from ci
1 parent 290ee81 commit 4eaaf99

File tree

18 files changed

+1503
-317
lines changed

18 files changed

+1503
-317
lines changed

FRAMEWORK_6_0/Css_Parser/classes/Horde-Css-Parser.html

Lines changed: 201 additions & 88 deletions
Large diffs are not rendered by default.

FRAMEWORK_6_0/Css_Parser/css/base.css

Lines changed: 163 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11

2+
23
:root {
34
/* Typography */
4-
--font-primary: 'Source Sans Pro', Helvetica, Arial, sans-serif;
5-
--font-secondary: 'Source Sans Pro', Helvetica, Arial, sans-serif;
5+
--font-primary: 'Open Sans', Helvetica, Arial, sans-serif;
6+
--font-secondary: 'Open Sans', Helvetica, Arial, sans-serif;
67
--font-monospace: 'Source Code Pro', monospace;
78
--line-height--primary: 1.6;
89
--letter-spacing--primary: .05rem;
@@ -20,15 +21,34 @@
2021
--text-xxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio));
2122
--text-xxxxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio));
2223

24+
--color-hue-red: 4;
25+
--color-hue-pink: 340;
26+
--color-hue-purple: 291;
27+
--color-hue-deep-purple: 262;
28+
--color-hue-indigo: 231;
29+
--color-hue-blue: 207;
30+
--color-hue-light-blue: 199;
31+
--color-hue-cyan: 187;
32+
--color-hue-teal: 174;
33+
--color-hue-green: 122;
34+
--color-hue-phpdocumentor-green: 96;
35+
--color-hue-light-green: 88;
36+
--color-hue-lime: 66;
37+
--color-hue-yellow: 54;
38+
--color-hue-amber: 45;
39+
--color-hue-orange: 36;
40+
--color-hue-deep-orange: 14;
41+
--color-hue-brown: 16;
42+
2343
/* Colors */
24-
--primary-color-hue: 96;
44+
--primary-color-hue: var(--color-hue-phpdocumentor-green, --color-hue-phpdocumentor-green);
2545
--primary-color-saturation: 57%;
2646
--primary-color: hsl(var(--primary-color-hue), var(--primary-color-saturation), 60%);
2747
--primary-color-darken: hsl(var(--primary-color-hue), var(--primary-color-saturation), 40%);
28-
--primary-color-darker: hsl(var(--primary-color-hue), var(--primary-color-saturation), 20%);
48+
--primary-color-darker: hsl(var(--primary-color-hue), var(--primary-color-saturation), 25%);
2949
--primary-color-darkest: hsl(var(--primary-color-hue), var(--primary-color-saturation), 10%);
30-
--primary-color-lighten: hsl(var(--primary-color-hue), var(--primary-color-saturation), 80%);
31-
--primary-color-lighter: hsl(var(--primary-color-hue), var(--primary-color-saturation), 99%);
50+
--primary-color-lighten: hsl(var(--primary-color-hue), calc(var(--primary-color-saturation) - 20%), 85%);
51+
--primary-color-lighter: hsl(var(--primary-color-hue), calc(var(--primary-color-saturation) - 45%), 97.5%);
3252
--dark-gray: #d1d1d1;
3353
--light-gray: #f0f0f0;
3454

@@ -44,8 +64,8 @@
4464
--button-text-color: #555;
4565
--button-text-color-primary: white;
4666
--popover-background-color: rgba(255, 255, 255, 0.75);
47-
--link-color-primary: var(--primary-color-darken);
48-
--link-hover-color-primary: var(--primary-color-darker);
67+
--link-color-primary: var(--primary-color-darker);
68+
--link-hover-color-primary: var(--primary-color-darkest);
4969
--form-field-border-color: var(--dark-gray);
5070
--form-field-color: #fff;
5171
--admonition-success-color: var(--primary-color);
@@ -79,6 +99,7 @@
7999
/* Base Styles
80100
-------------------------------------------------- */
81101
body {
102+
background-color: #fff;
82103
color: var(--text-color);
83104
font-family: var(--font-primary);
84105
font-size: var(--text-md);
@@ -139,29 +160,39 @@ body {
139160
margin-bottom: var(--spacing-md);
140161
margin-top: var(--spacing-md);
141162
}
142-
143163
.phpdocumentor h1 .headerlink,
144164
.phpdocumentor h2 .headerlink,
145165
.phpdocumentor h3 .headerlink,
146166
.phpdocumentor h4 .headerlink,
147167
.phpdocumentor h5 .headerlink,
148168
.phpdocumentor h6 .headerlink
149169
{
150-
transition: all .3s ease-in-out;
151-
opacity: 0;
152-
text-decoration: none;
153-
color: silver;
154-
font-size: 80%;
170+
display: none;
155171
}
156172

157-
.phpdocumentor h1:hover .headerlink,
158-
.phpdocumentor h2:hover .headerlink,
159-
.phpdocumentor h3:hover .headerlink,
160-
.phpdocumentor h4:hover .headerlink,
161-
.phpdocumentor h5:hover .headerlink,
162-
.phpdocumentor h6:hover .headerlink
163-
{
164-
opacity: 1;
173+
@media (min-width: 550px) {
174+
.phpdocumentor h1 .headerlink,
175+
.phpdocumentor h2 .headerlink,
176+
.phpdocumentor h3 .headerlink,
177+
.phpdocumentor h4 .headerlink,
178+
.phpdocumentor h5 .headerlink,
179+
.phpdocumentor h6 .headerlink {
180+
display: inline;
181+
transition: all .3s ease-in-out;
182+
opacity: 0;
183+
text-decoration: none;
184+
color: silver;
185+
font-size: 80%;
186+
}
187+
188+
.phpdocumentor h1:hover .headerlink,
189+
.phpdocumentor h2:hover .headerlink,
190+
.phpdocumentor h3:hover .headerlink,
191+
.phpdocumentor h4:hover .headerlink,
192+
.phpdocumentor h5:hover .headerlink,
193+
.phpdocumentor h6:hover .headerlink {
194+
opacity: 1;
195+
}
165196
}
166197
.phpdocumentor p {
167198
margin-top: 0;
@@ -191,11 +222,17 @@ body {
191222
box-sizing: border-box;
192223
margin: 0 auto;
193224
max-width: var(--container-width);
194-
padding: 0 var(--spacing-lg);
225+
padding: 0 var(--spacing-sm);
195226
position: relative;
196227
width: 100%;
197228
}
198229

230+
@media (min-width: 550px) {
231+
.phpdocumentor-section {
232+
padding: 0 var(--spacing-lg);
233+
}
234+
}
235+
199236
@media (min-width: 1200px) {
200237
.phpdocumentor-section {
201238
padding: 0;
@@ -426,7 +463,7 @@ textarea {
426463
outline: 0;
427464
}
428465

429-
.phpdocumentor-label {
466+
label.phpdocumentor-label {
430467
display: block;
431468
margin-bottom: var(--spacing-xs);
432469
}
@@ -458,8 +495,15 @@ div.phpdocumentor-list > ul,
458495
ol.phpdocumentor-list,
459496
ul.phpdocumentor-list {
460497
margin-top: 0;
461-
padding-left: 1rem;
462-
margin-bottom: var(--spacing-md);
498+
padding-left: var(--spacing-lg);
499+
margin-bottom: var(--spacing-sm);
500+
}
501+
502+
.phpdocumentor-column ul.-clean,
503+
div.phpdocumentor-list > ul.-clean,
504+
ul.phpdocumentor-list.-clean {
505+
list-style: none;
506+
padding-left: 0;
463507
}
464508

465509
dl {
@@ -473,7 +517,7 @@ ul.phpdocumentor-list ol.phpdocumentor-list,
473517
ol.phpdocumentor-list ol.phpdocumentor-list,
474518
ol.phpdocumentor-list ul.phpdocumentor-list {
475519
font-size: var(--text-sm);
476-
margin: var(--spacing-xs) 0 var(--spacing-xs) calc(var(--spacing-xs) * 2);
520+
margin: 0 0 0 calc(var(--spacing-xs) * 2);
477521
}
478522

479523
.phpdocumentor-column ul li,
@@ -544,6 +588,36 @@ th.phpdocumentor-heading:last-child,
544588
td.phpdocumentor-cell:last-child {
545589
padding-right: 0;
546590
}
591+
.phpdocumentor-label-line {
592+
display: flex;
593+
flex-direction: row;
594+
gap: 1rem
595+
}
596+
597+
.phpdocumentor-label {
598+
background: #f6f6f6;
599+
border-radius: .25rem;
600+
font-size: 80%;
601+
display: inline-block;
602+
overflow: hidden
603+
}
604+
605+
/*
606+
It would be better if the phpdocumentor-element class were to become a flex element with a gap, but for #3337 that
607+
is too big a fix and needs to be done in a new design iteration.
608+
*/
609+
.phpdocumentor-signature + .phpdocumentor-label-line .phpdocumentor-label {
610+
margin-top: var(--spacing-sm);
611+
}
612+
613+
.phpdocumentor-label span {
614+
display: inline-block;
615+
padding: .125rem .5rem;
616+
}
617+
618+
.phpdocumentor-label--success span:last-of-type {
619+
background: #abe1ab;
620+
}
547621

548622
.phpdocumentor-header {
549623
display: flex;
@@ -628,7 +702,7 @@ td.phpdocumentor-cell:last-child {
628702

629703
@media (min-width: 1000px) {
630704
.phpdocumentor-title {
631-
width: 30.6666666667%;
705+
width: 22%;
632706
border-right: var(--sidebar-border-color) solid 1px;
633707
}
634708

@@ -763,6 +837,7 @@ td.phpdocumentor-cell:last-child {
763837

764838
.phpdocumentor .phpdocumentor-sidebar__category-header {
765839
font-size: var(--text-md);
840+
margin-top: 0;
766841
margin-bottom: var(--spacing-xs);
767842
color: var(--link-color-primary);
768843
font-weight: 600;
@@ -933,10 +1008,6 @@ td.phpdocumentor-cell:last-child {
9331008
margin: 0 0 0 auto;
9341009
}
9351010
}
936-
.phpdocumentor-content {
937-
position: relative;
938-
}
939-
9401011
.phpdocumentor-search-results {
9411012
backdrop-filter: blur(5px);
9421013
background: var(--popover-background-color);
@@ -1053,6 +1124,7 @@ td.phpdocumentor-cell:last-child {
10531124
display: flex;
10541125
align-items: center;
10551126
justify-content: center;
1127+
z-index: 1;
10561128
}
10571129

10581130
.phpdocumentor-modal__open {
@@ -1090,6 +1162,65 @@ td.phpdocumentor-cell:last-child {
10901162
font-weight: bold;
10911163
cursor: pointer;
10921164
}
1165+
.phpdocumentor-on-this-page__sidebar {
1166+
display: none;
1167+
}
1168+
1169+
.phpdocumentor-on-this-page__title {
1170+
display: block;
1171+
font-weight: bold;
1172+
margin-bottom: var(--spacing-sm);
1173+
color: var(--link-color-primary);
1174+
}
1175+
1176+
@media (min-width: 1000px) {
1177+
.phpdocumentor-on-this-page__sidebar {
1178+
display: block;
1179+
position: relative;
1180+
}
1181+
1182+
.phpdocumentor-on-this-page__content::-webkit-scrollbar,
1183+
[scrollbars]::-webkit-scrollbar {
1184+
height: 8px;
1185+
width: 8px;
1186+
}
1187+
1188+
.phpdocumentor-on-this-page__content::-webkit-scrollbar-corner,
1189+
[scrollbars]::-webkit-scrollbar-corner {
1190+
background: 0;
1191+
}
1192+
1193+
.phpdocumentor-on-this-page__content::-webkit-scrollbar-thumb,
1194+
[scrollbars]::-webkit-scrollbar-thumb {
1195+
background: rgba(128,134,139,0.26);
1196+
border-radius: 8px;
1197+
}
1198+
1199+
.phpdocumentor-on-this-page__content {
1200+
position: sticky;
1201+
height: calc(100vh - var(--header-height));
1202+
overflow-y: auto;
1203+
border-left: 1px solid var(--sidebar-border-color);
1204+
padding-left: var(--spacing-lg);
1205+
font-size: 90%;
1206+
top: -1px; /* Needed for the javascript to make the .-stuck trick work */
1207+
flex: 0 1 auto;
1208+
width: 15vw;
1209+
}
1210+
1211+
.phpdocumentor-on-this-page__content.-stuck {
1212+
height: 100vh;
1213+
}
1214+
1215+
.phpdocumentor-on-this-page__content li {
1216+
word-break: break-all;
1217+
line-height: normal;
1218+
}
1219+
1220+
.phpdocumentor-on-this-page__content li.-deprecated {
1221+
text-decoration: line-through;
1222+
}
1223+
}
10931224

10941225
/* Used for screen readers and such */
10951226
.visually-hidden {

FRAMEWORK_6_0/Css_Parser/css/normalize.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ audio:not([controls]) {
7676

7777
[hidden],
7878
template {
79-
display: none;
79+
display: none !important;
8080
}
8181

8282
/* Links

0 commit comments

Comments
 (0)