Advertisement
rccharles

ASC style sheet modificaton version 0.l6

May 9th, 2016
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 36.72 KB | None | 0 0
  1.     /*  
  2.         Custom Cascading Style Sheet for Apple Support Communities board system introduced  
  3.         in 2014-06  
  4.      
  5.             Copyright 2014, 2016 Hiroto,  et. al.  
  6.      
  7.         GNU General Public License  
  8.      
  9.         This program is free software: you can redistribute it and/or modify  
  10.         it under the terms of the GNU General Public License as published by  
  11.         the Free Software Foundation,  version 3  
  12.      
  13.         This program is distributed in the hope that it will be useful,  
  14.         but WITHOUT ANY WARRANTY; without even the implied warranty of  
  15.         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
  16.         GNU General Public License for more details.  
  17.      
  18.         For a copy of the GNU General Public License  
  19.         see <http://www.gnu.org/licenses/>.    
  20.      
  21.         For more information on what the css does, see:  
  22.         https://discussions.apple.com/docs/DOC-7501    
  23.      
  24.         Change Log  
  25.         Version 0.6:  
  26.         -- Fold versions 0.43 and 0.50 into this version.  
  27.         -- Add GNU General Public License  
  28.         -- Add media tag to select on screen size.  
  29.         -- Scroll large code listings  
  30.         -- Change color highlights unread posts  
  31.         -- Fix size of thread content display.  
  32.         Version 0.61:  
  33.         -- Narrow text for printing listing of this file  
  34.         -- Delete "added in" comments about versioning.  Seems obvious to me without.  
  35.         -- More fixing of width of content display size of large window.  
  36.         -- Delete @-moz-document special case adjustment for max-width  
  37.         -- Size adjust for thread content and reply for large screens  
  38.         -- Reduce the amount of duplicate code  
  39.         Version 0.62  
  40.         -- avoid userstyles.org/ error messages  
  41.         -- pacify ASC badges for those who want to enable the code  
  42.            https://discussions.apple.com/message/30002950#30002950    
  43.      
  44.         ------> How to get rid of discussion list Badges Lines 115 to 146 <----  
  45.           Go down find this line of code  
  46.             .j-status-level.expertise-tile { display: none !important; }  
  47.           You need to eliminate the slash / star * before the line of code and  
  48.           the star * slash / after the line of code.  
  49.      
  50.           To get rid of all badges everywhere, uncomment the next three lines of code.  
  51.             Version 0.63  
  52.             -- Decided on a minimalist philosophy to focus on reading the posts.  
  53.             -- Don't display badges on list of discussion posts  
  54.             -- Footers should be short not take up a half a page.  
  55.             -- Show points on on profile popup!  
  56.             -- Adjust margin on one screen for all posts  
  57.      
  58.      
  59.     */  
  60.         /*  
  61.           Spanish  
  62.             https://communities.apple.com/es/docs/DOC-1004  
  63.         */    
  64.     @-moz-document  
  65.         domain(discussions.apple.com),  
  66.         domain(discussionsjapan.apple.com),  
  67.         domain(discussionskorea.apple.com)  
  68.     {  
  69.         /* Common css for small and large windows */  
  70.      
  71.         /* Scroll code listings.  set max-height of syntax highlighted code in thread  
  72.            content browser   v0.6 */  
  73.         .jive-rendered-content .dp-highlighter {  
  74.            max-height: 500px !important;  
  75.            overflow: auto !important;  
  76.         }                                                                                
  77.         /* Scroll code listings. set max-heiht of pre code (visible when javascript is disabled)  
  78.         v0.6 */  
  79.         .jive-rendered-content pre {  
  80.            max-height: 500px !important;  
  81.            overflow: auto !important;  
  82.         }    
  83.                                                                                
  84.         /* highlights in dark blue unread posts when logged in.  v0.6  
  85.      
  86.         All your posts  
  87.         https://discussions.apple.com/content?filterID=participated~objecttype~objecttype[thread]    
  88.      
  89.         Discussions you authored  
  90.         https://discussions.apple.com/content?filterID=contentstatus[published]~objecttype~objecttype[thread]    
  91.      
  92.         To see the discussions you have read and not read in a community  
  93.         The suffix to use for any ASC forum, placed after the basic link to any forum, it's  
  94.         /content?filterID=contentstatus[published]~objecttype~objecttype[thread]  
  95.      
  96.         for iPhone community this would be:  
  97.         https://discussions.apple.com/community/iphone/using_iphone/content?filterID=contentstatus[published]~objecttype~objecttype[thread]    
  98.      
  99.      
  100.      
  101.         */  
  102.         .j-td-title strong {color:#191970 !important; font-weight: normal !important;}  
  103.      
  104.                
  105.             /* added or changed in 0.63 'til 0.64 insertion point */  
  106.          
  107.         /* Avoid double scrolling in posts which happened here:  
  108.            https://discussions.apple.com/docs/DOC-9254    
  109.            #globalfooter and #globaldisclaimer elements which originally define the width  
  110.            to fixed value as 980px   0.62  
  111.         */  
  112.      
  113.         #globalfooter, #globaldisclaimer { width: 80% !important; }  
  114.      
  115.         /* Get more vertical space.  This line gets rid of the global Apple navigation bar at the top.  
  116.            The black bar with Apple-Logo Mac iPad iPhone Watcsh Tv Music Support  
  117.         */  
  118.         #global-nav-wrapper {display: none !important; }  
  119.      
  120.             /* Pacify badges  
  121.                These four lines, when uncommented, eliminate the display of badges. Some or all of the  
  122.                lines are commend out.  Each comment starts all the way to the left.  
  123.         */  
  124.      
  125.         /* -------------------------------------------------------------------------------  
  126.             THREAD CONTENT BROWSER  
  127.             status level expertise badge  
  128.             To avoid formatting problems of badges overlapping next post, enable this line.  
  129.         */  
  130.              .j-status-level.expertise-tile { display: none !important; }    
  131.      
  132.         /* ---------------------------------------------------------------------------------  
  133.            THREAD LIST BROWSER  
  134.            leader board  
  135.         */  
  136.              .jive-widget-leaderboardwidget {display: none !important; }  
  137.      
  138.           /* ---------------------------------------------------------------------------------  
  139.               PROFILE  
  140.               profile status container for specialties and awards  
  141.           */  
  142.     /*    .profile-status-container { display: none !important; } */  
  143.      
  144.         /* profile modal note status row for specialties and awardds */  
  145.     /*    .status-row { display: none !important; } */  
  146.      
  147.             /* Rambling footer stuff */  
  148.            
  149.             /* no more legalistic bomblast */  
  150.             #globaldisclaimer.sosumi {display: none !important; }      
  151.             /* Not a complete path to here, so why be mislead */  
  152.             #j-footer #breadcrumbs {display: none !important; }  
  153.             /* Guess by now folks know how to buy an apple product */  
  154.             p.gf-buy {display: none !important; }  
  155.            
  156.             /* Reveal points in popup when you click on a ASC id */  
  157.             .level-points > span {display: inherit !important;}     /* Display point information */  
  158.        
  159.             /* 0.64 insertion point */  
  160.        
  161.         /* Combine duplicate code here.  v 0.61 */  
  162.      
  163.         /* ---------------------------------------------------------------------------------  
  164.             BODY  
  165.         */  
  166.         body.j-body-welome,             /* Welcome */  
  167.         body.j-body-place,              /* Community */  
  168.         body.j-body-yourwork,           /* Content */  
  169.         body.j-body-home,               /* Activity */  
  170.         body.j-body-yourconnections,    /* People */  
  171.         body.j-body-preferences,        /* Preferences */  
  172.         body.jive-body-content,         /* Thread */  
  173.         body.jive-body-search,          /* Search */  
  174.         body.jive-view-profile          /* Profile */  
  175.         {                                                                       /* v0.43 */  
  176.             background: white !important;   /* Effectively overrides most of the body color.  
  177.                                               These are more specific.  */  
  178.         }  
  179.      
  180.      
  181.         /* ---------------------------------------------------------------------------------  
  182.             TEXT  
  183.         */  
  184.         /* line spacing */  
  185.         .jive-content { line-height: 1.25 !important; }  
  186.      
  187.      
  188.         /* ---------------------------------------------------------------------------------  
  189.             ASC HEADER AREA  
  190.         */  
  191.         #j-header,  
  192.         #j-compact-header,  
  193.         #j-footer { width: 100% !important; }  
  194.      
  195.         /* navigation header (Apple Support Communities ...) */  
  196.         #j-header-wrap {  
  197.             padding: 0px 40px !important;  
  198.             margin: 0px 0px 15px !important;  
  199.         }  
  200.         #j-globalNav-bg {  
  201.             padding: 0pX !important;  
  202.             margin: 0px !important;  
  203.         }  
  204.         #j-satNav { overflow: visible !important; }  
  205.         #jive-breadcrumb { right: 40px !important; }  
  206.      
  207.      
  208.         /* ---------------------------------------------------------------------------------  
  209.             THREAD LIST BROWSER - list of discussions in a Community  
  210.         */  
  211.      
  212.         /* show author name in 'Latest activity' column in detailed list view of threads */  
  213.         td.j-td-date > span { display : inherit !important; }  
  214.      
  215.         /* main section */  
  216.         #j-main { padding: 0px !important; }  
  217.      
  218.         /* table cell title */  
  219.         .jive-table td.jive-table-cell-title { padding: 5px !important; }  
  220.            
  221.         /* thread list view column widths */                                        /* v0.43 */  
  222.         .j-browse-details .j-td-title { max-width: none !important; }  
  223.         .j-browse-details .j-td-date {  
  224.             width: auto !important;  
  225.             max-width: 20% !important;  
  226.         }  
  227.         /* threads list view table tr td  */  
  228.         .j-browse-details-tbody tr td { padding: 5px !important; }  
  229.      
  230.         /* communities list view table tr td */  
  231.         .jive-communities-listing table tr td { padding: 5px !important; }  
  232.      
  233.         /* thumbnails view width */  
  234.         .j-browse-content .j-thumb-view,  
  235.         .j-browse-places .j-browse-thumbnails,  
  236.         .j-browse-people .j-browse-thumbnails { width: 100% !important; }  
  237.      
  238.         /* thumbnail view list item margin */                                        /* v0.43 */  
  239.         .j-browse-content .j-thumb-view > li,  
  240.         .j-browse-places .j-browse-thumbnails > li { margin-right: 20px !important; }  
  241.      
  242.         /* social actions row */  
  243.         .apple-social-actions-wrapper { margin-right: 0px !important; }  
  244.         .j-thread .j-social-actions { margin-right: 40px !important; }  
  245.      
  246.         /* apple header, subheader row ("Find helpful contents..." etc )    fixed in v0.43 */  
  247.         #apple-full-subheader,  
  248.         #apple-activity-subheader {  
  249.             padding: 0px 40px 15px !important;  
  250.             margin-bottom: 15px !important;  
  251.         }  
  252.         #apple-full-header h2,  
  253.         #apple-activity-header h2 { padding: 0px 40px !important; }  
  254.      
  255.         /* page header */  
  256.         .j-body-place #jive-body > header.j-page-header {  
  257.             margin-left: 40px !important;  
  258.             margin-right: 40px !important;  
  259.             width: auto !important;  
  260.         }  
  261.      
  262.         /* browser filter row */  
  263.         #j-browse-filters { margin-bottom: 5px !important; }  
  264.      
  265.         /* browser controls row */  
  266.         .j-type-row { margin-bottom: 0px !important; }  
  267.      
  268.         /* browser controls content types (All Contents|User Tips|Discussions) width */  
  269.         #js-browse-controls .j-type-row .j-content-types { width: 90% !important; }  
  270.      
  271.         /* browser controls view toggle (Thumbnails|Details) width */  
  272.         #js-browse-controls #j-item-view-toggle {  
  273.             width: 10% !important;  
  274.             display: table !important;  
  275.         }  
  276.      
  277.         /* content filter row (All|Open|Answered|Threads) */  
  278.         .j-content-filter {  
  279.             background: white !important;  
  280.             margin-bottom: 10px !important;  
  281.         }  
  282.      
  283.         /* container canvas */  
  284.         .j-contained {  
  285.             margin-left: 40px !important;  
  286.             margin-right: 40px !important;  
  287.         }  
  288.      
  289.         /* category filter bar */  
  290.         .jive-content-filter {  
  291.             left: 0px !important;  
  292.             width: 80% !important;  
  293.         }  
  294.         .touchcarousel-wrapper { width: 100% !important; }  
  295.         .touchcarousel .tc-paging-container { width: 90% !important; }                /* v0.41 */  
  296.      
  297.         /* more search results available */  
  298.         #j-more-search-results-available { padding: 10px !important; }  
  299.      
  300.         /* misc */  
  301.         .jive-widget { margin-bottom: 10px !important; }  
  302.         .j-column { margin-bottom: 10px !important; }  
  303.      
  304.      
  305.         /* ---------------------------------------------------------------------------------  
  306.             THREAD CONTENT BROWSER - Displays the contents of the posts.  
  307.         */  
  308.         /* thread header */  
  309.         .apple-thread-header {  
  310.             width: auto !important;  /* v0.6 no more*/  
  311.             margin-bottom: 10px !important;  
  312.             margin-left: 40px !important;  
  313.         }  
  314.      
  315.         /* thread original post */  
  316.         .j-thread .jive-content { margin: 0px 40px 0px 140px !important; }  
  317.      
  318.         /* thread replies ul */  
  319.         ul.jive-discussion-replies.jive-discussion-indent-0 { margin: 0px !important; }  
  320.      
  321.         /* thread reply li */  
  322.         .jive-discussion-replies li.reply { margin-top: 15px !important; }  
  323.      
  324.         /* thread view indent */  
  325.         .jive-discussion-indent-1 li.reply { padding-left: 15px !important; }  
  326.      
  327.         /* thread info */  
  328.         .jive-thread-info {  
  329.             padding: 10px 40px !important;  
  330.             margin: 0px !important;  
  331.         }  
  332.      
  333.         /* thread answer rollup */  
  334.         .j-answer-rollup { margin: 30px 0px !important; }  
  335.      
  336.         /* thread post header (poster, date, response to) */  
  337.         .j-thread-post > header {  
  338.             padding: 10px 20px 0px 20px !important;  
  339.             margin-bottom: 12px !important;  
  340.         }  
  341.      
  342.         /* thread post section (message body) */  
  343.         .j-thread-post section {  
  344.             padding: 0px 20px !important;  
  345.             margin-bottom: 6px !important;  
  346.         }  
  347.      
  348.         /* thread post footer (Like|Reply etc) */  
  349.         .j-thread-post footer { padding: 0px 15px !important; }  
  350.         .j-thread-post footer > ul { padding: 2px !important; }  
  351.         .j-thread-post footer > .acclaim-container { margin: 5px 0px !important; }  
  352.      
  353.         /* thread rendered content. The text in the orginal post and replies.  */  
  354.         .jive-rendered-content {  
  355.             padding-bottom: 4px !important;  
  356.         }  
  357.      
  358.         /* thread rendered content quote & pre */  
  359.         .jive-rendered-content .jive-quote,  
  360.         .jive-rendered-content .jive-pre {  
  361.             margin: 5px 15px !important;  
  362.         }  
  363.      
  364.         /* thread reply footer (Return to Community|Go to original post) */  
  365.         #jive-thread-reply-footer {    margin-top: 10px !important; }  
  366.      
  367.         /* more like this links, incoming links */  
  368.         #apple-related-threads { margin: 0px 40px !important; }  
  369.         #apple-related-threads .j-box { margin-bottom: 0px !important; }  
  370.         .j-icon-list li { padding: 3px 0px 3px 22px !important; }  
  371.      
  372.      
  373.         /* ---------------------------------------------------------------------------------  
  374.             INLINE EDITOR  
  375.         */  
  376.         /* editor */  
  377.         .jive-discussion-replies li.addReply { margin: 50px 40px 0px !important; }  
  378.      
  379.      
  380.         /* ---------------------------------------------------------------------------------  
  381.             ADVANCED EDITOR  
  382.         */  
  383.         /* content area */  
  384.         .j-thread .jive-content.jive-create-thread,  
  385.         .jive-body-formpage-document .jive-content.doc-page {  
  386.             margin: 0px 40px !important;  
  387.             padding: 0px !important;  
  388.         }  
  389.      
  390.         /* header */  
  391.         .j-thread .jive-content.jive-create-thread h2,  
  392.         .jive-body-formpage-document .jive-content.doc-page h2 { padding: 0px !important; }  
  393.      
  394.         /* editor panel */  
  395.         .j-thread .jive-content.jive-create-thread #jive-compose-title,  
  396.         .j-thread .jive-content.jive-create-thread .jive-editor-panel.jive-large-editor-panel,  
  397.         .jive-body-formpage-document .jive-content.doc-page #jive-compose-title,  
  398.         .jive-body-formpage-document .jive-content.doc-page .jive-editor-panel.jive-large-editor-panel { margin: 0px !important; }  
  399.      
  400.         /* line height in editor */  
  401.         body.tiny_mce_content { line-height: inherit !important; }  
  402.      
  403.         /* replying to */  
  404.         .jive-body-formpage-comment .jive-thread-message { margin: 0px !important; }  
  405.      
  406.         /* buttons (Reply|Cancel) */  
  407.         .j-publishbar,  
  408.         .jive-body-formpage .jive-composebuttons { margin: 20px 40px 0px !important; }  
  409.      
  410.      
  411.         /* ---------------------------------------------------------------------------------  
  412.             SEARCH RESULTS  
  413.         */  
  414.         /* search result entry */  
  415.         .j-search-results-main-container .j-search-result  
  416.             { padding: 10px !important; }    /* v0.43 */  
  417.      
  418.      
  419.         /* ---------------------------------------------------------------------------------  
  420.             DOC (USER TIP)  
  421.         */                                                                            /* v0.43 */  
  422.         /* user tip canvas */  
  423.         .jive-body-content.j-doc .j-column-wrap-l { margin: 0px 40px !important; }  
  424.      
  425.      
  426.         /* ---------------------------------------------------------------------------------  
  427.             PROFILE  
  428.         */                                                                            /* v0.43 */  
  429.         /* header & navigation bar (Bio|Activity|Content|Communities) */  
  430.         .j-view-profile .j-page-header { padding: 10px 40px !important; }  
  431.         .j-bigtab-nav { margin: 10px 40px !important; }  
  432.      
  433.         /* Bio */  
  434.         .j-layout-l .j-column-wrap-l { width: 100% !important; }  
  435.      
  436.         /* Communities (places) sidebar ui blue marker adjustment  
  437.             (according to the sidebar width changed to 166px from 180px for selector:  
  438.             .j-layout-sl.j-browse-places .j-column-s in PLACES section)  */  
  439.         .j-view-profile .j-second-nav ul > li.active  { width: 156px !important; }  
  440.      
  441.      
  442.      
  443.      
  444.     /* Wide screen browser  
  445.         ===================  
  446.      
  447.         This rule set will be fine for normal to wide window whose width is ca. 1265px or greater.  
  448.         However, it will not be beneficial to very narrow window of 700-900px in width.  
  449.     */  
  450.      
  451.     @media all and (min-width: 1265px) {                                               /* v0.6 */  
  452.         /* ---------------------------------------------------------------------------------  
  453.             BODY  
  454.         */  
  455.      
  456.         body {  
  457.             background: white;  
  458.             min-width: 0px !important;  
  459.         }  
  460.         #body-apple {  
  461.             width: 100% !important;  
  462.             min-width: 0px !important;  
  463.         }  
  464.      
  465.      
  466.         /* ---------------------------------------------------------------------------------  
  467.             ASC TOP PAGE  
  468.         */  
  469.         #jive-widgetframe-body_5780758 > .content-large,    /* discussions.apple.com */  
  470.         #jive-widgetframe-body_188974  > .content-large,    /* discussionsjapan.apple.com */  
  471.                                                             /* v0.42 */  
  472.         #jive-widgetframe-body_20835   > .content-large        /* discussionskorea.apple.com */  
  473.                                                             /* v0.42 */  
  474.         {                                                    /* added parent id in v0.41 */  
  475.             text-align: center !important;  
  476.             overflow-x: auto !important;  
  477.             overflow-y: hidden !important;  
  478.         }  
  479.         .apple-communities {  
  480.             display: inline-block !important;  
  481.             width: 1120px !important;  
  482.             text-align: left !important;  
  483.         }  
  484.      
  485.      
  486.         /* ---------------------------------------------------------------------------------  
  487.             THREAD LIST BROWSER - list of discussions in a Community  
  488.         */  
  489.      
  490.      
  491.         /* ------------------  
  492.             When uncommented, hide Like and Bookmark columns in thread list view.  
  493.         */                                                                /* v0.43 (optional) */  
  494.         /* ~~~~~~~~~~~~~~~~~~~~ (currently commented out) ~~~>  
  495.         .j-browse-details .j-td-likes,  
  496.         .j-browse-details .j-td-bookmarks { display: none !important; }  
  497.         .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th,  
  498.         .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th + th  
  499.             { display: none !important; }  
  500.         .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th + th + th  
  501.             { display: table-cell !important; }  
  502.         <~~~~~~~~~~~~~~~~~~~~  */  
  503.      
  504.      
  505.         /* ------------------  
  506.             Treatment for narrow window  
  507.             Method 1 (minimum optimization)  
  508.      
  509.             Adjust thread list table's shift and margin to maximize its width.  
  510.         */                                                                                /* v0.43 */  
  511.         .j-layout-sl.j-browse-content .j-column-wrap-l { margin-left: -166px !important; }  
  512.         .j-layout-sl.j-browse-content .j-column-l      { margin-left: 166px !important; }  
  513.         .j-layout-sl.j-browse-content .j-column-s      { width: 166px !important; }  
  514.         /* ------------------ */  
  515.      
  516.         /* ------------------  
  517.             Swap left-right positions of thread list table and sidebar ui (filters & actions)  
  518.         */                                                                                /* fixed in v0.43 */  
  519.         /* let thread list table float left */  
  520.         .j-layout-sl.j-browse-content .j-column-wrap-l,  
  521.         .j-layout-sl.j-browse-places .j-column-wrap-l { float: left !important; }  
  522.      
  523.         /* let sidebar ui float right */  
  524.         .j-layout-sl.j-browse-content .j-column-s,  
  525.         .j-layout-sl.j-browse-places .j-column-s { float: right !important; }  
  526.         /* ------------------ */  
  527.      
  528.      
  529.         /* ---------------------------------------------------------------------------------  
  530.             THREAD CONTENT BROWSER - Displays the contents of the posts.  
  531.         */  
  532.      
  533.         /*  
  534.           Put the brakes on infinite expansion of text.  Sets how wide the text display area in a  
  535.           window can get. Eventhou the window maybe large, folks find it easier to read  
  536.           the words when the text area is smaller.  
  537.         */  
  538.         /* Original post.  Includes answering post if present */  
  539.         /* posts in thread */  
  540.         /* Types of replies */  
  541.         #jive-thread-messages-container,  
  542.         /* Advanced reply */  
  543.         #jive-body {  
  544.             max-width: 1100px !important;    /* v0.61 */  
  545.          }  
  546.        
  547.      
  548.         /* ------------------  
  549.             Treatment for narrow window  
  550.             Method 1 (minimum optimization)  
  551.      
  552.             Adjust community list table's shift and margin to maximize its width.  
  553.         */                                                                            /* v0.43 */  
  554.         .j-layout-sl.j-browse-places .j-column-wrap-l { margin-left: -166px !important; }  
  555.         .j-layout-sl.j-browse-places .j-column-l      { margin-left: 166px !important; }  
  556.         .j-layout-sl.j-browse-places .j-column-l      { padding-left: 0px !important; }  
  557.         .j-layout-sl.j-browse-places .j-column-s      { width: 166px !important; }  
  558.         /* ------------------ */  
  559.      
  560.         /* ---------------------------------------------------------------------------------  
  561.             ACTIVITY STREAM  
  562.         */  
  563.         /* activity entry */  
  564.         .j-act-entry { padding: 5px 0px 10px 100px !important; }  
  565.      
  566.         /* activity title */  
  567.         .j-body-home .j-act-title { padding: 5px 0px 5px 24px !important; }  
  568.      
  569.         /* activity body & comment */                                                /* v0.43 */  
  570.         .j-body-home .j-act-init { padding: 5px 0px 10px 100px !important; }  
  571.         .apple-activity-comments-wrapper { margin-left: 0px !important; }  
  572.      
  573.         /* Like list */  
  574.         .j-act-grouped .j-act-g-item { padding: 3px !important; }  
  575.      
  576.         /* -----------------------------------------------------------------------------------  
  577.            PLACES  
  578.         */                                                                            /* v0.43 */  
  579.         /* latest activity column */  
  580.         .j-browse-details .j-td-activity { max-width: 650px !important; }  
  581.      
  582.      
  583.     } /* end of media for wide screen */  
  584.      
  585.      
  586.       /* Narrow screen browser  
  587.          =====================  
  588.       */  
  589.      
  590.       @media all and (max-width: 1265px) {                                           /* v0.6 */  
  591.         /* styles for small screens ( narrow browsers window )  
  592.            ========================  
  593.          
  594.            Narrow is basically the same as the above wide screen browser except that this lets  
  595.            the sidebar column (filter column) in list view be pushed down or up in layout flow  
  596.            to make room for the main column (table column) when the window is not wide enough.  
  597.            It is done by setting margin-left and padding-left of main column to 0 and setting  
  598.            max-width of main column, which is currently 1019px.  Consequently, if window width  
  599.            is less than 1265px (= 40 (margin-left) + 1019 (main column) + 166 (sidebar colum)  
  600.            + 40 (margin-right)), sidebar column is pushed down or up according to document  
  601.            tree order. This rule set is intended to be useful for normal to narrow window  
  602.            whose width is in range ca. 700-1400px. It can be used for wider window as well but  
  603.            there's no point to set the max-width of main column in order to move sidebar  
  604.            column when the window is wide enough.  
  605.          
  606.            custom styles for Apple Support Communities board system introduced in 2014-06  
  607.            (v 0.5)  
  608.         */  
  609.              
  610.         /* -----------------------------------------------------------------------------------  
  611.             BODY  
  612.         */  
  613.      
  614.         body {  
  615.             background: white;  
  616.             min-width: 0px !important;  
  617.         }  
  618.      
  619.         #body-apple {  
  620.             width: 100% !important;  
  621.             min-width: 0px !important;  
  622.         }  
  623.      
  624.         /* Text reflow problem with New Activity Content etc.  
  625.            https://discussions.apple.com/thread/7517905    
  626.            Provide work-around.  Maybe Firefox issue.  
  627.         */  
  628.         #apple-site-title { font-size: 14px !important; }  
  629.      
  630.         /* -----------------------------------------------------------------------------------  
  631.             ASC TOP PAGE  
  632.         */  
  633.         #jive-widgetframe-body_5780758 > .content-large,    /* discussions.apple.com */  
  634.         #jive-widgetframe-body_188974  > .content-large,    /* discussionsjapan.apple.com v0.42 */  
  635.         #jive-widgetframe-body_20835   > .content-large     /* discussionskorea.apple.com v0.42 */  
  636.         {                                                   /* added parent id in v0.41 */  
  637.             text-align: center !important;  
  638.             overflow-x: auto !important;  
  639.             overflow-y: hidden !important;  
  640.         }  
  641.         .apple-communities {  
  642.             display: inline-block !important;  
  643.             width: 1120px !important;  
  644.             text-align: left !important;  
  645.         }  
  646.      
  647.      
  648.         /* -----------------------------------------------------------------------------------  
  649.             THREAD LIST BROWSER  
  650.         */  
  651.      
  652.         /* ------------------  
  653.             Hide Like and Bookmark columns in thread list view.  
  654.         */                                                                            /* v0.43 */  
  655.         /* ------------------ display in small screen        changed 0.6 */  
  656.         .j-browse-details .j-td-likes,  
  657.         .j-browse-details .j-td-bookmarks { display: none !important; }  
  658.         .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th,  
  659.         .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th + th  
  660.             { display: none !important; }  
  661.         .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th + th + th  
  662.             { display: table-cell !important; }  
  663.         /* ------------------ */  
  664.      
  665.      
  666.         /* ------------------  
  667.             Treatment for narrow window  
  668.             Method 1 (minimum optimisation)  
  669.      
  670.             Adjust thread list table's shift and margin to maximize its width.  
  671.         */                                                                            /* v0.43 */  
  672.         /* ------------------ (currently commented out)  
  673.         .j-layout-sl.j-browse-content .j-column-wrap-l { margin-left: -166px !important; }  
  674.         .j-layout-sl.j-browse-content .j-column-l      { margin-left: 166px !important; }  
  675.         .j-layout-sl.j-browse-content .j-column-s      { width: 166px !important; }  
  676.         ------------------ */  
  677.         /* ------------------  
  678.             Treatment for narrow window  
  679.             Method 2 (more beneficial to narrow window but has disadvantage for wide window)  
  680.          
  681.             Let thread list table have full width but not exceed 1019px to make room for sidebar  
  682.             ui (filters & actions).  If window is wide enough (>=1265px), sidebar ui is displayed  
  683.             next to thread list table, otherwise it is displayed below or above it (depending  
  684.             upon its document tree order).  
  685.          
  686.             * sidebar width (constant)    = 166px  
  687.             * thread table max width      = 1019px  
  688.             * canvas margin-left          = 40px  
  689.             * canvas margin-right         = 40px  
  690.             ---------------------------------------  
  691.             * total                       = 1265px  
  692.         */                                                                          /* v0.5 */  
  693.         /* ------------------ (currently active) */  
  694.         .j-layout-sl.j-browse-content .j-column-wrap-l { max-width: 1019px !important; }  
  695.         .j-layout-sl.j-browse-content .j-column-wrap-l { margin-left: 0px !important; }  
  696.         .j-layout-sl.j-browse-content .j-column-l      { margin-left: 0px !important; }  
  697.         .j-layout-sl.j-browse-content .j-column-s      { width: 166px !important; }  
  698.         /* ------------------ */  
  699.      
  700.         /* ------------------  
  701.             Swap left-right positions of thread list table and sidebar ui (filters & actions)  
  702.         */                                                                    /* fixed in v0.43 */  
  703.         /* let thread list table float left */  
  704.         .j-layout-sl.j-browse-content .j-column-wrap-l,  
  705.         .j-layout-sl.j-browse-places .j-column-wrap-l { float: left !important; }  
  706.      
  707.         /* let sidebar ui float right */  
  708.         .j-layout-sl.j-browse-content .j-column-s,  
  709.         .j-layout-sl.j-browse-places .j-column-s { float: right !important; }  
  710.         /* ------------------ */  
  711.      
  712.      
  713.         /* -----------------------------------------------------------------------------------  
  714.             THREAD CONTENT BROWSER - Displays the contents of the posts.  
  715.         */  
  716.      
  717.         /* -----------------------------------------------------------------------------------  
  718.             ACTIVITY STREAM  
  719.         */  
  720.         /* activity entry */  
  721.         .j-act-entry { padding: 5px 0px 10px 100px !important; }  
  722.      
  723.         /* activity title */  
  724.         .j-body-home .j-act-title { padding: 5px 0px 5px 24px !important; }  
  725.      
  726.         /* activity body & comment */                                                /* v0.43 */  
  727.         .j-body-home .j-act-init,  
  728.         .j-view-profile .j-act-init { padding: 5px 0px 10px 100px !important; }  
  729.         .apple-activity-comments-wrapper { margin-left: 0px !important; }  
  730.      
  731.         /* Like list */  
  732.         .j-act-grouped .j-act-g-item { padding: 3px !important; }  
  733.      
  734.      
  735.      
  736.         /* -----------------------------------------------------------------------------------  
  737.             PLACES  
  738.         */                                                                         /* v0.43 */  
  739.         /* latest activity column */  
  740.         .j-browse-details .j-td-activity { max-width: 650px !important; }  
  741.      
  742.      
  743.         /* ------------------  
  744.             Treatment for narrow window  
  745.             Method 1 (minimum optimisation)  
  746.      
  747.             Adjust community list table's shift and margin to maximize its width.  
  748.         */                                                                            /* v0.43 */  
  749.         /* ------------------ (currently commented out)  
  750.         .j-layout-sl.j-browse-places .j-column-wrap-l { margin-left: -166px !important; }  
  751.         .j-layout-sl.j-browse-places .j-column-l      { margin-left: 166px !important; }  
  752.         .j-layout-sl.j-browse-places .j-column-s      { width: 166px !important; }  
  753.         ------------------ */  
  754.         /* ------------------  
  755.             Treatment for narrow window  
  756.             Method 2 (more beneficial to narrow window but has disadvantage for wide window)  
  757.          
  758.             Let community list table have full width but not exceed 1019px to make room for  
  759.             sidebar ui (filters & actions).  If window is wide enough (>=1265px), sidebar ui  
  760.             is displayed next to community list table, otherwise it is displayed below or above  
  761.             it (depending upon its document tree order).  
  762.          
  763.             * sidebar width (constant)    = 166px  
  764.             * community table max width   = 1019px  
  765.             * canvas margin-left          = 40px  
  766.             * canvas margin-right         = 40px  
  767.             ---------------------------------------  
  768.             * total                       = 1265px  
  769.         */                                                                            /* v0.5 */  
  770.         /* ------------------ (currently active) */  
  771.         .j-layout-sl.j-browse-places .j-column-wrap-l { max-width: 1019px !important; }  
  772.         .j-layout-sl.j-browse-places .j-column-wrap-l { margin-left: 0px !important; }  
  773.         .j-layout-sl.j-browse-places .j-column-l      { margin-left: 0px !important; }  
  774.         .j-layout-sl.j-browse-places .j-column-l      { padding-left: 0px !important; }  
  775.         .j-layout-sl.j-browse-places .j-column-s      { width: 166px !important; }      
  776.         /* ------------------ */  
  777.      
  778.      
  779.       }  /* end of media for narrow browsers. */  
  780.      
  781.      
  782.     } /* @-moz-document */  
  783.      
  784.     /* Leave the login window footer alone. So, turn these fields back on.  
  785.         */  
  786.         @-moz-document  
  787.         url-prefix(https://discussions.apple.com/people/),  
  788.         url-prefix(https://discussions.apple.com/welcome),  
  789.         url-prefix(https://discussionsjapan.apple.com/people/),    
  790.         url-prefix(https://discussionsjapan.apple.com/welcome/),  
  791.         url-prefix(https://discussionskorea.apple.com/people/),  
  792.         url-prefix(https://discussionskorea.apple.com/welcome/)      
  793.             {  
  794.             /* legalistic bomblast on login window*/  
  795.             #globaldisclaimer.sosumi {display: inherit !important; }        
  796.             /* path to here */  
  797.             #j-footer #breadcrumbs {display: inherit !important; }  
  798.             /* apple product info */  
  799.             p.gf-buy {display: inherit !important; }  
  800.            
  801.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement