Advertisement
rccharles

ASC may 2016 look beta-G update

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