Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body><p>For those who do not want to have to make any edits, here is the complete CSS to display the ASC forum content with the likes, bookmarks and replies icons. Posts and replies within a thread are shown at the Apple default size.</p>
- <p></p>
- <p>(Note: next reply is the complete CSS to display same, but without likes or bookmarks)</p>
- <p></p>
- <p>CODE: SELECT ALL</p>
- <p></p>
- <pre class="jive_text_macro jive_macro_code _jivemacro_uid_14668746751858692" jivemacro="code" _modifiedtitle="true" _jivemacro_uid="_14668746751858692" ___default_attr="css">
- <p> /*</p>
- <p> custom styles for Apple Support Communities board system introduced in 2014-06 (v 0.6)</p>
- <p> </p>
- <p> Copyright 2014 Hiroto, et. al.</p>
- <p> </p>
- <p> GNU General Public License</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> This program is free software: you can redistribute it and/or modify</p>
- <p> it under the terms of the GNU General Public License as published by</p>
- <p> the Free Software Foundation, version 3</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> This program is distributed in the hope that it will be useful,</p>
- <p> but WITHOUT ANY WARRANTY; without even the implied warranty of</p>
- <p> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</p>
- <p> GNU General Public License for more details.</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> For a copy of the GNU General Public License</p>
- <p> see <http://www.gnu.org/licenses/>.</p>
- <p> </p>
- <p> Change Log:</p>
- <p> -- Fold versions 0.43 and 0.50 into this version.</p>
- <p> -- Added media tag to select on screen size.</p>
- <p> -- Scroll large code listings</p>
- <p> -- Change color highlights unread posts</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> */</p>
- <p> @-moz-document</p>
- <p> url-prefix(https://discussions.apple.com/community/),</p>
- <p> url-prefix(https://discussions.apple.com/people/),</p>
- <p> url-prefix(https://discussions.apple.com/content)</p>
- <p> {</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* Scroll code listings. set max-height of syntax highlighted code in thread content browser */</p>
- <p> .jive-rendered-content .dp-highlighter {</p>
- <p> max-height: 500px !important;</p>
- <p> overflow: auto !important;</p>
- <p> } /* added in v0.6 */</p>
- <p> /* Scroll code listings. set max-heiht of pre code (visible when javascript is disabled) */</p>
- <p> .jive-rendered-content pre {</p>
- <p> max-height: 500px !important;</p>
- <p> overflow: auto !important;</p>
- <p> } </p>
- <p> /* added in v0.6 */</p>
- <p> </p>
- <p> /* highlights in dark blue unread posts when logged in. added in v0.6 */</p>
- <p> .j-td-title strong {color:#191970 !important; font-weight: normal !important;}</p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* Wide screen browser</p>
- <p> ===================</p>
- <p> </p>
- <p> This rule set will be fine for normal to wide window whose width is ca. 1265px or greater.</p>
- <p> However, it will not be beneficial to very narrow window of 700-900px in width.</p>
- <p> */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> @media all and (min-width: 1265px) /* added in v0.6 */</p>
- <p> {</p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> BODY</p>
- <p> */</p>
- <p> body.j-body-welome, /* Welcome */</p>
- <p> body.j-body-place, /* Community */</p>
- <p> body.j-body-yourwork, /* Content */</p>
- <p> body.j-body-home, /* Activity */</p>
- <p> body.j-body-yourconnections, /* People */</p>
- <p> body.j-body-preferences, /* Preferences */</p>
- <p> body.jive-body-content, /* Thread */</p>
- <p> body.jive-body-search, /* Search */</p>
- <p> body.jive-view-profile /* Profile */</p>
- <p> { /* added in v0.43 */</p>
- <p> background: white !important;</p>
- <p> }</p>
- <p> body {</p>
- <p> background: white;</p>
- <p> min-width: 0px !important;</p>
- <p> }</p>
- <p> #body-apple {</p>
- <p> width: 100% !important;</p>
- <p> min-width: 0px !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> TEXT</p>
- <p> */</p>
- <p> /* line spacing */</p>
- <p> .jive-content { line-height: 1.25 !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> </p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> ASC HEADER AREA</p>
- <p> */</p>
- <p> #j-header,</p>
- <p> #j-compact-header,</p>
- <p> #j-footer { width: 100% !important; }</p>
- <p> </p>
- <p> /* navigation header (Apple Support Communities ...) */</p>
- <p> #j-header-wrap {</p>
- <p> padding: 0px 40px !important;</p>
- <p> margin: 0px 0px 15px !important;</p>
- <p> }</p>
- <p> #j-globalNav-bg {</p>
- <p> padding: 0pX !important;</p>
- <p> margin: 0px !important;</p>
- <p> }</p>
- <p> #j-satNav { overflow: visible !important; }</p>
- <p> #jive-breadcrumb { right: 40px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> ASC TOP PAGE</p>
- <p> */</p>
- <p> #jive-widgetframe-body_5780758 > .content-large, /* discussions.apple.com */</p>
- <p> #jive-widgetframe-body_188974 > .content-large, /* discussionsjapan.apple.com */ /* added in v0.42 */</p>
- <p> #jive-widgetframe-body_20835 > .content-large /* discussionskorea.apple.com */ /* added in v0.42 */</p>
- <p> { /* added parent id in v0.41 */</p>
- <p> text-align: center !important;</p>
- <p> overflow-x: auto !important;</p>
- <p> overflow-y: hidden !important;</p>
- <p> }</p>
- <p> .apple-communities {</p>
- <p> display: inline-block !important;</p>
- <p> width: 1120px !important;</p>
- <p> text-align: left !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> THREAD LIST BROWSER</p>
- <p> */</p>
- <p> /* show author name in 'Latest activity' column in detailed list view of threads */</p>
- <p> td.j-td-date > span { display : inherit !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* main section */</p>
- <p> #j-main { padding: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* table cell title */</p>
- <p> .jive-table td.jive-table-cell-title { padding: 5px !important; }</p>
- <p> </p>
- <p> /* thread list view column widths */ /* added in v0.43 */</p>
- <p> .j-browse-details .j-td-title { max-width: none !important; }</p>
- <p> .j-browse-details .j-td-date {</p>
- <p> width: auto !important;</p>
- <p> max-width: 20% !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* ------------------</p>
- <p> Hide Like and Bookmark columns in thread list view.</p>
- <p> */ /* added in v0.43 (optional) */</p>
- <p> /* ------------------ (currently commented out)</p>
- <p> .j-browse-details .j-td-likes,</p>
- <p> .j-browse-details .j-td-bookmarks { display: none !important; }</p>
- <p> .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th,</p>
- <p> .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th + th { display: none !important; }</p>
- <p> .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th + th + th { display: table-cell !important; }</p>
- <p> ------------------ */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* threads list view table tr td */</p>
- <p> .j-browse-details-tbody tr td { padding: 5px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* communities list view table tr td */</p>
- <p> .jive-communities-listing table tr td { padding: 5px !important; }</p>
- <p> </p>
- <p> /* thumbnails view width */</p>
- <p> .j-browse-content .j-thumb-view,</p>
- <p> .j-browse-places .j-browse-thumbnails,</p>
- <p> .j-browse-people .j-browse-thumbnails { width: 100% !important; }</p>
- <p> </p>
- <p> /* thumbnail view list item margin */ /* added in v0.43 */</p>
- <p> .j-browse-content .j-thumb-view > li,</p>
- <p> .j-browse-places .j-browse-thumbnails > li { margin-right: 20px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* social actions row */</p>
- <p> .apple-social-actions-wrapper { margin-right: 0px !important; }</p>
- <p> .j-thread .j-social-actions { margin-right: 40px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* apple header, subheader row ("Find helpful contents..." etc )*/ /* fixed in v0.43 */</p>
- <p> #apple-full-subheader,</p>
- <p> #apple-activity-subheader {</p>
- <p> padding: 0px 40px 15px !important;</p>
- <p> margin-bottom: 15px !important;</p>
- <p> }</p>
- <p> #apple-full-header h2,</p>
- <p> #apple-activity-header h2 { padding: 0px 40px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* page header */</p>
- <p> .j-body-place #jive-body > header.j-page-header {</p>
- <p> margin-left: 40px !important;</p>
- <p> margin-right: 40px !important;</p>
- <p> width: auto !important;</p>
- <p> }</p>
- <p> </p>
- <p> /* browser filter row */</p>
- <p> #j-browse-filters { margin-bottom: 5px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* browser controls row */</p>
- <p> .j-type-row { margin-bottom: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* browser controls content types (All Contents|User Tips|Discussions) width */</p>
- <p> #js-browse-controls .j-type-row .j-content-types { width: 90% !important; }</p>
- <p> </p>
- <p> /* browser controls view toggle (Thumbnails|Details) width */</p>
- <p> #js-browse-controls #j-item-view-toggle {</p>
- <p> width: 10% !important;</p>
- <p> display: table !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* content filter row (All|Open|Answered|Threads) */</p>
- <p> .j-content-filter {</p>
- <p> background: white !important;</p>
- <p> margin-bottom: 10px !important;</p>
- <p> } </p>
- <p> </p>
- <p> /* container canvas */</p>
- <p> .j-contained {</p>
- <p> margin-left: 40px !important;</p>
- <p> margin-right: 40px !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* category filter bar */</p>
- <p> .jive-content-filter {</p>
- <p> left: 0px !important;</p>
- <p> width: 80% !important;</p>
- <p> }</p>
- <p> .touchcarousel-wrapper { width: 100% !important; }</p>
- <p> .touchcarousel .tc-paging-container { width: 90% !important; } /* added in v0.41 */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* more search results available */</p>
- <p> #j-more-search-results-available { padding: 10px !important; }</p>
- <p> </p>
- <p> /* misc */</p>
- <p> .jive-widget { margin-bottom: 10px !important; }</p>
- <p> .j-column { margin-bottom: 10px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------</p>
- <p> Treatment for narrow window</p>
- <p> Method 1 (minimum optimisation)</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> Adjust thread list table's shift and margin to maximize its width.</p>
- <p> */ /* added in v0.43 */</p>
- <p> .j-layout-sl.j-browse-content .j-column-wrap-l { margin-left: -166px !important; }</p>
- <p> .j-layout-sl.j-browse-content .j-column-l { margin-left: 166px !important; }</p>
- <p> .j-layout-sl.j-browse-content .j-column-s { width: 166px !important; }</p>
- <p> /* ------------------ */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* ------------------</p>
- <p> Swap left-right positions of thread list table and sidebar ui (filters & actions)</p>
- <p> */ /* fixed in v0.43 */</p>
- <p> /* let thread list table float left */</p>
- <p> .j-layout-sl.j-browse-content .j-column-wrap-l,</p>
- <p> .j-layout-sl.j-browse-places .j-column-wrap-l { float: left !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* let sidebar ui float right */</p>
- <p> .j-layout-sl.j-browse-content .j-column-s,</p>
- <p> .j-layout-sl.j-browse-places .j-column-s { float: right !important; }</p>
- <p> /* ------------------ */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> THREAD CONTENT BROWSER</p>
- <p> */</p>
- <p> /* thread header */</p>
- <p> .apple-thread-header {</p>
- <p> width: auto !important;</p>
- <p> margin-bottom: 10px !important;</p>
- <p> margin-left: 40px !important;</p>
- <p> }</p>
- <p> </p>
- <p> /* thread original post */</p>
- <p> .j-thread .jive-content { margin: 0px 40px 0px 140px !important; }</p>
- <p> </p>
- <p> /* thread replies ul */</p>
- <p> ul.jive-discussion-replies.jive-discussion-indent-0 { margin: 0px !important; }</p>
- <p> </p>
- <p> /* thread reply li */</p>
- <p> .jive-discussion-replies li.reply { margin-top: 15px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* thread view indent */</p>
- <p> .jive-discussion-indent-1 li.reply { padding-left: 15px !important; }</p>
- <p> </p>
- <p> /* thread info */</p>
- <p> .jive-thread-info {</p>
- <p> padding: 10px 40px !important;</p>
- <p> margin: 0px !important;</p>
- <p> }</p>
- <p> </p>
- <p> /* thread answer rollup */</p>
- <p> .j-answer-rollup { margin: 30px 0px !important; }</p>
- <p> </p>
- <p> /* thread post header (poster, date, response to) */</p>
- <p> .j-thread-post > header {</p>
- <p> padding: 10px 20px 0px 20px !important;</p>
- <p> margin-bottom: 12px !important;</p>
- <p> }</p>
- <p> </p>
- <p> /* thread post section (message body) */</p>
- <p> .j-thread-post section {</p>
- <p> padding: 0px 20px !important;</p>
- <p> margin-bottom: 6px !important;</p>
- <p> }</p>
- <p> </p>
- <p> /* thread post footer (Like|Reply etc) */</p>
- <p> .j-thread-post footer { padding: 0px 15px !important; }</p>
- <p> .j-thread-post footer > ul { padding: 2px !important; }</p>
- <p> .j-thread-post footer > .acclaim-container { margin: 5px 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* thread rendered content */</p>
- <p> .jive-rendered-content { padding-bottom: 4px !important; }</p>
- <p> </p>
- <p> /* thread rendered content quote & pre */</p>
- <p> .jive-rendered-content .jive-quote,</p>
- <p> .jive-rendered-content .jive-pre {</p>
- <p> margin: 5px 15px !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* thread reply footer (Return to Community|Go to original post) */</p>
- <p> #jive-thread-reply-footer { margin-top: 10px !important; }</p>
- <p> </p>
- <p> /* more like this links, incomming links */</p>
- <p> #apple-related-threads { margin: 0px 40px !important; }</p>
- <p> #apple-related-threads .j-box { margin-bottom: 0px !important; }</p>
- <p> .j-icon-list li { padding: 3px 0px 3px 22px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> INLINE EDITOR</p>
- <p> */</p>
- <p> /* editor */</p>
- <p> .jive-discussion-replies li.addReply { margin: 50px 40px 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> ADVANCED EDITOR</p>
- <p> */</p>
- <p> /* content area */</p>
- <p> .j-thread .jive-content.jive-create-thread,</p>
- <p> .jive-body-formpage-document .jive-content.doc-page {</p>
- <p> margin: 0px 40px !important;</p>
- <p> padding: 0px !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* header */</p>
- <p> .j-thread .jive-content.jive-create-thread h2,</p>
- <p> .jive-body-formpage-document .jive-content.doc-page h2 { padding: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* editor panel */</p>
- <p> .j-thread .jive-content.jive-create-thread #jive-compose-title,</p>
- <p> .j-thread .jive-content.jive-create-thread .jive-editor-panel.jive-large-editor-panel,</p>
- <p> .jive-body-formpage-document .jive-content.doc-page #jive-compose-title,</p>
- <p> .jive-body-formpage-document .jive-content.doc-page .jive-editor-panel.jive-large-editor-panel { margin: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* line height in editor */</p>
- <p> body.tiny_mce_content { line-height: inherit !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* replying to */</p>
- <p> .jive-body-formpage-comment .jive-thread-message { margin: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* buttons (Reply|Cancel) */</p>
- <p> .j-publishbar,</p>
- <p> .jive-body-formpage .jive-composebuttons { margin: 20px 40px 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> ACTIVITY STREAM</p>
- <p> */</p>
- <p> /* activity entry */</p>
- <p> .j-act-entry { padding: 5px 0px 10px 100px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* activity title */</p>
- <p> .j-body-home .j-act-title { padding: 5px 0px 5px 24px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* activity body & comment */ /* added in v0.43 */</p>
- <p> .j-body-home .j-act-init { padding: 5px 0px 10px 100px !important; }</p>
- <p> .apple-activity-comments-wrapper { margin-left: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* Like list */</p>
- <p> .j-act-grouped .j-act-g-item { padding: 3px !important; }</p>
- <p> </p>
- <p> </p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> SEARCH RESULTS</p>
- <p> */</p>
- <p> /* search result entry */</p>
- <p> .j-search-results-main-container .j-search-result { padding: 10px !important; } /* added in v0.43 */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> DOC (USER TIP)</p>
- <p> */ /* added in v0.43 */</p>
- <p> /* user tip canvas */</p>
- <p> .jive-body-content.j-doc .j-column-wrap-l { margin: 0px 40px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> PROFILE</p>
- <p> */ /* added in v0.43 */</p>
- <p> /* header & navigation bar (Bio|Activity|Content|Communities) */</p>
- <p> .j-view-profile .j-page-header { padding: 10px 40px !important; }</p>
- <p> .j-bigtab-nav { margin: 10px 40px !important; }</p>
- <p> </p>
- <p> /* Bio */</p>
- <p> .j-layout-l .j-column-wrap-l { width: 100% !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* Communities (places) sidebar ui blue marker adjustment</p>
- <p> (according to the sidebar width changed to 166px from 180px for selector: .j-layout-sl.j-browse-places .j-column-s</p>
- <p> in PLACES section) */</p>
- <p> .j-view-profile .j-second-nav ul > li.active { width: 156px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> PLACES</p>
- <p> */ /* added in v0.43 */</p>
- <p> /* latest activity column */</p>
- <p> .j-browse-details .j-td-activity { max-width: 650px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------</p>
- <p> Treatment for narrow window</p>
- <p> Method 1 (minimum optimisation)</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> Adjust community list table's shift and margin to maximize its width.</p>
- <p> */ /* added in v0.43 */</p>
- <p> .j-layout-sl.j-browse-places .j-column-wrap-l { margin-left: -166px !important; }</p>
- <p> .j-layout-sl.j-browse-places .j-column-l { margin-left: 166px !important; }</p>
- <p> .j-layout-sl.j-browse-places .j-column-l { padding-left: 0px !important; }</p>
- <p> .j-layout-sl.j-browse-places .j-column-s { width: 166px !important; }</p>
- <p> /* ------------------ */</p>
- <p> } /* end of wide screen */</p>
- <p></p>
- <p></p>
- <p></p>
- <p> @media all and (max-width: 1265px) /* added in v0.6 */</p>
- <p> {</p>
- <p> /* styles for narrow browsers</p>
- <p> ==========================</p>
- <p> </p>
- <p> Narrow is basically the same as the above wide screen browser except that this lets the sidebar</p>
- <p> column (filter column) in list view be pushed down or up in layout flow to make room for the main</p>
- <p> column (table column) when the window is not wide enough. It is done by setting margin-left and</p>
- <p> padding-left of main column to 0 and setting max-width of main column, which is currently 1019px.</p>
- <p> Consequently, if window width is less than 1265px (= 40 (margin-left) + 1019 (main column) + 166</p>
- <p> (sidebar colum) + 40 (margin-right)), sidebar column is pushed down or up according to document</p>
- <p> tree order. This rule set is intended to be useful for normal to narrow window whose width is in</p>
- <p> range ca. 700-1400px. It can be used for wider window as well but there's no point to set the</p>
- <p> max-width of main column in order to move sidebar column when the window is wide enough.</p>
- <p> </p>
- <p> custom styles for Apple Support Communities board system introduced in 2014-06 (v 0.5) */</p>
- <p> </p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> BODY</p>
- <p> */</p>
- <p> body.j-body-welome, /* Welcome */</p>
- <p> body.j-body-place, /* Community */</p>
- <p> body.j-body-yourwork, /* Content */</p>
- <p> body.j-body-home, /* Activity */</p>
- <p> body.j-body-yourconnections, /* People */</p>
- <p> body.j-body-preferences, /* Preferences */</p>
- <p> body.jive-body-content, /* Thread */</p>
- <p> body.jive-body-search, /* Search */</p>
- <p> body.jive-view-profile /* Profile */</p>
- <p> { /* added in v0.43 */</p>
- <p> background: white !important;</p>
- <p> }</p>
- <p> body {</p>
- <p> background: white;</p>
- <p> min-width: 0px !important;</p>
- <p> }</p>
- <p> #body-apple {</p>
- <p> width: 100% !important;</p>
- <p> min-width: 0px !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> TEXT</p>
- <p> */</p>
- <p> /* line spacing */</p>
- <p> .jive-content { line-height: 1.25 !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> </p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> ASC HEADER AREA</p>
- <p> */</p>
- <p> #j-header,</p>
- <p> #j-compact-header,</p>
- <p> #j-footer { width: 100% !important; }</p>
- <p> </p>
- <p> /* navigation header (Apple Support Communities ...) */</p>
- <p> #j-header-wrap {</p>
- <p> padding: 0px 40px !important;</p>
- <p> margin: 0px 0px 15px !important;</p>
- <p> }</p>
- <p> #j-globalNav-bg {</p>
- <p> padding: 0pX !important;</p>
- <p> margin: 0px !important;</p>
- <p> }</p>
- <p> #j-satNav { overflow: visible !important; }</p>
- <p> #jive-breadcrumb { right: 40px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> ASC TOP PAGE</p>
- <p> */</p>
- <p> #jive-widgetframe-body_5780758 > .content-large, /* discussions.apple.com */</p>
- <p> #jive-widgetframe-body_188974 > .content-large, /* discussionsjapan.apple.com */ /* added in v0.42 */</p>
- <p> #jive-widgetframe-body_20835 > .content-large /* discussionskorea.apple.com */ /* added in v0.42 */</p>
- <p> { /* added parent id in v0.41 */</p>
- <p> text-align: center !important;</p>
- <p> overflow-x: auto !important;</p>
- <p> overflow-y: hidden !important;</p>
- <p> }</p>
- <p> .apple-communities {</p>
- <p> display: inline-block !important;</p>
- <p> width: 1120px !important;</p>
- <p> text-align: left !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> THREAD LIST BROWSER</p>
- <p> */</p>
- <p> /* show author name in 'Latest activity' column in detailed list view of threads */</p>
- <p> td.j-td-date > span { display : inherit !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* main section */</p>
- <p> #j-main { padding: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* table cell title */</p>
- <p> .jive-table td.jive-table-cell-title { padding: 5px !important; }</p>
- <p> </p>
- <p> /* thread list view column widths */ /* added in v0.43 */</p>
- <p> .j-browse-details .j-td-title { max-width: none !important; }</p>
- <p> .j-browse-details .j-td-date {</p>
- <p> width: auto !important;</p>
- <p> max-width: 20% !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* ------------------</p>
- <p> Hide Like and Bookmark columns in thread list view.</p>
- <p> */ /* added in v0.43 (optional) */</p>
- <p> /* ------------------ (currently commented out)</p>
- <p> .j-browse-details .j-td-likes,</p>
- <p> .j-browse-details .j-td-bookmarks { display: none !important; }</p>
- <p> .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th,</p>
- <p> .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th + th { display: none !important; }</p>
- <p> .j-browse-details > table.j-browse-list > thead.j-rc4 > tr > th + th + th + th { display: table-cell !important; }</p>
- <p> ------------------ */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* threads list view table tr td */</p>
- <p> .j-browse-details-tbody tr td { padding: 5px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* communities list view table tr td */</p>
- <p> .jive-communities-listing table tr td { padding: 5px !important; }</p>
- <p> </p>
- <p> /* thumbnails view width */</p>
- <p> .j-browse-content .j-thumb-view,</p>
- <p> .j-browse-places .j-browse-thumbnails,</p>
- <p> .j-browse-people .j-browse-thumbnails { width: 100% !important; }</p>
- <p> </p>
- <p> /* thumbnail view list item margin */ /* added in v0.43 */</p>
- <p> .j-browse-content .j-thumb-view > li,</p>
- <p> .j-browse-places .j-browse-thumbnails > li { margin-right: 20px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* social actions row */</p>
- <p> .apple-social-actions-wrapper { margin-right: 0px !important; }</p>
- <p> .j-thread .j-social-actions { margin-right: 40px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* apple header, subheader row ("Find helpful contents..." etc )*/ /* fixed in v0.43 */</p>
- <p> #apple-full-subheader,</p>
- <p> #apple-activity-subheader {</p>
- <p> padding: 0px 40px 15px !important;</p>
- <p> margin-bottom: 15px !important;</p>
- <p> }</p>
- <p> #apple-full-header h2,</p>
- <p> #apple-activity-header h2 { padding: 0px 40px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* page header */</p>
- <p> .j-body-place #jive-body > header.j-page-header {</p>
- <p> margin-left: 40px !important;</p>
- <p> margin-right: 40px !important;</p>
- <p> width: auto !important;</p>
- <p> }</p>
- <p> </p>
- <p> /* browser filter row */</p>
- <p> #j-browse-filters { margin-bottom: 5px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* browser controls row */</p>
- <p> .j-type-row { margin-bottom: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* browser controls content types (All Contents|User Tips|Discussions) width */</p>
- <p> #js-browse-controls .j-type-row .j-content-types { width: 90% !important; }</p>
- <p> </p>
- <p> /* browser controls view toggle (Thumbnails|Details) width */</p>
- <p> #js-browse-controls #j-item-view-toggle {</p>
- <p> width: 10% !important;</p>
- <p> display: table !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* content filter row (All|Open|Answered|Threads) */</p>
- <p> .j-content-filter {</p>
- <p> background: white !important;</p>
- <p> margin-bottom: 10px !important;</p>
- <p> } </p>
- <p> </p>
- <p> /* container canvas */</p>
- <p> .j-contained {</p>
- <p> margin-left: 40px !important;</p>
- <p> margin-right: 40px !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* category filter bar */</p>
- <p> .jive-content-filter {</p>
- <p> left: 0px !important;</p>
- <p> width: 80% !important;</p>
- <p> }</p>
- <p> .touchcarousel-wrapper { width: 100% !important; }</p>
- <p> .touchcarousel .tc-paging-container { width: 90% !important; } /* added in v0.41 */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* more search results available */</p>
- <p> #j-more-search-results-available { padding: 10px !important; }</p>
- <p> </p>
- <p> /* misc */</p>
- <p> .jive-widget { margin-bottom: 10px !important; }</p>
- <p> .j-column { margin-bottom: 10px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------</p>
- <p> Treatment for narrow window</p>
- <p> Method 1 (minimum optimisation)</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> Adjust thread list table's shift and margin to maximize its width.</p>
- <p> */ /* added in v0.43 */</p>
- <p> /* ------------------ (currently commented out)</p>
- <p> .j-layout-sl.j-browse-content .j-column-wrap-l { margin-left: -166px !important; }</p>
- <p> .j-layout-sl.j-browse-content .j-column-l { margin-left: 166px !important; }</p>
- <p> .j-layout-sl.j-browse-content .j-column-s { width: 166px !important; }</p>
- <p> ------------------ */</p>
- <p> /* ------------------</p>
- <p> Treatment for narrow window</p>
- <p> Method 2 (more beneficial to narrow window but has disadvantage for wide window)</p>
- <p> </p>
- <p> Let thread list table have full width but not exceed 1019px to make room for sidebar ui (filters & actions).</p>
- <p> If window is wide enough (>=1265px), sidebar ui is displayed next to thread list table,</p>
- <p> otherwise it is displayed below or above it (depending upon its document tree order).</p>
- <p> </p>
- <p> * sidebar width (constant) = 166px</p>
- <p> * thread table max width = 1019px</p>
- <p> * canvas margin-left = 40px</p>
- <p> * canvas margin-right = 40px</p>
- <p> ---------------------------------------</p>
- <p> * total = 1265px</p>
- <p> */ /* added in v0.5 */</p>
- <p> /* ------------------ (currently active) */</p>
- <p> .j-layout-sl.j-browse-content .j-column-wrap-l { max-width: 1019px !important; }</p>
- <p> .j-layout-sl.j-browse-content .j-column-wrap-l { margin-left: 0px !important; }</p>
- <p> .j-layout-sl.j-browse-content .j-column-l { margin-left: 0px !important; }</p>
- <p> .j-layout-sl.j-browse-content .j-column-s { width: 166px !important; }</p>
- <p> /* ------------------ */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* ------------------</p>
- <p> Swap left-right positions of thread list table and sidebar ui (filters & actions)</p>
- <p> */ /* fixed in v0.43 */</p>
- <p> /* let thread list table float left */</p>
- <p> .j-layout-sl.j-browse-content .j-column-wrap-l,</p>
- <p> .j-layout-sl.j-browse-places .j-column-wrap-l { float: left !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* let sidebar ui float right */</p>
- <p> .j-layout-sl.j-browse-content .j-column-s,</p>
- <p> .j-layout-sl.j-browse-places .j-column-s { float: right !important; }</p>
- <p> /* ------------------ */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> THREAD CONTENT BROWSER</p>
- <p> */</p>
- <p> /* thread header */</p>
- <p> .apple-thread-header {</p>
- <p> width: auto !important;</p>
- <p> margin-bottom: 10px !important;</p>
- <p> margin-left: 40px !important;</p>
- <p> }</p>
- <p> </p>
- <p> /* thread original post */</p>
- <p> .j-thread .jive-content { margin: 0px 40px 0px 140px !important; }</p>
- <p> </p>
- <p> /* thread replies ul */</p>
- <p> ul.jive-discussion-replies.jive-discussion-indent-0 { margin: 0px !important; }</p>
- <p> </p>
- <p> /* thread reply li */</p>
- <p> .jive-discussion-replies li.reply { margin-top: 15px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* thread view indent */</p>
- <p> .jive-discussion-indent-1 li.reply { padding-left: 15px !important; }</p>
- <p> </p>
- <p> /* thread info */</p>
- <p> .jive-thread-info {</p>
- <p> padding: 10px 40px !important;</p>
- <p> margin: 0px !important;</p>
- <p> }</p>
- <p> </p>
- <p> /* thread answer rollup */</p>
- <p> .j-answer-rollup { margin: 30px 0px !important; }</p>
- <p> </p>
- <p> /* thread post header (poster, date, response to) */</p>
- <p> .j-thread-post > header {</p>
- <p> padding: 10px 20px 0px 20px !important;</p>
- <p> margin-bottom: 12px !important;</p>
- <p> }</p>
- <p> </p>
- <p> /* thread post section (message body) */</p>
- <p> .j-thread-post section {</p>
- <p> padding: 0px 20px !important;</p>
- <p> margin-bottom: 6px !important;</p>
- <p> }</p>
- <p> </p>
- <p> /* thread post footer (Like|Reply etc) */</p>
- <p> .j-thread-post footer { padding: 0px 15px !important; }</p>
- <p> .j-thread-post footer > ul { padding: 2px !important; }</p>
- <p> .j-thread-post footer > .acclaim-container { margin: 5px 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* thread rendered content */</p>
- <p> .jive-rendered-content { padding-bottom: 4px !important; }</p>
- <p> </p>
- <p> /* thread rendered content quote & pre */</p>
- <p> .jive-rendered-content .jive-quote,</p>
- <p> .jive-rendered-content .jive-pre {</p>
- <p> margin: 5px 15px !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* thread reply footer (Return to Community|Go to original post) */</p>
- <p> #jive-thread-reply-footer { margin-top: 10px !important; }</p>
- <p> </p>
- <p> /* more like this links, incomming links */</p>
- <p> #apple-related-threads { margin: 0px 40px !important; }</p>
- <p> #apple-related-threads .j-box { margin-bottom: 0px !important; }</p>
- <p> .j-icon-list li { padding: 3px 0px 3px 22px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> INLINE EDITOR</p>
- <p> */</p>
- <p> /* editor */</p>
- <p> .jive-discussion-replies li.addReply { margin: 50px 40px 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> ADVANCED EDITOR</p>
- <p> */</p>
- <p> /* content area */</p>
- <p> .j-thread .jive-content.jive-create-thread,</p>
- <p> .jive-body-formpage-document .jive-content.doc-page {</p>
- <p> margin: 0px 40px !important;</p>
- <p> padding: 0px !important;</p>
- <p> }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* header */</p>
- <p> .j-thread .jive-content.jive-create-thread h2,</p>
- <p> .jive-body-formpage-document .jive-content.doc-page h2 { padding: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* editor panel */</p>
- <p> .j-thread .jive-content.jive-create-thread #jive-compose-title,</p>
- <p> .j-thread .jive-content.jive-create-thread .jive-editor-panel.jive-large-editor-panel,</p>
- <p> .jive-body-formpage-document .jive-content.doc-page #jive-compose-title,</p>
- <p> .jive-body-formpage-document .jive-content.doc-page .jive-editor-panel.jive-large-editor-panel { margin: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* line height in editor */</p>
- <p> body.tiny_mce_content { line-height: inherit !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* replying to */</p>
- <p> .jive-body-formpage-comment .jive-thread-message { margin: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* buttons (Reply|Cancel) */</p>
- <p> .j-publishbar,</p>
- <p> .jive-body-formpage .jive-composebuttons { margin: 20px 40px 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> ACTIVITY STREAM</p>
- <p> */</p>
- <p> /* activity entry */</p>
- <p> .j-act-entry { padding: 5px 0px 10px 100px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* activity title */</p>
- <p> .j-body-home .j-act-title { padding: 5px 0px 5px 24px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* activity body & comment */ /* added in v0.43 */</p>
- <p> .j-body-home .j-act-init,</p>
- <p> .j-view-profile .j-act-init { padding: 5px 0px 10px 100px !important; }</p>
- <p> .apple-activity-comments-wrapper { margin-left: 0px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* Like list */</p>
- <p> .j-act-grouped .j-act-g-item { padding: 3px !important; }</p>
- <p> </p>
- <p> </p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> SEARCH RESULTS</p>
- <p> */</p>
- <p> /* search result entry */</p>
- <p> .j-search-results-main-container .j-search-result { padding: 10px !important; } /* added in v0.43 */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> DOC (USER TIP)</p>
- <p> */ /* added in v0.43 */</p>
- <p> /* user tip canvas */</p>
- <p> .jive-body-content.j-doc .j-column-wrap-l { margin: 0px 40px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> PROFILE</p>
- <p> */ /* added in v0.43 */</p>
- <p> /* header & navigation bar (Bio|Activity|Content|Communities) */</p>
- <p> .j-view-profile .j-page-header { padding: 10px 40px !important; }</p>
- <p> .j-bigtab-nav { margin: 10px 40px !important; }</p>
- <p> </p>
- <p> /* Bio */</p>
- <p> .j-layout-l .j-column-wrap-l { width: 100% !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> /* Communities (places) sidebar ui blue marker adjustment</p>
- <p> (according to the sidebar width changed to 166px from 180px for selector: .j-layout-sl.j-browse-places .j-column-s</p>
- <p> in PLACES section) */</p>
- <p> .j-view-profile .j-second-nav ul > li.active { width: 156px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------------------------------------------------------------------- -----------------</p>
- <p> PLACES</p>
- <p> */ /* added in v0.43 */</p>
- <p> /* latest activity column */</p>
- <p> .j-browse-details .j-td-activity { max-width: 650px !important; }</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> /* ------------------</p>
- <p> Treatment for narrow window</p>
- <p> Method 1 (minimum optimisation)</p>
- <p></p>
- <p> </p>
- <p></p>
- <p> Adjust community list table's shift and margin to maximize its width.</p>
- <p> */ /* added in v0.43 */</p>
- <p> /* ------------------ (currently commented out)</p>
- <p> .j-layout-sl.j-browse-places .j-column-wrap-l { margin-left: -166px !important; }</p>
- <p> .j-layout-sl.j-browse-places .j-column-l { margin-left: 166px !important; }</p>
- <p> .j-layout-sl.j-browse-places .j-column-s { width: 166px !important; }</p>
- <p> ------------------ */</p>
- <p> /* ------------------</p>
- <p> Treatment for narrow window</p>
- <p> Method 2 (more beneficial to narrow window but has disadvantage for wide window)</p>
- <p> </p>
- <p> Let community list table have full width but not exceed 1019px to make room for sidebar ui (filters & actions).</p>
- <p> If window is wide enough (>=1265px), sidebar ui is displayed next to community list table,</p>
- <p> otherwise it is displayed below or above it (depending upon its document tree order).</p>
- <p> </p>
- <p> * sidebar width (constant) = 166px</p>
- <p> * community table max width = 1019px</p>
- <p> * canvas margin-left = 40px</p>
- <p> * canvas margin-right = 40px</p>
- <p> ---------------------------------------</p>
- <p> * total = 1265px</p>
- <p> */ /* added in v0.5 */</p>
- <p> /* ------------------ (currently active) */</p>
- <p> .j-layout-sl.j-browse-places .j-column-wrap-l { max-width: 1019px !important; }</p>
- <p> .j-layout-sl.j-browse-places .j-column-wrap-l { margin-left: 0px !important; }</p>
- <p> .j-layout-sl.j-browse-places .j-column-l { margin-left: 0px !important; }</p>
- <p> .j-layout-sl.j-browse-places .j-column-l { padding-left: 0px !important; }</p>
- <p> .j-layout-sl.j-browse-places .j-column-s { width: 166px !important; }</p>
- <p> /* ------------------ */</p>
- <p></p>
- <p> </p>
- <p></p>
- <p></p>
- <p> } /* end of narrow browsers. */</p>
- <p> } /* end of moz-document */</p>
- <p> </p>
- </pre>
- <p></p></body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement