Advertisement
rccharles

ASC may 2016 look beta-r update

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