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