Advertisement
rccharles

asc body be small screen stuff Sept 13, 2016

Sep 13th, 2016
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 82.06 KB | None | 0 0
  1. /*
  2.  
  3. Custom Cascading Style Sheet for Apple Support Communities board system introduced in 2016-06      
  4.      
  5. Copyright (c) 2014, 2016 Hiroto, et. al.
  6. All rights reserved.
  7.  
  8. Redistribution and use in source and binary forms, with or without
  9. modification, are permitted provided that the following conditions are met:
  10.  
  11. 1. Redistributions of source code must retain the above copyright notice, this
  12.    list of conditions and the following disclaimer.
  13. 2. Redistributions in binary form must reproduce the above copyright notice,
  14.    this list of conditions and the following disclaimer in the documentation
  15.    and/or other materials provided with the distribution.
  16.  
  17. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  18. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  19. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  20. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
  21. ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  22. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  23. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  24. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  25. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  26. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27.  
  28. The views and conclusions contained in the software and documentation are those
  29. of the authors and should not be interpreted as representing official policies,
  30. either expressed or implied, of the Custom Styles Project.    
  31.      
  32.     For more information on how to install this css and what the css does, see:      
  33.     https://discussions.apple.com/docs/DOC-7501      
  34.    
  35.     v0.30 by rccharles
  36.          - Smart phone support
  37.          - Use BSD copyright notice
  38.          - (min-width: 500px) and (max-width: 600px)
  39.  
  40.     v0.22 by rccharles
  41.          - Adjusted original poster info.
  42.          
  43.     v0.21 by rccharles
  44.          - Updates for 7-7-2016 ASC changes.  Adjusted reply poster info names.
  45.  
  46.     v0.2 by rccharles
  47.         - scrolling of large code blocks "advanced >> plain"
  48.         - reformat buttons
  49.         - nav list to horizontal for small windows
  50.         - option to sink legalistic bombblast.
  51.             Look for .~.~.~.~.~.~.~. then uncomment the three lines following
  52.         - expanded the display of posts in a discussion to view all posts.  Thanks turingtest2
  53.         - colored backgrounds for posts
  54.         - turingtest2's fix for copy & paste in tinyMCE
  55.         - turingtest2's fix to get rid of answered and helpfuls at the top of every page.
  56.         - light blue in tool icon pulldowns
  57.         - link popup on simple edit
  58.             Look for -.-.-.-.-.-.-.- then uncomment the line following
  59.         - Move who replied to the left margin.
  60.         - Move original poster's info to the left margin
  61.        
  62.    
  63.    
  64.     v0.11
  65.         - introduced @media rules in THREAD LIST BROWSER and PLACES sections:
  66.             @media all and ( max-width: X ) rule
  67.             @media all and ( min-width: Y ) rule
  68.        
  69.         - added, refined and fixed rules in various sections, which include but not limited to
  70.             BODY
  71.                 - changed #body-apple {width: 100%} to {width: auto}, which is essential to
  72.                   prevent horizontal scroller from appearing in narrow window environment.
  73.             TEXT > font
  74.                 - added rules to use fine local font in lieu of illegible remote font
  75.             ASC TOP PAGE
  76.                 - added rules on 'search or ask a question', 'featured topics' etc
  77.             COMMUNITIES CATEGORIES OVERVIEW
  78.                 - new section
  79.             THREAD LIST BROWSER > community overview
  80.                 - added and refined rules (treating filter ui layout)
  81.             PROFILE > content
  82.                 - new subsection (treating browser control ui layout)
  83.             BLOG
  84.                 - new section
  85.             UNAUTHORIZED
  86.                 - new section
  87.  
  88.     v0.10d
  89.         - draft
  90.  
  91.     written by Hiroto, 2016-06
  92. */
  93. @-moz-document
  94.     domain(communities.apple.com),  /* Português & Spanish */
  95.     domain(discussions.apple.com),
  96.     domain(discussionsjapan.apple.com),
  97.     domain(discussionskorea.apple.com),
  98.     domain(discussionschinese.apple.com)
  99. {
  100.     /* ------------------------------------------------------------------------------------------------
  101.         BODY
  102.     */
  103.     body.j-body-welome,             /* Welcome */
  104.     body.j-body-place,              /* Community */
  105.     body.j-body-yourwork,           /* Content */
  106.     body.j-body-home,               /* Activity */
  107.     body.j-body-yourconnections,    /* People */
  108.     body.j-body-preferences,        /* Preferences */
  109.     body.jive-body-content,         /* Thread */
  110.     body.jive-body-search,          /* Search */
  111.     body.jive-view-profile          /* Profile */
  112.     {                                                                              
  113.         background: white  !important;
  114.     }
  115.     body {
  116.         min-width: 0px !important;
  117.     }
  118.    
  119.     /* Note: #body-apple is a div the covers the whole document.  So, it overrides the body tag. */
  120.     #body-apple {
  121.         width: auto !important;
  122.         min-width: 0px !important;
  123.         background: #f2f2f2  !important;
  124.     }
  125.     #globalheader { display: none !important; }                                    
  126.     #global-nav-wrapper {display: none !important; }                                
  127.     #globalfooter,
  128.     #globaldisclaimer { width: 80% !important; }                                    
  129.  
  130.    
  131.  
  132.     /* ------------------------------------------------------------------------------------------------
  133.         TEXT
  134.     */                                                                                      /* NEW */
  135.     body {
  136.         font-size: 16px !important;
  137.         font-weight: 400 !important;
  138.         line-height: 1.25 !important;
  139.     }
  140.     body * {
  141.         /* font-size: inherit !important; */
  142.        font-weight: inherit !important; /*  turns off bolding. 0.2 */
  143.        line-height: inherit !important;
  144.     }
  145.    
  146.  
  147.    
  148.     /* font
  149.        
  150.          
  151.           lang | remote font name
  152.           -----|-----------------
  153.             ja | "Apple TP"
  154.             ko | "Yoon Gothic"
  155.             zh | "PingHei"
  156.             en | "Myriad Set Pro"
  157.             es | "Myriad Set Pro"
  158.             pt | "Myriad Set Pro"
  159.     */                                                                                      /* NEW (experimental) */
  160. /*
  161.     * { font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif !important; }
  162. */
  163.     [lang|="ja"] * {
  164.         font-family: "Hiragino Kaku Gothic Pro", "Meiryo",
  165.                      "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
  166.     }
  167.     [lang|="ko"] * {
  168.         font-family: "Apple Gothic", "HY Gulim", "MalgumGothic", "HY Dotum", "Lexi Gulim",
  169.                      "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
  170.     }
  171.     [lang|="zh"] * {
  172.         font-family: "STHeitiSC-Light",
  173.                      "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
  174.     }
  175.     [lang|="en"] *,
  176.     [lang|="es"] *,
  177.     [lang|="pt"] * {
  178.         font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
  179.     }
  180.    
  181.     /* Start 0.2 additions */
  182.    
  183.    
  184.     /* Reduce white space in user tips */
  185.     /* Put bolding back.  body * is too strong above.  Hack strong back! */
  186.     strong {
  187.         font-weight: bold !important;}
  188.    
  189.     /* No line after Communities.  Waste of space and doesn't separate anything.
  190.            https://discussions.apple.com/community/mac_os/mac_os_x_technologies/content  */
  191.     div#j-header-wrap header nav#j-globalNav-bg {border-bottom: 0px !important; }
  192.    
  193.  
  194.  
  195.     /* ??? */
  196.      select#j-sort.form-cell.form-dropdown option {
  197.          padding: 5px 6px 5px 8px !important;
  198.          font-size: 14px !important;
  199.          width: 180px !important;      /* Was 220px */
  200.         color:green !important;
  201.        }
  202.                                                                                    
  203.     /* highlights in dark blue unread posts when logged in.  v0.6      
  204.      
  205.     All your posts      
  206.         https://discussions.apple.com/content?filterID=participated~objecttype~objecttype[thread]        
  207.      
  208.     Discussions you authored      
  209.         https://discussions.apple.com/content?filterID=contentstatus[published]~objecttype~objecttype[thread]        
  210.      
  211.     To see the discussions you have read and not read in a community      
  212.     The suffix to use for any ASC forum, placed after the basic link to any forum, it's      
  213.         /content?filterID=contentstatus[published]~objecttype~objecttype[thread]      
  214.      
  215.     for iPhone community this would be:      
  216.         https://discussions.apple.com/community/iphone/using_iphone/content
  217.             ?filterID=contentstatus[published]~objecttype~objecttype[thread]        
  218.      
  219.      
  220.     */  
  221.     .j-td-title strong {
  222.         color:#191970 !important;
  223.         font-weight: normal !important;}  
  224.    
  225.     /* Prevent capitalization of user names there. (Mine becomes Turingtest2 on that page and
  226.       nowhere else, which is daft!) */
  227.     .jive-username-link {text-transform: none !important;}        /* Remove username capitalization */
  228.          
  229.    
  230.  
  231.     /* Scroll code listings.  set max-height of syntax highlighted code in thread      
  232.        content browser   */      
  233.     .jive-rendered-content .dp-highlighter {    
  234.        max-height: 500px !important;      
  235.        overflow: auto !important;      
  236.     }                                                                                  
  237.     /* Scroll code listings. set max-heiht of pre code (visible when javascript is disabled)  */      
  238.     .jive-rendered-content pre {      
  239.        max-height: 500px !important;      
  240.        overflow: auto !important;      
  241.     }  
  242.    
  243.     /* Rambling footer stuff will be sunk              
  244.        no more legalistic bomblast.
  245.        Read about Apple's worries on the Welcome page.
  246.        .~.~.~.~.~.~.~. */      
  247. /*  footer #globaldisclaimer {display: none !important; } */        
  248.     /* Not a complete path to here, so why be misleading */      
  249. /*  footer nav.footer-breadory {display: none !important; }    */      
  250.     /* Guess by now folks know how to buy an apple product */      
  251. /*  p.gf-buy {display: none !important; } */    
  252.    
  253.     /* end 0.2 additions */
  254.    
  255.     /* preseve monospace for pre.jive-pre */
  256.     pre.jive-pre { font-family: monospace !important; }
  257.  
  258.    
  259.     /* ------------------------------------------------------------------------------------------------
  260.         ASC HEADER, FOOTER AREA
  261.     */
  262.     #j-header,
  263.     #j-compact-header,
  264.     #j-footer { width: 100% !important; }
  265.    
  266.     /* navigation header (Apple Support Communities ...) */
  267.     #j-header-wrap {
  268.         padding: 0px 40px !important;
  269.         margin: 0px 0px 15px !important;
  270.     }
  271.     #j-globalNav-bg {
  272.         padding: 0pX !important;
  273.         margin: 0px !important;
  274.         width: auto !important;                                                             /* NEW */
  275.     }
  276.     #j-satNav { overflow: visible !important; }
  277.  
  278.     #j-header-wrap { margin-bottom: 50px !important; }                                      /* NEW */
  279.     #apple-full-header { margin: 10px 0px 0px !important; }                                 /* NEW */
  280.     #second-row {                                                                           /* NEW */
  281.         padding-top: 25px !important;
  282.         height: 30px !important;
  283.     }
  284.  
  285.     /* announcement */                                                                      /* NEW */
  286.     #jive-alert {
  287.         width: auto !important;
  288.         max-width: inherit !important;
  289.         margin: -20px 40px 10px !important;
  290.     }
  291.     .j-thread #jive-alert {
  292.         margin: -50px 40px 10px !important;
  293.     }
  294.     .jive-body-formpage.j-thread #jive-alert {
  295.         margin: -30px 40px 10px !important;
  296.     }
  297.    
  298.     /* breadcrumb */                                                                        /* NEW */
  299.     #jive-breadcrumb {
  300.         width: auto !important;
  301.         margin-right: 40px !important;
  302.         position: relative !important;
  303.    
  304.     }
  305.    
  306.     /* footter */                                                                           /* NEW */
  307.     .j-js-footer-wrap {
  308.         width: auto !important;
  309.         min-width: 0px !important;
  310.     }
  311.     footer#j-footer {
  312.         width: auto !important;
  313.         min-width: 0px !important;
  314.     }
  315.  
  316.  
  317.     /* ------------------------------------------------------------------------------------------------
  318.         ASC TOP PAGE
  319.     */
  320.     .j-body-welcome #jive-alert { margin: 0px 40px !important; }
  321.     .j-body-welcome .hero-container img { width: auto !important; }
  322.     .j-body-welcome.j-body-home [id|=jive-widgetframe] > .content-large {
  323.         text-align: center !important;
  324.         overflow-x: auto !important;
  325.         overflow-y: hidden !important;
  326.     }
  327.     .apple-communities {
  328.         display: inline-block !important;
  329.         width: auto !important;
  330.         text-align: left !important;
  331.     }
  332.  
  333.     /* search or ask a question */
  334.     .ask-a-question-container .j-form input[type="text"] { width: 90% !important; }
  335.  
  336.     /* featured topics */
  337.     .jive-widget-featuredcontentwidget h2 {
  338.         font-size: 28px !important;
  339.     }
  340.     .jive-widget-featuredcontentwidget .content-large .featured-content-header {
  341.         padding-bottom: 30px !important;
  342.     }
  343.     .jive-widget-featuredcontentwidget .content-large .featured-content-header p.sub-title {
  344.         margin: 10px 0px 20px !important;
  345.     }
  346.     .jive-widget-featuredcontentwidget .featured-list-container {
  347.         max-width: 1000px !important;
  348.     }
  349.     .jive-widget-featuredcontentwidget .featured-list-container .featured-list-row {
  350.         margin-bottom: 20px !important;
  351.         border-style: dotted !important;
  352.         border-width: thin !important;
  353.     }
  354.     .jive-widget-featuredcontentwidget .featured-list-container .featured-list-user {
  355.         margin: 0px 10px !important;
  356.     }
  357.     .jive-widget-featuredcontentwidget .featured-list-container .featured-list-desc {
  358.         margin: 0px 10px !important;
  359.     }
  360.     .jive-widget-featuredcontentwidget h4.title {
  361.         font-size: 18px !important;
  362.         margin: 10px 0px !important;
  363.         text-decoration: underline !important;
  364.     }
  365.     .jive-widget-featuredcontentwidget .rating-row,
  366.     .jive-widget-featuredcontentwidget .featured-list-container .featured-list-desc blockquote,
  367.     .jive-widget-featuredcontentwidget .featured-list-container .featured-list-desc .user-metadata {
  368.         margin-bottom: 10px !important;
  369.     }
  370.    
  371.     /* new to communities? */
  372.     .on-boarding .on-boarding-header h2 {
  373.         font-size: 28px !important;
  374.         margin: 0px 0px 25px !important;
  375.     }
  376.     .on-boarding .img-container { margin: 0px auto 30px !important; }
  377.    
  378.     /* how-to grid */
  379.     .on-boarding > .grid-display {
  380.         margin-top: 40px !important;
  381.         padding: 20px 0px !important;
  382.         max-width: 1000px !important;
  383.         display: inline-block !important;
  384.     }
  385.     .on-boarding .row .column h3 {
  386.         margin: 0px 30px 20px !important;
  387.         max-height: 50% !important;
  388.     }  
  389.  
  390.  
  391.     /* ------------------------------------------------------------------------------------------------
  392.         COMMUNITIES CATEGORIES OVERVIEW
  393.     */                                                                                      /* NEW */
  394.     /* communities description */
  395.     .apple-space-overview .jive-widget-subcommunitieswidget .community-image {
  396.         width: 200px !important;
  397.         position: absolute !important;
  398.         z-index: -1 !important;
  399.     }
  400.     .apple-space-overview .jive-widget-subcommunitieswidget .community-image img {
  401.         width: 200px !important;
  402.         height: 200px !important;
  403.     }
  404.     .apple-space-overview .jive-widget-subcommunitieswidget .community-description {
  405.         margin-bottom: 45px !important;
  406.     }
  407.     .apple-space-overview .jive-widget-subcommunitieswidget .community-description h1 {
  408.         font-size: 28px !important;
  409.         margin: 30px 0px !important;
  410.     }  
  411.    
  412.     /* top communities */
  413.     .apple-space-overview  h2.community-title {
  414.         font-size: 24px !important;
  415.         margin: 0px 0px 20px !important;
  416.     }
  417.     .apple-space-overview .category-latest-header h3 {
  418.         font-size: 22px !important;
  419.         margin: 0px 0px 20px !important;
  420.     }
  421.     .apple-space-overview .category-latest h3,
  422.     .apple-space-overview .category-latest h4 { font-size: 20px !important; }
  423.     .apple-space-overview .jive-widget-subcommunitieswidget .content-large       { padding: 10px !important; }
  424.     .apple-space-overview .jive-widget-subcommunitieswidget .content-large > nav { padding-top: 0px !important; }
  425.     .apple-space-overview .jive-widget-recentcontentfilterwidget {
  426.         padding-bottom: 10px !important;
  427.         margin-bottom: 0px !important;
  428.     }
  429.    
  430.     /* search for more topics */
  431.     .apple-space-overview .category-page .ask-a-question-header {
  432.         margin-top: 20px !important;
  433.         width: auto !important;
  434.     }
  435.     .apple-space-overview .category-page .ask-a-question-header h2 { font-size: 24px !important; }
  436.     .apple-space-overview .category-page .ask-a-question-container {
  437.         width: 80% !important;
  438.         max-width: 1000px !important;
  439.         margin: 30px auto !important;
  440.     }
  441.     .apple-space-overview .category-page .ask-a-question-container .j-form input[type="text"] {
  442.         padding: 10px 10px 10px 50px !important;
  443.         width: 94% !important;
  444.     }
  445.     .apple-space-overview .category-page .ask-a-question-footer { margin: 40px 0px !important; }
  446.    
  447.     /* contact apple support */
  448.     .apple-space-overview .section-eyebrow { font-size: 24px !important; }
  449.     .apple-space-overview .section-header {
  450.         font-size: 22px !important;
  451.         margin: 0px 0px 30px !important;
  452.     }
  453.        
  454.    
  455.     /* ------------------------------------------------------------------------------------------------
  456.         THREAD LIST BROWSER
  457.     */
  458.  
  459.     /* ------------------
  460.         community overview
  461.     */                                                                                      /* NEW */
  462.     .category-latest .category-latest-container .category-latest-row {
  463.         margin: 0px !important;
  464.         padding: 5px 0px !important;
  465.     }
  466.     .category-latest .category-latest-container .category-latest-row .discussion-metadata {
  467.         margin: 5px 0px !important;
  468.     }
  469.     .category-latest .category-latest-container .category-latest-row .discussion-title a {
  470.         font-size: 100% !important;
  471.         font-weight: 500 !important;
  472.         color: rgb(0, 136, 204) !important;
  473.     }
  474.     .category-latest .category-latest-container .category-latest-row:nth-child(odd) {
  475.         background: rgb(247, 247, 247) !important;
  476.     }
  477.     .category-latest .category-latest-container .category-latest-row .read-full {
  478.         display: none !important;
  479.     }
  480.     .category-latest .category-latest-container .category-latest-row .discussion-metadata .cell {
  481.         margin-right: 15px !important;
  482.     }
  483.     .category-latest .category-latest-container .category-latest-row .discussion-metadata .cell a {
  484.         color: rgb(0, 136, 204) !important;
  485.         text-decoration: none !important;
  486.     }
  487.    
  488.     .apple-space-overview #body-apple .list-page .ask-a-question-sidebar {
  489.         margin: 0px 70px 10px 0px !important;
  490.     }
  491.     .apple-space-overview #body-apple .list-page .ask-a-question-sidebar .ask-a-question-space-icon {
  492.         width: 128px !important;
  493.         height: 128px !important;
  494.     }
  495.     .apple-space-overview #body-apple .list-page .ask-a-question-wrapper .community-siblings {
  496.         padding: 5px 0px !important;
  497.         font-size: 20px !important;
  498.     }
  499.  
  500.     /* content filter (by type (solved|recommended|unanswered) & category) */
  501.     .jive-content-filter {
  502.         width: 20% !important;
  503.         max-width: 250px !important;
  504.         min-width: 100px !important;
  505.         padding: 0px 10px 0px 0px !important;
  506.     }
  507.     .jive-content-filter h2 {
  508.         margin-bottom: 15px !important;
  509.         font-weight: 500 !important;
  510.     }
  511.     .jive-content-filter ul li { margin: 3px 0px !important; }
  512.     .jive-content-filter ul li:nth-child(odd) { background: rgb(247, 247, 247) !important; }
  513.     .jive-content-filter ul li a.jive-content-filter-highlight { background: rgb(230, 240, 230) !important; }
  514.     /* ------------------ */
  515.    
  516.  
  517.     /* show author name in 'Latest activity' column in detailed list view of threads */
  518.     td.j-td-date > span { display : inherit !important; }
  519.  
  520.     /* main section */
  521.     #j-main { padding: 0px !important; }
  522.  
  523.     /* table cell title */
  524.     .jive-table td.jive-table-cell-title { padding: 5px !important; }
  525.        
  526.     /* thread list view column widths */                                            
  527.     .j-browse-details .j-td-title { max-width: none !important; }
  528.     .j-browse-details .j-td-date {
  529.         width: auto !important;
  530.         max-width: 20% !important;
  531.     }
  532.    
  533.     /* thread list view: read thread font weight */                                         /* NEW (feature restored) */
  534.     /* I'll go with dark blue.  In an earlier implementation of ASC, the bolded fond wasn't that noticeable, so
  535.        a dark blue was picked.  Might as well stay with it.                                    0.2 */
  536.  /*   .j-browse-details .j-td-title strong { font-weight: 600 !important; }  */
  537.    
  538.  
  539.     @media all and ( max-width: 1099px )
  540.     {
  541.         /* ------------------
  542.             Treatment for narrow window
  543.             Hide Like and Bookmark columns in thread list view if viewport width <= 1098 (= 1265 - 166)
  544.         */                                                                              
  545.         .j-browse-details .j-td-likes,
  546.         .j-browse-details .j-td-bookmarks { display: none !important; }
  547.         .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th,
  548.         .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th + th { display: none !important; }
  549.         .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th + th + th { display: table-cell !important; }
  550.     }
  551.  
  552.    
  553.     /* user name link */
  554.     .jive-username-link { text-transform: none !important; }                        
  555.  
  556.     /* threads list view table tr td  */                                                    /* CHANGED */
  557.     .j-browse-details-tbody tr td { padding: 2px !important; }
  558.  
  559.     /* threads list view left most icon */                                                  /* NEW */
  560.     .j-browse-details-tbody .j-td-icon { padding: 0px 6px 0px !important; }
  561.    
  562.     /* communities list view table tr td */
  563.     .jive-communities-listing table tr td { padding: 5px !important; }
  564.    
  565.     /* thumbnails view width */
  566.     .j-browse-content .j-thumb-view,
  567.     .j-browse-places .j-browse-thumbnails,
  568.     .j-browse-people .j-browse-thumbnails { width: 100% !important; }
  569.    
  570.     /* thumbnail view list item margin */                                          
  571.     .j-browse-content .j-thumb-view > li,
  572.     .j-browse-places .j-browse-thumbnails > li { margin-right: 20px !important; }
  573.    
  574.     /* thumbnail view article font size */                                                  /* NEW */
  575.     .j-thumb article { font-size: inherit !important; }
  576.    
  577.     /* thunbnail view article header height */                                              /* NEW */
  578.     .j-content-thumb header { height: 22px !important; }
  579.  
  580.     /* thumbnail view article header font size */                                           /* NEW */
  581.     .j-thumb header h4.shrunk { font-size: 80% !important; }
  582.     .j-browse-content .j-content-thumb header .icon {
  583.         font-size: 16px !important;
  584.         margin: 0px 8px 0px 0px !important;
  585.     }
  586.    
  587.     /* thumbnail view article height */                                                     /* NEW */
  588.     .j-browse-content .j-content-thumb article { height: 120px !important; }
  589.    
  590.     /* thumbnail view footer */                                                             /* NEW */
  591.     .j-browse-content .j-content-thumb.j-thumb footer { padding: 4px 0px 0px !important; }  
  592.  
  593.    
  594.     /* social actions row */
  595.     .apple-social-actions-wrapper { margin-right: 0px !important; }
  596.     .j-thread .j-social-actions { margin-right: 40px !important; }
  597.  
  598.     /* apple header, subheader row ("Find helpful contents..." etc )*/              
  599.     #apple-full-subheader,
  600.     #apple-activity-subheader {
  601.         padding: 0px 40px 15px !important;
  602.         margin-bottom: 15px !important;
  603.     }
  604.     #apple-full-header h2,
  605.     #apple-activity-header h2 { padding: 0px 40px !important; }
  606.  
  607.     /* page header */
  608.     .j-body-place #jive-body > header.j-page-header {
  609.         margin-left: 40px !important;
  610.         margin-right: 40px !important;
  611.         width: auto !important;
  612.     }
  613.    
  614.     /* pagenation */                                                                        /* NEW */
  615.     .j-pagination-prevnext > .j-pagination-prev,
  616.     .j-pagination-prevnext > .j-pagination-next { font-size: 0px !important; }  
  617.    
  618.    
  619.     /* browser filter row */
  620.     #j-browse-filters { margin-bottom: 5px !important; }
  621.  
  622.     /* browser controls row */
  623.     .j-type-row { margin-bottom: 0px !important; }
  624.  
  625.     /* browser controls content types (All Contents|User Tips|Discussions) width */
  626.     #js-browse-controls .j-type-row .j-content-types { width: 90% !important; }
  627.    
  628.     /* browser controls view toggle (Thumbnails|Details) width */
  629.     #js-browse-controls #j-item-view-toggle {
  630.         width: 10% !important;
  631.         display: table !important;
  632.     }
  633.  
  634.     /* content filter row (All|Open|Answered|Threads) */
  635.     .j-content-filter {
  636.         background: white !important;
  637.         margin-bottom: 10px !important;
  638.     }  
  639.    
  640.     /* container canvas */
  641.     .j-contained {
  642.         margin-left: 40px !important;
  643.         margin-right: 40px !important;
  644.     }
  645.  
  646.     /* more search results available */
  647.     #j-more-search-results-available { padding: 10px !important; }
  648.    
  649.     /* misc */
  650.     .jive-widget { margin-bottom: 10px !important; }
  651.     .j-column { margin-bottom: 10px !important; }
  652.  
  653.  
  654.     @media all and ( min-width: 1265px )
  655.     {
  656.         /* ------------------
  657.             Treatment for narrow window
  658.             Method 1 (minimum optimisation)
  659.    
  660.             Adjust thread list table's shift and margin to maximize its width.
  661.         */                                                                              
  662.         .j-layout-sl.j-browse-content .j-column-wrap-l { margin-left: -166px !important; }
  663.         .j-layout-sl.j-browse-content .j-column-l      { margin-left: 166px !important; }
  664.         .j-layout-sl.j-browse-content .j-column-s      { width: 166px !important; }
  665.     }
  666.     @media all and ( max-width: 1265px )
  667.     {
  668.         /* ------------------
  669.             Treatment for narrow window
  670.             Method 2 (more beneficial to narrow window but has disadvantage for wide window)
  671.            
  672.             Let thread list table have full width but not exceed 1019px to make room for sidebar ui (filters & actions).
  673.             If window is wide enough (>=1265px), sidebar ui is displayed next to thread list table,
  674.             otherwise it is displayed below or above it (depending upon its document tree order).
  675.            
  676.             * sidebar width (constant)    = 166px
  677.             * thread table max width      = 1019px
  678.             * canvas margin-left          = 40px
  679.             * canvas margin-right         = 40px
  680.             ---------------------------------------
  681.             * total                       = 1265px
  682.         */                                                                              
  683.         .j-layout-sl.j-browse-content .j-column-wrap-l { max-width: 1019px !important; }
  684.         .j-layout-sl.j-browse-content .j-column-wrap-l { margin-left: 0px !important; }
  685.         .j-layout-sl.j-browse-content .j-column-l      { margin-left: 0px !important; }
  686.         .j-layout-sl.j-browse-content .j-column-s      { width: 166px !important; }
  687.     }
  688.  
  689.  
  690.     /* ------------------
  691.         Swap left-right positions of thread list table and sidebar ui (filters & actions)
  692.     */                                                                              
  693.     /* let thread list table float left */
  694.     .j-layout-sl.j-browse-content .j-column-wrap-l,
  695.     .j-layout-sl.j-browse-places .j-column-wrap-l { float: left !important; }
  696.  
  697.     /* let sidebar ui float right */
  698.     .j-layout-sl.j-browse-content .j-column-s,
  699.     .j-layout-sl.j-browse-places .j-column-s { float: right !important; }
  700.     /* ------------------ */
  701.  
  702.  
  703.     /* ------------------
  704.         leader board
  705.     */
  706.     /* .jive-widget.jive-box.j-rc5.jive-widget-leaderboardwidget */
  707.    
  708. /*
  709.     .jive-widget-leaderboardwidget {display: none !important; }                    
  710. */
  711.  
  712.     .jive-widget-leaderboardwidget { max-width: 1000px !important; }                        
  713.     .jive-widget-leaderboardwidget .j-bigtab-nav .j-tabbar { padding-top: 10px !important; }
  714.     .jive-widget-leaderboardwidget .jive-widget-topmembers.split-columns ul li { min-height: 0px !important; }
  715.     .jive-widget-leaderboardwidget .top-member-username,
  716.     .jive-widget-leaderboardwidget .top-member-username * { font-size: inherit !important; }
  717.     .jive-widget-leaderboardwidget .top-member-username { margin-left: 15px !important; }
  718.     .jive-widget-leaderboardwidget .user-level-points {
  719.         font-size: 18px !important;
  720.         margin: 14px 0px !important;
  721.         width: 60px !important;
  722.         height: 30px !important;
  723.         padding: 8px 0px 0px !important;
  724.     }
  725.     .jive-widget-leaderboardwidget .top-member-profile-info { width: 80% !important; }
  726.     .jive-widget-leaderboardwidget .top-member-profile-info > a {
  727.         border-radius: 0% !important;
  728.         width: 60px !important;
  729.         height: 60px !important;
  730.     }
  731.     .jive-widget-leaderboardwidget .top-member-username a.jiveTT-hover-user { width: auto !important; }
  732.     .jive-widget-leaderboardwidget .pagination-class { margin-top: 30px !important; }
  733.     /* ------------------ */
  734.  
  735.  
  736.     /* article list
  737.         .j-rc5 is used to identify this list
  738.         e.g., https://discussions.apple.com/article/HT1939 */                      
  739.     .j-layout-sl.j-browse-content.j-rc5 #jive-body-maincol { margin: 0px 0px 0px 166px !important; }
  740.  
  741.  
  742.     /* ------------------------------------------------------------------------------------------------
  743.         THREAD CONTENT BROWSER
  744.     */
  745.     /* thread header */
  746.     .apple-thread-header {
  747.         width: auto !important;
  748.         margin-bottom: 10px !important;
  749.         margin-left: 40px !important;
  750.     }
  751.  
  752.     /* thread message */                                                                    /* NEW */
  753.     .j-thread .jive-content .j-thread-post .jive-rendered-content {
  754.         font-size:   inherit !important;
  755.     }
  756.     .j-thread #body-apple .jive-thread-messages h2.helpful-allreply,
  757.     .j-thread #body-apple #helpful-container,
  758.     .j-thread #body-apple .j-thread-post > header .j-post-author,
  759.     .j-thread #body-apple .thread-container-wrapper,
  760.     .j-thread #body-apple .all-replies-container,
  761.     .j-thread #body-apple #j-main #jive-breadcrumb,
  762.     .j-thread #body-apple .addReply
  763.     {
  764.         max-width: inherit !important;
  765.         margin: 10px 40px !important;
  766.     }
  767.     .j-inresponse-to {
  768.         font-size: inherit !important;
  769.     }
  770.     .j-thread .jive-content .j-thread-post > header,
  771.     .j-thread .jive-content .j-thread-post > h3.header {
  772.         margin: 15px 0px 10px 0px !important;
  773.     }
  774.  
  775.  
  776.  
  777.     .j-thread-post section.j-original-message h1 {
  778.         max-width: inherit !important;
  779.         margin: 0px 60px 20px 60px !important;
  780.     }
  781.     .j-thread-post section.j-original-message .jive-rendered-content {
  782.         max-width: inherit !important;
  783.         margin: 0px 25px !important;
  784.     }
  785.    
  786.     /* original poster profile header */
  787.     .j-thread .jive-content .j-thread-post > header.js-original-header {
  788.         max-width: inherit !important;
  789.         margin: 0px 40px !important;
  790.         padding: 5px !important;
  791.     }
  792.    
  793.  
  794.     .j-original-message .jive-rendered-content p {
  795.         font-size:   inherit !important;
  796.     }
  797.    
  798.  
  799.     /* Q mark */
  800.     .j-original-message h1 .q-marker {
  801.         left: -60px !important;
  802.         font-size: 32px !important;
  803.     }
  804.    
  805.  
  806.     /* answer rollup */                                                                     /* NEW */
  807.     .j-answer-rollup.span-full-width {
  808.         background: none repeat scroll 0% 0% rgb(237, 247, 232) !important;
  809.         padding-bottom: 10px !important;
  810.         margin: 20px 0px 0px 0px !important;
  811.         border: 1px solid rgb(45, 184, 71) !important;
  812.     }
  813.     .j-inline-correct-answer {
  814.         padding: 0px !important;
  815.         max-width: inherit !important;
  816.         margin: 0px 10px !important;
  817.     }
  818.     .j-inline-correct-answer section {
  819.         margin: 10px 0px !important;
  820.     }
  821.     /* A mark */
  822.     .j-inline-correct-answer .answer-marker {
  823.         left: 0px !important;
  824.         font-size: 32px !important;
  825.     }
  826.    
  827.  
  828.     /* persistent question shown at top */                                                  /* NEW */
  829.     .persist-question.persist { display: none !important; }
  830.  
  831.    
  832.     /* Solved and Helpful marker text */                                                    /* NEW */
  833.     .j-thread-post header .j-correct-text,
  834.     .j-thread-post h3.header .j-correct-text,
  835.     .j-thread-post header .j-helpful-text,
  836.     .j-thread-post h3.header .j-helpful-text {
  837.         font-size: 22px !important;
  838.         background: none repeat scroll 0% 0% transparent !important;
  839.         border-style: none !important;
  840.         margin: 0px !important;
  841.         padding: 10px !important;
  842.     }
  843.  
  844.    
  845.     /* thread content */                                                                    /* CHANGED */
  846.     .j-thread .jive-content { margin: 0px 10px 0px 10px !important; }
  847.  
  848.    
  849.     /* thread replies ul */
  850.     ul.jive-discussion-replies.jive-discussion-indent-0 { margin: 0px !important; }
  851.    
  852.     /* thread reply li */
  853.     .jive-discussion-replies li.reply { margin-top: 15px !important; }
  854.  
  855.  
  856.  
  857.  
  858.     /* orgininal poster comment background */                                               /* NEW */
  859.     .original-poster-comment {
  860.         background: none repeat scroll 0% 0% rgb(247, 247, 237) !important;
  861.         top:    0px !important;
  862.         right:  0px !important;
  863.         bottom: 0px !important;
  864.         left:   0px !important;
  865.     }
  866.  
  867.  
  868.     /* pagenation */                                                                        /* NEW */
  869.     .j-thread .jive-thread-messages .j-pagination {
  870.         margin: 30px 0px !important;
  871.     }
  872.  
  873.  
  874.  
  875.     .j-inline-promoted-helpful-answer p {
  876.         margin: 0px !important;
  877.     }
  878.     .j-inline-promoted-helpful-answer header .reply-date,
  879.     .j-inline-promoted-helpful-answer h3.header .reply-date,
  880.     .j-inline-recommended-answer header .reply-date,
  881.     .j-inline-recommended-answer h3.header .reply-date {
  882.         font-size: inherit !important;
  883.         margin: 10px 0px !important;
  884.     }
  885.     .j-inline-promoted-helpful-answer header .j-helpful-text,
  886.     .j-inline-promoted-helpful-answer h3.header .j-helpful-text,
  887.     .j-inline-recommended-answer header .j-helpful-text,
  888.     .j-inline-recommended-answer h3.header .j-helpful-text {
  889.         font-size: 22px !important;
  890.         background: none repeat scroll 0% 0% transparent !important;
  891.         border-style: none !important;
  892.         margin: 0px !important;
  893.     }
  894.     .j-inline-promoted-helpful-answer section .reply-body,
  895.     .j-inline-recommended-answer section .reply-body {
  896.         font-size: inherit !important;
  897.         margin-bottom: 20px !important;
  898.     }
  899.     .j-inline-promoted-helpful-answer section,
  900.     .j-inline-recommended-answer section {
  901.         padding: 0px 20px !important;
  902.     }
  903.     #helpful-container { padding-top: 0px !important; }
  904.     #helpful-container hr { margin: 10px !important; }
  905.     #helpful-container .more-answers { margin: 0px !important; }
  906.     #helpful-container .more-answers * { font-size: 24px !important; }
  907.  
  908.  
  909.     /* inline correct answer, helpful answer background */                                  /* NEW */
  910.     div[itemprop="acceptedAnswer"] {
  911.         background: none repeat scroll 0% 0% rgb(237, 247, 232) !important;
  912.     }
  913.     .j-thread .jive-content.j-helpful,
  914.     .j-thread .jive-content.j-helpful.j-op {
  915.         background: none repeat scroll 0% 0% rgb(250, 240, 220) !important;
  916.     }
  917.  
  918.  
  919.     /* switch between 'hellpful replies only' and 'all replies' */                          /* NEW */
  920.     .jive-thread-messages .helpful-all-switch * {  
  921.         font-size: 24px !important;
  922.     }
  923.     .jive-thread-messages .helpful-all-switch li.inactive {
  924.         padding: 0px !important;
  925.         top: 32px !important;
  926.     }
  927.     .jive-thread-messages .helpful-all-switch li.inactive span.menu {
  928.         width: auto  !important;
  929.         min-width: 160px !important;
  930.         padding: 5px  !important;
  931.         text-align: center !important;
  932.     }
  933.    
  934.  
  935.     /* thread content footer profile */                                                     /* NEW */
  936.     .j-thread-post section.j-original-message footer .footer-profile {
  937.         margin-right: 10px !important;
  938.     }
  939.     .j-thread-post footer .footer-profile {
  940.         margin-right: -10px !important;
  941.     }
  942.     .j-thread-post footer .footer-profile .j-status-level {
  943.         padding: 0px 10px 0px 0px !important;
  944.     }
  945.     .j-thread-post footer .footer-profile .username,
  946.     .j-thread-post footer .footer-profile .jive-username-link {
  947.        /* padding: 0px 10px 0px 10px !important; 0.2 */
  948.         max-width: 250px !important;
  949.     }
  950.     .j-inline-correct-answer footer .footer-profile .j-status-levels,
  951.     .j-inline-promoted-helpful-answer footer .footer-profile .j-status-levels,
  952.     .j-inline-recommended-answer footer .footer-profile .j-status-levels {
  953.         padding: 0px 10px 0px 0px !important;
  954.     }
  955.     .j-inline-correct-answer footer .footer-profile .username,
  956.     .j-inline-promoted-helpful-answer footer .footer-profile .username,
  957.     .j-inline-recommended-answer footer .footer-profile .username {
  958.         padding: 0px 10px 0px 10px !important;
  959.         max-width: 250px !important;
  960.     }
  961.  
  962.  
  963.     /* text wrap in header */
  964.     .j-thread-post > header .j-post-author { white-space: normal !important; }      
  965.    
  966.     /* thread post section (message body) */
  967.     .j-thread-post section {
  968.         padding: 0px 20px !important;
  969.         margin-bottom: 15px !important;                                                     /* CHANGED */
  970.     }
  971.    
  972.  
  973.     /* thread rendered content */
  974.     .jive-rendered-content { padding-bottom: 4px !important; }
  975.    
  976.     /* thread rendered content quote & pre */
  977.     .jive-rendered-content .jive-quote,
  978.     .jive-rendered-content .jive-pre {
  979.         margin: 5px 15px !important;
  980.     }
  981.  
  982.     /* thread reply footer (Return to Community | Go to original post) */
  983.     #jive-thread-reply-footer { margin-top: 10px !important; }
  984.    
  985.     /* more like this links, incomming links */
  986.     #apple-related-threads { margin: 0px 40px !important; }
  987.     #apple-related-threads .j-box { margin-bottom: 0px !important; }
  988.     .j-icon-list li { padding: 3px 0px 3px 22px !important; }
  989.  
  990.     /* related articles */                                                          
  991.     .apple-sidebar-property {
  992.         width: auto !important;
  993.         padding-left: 0px !important;
  994.     }
  995.     .jive-box-body.jive-sidebar-body.jive-sidebar-body-related-articles { padding: 15px 0px !important; }
  996.    
  997.  
  998.     /* ------------------
  999.         staus level, expertise, level points
  1000.     */
  1001.     /* status level expertise tile */
  1002.     .j-status-level.expertise-tile,
  1003.     .status-tile.expertise-tile { display: none !important; }                  
  1004.    
  1005.     /* status level level points */
  1006.     .j-status-level .level-points span { display: inherit !important; }            
  1007.     .j-status-level .level-points { white-space: inherit !important; }              
  1008.     /* ------------------ */
  1009.  
  1010.  
  1011.     /* ------------------------------------------------------------------------------------------------
  1012.         INLINE EDITOR
  1013.     */
  1014.     /* editor */
  1015.     .jive-discussion-replies li.addReply { margin: 50px 40px 0px !important; }
  1016.  
  1017.  
  1018.     /* ------------------------------------------------------------------------------------------------
  1019.         ADVANCED EDITOR
  1020.     */
  1021.  
  1022.     /* content area */
  1023.     .j-thread.jive-body-formpage #body-apple .j-form {
  1024.         max-width: inherit !important;
  1025.         margin: 0px auto 20px !important;
  1026.         width: inherit !important;
  1027.     }
  1028.     .j-thread .jive-content.jive-create-thread,
  1029.     .jive-body-formpage-document .jive-content.doc-page {
  1030.         margin: 0px 40px !important;
  1031.         padding: 0px !important;
  1032.     }
  1033.  
  1034.  
  1035.     /* editor panel */
  1036.     .j-thread .jive-content.jive-create-thread #jive-compose-title,
  1037.     .j-thread .jive-content.jive-create-thread .jive-editor-panel.jive-large-editor-panel,
  1038.     .jive-body-formpage-document .jive-content.doc-page #jive-compose-title,
  1039.     .jive-body-formpage-document .jive-content.doc-page .jive-editor-panel.jive-large-editor-panel { margin: 0px !important; }
  1040.  
  1041.     /* line height in editor
  1042.    
  1043.        I've tracked down a copy/paste error that happens in the editor if you decide to rearrange things.
  1044.        Typically the cut and pasted text inherits an unwanted fixed size which isn't displayed in the
  1045.        editor and can be missed after submission. This issue can be suppressed by not explicitly setting
  1046.        the font size of the editor area.   turingtest2
  1047.          https://discussions.apple.com/docs/DOC-10241
  1048.     tt2's July 30th version
  1049.     .tiny_mce_content {font-size: inherit !important}  
  1050.     What I have
  1051.     body.tiny_mce_content { line-height: inherit !important; } */
  1052.    
  1053.     /* replying to */
  1054.     p.jive-replying-to { padding: 20px 0px !important; }
  1055.     .jive-body-formpage-comment .jive-thread-message { margin: 0px 40px 0px 80px !important; }
  1056.  
  1057.     /* reply to avatar */
  1058.     .j-thread-post header .j-post-avatar {
  1059.         position: absolute !important;
  1060.         top: 0px !important;
  1061.         left: -50px !important;
  1062.         width: auto !important;
  1063.     }
  1064.    
  1065.     /* buttons (Reply|Cancel) 0,2
  1066.     .j-publishbar,
  1067.     .jive-body-formpage .jive-composebuttons { margin: 20px 40px 0px !important; } */
  1068.  
  1069.  
  1070.     /* ------------------------------------------------------------------------------------------------
  1071.         ACTIVITY STREAM
  1072.     */
  1073.     /* activity entry */
  1074.     .j-act-entry { padding: 5px 0px 10px 100px !important; }
  1075.  
  1076.     /* activity title */
  1077.     .j-body-home .j-act-title { padding: 5px 0px 5px 24px !important; }
  1078.  
  1079.     /* activity body & comment */                                                  
  1080.     .j-body-home .j-act-init { padding: 5px 0px 10px 100px !important; }
  1081.     .apple-activity-comments-wrapper { margin-left: 0px !important; }
  1082.  
  1083.     /* Like list */
  1084.     .j-act-grouped .j-act-g-item { padding: 3px !important; }
  1085.    
  1086.    
  1087.     /* ------------------------------------------------------------------------------------------------
  1088.         SEARCH RESULTS
  1089.     */
  1090.     /* search result entry */
  1091.     .j-search-results-main-container .j-search-result { padding: 10px !important; }
  1092.  
  1093.  
  1094.     /* ------------------------------------------------------------------------------------------------
  1095.         DOC (USER TIP)
  1096.     */                                                                              
  1097.     /* user tip canvas */
  1098.     .jive-body-content.j-doc .j-column-wrap-l { margin: 0px 40px !important; }
  1099.  
  1100.     /* user tip border etc */                                                               /* NEW */
  1101.     .j-doc .jive-content {
  1102.         margin: 0px !important;
  1103.      /*   margin-left: 150px !important; */
  1104.         padding: 10px !important;
  1105.         border: thin dotted !important;
  1106.     }
  1107.  
  1108.  
  1109.     /* ------------------------------------------------------------------------------------------------
  1110.         BLOG (MODERATOR TIP)
  1111.     */                                                                                      /* NEW */                                                                      
  1112.     /* blog canvas */
  1113.     .jive-body-content.j-blog .j-column-wrap-l { margin: 0px 40px !important; }
  1114.    
  1115.     /* blog border etc */
  1116.     .jive-content-blog {
  1117.         margin: 0px !important;
  1118.         padding: 10px !important;
  1119.         border: thin dotted !important;
  1120.         border-radius: 0px !important;
  1121.     }
  1122.  
  1123.  
  1124.     /* ------------------------------------------------------------------------------------------------
  1125.         UNAUTHORIZED (WARNING)
  1126.     */                                                                                      /* NEW */                                                                      
  1127.     /* unauthorized error message */
  1128.     .jive-body-warn.jive-body-unathorized #j-main { margin: 0px 40px !important; }
  1129.  
  1130.    
  1131.     /* ------------------------------------------------------------------------------------------------
  1132.         PROFILE
  1133.     */                                                                              
  1134.     /* header & navigation bar (Bio|Activity|People|Content|Communities|Bookmarks) */
  1135.     .j-view-profile .j-page-header { padding: 10px 40px !important; }
  1136.     .j-bigtab-nav { margin: 10px 40px !important; }
  1137.    
  1138.     /* filter ui current selection blue marker */                                           /* NEW */
  1139.     .j-view-profile .j-second-nav ul > li.active {
  1140.         display: none !important;
  1141.     }
  1142.  
  1143.     /* ------------------
  1144.         Bio
  1145.     */
  1146.     .j-layout-l .j-column-wrap-l { width: 100% !important; }
  1147.    
  1148.     /* ------------------
  1149.         profile specialties and awards
  1150.     */
  1151.     /* profile status container for specialties and awards */                               /* REFINED (rule) */
  1152.     .jive-view-profile .profile-status-container { display: none !important; }
  1153.  
  1154.     /* profile modal note status row for specialties and awards */
  1155.     .status-row { display: none !important; }                                      
  1156.     /* ------------------ */
  1157.  
  1158.  
  1159.     /* ------------------
  1160.         Content
  1161.     */                                                                                      /* NEW */
  1162.     /* browser control ui */
  1163.     .j-view-profile .j-layout-sl.j-browse-content .j-column-s #js-browse-controls {
  1164.         margin: 25px 0px 0px -166px !important;
  1165.     }
  1166. } /* end */
  1167.  
  1168. /* ==============================================  
  1169.    Revise the display of posts in a Thread.      0.2
  1170.    Each of these cases may have one or more post after:
  1171.      -- Question only
  1172.      -- Question with answer
  1173.      -- Question with helpful
  1174.      -- Question with answer and helpful
  1175.    examples:
  1176.    https://discussions.apple.com/thread/7583029
  1177.    https://communities.apple.com/pt/thread/4531
  1178.    https://communities.apple.com/pt/thread/4705
  1179.  
  1180.   */
  1181. @-moz-document
  1182.    url-prefix(https://discussions.apple.com/thread),
  1183.    url-prefix(https://discussions.apple.com/message),
  1184.    url-prefix(https://discussions.apple.com/update-advanced-comment.jspa),
  1185.    url-prefix(https://discussionsjapan.apple.com/thread),
  1186.    url-prefix(https://discussionsjapan.apple.com/message),
  1187.    url-prefix(https://discussionsjapan.apple.com/update-advanced-comment.jspa),
  1188.    url-prefix(https://discussionskorea.apple.com/thread),
  1189.    url-prefix(https://discussionskorea.apple.com/message),
  1190.    url-prefix(https://discussionskorea.apple.com/update-advanced-comment.jspa),
  1191.    url-prefix(https://communities.apple.com/es/thread),  
  1192.    url-prefix(https://communities.apple.com/es/message),  /* I have not see an es message */
  1193.    url-prefix(https://communities.apple.com/es/update-advanced-comment.jspa),
  1194.    url-prefix(https://communities.apple.com/pt/thread),
  1195.    url-prefix(https://communities.apple.com/pt/message),
  1196.    url-prefix(https://communities.apple.com/pt/update-advanced-comment.jspa) {
  1197.        
  1198.         /* Debug to identify which page we found.  Place our ukiyo-e. */      
  1199.  /*   h1, h2, h3 {    
  1200.           background-color: aqua !important;      
  1201.           border: 2px dashed black !important;    
  1202.          }
  1203.    */
  1204.       /* significant classes and selecters  0.21
  1205.          To select in Question and posible answer and helpful
  1206.          Starts with times stamp.  Example "Jul 5, 2016 11:44 PM in response to Ferd II"
  1207.          Doesn't include original poster info.
  1208.            section.j-original-message
  1209.        
  1210.          to select all replies
  1211.            div.all-replies-container
  1212.            ul-jive-discussion-replies.jive-discussion-flat.jive-discussion-indent-0
  1213.       */
  1214.       /* Place the poster info to the left of the post for medium and large windows.
  1215.          Let poster info above the the post for a small window such as found on a smart
  1216.          phone. 0.30 */
  1217.  
  1218. /* for small windows such as a smart phone.   0.30 */      
  1219. @media all and (max-width: 499px) {
  1220.    
  1221.      /* adjust margin for smart phone screen here.  Different margin adjust is done for larger screens
  1222.         just below.  More adjustments to element are made after moving of poster info for larger
  1223.         windows. */
  1224.    
  1225.      /* thread message border.  All message except question it seems. */
  1226.      .jive-discussion-replies li.reply .jive-thread-message {
  1227.          margin-left: 0px  !important;      /* There is some other margin to prevent going all the way
  1228.                                                to the left margin. */
  1229.       }
  1230.    
  1231.      /* thread original messeage (question) */                                        
  1232.      .j-thread-post section.j-original-message {
  1233.          margin: 0px 30px 0px 30px  !important;
  1234.        }
  1235.    
  1236. }
  1237.  
  1238. /* For medium and large size windows... */
  1239. @media all and (min-width: 500px) {
  1240.      /* thread message border.  All message except question it seems.   0.30 */
  1241.      .jive-discussion-replies li.reply .jive-thread-message {
  1242.          margin-left: 80px  !important;      
  1243.       }
  1244.      
  1245.      /* thread original messeage (question) */                                          /* 0.30 */
  1246.      .j-thread-post section.j-original-message {
  1247.        margin: 0px 30px 0px 110px  !important;
  1248.        }
  1249.      
  1250.     /* Move who wrote the question back to where it was before!
  1251.          Will appear to the left of the question text box. */
  1252.  
  1253.       /* Avatar */
  1254.       header.js-original-header  img.jive-avatar {
  1255.            position: absolute !important;
  1256.            top: 30px !important;
  1257.            left: 15px !important;
  1258.            width: 66px !important;
  1259.            height: 66px !important;      
  1260.          }
  1261.  
  1262.       /* Let questioner's info escape the box  */
  1263.       div.j-thread-post.j-rc4 header.js-original-header.apple-overflow-hidden { overflow: visible !important; }
  1264.      
  1265.        /* html for user's name
  1266.          <strong itemprop="author"
  1267.               itemscope=""
  1268.               itemtype="http://schema.org/Person">
  1269.            <a rel="nofollow"
  1270.               href="/people/rccharles"
  1271.               data-externalid=""
  1272.               data-username="rccharles"
  1273.               data-avatarid="1095"
  1274.               id="jive-99999999999999999999999"
  1275.               data-userid="999999"
  1276.               data-presence="null"
  1277.               class="jiveTT-hover-user jive-username-link">rccharles</a>
  1278.           </strong>
  1279.        */
  1280.       /* move questioner to left of post 0.21 */
  1281.       header.js-original-header.apple-overflow-hidden  span.j-post-author strong  {
  1282.           position: absolute !important;
  1283.           top: 80px !important;
  1284.           left: -96px !important;
  1285.           text-align: center !important;
  1286.           width: 120px !important;    
  1287.           /* background-color: yellow !important; */
  1288.          }  
  1289.       /* questioner's name. text adjustment 0.21 */
  1290.       header.js-original-header.apple-overflow-hidden  span.j-post-author strong  a {
  1291.           font-weight: 400 !important;  /* don't bold */
  1292.           font-size: 13px !important;
  1293.           line-height: 13px !important;
  1294.           /* background-color: pink !important; */
  1295.          }  
  1296.        
  1297.          
  1298.  
  1299.      /* questioner's points icon. fyi: position: absolute didn't work here.   === 0.22 */
  1300.      div.j-thread-post.j-rc4 header.js-original-header.apple-overflow-hidden span.status-image img.svg {
  1301.          margin-top: 110px !important;
  1302.          margin-left: -50px !important;
  1303.          }  
  1304.  
  1305.       /* questioner's points.  Actual coding:
  1306.          <span class="level-points">Level 6
  1307.              <span>(8,266 points)</span>
  1308.          </span>
  1309.          0.22
  1310.       */
  1311.       div.status-container span.j-status-level:not(.community-manager) span.level-points {
  1312.           position: absolute !important;
  1313.           top: 140px !important;
  1314.           left: -94px !important;    /* shove level # off the left of window.  Need to save space. */        
  1315.           width: 120px !important;
  1316.           text-align: center !important;
  1317.           text-indent: -80px !important;
  1318.           font-size: 12px !important;
  1319.           line-height: 12px !important;
  1320.               /* background-color: turquoise !important; /* */
  1321.          }  
  1322.       /* 0.22 */
  1323.       div.status-container span.j-status-level:not(.community-manager) span.level-points span {
  1324.           margin-left: 20px !important;
  1325.           display: inline !important;                    
  1326.             /* background-color: yellow !important; /* */
  1327.          }  
  1328.        
  1329.       /* Community host.  css is a little different
  1330.            <span class="j-status-level community-manager">
  1331.                <span class="status-image">
  1332.                     <img
  1333.                         class="svg"              
  1334.                         src="/6.0.3.0d25e296/resources/images/status/ph-usermoderator.png?vid=20160707"                                
  1335.                         alt="">
  1336.                </span>
  1337.                <span class="level-points"> Community Hosts
  1338.                </span>
  1339.            </span>
  1340.        
  1341.            0.22 */
  1342.       header.js-original-header.apple-overflow-hidden span.j-status-level.community-manager span.level-points {
  1343.           position: absolute !important;
  1344.           top: 144px !important;
  1345.           left: -95px !important;    
  1346.           font-size: 12px !important;
  1347.           line-height: 12px !important;
  1348.           text-align: center !important;
  1349.           width: 120px !important;
  1350.          }  
  1351.      
  1352.       /* Time of question.  Where to place after moving info to the side.  0.22 */
  1353.       /* move time questioner made question  to after questioner name */
  1354.       /*  div#body-apple section.j-original-message p.meta-posted  {
  1355.            position: absolute !important;
  1356.            top: -12px !important;
  1357.            left: 280px !important;          
  1358.          } */
  1359.    
  1360.       /* Leave some space above the bottons and below the text. */
  1361.       /* div#body-apple section.j-original-message  div.thread-actions { margin-top: 20px !important;} */
  1362.      
  1363.      /* For some reason, maybe overflow: visible, wrecks some tags positioning, fix up. */
  1364.      /* Move folling and tool icon back to where they were */
  1365.      ul.apple-social-actions-toolbar  { margin-top: -45px !important; }
  1366.  
  1367.        
  1368.       /* Move who wrote a post ( just relpies ) back to where it was before!
  1369.          ------------------------------------------------------------------
  1370.          some tags do not move in question in answer or helpful in answer.
  1371.          Avatar 0.21 */
  1372.        div.message-profile span.image-container img {
  1373.            position: absolute !important;
  1374.            top: -0px !important;
  1375.            left: -105px !important;
  1376.            width: 60px !important;
  1377.            height: 60px !important;
  1378.          }
  1379.        /* username 0.21 */  
  1380.        div.message-profile span.username {
  1381.            position: absolute !important;
  1382.            top: 66px !important;
  1383.            left: -136px !important;
  1384.            font-size: 13px !important;
  1385.            line-height: 13px !important;
  1386.            text-align: center !important;
  1387.            width: 125px !important;
  1388.            padding: 0px !important;
  1389.          }
  1390.        
  1391.        /* Points icon 0.21 */
  1392.        div.message-profile span.status-image {
  1393.            position: absolute !important;
  1394.            top: 83px !important;
  1395.            left: -88px !important;
  1396.          }
  1397.        
  1398.        /* time of posting.
  1399.           example: Jun 13, 2016 10:48 AM in response to Eric Root  0.21
  1400.        */
  1401.        div.j-thread-post.j-rc4 > h3 + div.message-profile + span.j-inresponse-to
  1402.            {margin-top: -12px !important;} /* eyeball to be the same as botton spacing */
  1403.        
  1404.        /*  <span class="level-points">Level 7
  1405.                 <span>(27,528 points)</span>
  1406.            </span>
  1407.        
  1408.            level number hid by slidding of window    0.21*/
  1409.       div.message-profile span.j-status-level:not(.community-manager) span.level-points {
  1410.           position: absolute !important;
  1411.           top: 114px !important;
  1412.           left: -130px !important;    /* shove level # off the left of window.  Need to save space. */        
  1413.           width: 120px !important;
  1414.           text-align: center !important;
  1415.           text-indent: -80px !important;
  1416.           font-size: 12px !important;
  1417.           line-height: 12px !important;
  1418.             /* background-color: turquoise !important; /* */
  1419.          }  
  1420.       /* points.  move to a visible spot 0.21 */
  1421.       div#jive-body div.message-profile span.j-status-level:not(.community-manager) span.level-points span {
  1422.           margin-left: 20px !important;
  1423.           display: inline !important;                  
  1424.             /* background-color: yellow !important; /* */
  1425.          }  
  1426.        
  1427.      
  1428.        
  1429.         /* Community host.  css is a little different
  1430.            <span class="j-status-level community-manager">
  1431.                <span class="status-image">
  1432.                     <img
  1433.                         class="svg"              
  1434.                         src="/6.0.3.0d25e296/resources/images/status
  1435.                              /ph-usermoderator.png?vid=20160707"                                
  1436.                         alt="">
  1437.                </span>
  1438.                <span class="level-points"> Community Hosts
  1439.                </span>
  1440.            </span>
  1441.        
  1442.            0.21 */
  1443.         div.message-profile span.j-status-level.community-manager span.level-points {
  1444.           position: absolute !important;
  1445.           top: 114px !important;
  1446.           left: -130px !important;    
  1447.           font-size: 12px !important;
  1448.           line-height: 12px !important;
  1449.           text-align: center !important;
  1450.           width: 120px !important;
  1451.          }      
  1452.        
  1453.    
  1454.        
  1455.      /* Mess with answer in question who made post information */
  1456.        
  1457.      /* Seemed the "Posted on ..." in the Answer inside the question is in the answer box
  1458.         when it should be in the footer section :-(.   Do a force adjust. Bug fix. */
  1459.      div.j-inline-correct-answer section p.meta-posted {margin-left: -20px  !important;}
  1460.    
  1461.      
  1462.      /* Move avatar and username.  */  
  1463.      /* answer inside question. Here is the html we have to work with :-(  
  1464.        <a rel="nofollow" href="/people/Hiroto" data-userid="999999" data-externalid="" data-avatarid="999999"
  1465.               data-username="Hiroto" class="username jiveTT-hover-user">
  1466.           <img class="jive-avatar" src="/people/Hiroto/avatar/40.png" data-height="40"
  1467.               alt="Hiroto" title="Hiroto" style="outline: none;" height="40" width="40">Hiroto
  1468.        </a>
  1469.      */
  1470.     /* adjust avator after move of the a tag. */
  1471.     div.j-inline-correct-answer div.footer-profile img.jive-avatar {
  1472.            width: 66px !important;
  1473.            height: 66px !important;
  1474.            margin-top: -70px !important;
  1475.            margin-left: 30px !important;
  1476.          }
  1477.        
  1478.      /* Username
  1479.             overflow: hidden !important;
  1480.             text-overflow: ellipsis !important;
  1481.      */  
  1482.      div.j-inline-correct-answer div.footer-profile a.username.jiveTT-hover-user {
  1483.            position: absolute !important;
  1484.            top: 70px !important;
  1485.            left: -142px !important;
  1486.            font-size: 13px !important;
  1487.            line-height: 13px !important;
  1488.            text-align: center !important;
  1489.            width: 120px !important;
  1490.            padding: 0px !important;
  1491.            display:block !important;
  1492.            overflow: visible !important;
  1493.          }
  1494.          
  1495.      /* points icon within answer inside question */
  1496.      section.j-original-message div.j-inline-correct-answer div.footer-profile span.status-image img.svg {
  1497.            position: absolute !important;
  1498.            top:  0px !important;
  1499.            left: -15px !important;
  1500.          }  
  1501.        
  1502.      /* points */  
  1503.      div.j-inline-correct-answer div.footer-profile span.level-points > span {
  1504.            position: absolute !important;
  1505.            top: 114px !important;
  1506.            left: -148px !important;
  1507.            font-size: 12px !important;
  1508.            line-height: 12px !important;
  1509.            text-align: center !important;
  1510.            width: 120px !important;
  1511.          }  
  1512.        
  1513.      /* answer points icon in regular reply area */
  1514.      div.all-replies-container div.j-inline-correct-answer div.footer-profile span.status-image img.svg {
  1515.            position: absolute !important;
  1516.            top:  16px !important;
  1517.            left: -10px !important;
  1518.          }  
  1519.    
  1520.        
  1521.      /* Move avatar */
  1522.      /* helpful inside question */
  1523.      div.j-inline-promoted-helpful-answer div.footer-profile img.jive-avatar{
  1524.            position: absolute !important;
  1525.            top: 5px !important;
  1526.            left: -96px !important;
  1527.            width: 66px !important;
  1528.            height: 66px !important;
  1529.          }
  1530.            
  1531.        
  1532.       /* points icon */
  1533.       div.j-inline-promoted-helpful-answer div.footer-profile span.j-status-levels img {
  1534.            position: absolute !important;
  1535.            top:  76px !important;
  1536.            left: -74px !important;
  1537.          }
  1538.        
  1539.       /* points */
  1540.       div.j-inline-promoted-helpful-answer div.footer-profile span.level-points > span {
  1541.            position: absolute !important;
  1542.            top: 108px !important;
  1543.            left: -100px !important;
  1544.            font-size: 12px !important;
  1545.            line-height: 12px !important;
  1546.          }  
  1547.  
  1548. } /* end of moving posters to the left of the message <------------- */
  1549.        
  1550.        
  1551.      /* Comman for all window sizes in disaplay of posts. */
  1552.        
  1553.      /* thread original messeage (question) */                                          /* 0.30 NEW */
  1554.      /* #FFFFCC  parchment #EDF7E8 light green answered  */
  1555.      .j-thread-post section.j-original-message {
  1556.            /* margin: 0px 30px 0px 110px  !important; */      
  1557.          padding: 15px 10px !important;
  1558.          border-style: dotted !important;
  1559.          border-width: thin !important; /* thin */
  1560.          background: none repeat scroll 0% 0% #FFFFCC !important;  /* parchment */
  1561.        }
  1562.      
  1563.      /* Reply button  */
  1564.      .j-thread-post section .thread-actions {
  1565.          max-width: inherit !important;
  1566.          margin: 0px 25px 0px 0px !important;
  1567.        }
  1568.    
  1569.      /* lower metadata "Posted on ..."  */
  1570.      .meta-posted {
  1571.          max-width: inherit !important;
  1572.          margin: 10px 25px 20px 0px !important;  /* margin-left: 0px   */
  1573.          font-size: 16px !important;    
  1574.        }
  1575.        
  1576.      /* thread message border.  All message except question it seems.   0.30 NEW */
  1577.      .jive-discussion-replies li.reply .jive-thread-message {
  1578.          border-style: dotted !important;
  1579.          border-width: thin !important;
  1580.          /* margin-left: 80px  !important;  */    
  1581.        }    
  1582.        
  1583.      /* promoted helpful answer and prompted recommended answer */                      /* 0.3 NEW */
  1584.      /* Doesn't seem to have any effect :-( */
  1585.      .j-inline-promoted-helpful-answer,
  1586.      .j-inline-recommended-answer {
  1587.          background: none repeat scroll 0% 0% rgb(250, 240, 220) !important;
  1588.          padding: 15px 10px 5px 10px !important;
  1589.          margin: 0px 10px 15px 80px !important;
  1590.          /* background-color: turquoise !important; */
  1591.          border-style: dotted !important;
  1592.          border-width: thin !important;
  1593.        }
  1594.    
  1595.      /* ditch line between original post and first reply post
  1596.         No need since since setting background-color in orginal post 8-5-2016 */
  1597.      div ul.jive-discussion-replies.jive-discussion-flat.jive-discussion-indent-0 {
  1598.          border-top: 0px !important; }
  1599.      
  1600.      /* Tighten up double paragraphs spacing.  I put in a blank paragraph to separate "real"
  1601.         paragraphs  
  1602.           https://discussions.apple.com/message/30333231#30333231 */
  1603.      .j-thread .jive-content .j-thread-post section p,
  1604.      .j-thread .jive-content .j-thread-post section .jive-rendered-content p,
  1605.      .j-thread .jive-content .j-thread-post section.j-original-message .jive-rendered-content p {
  1606.          min-height: 0px !important;
  1607.      }
  1608.  
  1609.      /* Let's make the paragraph text a little more compact. */
  1610.      p[style="min-height: 8pt; height: 8pt; padding: 0px;"] { height: 0.6em !important; }
  1611.        
  1612.      /* the control that shows all replies, and forces the display of all replies
  1613.         when they might otherwise be hidden. Thanks turingtest2, London, UK  */
  1614.      .helpful-allreply {display: none !important;}                  /* Hide helpful/all reply switch */
  1615.      #helpful-container {display: none !important;}                 /* Hide helpful block */
  1616.      .all-replies-container {display: inherit !important;}          /* Display all replies block */
  1617.  
  1618.      /*You can hide the copies of any solved/recommended answers that appear immediately
  1619.        below the question with:   turingtest2 */
  1620.      .j-answer-rollup {display: none !important;}                         /* Hide solved/recommended block */
  1621.  
  1622.      /* No more link popup on simple edit.  turingtest2  
  1623.        .-.-.-.-.-.-.-.- */
  1624.      /*  .popOverContent {display: none !important;}          /* Suppress pop-up link editor */  
  1625.        
  1626.      /* For buttons without the black background like cancel
  1627.         Color picker
  1628.         http://www.w3schools.com/colors/colors_picker.asp */
  1629.          /* "I have this question too" on question */
  1630.      span.j-social-action.black-button.j-disabled,
  1631.      div.jive-composebuttons button.j-btn-global,
  1632.      span a.black-button.jive-acclaim-likelink,  /* question button */
  1633.      div.j-inline-correct-answer footer a.action-button,  /* answer button */
  1634.      span.js-acclaim-container.acclaim-container a /* response button */
  1635.        {
  1636.          padding: 7px 7px !important;
  1637.          color:  #0288CC !important;  /* light blue, was rgb(150,150,150) grey */
  1638.          font-size: 14px !important;
  1639.          line-height: 14px !important;
  1640.          background-color: #f2f2f2 !important;
  1641.  
  1642.        }
  1643.        
  1644.      /* "I have this question too" on question.
  1645.         Why was opacity 0.5 on this button but not others? */
  1646.      span.j-social-action.black-button.j-disabled {opacity: 1 !important;}
  1647.        
  1648.      /* button in reponse */
  1649.      div.all-replies-container .jive-thread-helpful-btn {
  1650.          color: #0288CC !important;  /* light blue */
  1651.          background-color: #f2f2f2 !important;    
  1652.        }
  1653.  
  1654.            /* Upper tool icon pulldwon */
  1655.      ul#jive-action-sidebar-tab-list_thread-actions-tab *,
  1656.           /* Lower tool icon pulldwon */
  1657.      ul.apple-thread-options.js-toggle-thread-actions li *,
  1658.           /* change lower button text from grey to light blue. */
  1659.      a.discussionPermaLink
  1660.      /* span.jive-icon-sml.jive-icon-warn */{  color: #0288CC !important;  /* light blue */}
  1661.        
  1662.      /* Make all lower buttons the same. Who ever heard of different size buttons? */  
  1663.        
  1664.          /* save reply, button you get to save an edit of a post */
  1665.      div.jive-composebuttons button#submitButton.j-btn-callout,  /* post button on edit of orginal post */
  1666.          /* Correct answer.  Isn't as bad as the reply button, but might as well use the
  1667.             same set of rule, even if we do not need all. may not be correct button :-( */
  1668.      div.jive-thread-reply-btn-correct a,
  1669.          /* Following; upper right */
  1670.      a#jive-link-thread-following.button.following-button,  /* no box */
  1671.          /* alternative state of following button, follow */
  1672.      a#jive-link-thread-startFollowing.button.follow-button,
  1673.          /* action button with the V */
  1674.      a.apple-actions-link,  /* not working */
  1675.          /* Tone down Reply Button */
  1676.          /* footer div.footer-toplevel-actions a .discussionAdd, */
  1677.      .discussionAdd,
  1678.          /* clicking on Reply to get the inputput, this is the save */
  1679.      div input.jive-form-button-save.j-btn-callout,
  1680.           /* clicking on Reply to get the inputput, this is the cancel */
  1681.      div input.jive-form-button-cancel{
  1682.          background-image: none !important; ;   /* bye, bye gradiant */
  1683.          background-color: #f2f2f2 !important;
  1684.          color: #0288CC !important;  /* light blue, was rgb(150,150,150) grey */
  1685.          padding: 7px !important;
  1686.          font-size: 14px !important;
  1687.          line-height: 14px !important;
  1688.          margin-bottom: 8px !important;
  1689.        }
  1690.      
  1691.      /*  save reply, button you get to save an edit of a post. touch up
  1692.        https://discussions.apple.com/update-advanced-comment.jspa?id=30347987 */
  1693.      div#body-apple button#submitButton.j-btn-callout { margin-left: 20px !important; }
  1694.    
  1695.        
  1696.      /* Following button, upper right. Might as well box it for consistancy */
  1697.      a#jive-link-thread-following.button.following-button  {
  1698.          border-style: solid !important;
  1699.          border-width: thin !important;
  1700.          border-color: #9b9b9b !important; /* grey, Apple's color */
  1701.          padding: 6px 6px 8px 28px !important;
  1702.        }
  1703.        
  1704.      
  1705.      
  1706.      /* Check icon with Following.  Move to the left of following. */
  1707.      span.following-check.icon.icon-check {
  1708.          margin-left: -10px !important;
  1709.          margin-top: -7px !important;
  1710.        }
  1711.        
  1712.      /* Tool icon button upper left, right of Following button */
  1713.      a#apple-actions-link { padding: 4px 6px 4px !important; }
  1714.      
  1715.      /* Tool icon button lower left. same row as reply button */
  1716.      a.js-toggle-thread-options.thread-options  { padding: 4px 4px 4px !important; }
  1717.            
  1718.      /* Tool box upper right */
  1719.      ul.apple-social-actions-toolbar li.apple-actions {height: 28px !important;}
  1720.        
  1721.      /* User machine and operating system info from profile
  1722.         Make metadata font size the same. */
  1723.      section.j-original-message p.jive-model-info-display {
  1724.          font-size: 16px !important;
  1725.          margin-left: 0px !important;
  1726.        }
  1727.        
  1728.      /* hover */
  1729.           /* "I have this question too" on question */
  1730.      span.j-social-action.black-button.j-disabled:hover,
  1731.           /* Following; upper right */
  1732.      a#jive-link-thread-following.button.following-button:hover,      
  1733.        /* post button on edit of orginal post */
  1734.      div.jive-composebuttons button#submitButton.j-btn-callout:hover,
  1735.           /* cancel button on edit of orginal post */
  1736.      div.jive-composebuttons button.j-btn-global:hover,
  1737.           /* clicking on Reply to get the input, this is the save */    
  1738.      div input.jive-form-button-save.j-btn-callout:hover,
  1739.           /* clicking on Reply to get the inputput, this is the cancel */
  1740.      div input.jive-form-button-cancel:hover,
  1741.        /* Reply button hover state */
  1742.        .discussionAdd:hover{ border-color: #0288CC !important; }
  1743.        
  1744.   } /* @-moz-document for responses */
  1745.  
  1746.  
  1747.  
  1748. /* ==============================================
  1749.    For ASC web pages with a sidebar shown on narrow window, make the side bar
  1750.    horizontal. Adjusts the column sizes in lists.
  1751.    adding more @-moz-document callouts prevents collateral damage
  1752.    to other web pages when css class and id conflicts.
  1753.    example pages:
  1754.      https://discussions.apple.com/content?filterID=following~objecttype~objecttype[thread]
  1755.      https://discussions.apple.com/community/ipad/ipad_in_business_and_education/content
  1756.         ?filterID=contentstatus[published]~objecttype~objecttype[thread]
  1757.      https://communities.apple.com/es/community/ipad/using_ipad/content?filterID=
  1758.         contentstatus[published]~objecttype~objecttype[thread]
  1759.      https://communities.apple.com/pt/people/espa%C3%B1ol.rccharles/content?manage=true
  1760.    avoid:
  1761.      https://communities.apple.com/pt/search.jspa
  1762.  https://discussions.apple.com/content?filterID=following~objecttype~objecttype[thread]
  1763.    */
  1764.      
  1765. @-moz-document
  1766.    url-prefix(https://discussions.apple.com/content),
  1767.    url-prefix(https://discussions.apple.com/community),
  1768.    url-prefix(https://discussions.apple.com/people),
  1769.    url-prefix(https://discussionsjapan.apple.com/content),
  1770.    url-prefix(https://discussionsjapan.apple.com/community),
  1771.    url-prefix(https://discussionsjapan.apple.com/people),
  1772.    url-prefix(https://discussionskorea.apple.com/content),
  1773.    url-prefix(https://discussionskorea.apple.com/community),
  1774.    url-prefix(https://discussionskorea.apple.com/people),
  1775.    url-prefix(https://communities.apple.com/es/content),    
  1776.    url-prefix(https://communities.apple.com/es/community/),
  1777.    url-prefix(https://communities.apple.com/es/people),  
  1778.    url-prefix(https://communities.apple.com/pt/content),
  1779.    url-prefix(https://communities.apple.com/pt/community/),
  1780.    url-prefix(https://communities.apple.com/pt/people) {  
  1781.    @media all and (max-width: 499px) {
  1782.        li.j-browse-filter-group-item.js-browse-filter-group-item a.js-select-link {height: 16px !important;}
  1783.        }
  1784.     @media all and (max-width: 1265px)  {
  1785.      /* Debug to identify which page we found.  Place our ukiyo-e. */      
  1786.    /*  h1, h2, h3, #apple-site-title > a:nth-child(1), #j-globalNav-bg {    
  1787.           background-color:yellow !important;
  1788.           border: 2px dashed black !important;    
  1789.          }  */
  1790.        
  1791.     /* ------------------      
  1792.        Treatment for narrow window      
  1793.        Method 1 (minimum optimisation)      
  1794.      
  1795.        Places
  1796.        
  1797.        https://discussions.apple.com/places
  1798.        
  1799.        Adjust community list table's shift and margin to maximize its width.      
  1800.     */                                                                            
  1801.     /* ------------------ (currently commented out)      
  1802.     .j-layout-sl.j-browse-places .j-column-wrap-l { margin-left: -166px !important; }      
  1803.     .j-layout-sl.j-browse-places .j-column-l      { margin-left: 166px !important; }      
  1804.     .j-layout-sl.j-browse-places .j-column-s      { width: 166px !important; }      
  1805.     ------------------ */      
  1806.     /* ------------------      
  1807.         Treatment for narrow window      
  1808.         Method 2 (more beneficial to narrow window but has disadvantage for wide window)      
  1809.          
  1810.         Let community list table have full width but not exceed 1019px to make room for      
  1811.         sidebar ui (filters & actions).  If window is wide enough (>=1265px), sidebar ui      
  1812.         is displayed next to community list table, otherwise it is displayed below or
  1813.         above it (depending upon its document tree order).      
  1814.          
  1815.         * sidebar width (constant)    = 166px      
  1816.         * community table max width   = 1019px      
  1817.         * canvas margin-left          = 40px      
  1818.         * canvas margin-right         = 40px      
  1819.         ---------------------------------------      
  1820.         * total                       = 1265px      
  1821.     */                                                                              
  1822.     /* ------------------ (currently active) */      
  1823.     .j-layout-sl.j-browse-places .j-column-wrap-l { max-width: 1019px !important; }      
  1824.     .j-layout-sl.j-browse-places .j-column-wrap-l { margin-left: 0px !important; }      
  1825.     .j-layout-sl.j-browse-places .j-column-l      { margin-left: 0px !important; }      
  1826.     .j-layout-sl.j-browse-places .j-column-l      { padding-left: 0px !important; }      
  1827.     .j-layout-sl.j-browse-places .j-column-s      { width: 166px !important; }          
  1828.     /* ------------------ */      
  1829.        
  1830.     /* See if we can position "start ad discussion, Write a user tip" bottom  
  1831.        bar a little better */    
  1832.     .j-box {    
  1833.         margin-top: 40px !important;    
  1834.         float: right !important;}    
  1835.        
  1836.    
  1837.     /* Turn verical nav list into a horizontal nav list to save vertical space.    
  1838.         This nav bar appear above the list of dicussions in the Your Content page.    
  1839.         It appears below in the list of discussions page.    
  1840.         A larger screen has room for vertical navigation, so let along. */    
  1841.  
  1842.     /* We need to make room for the horizontal nav bar.  A floating right, the area to the left    
  1843.        is blank anyway. */    
  1844.     .j-layout-sl.j-browse-content .j-column-s        
  1845.         { width: 95% !important; }  /* let more room for horizontal navigation 0.64 */    
  1846.      
  1847.      
  1848.     /* make nav bar horizontal amoung other things. */    
  1849.     div .j-column.j-column-s nav ul li {  
  1850.       float: left !important;    /* makes the list items horizontal */    
  1851.       width: 120px !important;  /* width of each link */  
  1852.                                  /*  height: 30px !important;*/
  1853.                                  /* vertical-align: middle !important; */
  1854.        
  1855.       text-align: center !important;    
  1856.       margin-left: 0 !important;    
  1857.       padding-left: 0 !important;    
  1858.     }  
  1859.  
  1860.     li.j-browse-filter-group-item.js-browse-filter-group-item a.js-select-link {
  1861.         height: 23px !important;
  1862.         padding-top:7px !important}
  1863.        
  1864.     /* let a little space to the left of the navigation bar. */      
  1865.         div .j-column.j-column-s nav  {  
  1866.         margin-left: 0px !important;      
  1867.         margin-top: 20px !important;  /* max of margin-bottom of proceeding line and margin-top */    
  1868.     }  
  1869.      
  1870.    /* after making the navigating link horizontal, the blue overlay box doesn't immediately  
  1871.       jump to the draft box.  After clicking on any of the other links, the blue box    
  1872.       parks on the draft box and will not move.  The function must be implemented in javascript which  
  1873.       cannot be changed from css. In the May 2016 ASC, the blue box moves correct when the sidebar is moved to the right.
  1874.       Still broken for horizontal. Purge it.    
  1875.       Upper nav bar on your content */    
  1876.       /* https://discussions.apple.com/people/<apple-id>/content */    
  1877.     body.jive-view-profile.j-view-profile.j-view-profile-nonself.other .j-second-nav > ul:nth-child(1) > li:last-child,    
  1878.        body.j-body-yourwork.other li.active:last-child {display: none !important;}    
  1879.        
  1880.    /* Found another blue overlay box.    
  1881.       https://discussions.apple.com/people/<ASC_id>/content?manage=true */    
  1882.     body.jive-view-profile.j-view-profile.j-view-profile-self.other li.active:last-child {display: none !important;}    
  1883.      
  1884.     /* style the link (a tag) inside the li    
  1885.        Put a box around the links.  Complete box makes for a dark middle Line. So, leave  
  1886.        off right line but for righ most link. Do the best we can    
  1887.        ASC box grey-line color #d7d7d7 also seems like grey #eaeaea */    
  1888.     div .j-column.j-column-s nav li a {  
  1889.        border: 1px solid #d7d7d7 !important;    
  1890.        border-left: none !important;  /* avoid double border lines for middle items */    
  1891.        padding-left: 0 !important;    
  1892.     }  
  1893.    
  1894.     /* Fill in the first box with a line on the left */    
  1895.     /* Upper nav bar on your content  
  1896.        https://discussions.apple.com/content?filterID=following~objecttype~objecttype[thread] */    
  1897.     body.j-body-yourwork.other li.j-browse-filter-group-item:first-child > a,  
  1898.     /* https://discussions.apple.com/people/<apple-id>/content?manage=true */    
  1899.     body.jive-view-profile.j-view-profile.j-view-profile-self other li.active:first-child > a,  
  1900.     /* https://discussions.apple.com/people/<apple-id>/content */    
  1901.     div .j-column.j-column-s nav.j-second-nav ul > li:first-child > a,  
  1902.     /* lower nav bar, see here:    
  1903.        https://discussions.apple.com/community/ipad/ipad_in_business_and_education  
  1904.             /content?filterID=contentstatus[published]~objecttype~objecttype[thread] */    
  1905.     body.j-body-place.other    li.j-browse-filter-group-item:first-child {    
  1906.        border-left: 1px solid #d7d7d7 !important;  /* avoid double border lines for middle items */    
  1907.     }  
  1908.        
  1909.        /* Hover. horizontal nav bar */
  1910.     div .j-column.j-column-s nav li a:hover {  
  1911.         border-color: #42aaff !important;  /* light blue */    
  1912.       }  
  1913.  
  1914.      
  1915.        
  1916.   } /* media */
  1917.    
  1918.   /* adjust for small screen */
  1919.   @media all and (max-width: 499px) {
  1920.       /* the once upon a time sidebar */
  1921.       li.j-browse-filter-group-item.js-browse-filter-group-item a.js-select-link {height: 16px !important;}
  1922.     }
  1923. } /* @-moz-document url-prefix for sidebar */
  1924.  
  1925. /* ==============================================
  1926.    Leave the login window footer alone. So, turn these fields back on.    
  1927.     */      
  1928. @-moz-document    
  1929.     url-prefix(https://discussions.apple.com/people/),      
  1930.     url-prefix(https://discussions.apple.com/welcome),      
  1931.     url-prefix(https://discussionsjapan.apple.com/people/),        
  1932.     url-prefix(https://discussionsjapan.apple.com/welcome/),      
  1933.     url-prefix(https://discussionskorea.apple.com/people/),      
  1934.     url-prefix(https://discussionskorea.apple.com/welcome/),
  1935.     url-prefix(https://communities.apple.com/es/people),  
  1936.     url-prefix(https://communities.apple.com/es/welcome),      
  1937.     url-prefix(https://communities.apple.com/pt/people),
  1938.     url-prefix(https://communities.apple.com/pt/welcome)  {        
  1939.    
  1940.         /* legalistic bomblast on login window*/      
  1941.         #globaldisclaimer.sosumi {display: inherit !important; }            
  1942.         /* path to here */      
  1943.         #j-footer #breadcrumbs {display: inherit !important; }      
  1944.         /* apple product info */      
  1945.         p.gf-buy {display: inherit !important; }          
  1946. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement