Advertisement
rccharles

asc header 10mar2017

Mar 10th, 2017
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 26.47 KB | None | 0 0
  1. /*  Reduce the size of a header area on a list web page and display of posts in a discussion web page.
  2.  
  3.    Copyright (c) 2016 rccharles
  4.  
  5.    All rights reserved.
  6.  
  7.    Redistribution and use in source and binary forms, with or without
  8.    modification, are permitted provided that the following conditions are met:
  9.  
  10.    1. Redistributions of source code must retain the above copyright notice, this
  11.       list of conditions and the following disclaimer.
  12.    2. Redistributions in binary form must reproduce the above copyright notice,
  13.       this list of conditions and the following disclaimer in the documentation
  14.       and/or other materials provided with the distribution.
  15.  
  16.    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  17.    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  18.    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  19.    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
  20.    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  21.    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  22.    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  23.    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24.    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  25.    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26.  
  27.    The views and conclusions contained in the software and documentation are those
  28.    of the authors and should not be interpreted as representing official policies,
  29.    either expressed or implied, of the Custom Styles Project.    
  30.    
  31.    
  32.     Implement these changes by:
  33.       1) running stylish
  34.       2) add the combined user style sheet to stylish
  35.          https://discussions.apple.com/docs/DOC-7501
  36.       3) create a new style sheet in stylish.
  37.       4) copy these css rules to the new sheet.
  38.      
  39.      
  40.     example web pages:
  41.         https://discussions.apple.com/content?filterID=following~objecttype~objecttype[thread]
  42.         https://discussions.apple.com/people/<userid>?view=discussions
  43.    
  44.     What is my user agent and screen size?
  45.     http://whatsmyuseragent.com/
  46.  
  47.     iPhone
  48.                   320px x 480px with window size 320px x 372px
  49.         landscape 320px x 480px with window size 480px x 320px
  50.    
  51.     HTC Desire 520
  52.                   320px x 522px with window size 320px x 448px
  53.         landscape 527px x 320px with window size 527px x 247px
  54.  
  55.     Apple sprites
  56.         https://discussions.apple.com/6.0.3.0453576a/themes/apple_0.7.0/img/apple-sprite.png
  57.        
  58.  
  59.     Change log
  60.     1.5
  61.        - Apple changed selectors for Sort By: latest activity 9Mar2017
  62.     1.4
  63.        - Apple changed name of alert box. Ditch white space.  Smaller font. 8Mar2017
  64.        - Add support for moved breadcrumb via javascript. 7Mar2017
  65.     1.3
  66.        - Fix bug with title positioning when Apple alert is included on the page 21Feb2017
  67.        - Add French and German languages  24Feb2017
  68.        - Use regexp  24Feb2017
  69.        - Trim 5Mar2017
  70.        - Adjust selector 5Mar2017
  71.        - Adjust some tabs in https://discussions.apple.com/people/
  72.     1.2
  73.        - vertical center sidebar
  74.     1.1
  75.        - adjustments for Nov 1, 2016 ASC changes
  76.  
  77.   */
  78.  
  79. /* ========================================###===================================== */
  80.  
  81. /*                                         L i s t                                  */
  82. /*
  83.    French  https://communities.apple.com/fr/community/desktop_computers/imac/content
  84.    German  https://communities.apple.com/de/community/desktop_computers/imac/content
  85.    
  86.    url-prefix(https://communities.apple.com/pt/content),
  87.    url-prefix(https://communities.apple.com/pt/community/),
  88.    url-prefix(https://communities.apple.com/pt/people)  
  89. */
  90.  
  91.  
  92. @-moz-document
  93.    url-prefix(https://discussions.apple.com/content),
  94.    url-prefix(https://discussions.apple.com/community),
  95.    url-prefix(https://discussions.apple.com/people),
  96.    
  97.    url-prefix(https://discussionsjapan.apple.com/content),
  98.    url-prefix(https://discussionsjapan.apple.com/community),
  99.    url-prefix(https://discussionsjapan.apple.com/people),
  100.    
  101.    url-prefix(https://discussionskorea.apple.com/content),
  102.    url-prefix(https://discussionskorea.apple.com/community),
  103.    url-prefix(https://discussionskorea.apple.com/people),
  104.    
  105.    regexp("https://communities.apple.com/(de|es|fr|pt)/(community|content|people).*")    
  106.  
  107.  {  
  108.      
  109.       /* debug:
  110.          background-color: yellow !important;
  111.       */          
  112.       /* top line:
  113.          Communities                Contact support
  114.        
  115.          I guess we know by now that we are in the communities. */
  116.        
  117.        /* Top portion of the header. First two "lines" on the page.  
  118.          Second lines is:
  119.            My Subscriptions Content People Search Post */
  120.       div#j-header-wrap {
  121.         margin-bottom: 2px !important;
  122.         /*background-color: antiquewhite !important; /* */ }
  123.  
  124.      
  125.       /* Ditch first line across page.  */
  126.       div#body-apple header nav#j-globalNav-bg  {border-bottom: 0px !important; }
  127.      
  128.       /* Ditch Communities */
  129.       div#body-apple header div#apple-site-title a { display: none!important; }
  130.        
  131.       /* Ditch "Content" upper left of window.  
  132.          Glad to get rid of this redundant waste of space. */
  133.       div#jive-body  header#apple-full-header { display: none!important; }
  134.        
  135.       /* Ditch "Find helpful content and discussions"
  136.          Total waste of space. */
  137.       header#apple-full-header h4#apple-full-subheader { display: none!important; }  
  138.        
  139.       /* Ditch Box and list view icons
  140.          Who ever uses the box view?  No need. */
  141.        div#jive-body ul#j-item-view-toggle { display: none!important; }
  142.        
  143.       /* Ditch the line under
  144.                [All User(nnn)] [Announcements] [User Tips(nnn)] [Discussions(nnn)] */
  145.       ul.j-content-types.js-browse-filter-toggle-set {
  146.          border-bottom-width: 0 !important;}
  147.        
  148.       /* [Filter by personal content] check box only appears
  149.          on your content web page. It doesn't seem to work. */
  150.      div.j-browse-filter-row.j-content-filter span.js-browse-filter-toggle{
  151.         display: none!important;
  152.         /*background-color: teal !important; /* */
  153.         }
  154.        
  155.       /* User id    [My subscriptions]  [Content]  [People]  [Search]  [Post]  [Lounge] */
  156.       header#j-header div#second-row {
  157.           padding-top: 6px !important;
  158.           /*background-color: yellow !important;/**/
  159.         }
  160.      
  161.       /* User id  signout */
  162.       div#second-row ul#j-satNav-wrap {
  163.           margin-left: -40px !important;
  164.           margin-top: -10px !important;
  165.           /*background-color: aqua  !important;/**/
  166.        }
  167.            
  168.       /*  Delete line under [all discussions]. This is a band in back of
  169.          [All Discussions] the spans the width of the window. */
  170.      div.j-layout.j-layout-sl form#js-browse-controls div.j-browse-filter-row.j-content-filter {
  171.           border-bottom: 0px !important;
  172.           /*background-color: azure !important; /* */
  173.       }
  174.        
  175.        /* Tame alerts  
  176.           Get rid of all the wasted white space.  Smaller font.              1.4 */
  177.        div#jive-alert-global {
  178.            margin: 10px 0 2px 15px !important;
  179.            padding: 5px !important;
  180.            background-color: #F2F2F2 !important;/**/
  181.            /*background-color: azure !important; /* light, light blue */
  182.          }    
  183.        div#jive-alert-1{
  184.            padding: 7px !important;
  185.          }
  186.        div.jive-alert-title {
  187.            font-size: 18px !important;
  188.          }
  189.        div.jive-alert-title span {
  190.            font-size: 14px !important;
  191.          }
  192.              
  193.        /* Don't place a white line across the screen.
  194.           You would not see with Apple's white background */
  195.        form#js-browse-controls div.j-browse-sorts.j-browse-filter-row.last-child {
  196.            border-top-style: none !important;
  197.            /*background-color: azure !important; /* */
  198.        }
  199.  
  200.  
  201. /* ========================================================================== */
  202. /* ...... For medium and large size windows ...... */
  203.        
  204. @media all and (min-width: 500px) {  
  205.    
  206.       /* Space between first and second line of the upper header space.  Second line starts
  207.           with Signin / Signout */
  208.       nav#j-globalNav-bg {
  209.           height: 26px !important;
  210.         }
  211.    
  212.       /* [All Content(nnn)]   [User [Tips(nnn)]   [Discussions(nnn)]
  213.           or
  214.          [All User(nnn)] [Announcements] [User [Tips(nnn)] [Discussions(nnn)] */
  215.       div.j-browse-filter-row.j-rc5 {
  216.         height: 42px !important;
  217.         /*background-color: lightgreen !important;/**/
  218.         }
  219.       /* https://discussions.apple.com/people/rccharles/content?filterID=following~objecttype~objecttype%5Bdocument%5D  1.3 */
  220.       html body.ui-desktop.jive-view-profile div.aria-container div#body-apple ul.j-content-types.js-browse-filter-toggle-set {
  221.         margin: 30px 80px !important;
  222.         }
  223.       /* actual line for [All Content(nnn)]  ...  */
  224.       .j-browse-filter-row > ul li {
  225.         height: 20px !important;
  226.         /*background-color: rosybrown !important;/**/
  227.         }
  228.      
  229.       /* now adjust the size of the letters in this row
  230.          Looks like ASC has javascript to move around underline :-(
  231.          Need make only acceptable change to preserve underlining. */
  232.       div#jive-body div.j-browse-filter-row.j-type-row.apple-custom-line-height ul li button{
  233.          font-size: 16px !important;
  234.          height:18px !important;  
  235.          padding-top: 0px !important;
  236.          padding-bottom: 1px !important;
  237.          /*background-color: lightgreen  !important; /**/
  238.           }
  239.          
  240.       /* Jive uses an hr to adjust the underlining.
  241.          The javascripts adjusts the margin-left to move the underline.
  242.          <div class="j-layout j-layout-sl clearfix j-contained j-contained-tabs j-browse-content j-rc5">
  243.            <hr style="width: 86px; margin-left: 540.3px; margin-top: 54px;"
  244.                class="underscore-selected ready">  */
  245.       div.j-layout.j-layout-sl hr.underscore-selected.ready {
  246.           margin-top: 21px  !important;  
  247.           /*border-top: 3px dashed #8c8b8b  !important;*/
  248.          /*background-color: lightblue  !important; /**/
  249.           }
  250.    
  251.       /* Effects margin same as div#jive-body
  252.          header then every other line */
  253.       div#jive-body div.j-layout {
  254.           margin-top: 5px !important;
  255.           /*background-color: grey !important; /* */      
  256.        }
  257.    
  258.       /* for some reason when left out User [Tips drifts] downward. */
  259.       ul.j-content-types.js-browse-filter-toggle-set li a{          
  260.           height: 18px!important;
  261.           font-size: 16px !important;
  262.           padding:0px   !important;
  263.           vertical-align: middle !important;
  264.           display:inline-block;
  265.           overflow:hidden !important;
  266.           white-space:nowrap !important;
  267.           /*background-color: tan  !important; /**/ }
  268.          
  269.       /* [Contact Support] seen on top right */
  270.       div#body-apple header ul#contact-support-link {
  271.           margin-top: -6px !important;
  272.           margin-right: -40px !important;
  273.           /*background-color: palegoldenrod !important;  /**/                  
  274.         }
  275.    
  276.       /* Support Communities /  Content
  277.          Move breadcrumb to the upper left, thus avoiding the repeating of Communities and content */
  278.       section#j-main nav#jive-breadcrumb {  /* add more selectors to overwhele main css */
  279.           position: absolute !important;  /* override what in the main css */
  280.           text-align: left !important;
  281.           top: -68px !important;   /* === if you want to run this with out the main css,
  282.                                            change from -120 to -80px === */
  283.           left: 0px !important;
  284.           font-size: 20px !important;        
  285.           width: inherit !important;   /* override what in the main css */
  286.           /*background-color: tan  !important;/**/        
  287.        }
  288.      
  289.         /*  Adjust height associated with the band in back of
  290.          [All Discussions] the spans the width of the window. */
  291.      div.j-layout.j-layout-sl form#js-browse-controls div.j-browse-filter-row.j-content-filter {
  292.           height: 20px !important;
  293.           width: 180px;
  294.           background-color: #f2f2f2 !important; /* earlier Apple grey */
  295.       }
  296.    
  297.      /* Pagination info
  298.         for /content pages pagination info only appears at the bottom right */
  299.      div span.j-pagination-prevnext.full-pagination{
  300.         margin:0 !important;
  301.         /*background-color: pink !important; /* */ }
  302.    
  303.     /* don't know why form doesn't contain items */
  304.     form#js-browse-controls {
  305.         height: 80px !important;
  306.         /*background-color: lightgreen !important;/**/
  307.         }
  308.    
  309.      /* [All discussions] */
  310.      select.j-browse-filter.js-browse-filter {
  311.          padding: 0px 6px 0px 8px !important;
  312.          height: 32px !important;
  313.          font-size: 14px !important;
  314.          width: 160px !important;      
  315.          text-align: left !important;
  316.          border-color: #9b9b9b !important;
  317.          background-color: #f2f2f2 !important;  
  318.          /*background-color: lightsalmon !important;/**/
  319.       }
  320.          
  321.      /* [Type to filter by text] on list of discussions in a community. */
  322.      div.j-browse-sorts.j-browse-filter-row span.j-browse-search input {
  323.          margin-left: 20px !important;/**/
  324.          padding: 0px 6px 0px 8px !important;
  325.          height: 32px !important;
  326.          font-size: 14px !important;
  327.          width: 160px !important;      /* Was 220px */
  328.          text-align: left !important;
  329.          border-color: #9b9b9b !important;
  330.          background-color: #f2f2f2 !important;
  331.          /*background-color: yellow !important;/**/
  332.        }      
  333.    
  334.      /* [Sort by: Last Activity]
  335.           []
  336.           []
  337.           []
  338.         Suspect javscript forces 32px has the height :-(
  339.         mess with this at your own risk!  
  340.          
  341.         goes with regular list
  342.           https://discussions.apple.com/community/mac_os/mac_os_x_technologies/content   0.13 & 0.15
  343.      */
  344.      html body.ui-desktop.j-body-place div.aria-container div#body-apple select#j-sort.form-cell.form-dropdown,
  345.          /* goes with my /content
  346.             https://discussions.apple.com/content?filterID=following~objecttype~objecttype[thread] */
  347.      body.ui-desktop.j-body-yourwork  span > select#j-sort.form-cell.form-dropdown {
  348.          border-color: #9b9b9b !important; /* grey, Apple's color  */
  349.          padding: 0px 6px 0px 8px !important;
  350.          text-align: left !important;          
  351.          height:  32px !important;
  352.          font-size: 14px !important;
  353.          margin-top: 0px !important;
  354.          margin-left: 10px !important;
  355.          padding: 0px !important;
  356.          width: 200px !important;
  357.          background-color: #f2f2f2 !important;/**/
  358.          /*color: green !important; /**/
  359.          /*background-color: lightsalmon !important;/**/
  360.        }
  361.  
  362.      /* browse-filter UI layout
  363.         (All Discussions|Open Questions|Answered Questions|Discussion Threads)
  364.         (Type to filter by text)
  365.         (Sort by: Latest activity|Sort by: Date created|Sort by: Title)
  366.        
  367.         rule excludes .j-browse-filter-row.j-bottom-row that is container for pagination UI
  368.      */
  369.      .j-browse-content .j-browse-filter-row:not(.j-bottom-row) {
  370.         display: table-cell !important;
  371.         float: left !important;
  372.         }
  373.  
  374.     .j-browse-content .j-content-filter {
  375.         border-bottom: none !important;
  376.         height: 30px !important;
  377.         }
  378.    
  379.     #js-browse-controls div.j-browse-sorts span select option{        
  380.          border-color: #9b9b9b !important; /* grey, Apple's color */
  381.          padding: 0px 6px 0px 28px !important;        
  382.          text-align: left !important;
  383.          height:  22px !important;
  384.          font-size: 12px !important;
  385.          padding: 0px !important;      
  386.          /*background-color: yellow !important;/**/    
  387.        }
  388.        
  389.     /* [Sort by: latest activity ]
  390.           []
  391.           []
  392.           []
  393.        goes with:
  394.          https://discussions.apple.com/people/<ASC user name>/content?filterID=following~objecttype~objecttype%5Bdocument%5D*/
  395.     html body.ui-desktop.jive-view-profile div.aria-container div#body-apple select#j-sort.form-cell.form-dropdown {
  396.          margin: 84px 10px 10px 20px !important;  /* the old difficult to select because ASC must have used margin instead of
  397.                                                        margin-left: and margin-top: */
  398.          padding: 5px 6px 5px 8px !important;
  399.          font-size: 14px !important;
  400.          width: 180px !important;      /* Was 220px */
  401.          /*color:red !important;/*color of text*/
  402.        }
  403.      
  404.     /* Pulldowns for [Sort by: latest activity ]
  405.        seletor for dropdown items*/
  406.      select#j-sort.form-cell.form-dropdown option {
  407.          padding: 5px 6px 5px 8px !important;
  408.          font-size: 14px !important;
  409.          width: 180px !important;      /* Was 220px */
  410.          /*color:blue !important;/**/
  411.        }
  412.    
  413.  
  414.    
  415.     /* box for horizontal side-bar */
  416.     div.j-colum-wrap-s div.j-column.j-column-s {
  417.         height: 60px !important;
  418.         /* background-color: yellow !important;/**/
  419.     }
  420.    
  421.  
  422.     /* Hover over  */
  423.         /* [All discussions] */
  424.     select.j-browse-filter.js-browse-filter:hover,
  425.         /* text */
  426.     div.j-browse-sorts.j-browse-filter-row span.j-browse-search input:hover,
  427.         /* [sort by ...] */
  428.     #js-browse-controls #j-browse-filters #j-sort:hover {  
  429.         border-color: #42aaff !important;  /* light blue */    
  430.       }  
  431.  }  /* media all and (min-width: 500px) */    
  432.      
  433. } /* end of moz-document */
  434.  
  435.  
  436. /* ==========================================###===================================== */
  437.  
  438. /*                                        P o s t s                                   */
  439.  
  440. /* Disply of all posts in a discussion.
  441.    examples:
  442.        https://discussions.apple.com/message/30492563#message30492563
  443.        https://discussions.apple.com/thread/7628966  
  444.        https://discussions.apple.com/discussion/create.jspa?sr=cmenu&containerType=14&containerID=2041
  445.    Germain
  446.        https://communities.apple.com/de/thread/1204
  447. */
  448. @-moz-document    
  449.    regexp("https://discussions.apple.com/(message|thread)/.*"),
  450.    url-prefix(https://discussions.apple.com/update-advanced-comment.jspa),
  451.    url-prefix(https://discussions.apple.com/discussion/create.jspa),
  452.    
  453.    regexp("https://communities.apple.com/(de|es|fr|pt)/(message|thread)/.*"),
  454.    regexp("https://communities.apple.com/(de|es|fr|pt)/update-advanced-comment.jspa.*"),
  455.    
  456.    url-prefix(https://discussionsjapan.apple.com/thread),
  457.    url-prefix(https://discussionsjapan.apple.com/message),
  458.    url-prefix(https://discussionsjapan.apple.com/update-advanced-comment.jspa),
  459.    
  460.    url-prefix(https://discussionskorea.apple.com/thread),
  461.    url-prefix(https://discussionskorea.apple.com/message),
  462.    url-prefix(https://discussionskorea.apple.com/update-advanced-comment.jspa)
  463.    
  464.     {
  465.        
  466.     /* Communities title -- incomplete title on top left of page. So use breadcrumb trail. */
  467.     nav div#apple-site-title {display: none !important;} /* */  
  468.        
  469.     div#jive-body-intro-content h2 {
  470.         font-size: 20px !important;
  471.         margin-top: 14px !important;
  472.         /*background-color: lightskyblue !important; /**/      
  473.         }
  474.        
  475.         /* no Avatar for logged in user.  
  476.            Seems to get in the way of Original Poster's avatar */
  477.         div#second-row img {display: none !important; }
  478.        
  479.  /* ==================================== */
  480.  /* For medium and large size windows... */
  481.  @media all and (min-width: 500px) {
  482.      
  483.     /* Seems to be space for previously hidden Communities header */
  484.      div.navbar-desktop-container nav#j-globalNav-bg {height: 22px !important;}
  485.            
  486.     /* [Contact support] */  
  487.     nav ul#contact-support-link {
  488.         margin-top: -6px !important;
  489.         margin-right: -26px !important;}
  490.            
  491.     /* [Log in]         [My Subscriptions] [Content] [People] [Search] [Post [Lounge] */
  492.     div#second-row {
  493.         padding-top: 2px !important;
  494.         /*background-color: lightskyblue !important; /**/ }
  495.      
  496.     /* no Avatar for logged in user.  
  497.            Seems to get in the way of Original Poster's avatar */
  498.         div#second-row span.j-user-name {
  499.             padding-left: 0px !important;
  500.             margin-left: -13px !important;
  501.             /*background-color: lightskyblue !important; /**/}
  502.            
  503.     /* [My Subscriptions] [Content] [People] [Search] [Post [Lounge] */
  504.     div ul#menubar.sub-nav-wrap {
  505.         margin-top: 12px !important;
  506.         margin-right: -26px !important;}
  507.        
  508.     /* Breadcrumb trail
  509.        Examples:
  510.            Support Communities  /  Content
  511.            Support Communities / iPad  /  iPad in Business and Education
  512.        Move breadcrumb to the upper left, thus avoiding the repeating of Communities  */
  513.     /*
  514.     section#j-main nav#jive-breadcrumb ul {  /* add more selectors to overwhele main css *-
  515.             position: absolute !important;  /* override what in the main css *-
  516.  
  517.             font-size: 20px !important;          
  518.             width: inherit !important;   /* override what in the main css *-
  519.             height: 30px !important;
  520.             /*   background-color: lightblue !important; /* *-
  521.         }
  522.      
  523.        /* Apple put out an alert on the display of posts page
  524.           + the element on the left is immediately before the element on the right.  
  525.           Both elements must be on the same level
  526.        */
  527.        /* Tame alerts  
  528.           Get rid of all the wasted white space.  Smaller font.              1.4 */
  529.        div#jive-alert-global {
  530.            margin: 10px 0 12px 15px !important;
  531.            padding: 5px !important;
  532.            background-color: #F2F2F2 !important;/**/
  533.            /*background-color: pink!important; /*azure  light, light blue */
  534.          }    
  535.        div#jive-alert-1{
  536.            padding: 7px !important;
  537.          }
  538.        div.jive-alert-title {
  539.            font-size: 18px !important;
  540.          }
  541.        div.jive-alert-title span {
  542.            font-size: 14px !important;
  543.          }
  544.            
  545.     /* Most frequently we do not have an alert on the page.
  546.        With no aler, the div#jive-body is directly after the span element.
  547.        could also work div:not(#jive-alert-container)
  548.        March 7th, 2017 alter container left around when there isn't a alert
  549.     */
  550.     section#j-main  span + div#jive-body nav#jive-breadcrumb ul {  /* add more selectors to overwhele main css */
  551.             position: absolute !important;  /* override what in the main css */
  552.  
  553.             font-size: 20px !important;          
  554.             width: inherit !important;   /* override what in the main css */
  555.             height: 30px !important;
  556.        
  557.             text-align: left !important;
  558.             top: -76px !important;   /* === if you want to run this with out the main css,
  559.                                             change from -85 to ?? px === */
  560.             left: -40px !important;
  561.             /* background-color: pink !important; /* */
  562.      }/**/
  563.    
  564.      /* Implemented javascript to move breadcrumb trail to top right.
  565.         Needed javascript because we would not know how much space the alert took up. */
  566.      /* Fix up the moved breadcrumbs */  
  567.     div#body-apple > nav#jive-breadcrumb {
  568.        margin: 6px 0 0 10px!important;
  569.      
  570.     }
  571.      div#body-apple > nav#jive-breadcrumb ul li {  
  572.         font-size: 20px !important;          
  573.         width: inherit !important;   /* override what in the main css */
  574.         height: 30px !important;
  575.         text-align: left !important;
  576.         display:inline-block !important; /* li items in list horizontal */
  577.         padding-left: 0 !important;
  578.         /*background-color: pink !important; /* */
  579.       }
  580.  
  581.     div#body-apple > nav#jive-breadcrumb ul li:nth-child(n+2) :before {
  582.         content: " / ";/**/
  583.       }
  584.    
  585.     div#body-apple > nav#jive-breadcrumb ul li a{
  586.         margin-right: 5px !important;
  587.         font-weight: 500 !important;
  588.         color:black !important;
  589.         /* background-color: pink !important;/**/
  590.       }
  591.  
  592.    
  593.     /* First two lines of the header */    
  594.     div#j-header-wrap {
  595.         margin-bottom: 10px !important;
  596.         /* background-color: tan !important; /* */ }
  597.        
  598.     /* ASC displays the message when original poster posts from a message
  599.        Sometime appearing article name from where the poster made the original post
  600.        example:          
  601.            HT203995: Mail settings you might need from your email provider
  602.            Learn about Mail settings you might need from your email provider
  603.     */
  604.     div div#jive-body-intro-content {
  605.             padding-bottom: 0px !important;
  606.             /* There is a margin tag in larger user css.  To override, you need to use the margin
  607.               tag.  The margin-bottom will not work.
  608.               To see the effect, you need to reload the page. */
  609.             margin: -20px 40px 0px 40px !important;
  610.             /*   background-color: pink !important; /* */}        
  611.      
  612.     /* Seems to be some filler area between messaage and [following].
  613.        Seem to have to use the exact name to override.
  614.        When in stylish editor, effects page after save, but to see chanage in debug window
  615.        you need to reload. */
  616.     .j-thread #body-apple .thread-container-wrapper {
  617.         padding-bottom: 0px !important;
  618.         margin: 0px 40px !important;
  619.          /* background-color: grey !important; */}  
  620.        
  621.     /*  [Follow].  This is the encompassing area.  It's the width of the window [mostly].*/
  622.     header.js-original-header.apple-overflow-hidden {
  623.             padding-top: 0px !important;
  624.             margin-top: 0px !important;    
  625.             /*background-color: grey !important; /**/
  626.         }
  627.        
  628.     /*  [Follow]
  629.        just the area of Follow [pulldown].
  630.        reduces the space between these items.Follow [pulldown], and first post. */
  631.     div ul.apple-social-actions-toolbar {
  632.         margin-top: -20px !important;
  633.       } /* */
  634.    
  635.  } /* media all and (min-width: 500px) */
  636.          
  637.        
  638. } /* end of moz-document */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement