File tree Expand file tree Collapse file tree
plugins/tdf-progress-bar/css
themes/the-digital-front-child Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /* Reading progress indicator: fixed thin bar at top of viewport showing read progress */
12# tdf-reading-progress {
2- position : fixed;
3- top : 0 ;
4- left : 0 ;
5- width : 0 ;
6- height : 4px ;
7- z-index : 100000 ;
8- transition : width 0.08s linear;
3+ position : fixed; /* fixed to viewport */
4+ top : 0 ; /* sits at very top unless admin bar present */
5+ left : 0 ; /* starts at left edge */
6+ width : 0 ; /* updated via JS to indicate progress */
7+ height : 4px ; /* thin visible bar */
8+ z-index : 100000 ; /* ensure above most content */
9+ transition : width 0.08s linear; /* smooth width animation */
910}
1011
1112.admin-bar # tdf-reading-progress {
13+ /* shift down when WP admin bar is visible */
1214 top : 32px ;
1315}
1416
1517@media screen and (max-width : 782px ) {
1618 .admin-bar # tdf-reading-progress {
19+ /* taller admin bar on small screens */
1720 top : 46px ;
1821 }
1922}
Original file line number Diff line number Diff line change 77 "label" : " Author Bio" ,
88 "name" : " author_bio" ,
99 "type" : " textarea" ,
10- "required" : 0
10+ "required" : 0 ,
11+ "instructions" : " Short author bio shown on opinion posts (keeps to ~50 words)"
1112 },
1213 {
1314 "key" : " field_pull_quote" ,
1415 "label" : " Pull Quote" ,
1516 "name" : " pull_quote" ,
1617 "type" : " textarea" ,
17- "required" : 0
18+ "required" : 0 ,
19+ "instructions" : " Optional short pull quote used in opinion listings and cards"
1820 },
1921 {
2022 "key" : " field_related_article" ,
2123 "label" : " Related Article" ,
2224 "name" : " related_article" ,
2325 "type" : " relationship" ,
2426 "post_type" : [" article" ],
25- "required" : 0
27+ "required" : 0 ,
28+ "instructions" : " Select an `article` to link this opinion to for context"
2629 }
2730 ],
2831 "location" : [
You can’t perform that action at this time.
0 commit comments