Advertisement
rccharles

ASC may 2016 look beta-h.5 update

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