Advertisement
rccharles

ASC may 2016 look beta-P update

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