Advertisement
rccharles

advanced edits April 1, 2019

Apr 1st, 2019
671
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.15 KB | None | 0 0
  1. @-moz-document domain("discussions.apple.com") {
  2. /*
  3. You can create scrolling areas without resorting to frames by using CSS's overflow property.
  4. https://stackoverflow.com/questions/628407/hidden-features-of-css
  5. Example:
  6.  
  7. div.foo {
  8.     border:   1px solid;
  9.     width:    300px;
  10.     height:   300px;
  11.     overflow: auto;
  12. }
  13. */
  14. /* Hide badges :-)
  15. div#main-content nav.sub-nav-desktop
  16. [aria-label="Communities"]
  17. */
  18.   div#main-content div.user-expertise {
  19.    /* background: red !important; /* */
  20.    visibility: hidden !important; /* */
  21. }
  22. /* div.user-expertise {
  23.     visibility: hidden !important;
  24. }*/
  25.  
  26. /* The overflow property has the following values:
  27.  
  28.     visible - Default. The overflow is not clipped. It renders outside the element's box
  29.     hidden - The overflow is clipped, and the rest of the content will be invisible
  30.     scroll - The overflow is clipped, but a scrollbar is added to see the rest of the content
  31.     auto - If overflow is clipped, a scrollbar should be added to see the rest of the content
  32. */
  33. .post-author .post-author-metadata .post-author-name {overflow:auto }
  34.  
  35. /* https://discussions.apple.com/thread/250068516 */
  36.  
  37. /* Persistant question no more */
  38. section.persist-question.shown {
  39.     display: none !important;
  40. }
  41.  
  42. /* expand the height of attached file display *_
  43. div.content-post-body-content div.log-attachment-accordion.expanded,
  44. div.content-post-body-content div.log-attachment-content-wrapper {
  45.   height: 800px !important;
  46.   max-height: 800px !important; /* cover all bases both height and max-height *_
  47. } /* */
  48. /*
  49.    FYI:
  50.      LF is 0a  Unix
  51.      CR is 0d  mac classic
  52.      LFCR is 0a0d windows
  53. */
  54.  
  55. /* expand the width of attached file display */
  56. /* From
  57.    https://discussions.apple.com/thread/250234067?answerId=250443431022#250443431022
  58. */
  59. div.content-post-body-content div.log-attachment-accordion.expanded {
  60.   max-width: 92% !important;
  61. }
  62.  
  63. /* reduce the whiteness of page change region.
  64.    While the orginal let through 34% of the background, it still felt too bright.*/
  65. section.filters-layout div.filters-layout-content div.spinner-wrapper {
  66.   background-color: rgba(155,155,255,0.35); }
  67.  
  68.  
  69.  
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement