Advertisement
rccharles

asc adjust css post # 2

Jun 25th, 2016
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 43.55 KB | None | 0 0
  1. <body><p>Here is the complete CSS to display the ASC forum content with only the reply icons visible. Posts and replies within a thread are shown at the Apple default size.</p>
  2. <p> </p>
  3. <p>CODE: SELECT ALL</p>
  4. <p></p>
  5. <pre class="jive_text_macro jive_macro_code _jivemacro_uid_14668751413316996" jivemacro="code" _modifiedtitle="true" _jivemacro_uid="_14668751413316996" ___default_attr="css">
  6. <p></p>
  7. <p>/*</p>
  8. <p>    custom styles for Apple Support Communities board system introduced in 2014-06 (v 0.6)</p>
  9. <p>   </p>
  10. <p>    Copyright 2014 Hiroto,  et. al.</p>
  11. <p>   </p>
  12. <p>    GNU General Public License</p>
  13. <p></p>
  14. <p> </p>
  15. <p></p>
  16. <p>    This program is free software: you can redistribute it and/or modify</p>
  17. <p>    it under the terms of the GNU General Public License as published by</p>
  18. <p>    the Free Software Foundation,  version 3</p>
  19. <p></p>
  20. <p> </p>
  21. <p></p>
  22. <p>    This program is distributed in the hope that it will be useful,</p>
  23. <p>    but WITHOUT ANY WARRANTY; without even the implied warranty of</p>
  24. <p>    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</p>
  25. <p>    GNU General Public License for more details.</p>
  26. <p></p>
  27. <p> </p>
  28. <p></p>
  29. <p>    For a copy of the GNU General Public License</p>
  30. <p>    see &lt;http://www.gnu.org/licenses/&gt;.</p>
  31. <p>   </p>
  32. <p>    Change Log:</p>
  33. <p>    -- Fold versions 0.43 and 0.50 into this version.</p>
  34. <p>    -- Added media tag to select on screen size.</p>
  35. <p>    -- Scroll large code listings</p>
  36. <p>    -- Change color highlights unread posts</p>
  37. <p></p>
  38. <p> </p>
  39. <p></p>
  40. <p>*/</p>
  41. <p>@-moz-document</p>
  42. <p>url-prefix(https://discussions.apple.com/community/),</p>
  43. <p>url-prefix(https://discussions.apple.com/people/),</p>
  44. <p>url-prefix(https://discussions.apple.com/content)</p>
  45. <p>{</p>
  46. <p></p>
  47. <p> </p>
  48. <p></p>
  49. <p>/* Scroll code listings.  set max-height of syntax highlighted code in thread content browser */ </p>
  50. <p>.jive-rendered-content .dp-highlighter { </p>
  51. <p>     max-height: 500px !important; </p>
  52. <p>     overflow: auto !important; </p>
  53. <p>}                                                                                    /* added in v0.6 */</p>
  54. <p>/* Scroll code listings. set max-heiht of pre code (visible when javascript is disabled) */ </p>
  55. <p>.jive-rendered-content pre { </p>
  56. <p>     max-height: 500px !important; </p>
  57. <p>     overflow: auto !important; </p>
  58. <p>}     </p>
  59. <p>                                                                                     /* added in v0.6 */</p>
  60. <p>                                                                           </p>
  61. <p>/* highlights in dark blue unread posts when logged in.                               added in v0.6 */</p>
  62. <p>.j-td-title strong {color:#191970 !important; font-weight: normal !important;}</p>
  63. <p>  </p>
  64. <p></p>
  65. <p></p>
  66. <p>/* Wide screen browser</p>
  67. <p>    ===================</p>
  68. <p>   </p>
  69. <p>    This rule set will be fine for normal to wide window whose width is ca. 1265px or greater.</p>
  70. <p>    However, it will not be beneficial to very narrow window of 700-900px in width.</p>
  71. <p>*/ </p>
  72. <p></p>
  73. <p> </p>
  74. <p></p>
  75. <p>@media all and (min-width: 1265px)                                                 /* added in v0.6 */</p>
  76. <p>  {</p>
  77. <p>       /* ------------------------------------------------------------------------------- -----------------</p>
  78. <p>        BODY</p>
  79. <p>    */</p>
  80. <p>    body.j-body-welome,                /* Welcome */</p>
  81. <p>    body.j-body-place,                /* Community */</p>
  82. <p>    body.j-body-yourwork,            /* Content */</p>
  83. <p>    body.j-body-home,                /* Activity */</p>
  84. <p>    body.j-body-yourconnections,    /* People */</p>
  85. <p>    body.j-body-preferences,        /* Preferences */</p>
  86. <p>    body.jive-body-content,            /* Thread */</p>
  87. <p>    body.jive-body-search,            /* Search */</p>
  88. <p>    body.jive-view-profile            /* Profile */</p>
  89. <p>    {                                                                                 /* added in v0.43 */</p>
  90. <p>        background: white !important;</p>
  91. <p>    }</p>
  92. <p>    body {</p>
  93. <p>        background: white;</p>
  94. <p>        min-width: 0px !important;</p>
  95. <p>    }</p>
  96. <p>    #body-apple {</p>
  97. <p>        width: 100% !important;</p>
  98. <p>        min-width: 0px !important;</p>
  99. <p>    }</p>
  100. <p></p>
  101. <p> </p>
  102. <p></p>
  103. <p></p>
  104. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  105. <p>        TEXT</p>
  106. <p>    */</p>
  107. <p>    /* line spacing */</p>
  108. <p>    .jive-content { line-height: 1.25 !important; }</p>
  109. <p></p>
  110. <p> </p>
  111. <p></p>
  112. <p>   </p>
  113. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  114. <p>        ASC HEADER AREA</p>
  115. <p>    */</p>
  116. <p>    #j-header,</p>
  117. <p>    #j-compact-header,</p>
  118. <p>    #j-footer { width: 100% !important; }</p>
  119. <p>   </p>
  120. <p>    /* navigation header (Apple Support Communities ...) */</p>
  121. <p>    #j-header-wrap {</p>
  122. <p>        padding: 0px 40px !important;</p>
  123. <p>        margin: 0px 0px 15px !important;</p>
  124. <p>    }</p>
  125. <p>    #j-globalNav-bg {</p>
  126. <p>        padding: 0pX !important;</p>
  127. <p>        margin: 0px !important;</p>
  128. <p>    }</p>
  129. <p>    #j-satNav { overflow: visible !important; }</p>
  130. <p>    #jive-breadcrumb { right: 40px !important; }</p>
  131. <p></p>
  132. <p> </p>
  133. <p></p>
  134. <p></p>
  135. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  136. <p>        ASC TOP PAGE</p>
  137. <p>    */</p>
  138. <p>    #jive-widgetframe-body_5780758 &gt; .content-large,    /* discussions.apple.com */</p>
  139. <p>    #jive-widgetframe-body_188974  &gt; .content-large,    /* discussionsjapan.apple.com */    /* added in v0.42 */</p>
  140. <p>    #jive-widgetframe-body_20835   &gt; .content-large        /* discussionskorea.apple.com */    /* added in v0.42 */</p>
  141. <p>    {                                                    /* added parent id in v0.41 */</p>
  142. <p>        text-align: center !important;</p>
  143. <p>        overflow-x: auto !important;</p>
  144. <p>        overflow-y: hidden !important;</p>
  145. <p>    }</p>
  146. <p>    .apple-communities {</p>
  147. <p>        display: inline-block !important;</p>
  148. <p>        width: 1120px !important;</p>
  149. <p>        text-align: left !important;</p>
  150. <p>    }</p>
  151. <p></p>
  152. <p> </p>
  153. <p></p>
  154. <p></p>
  155. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  156. <p>        THREAD LIST BROWSER</p>
  157. <p>    */</p>
  158. <p>    /* show author name in 'Latest activity' column in detailed list view of threads */</p>
  159. <p>    td.j-td-date &gt; span { display : inherit !important; }</p>
  160. <p></p>
  161. <p> </p>
  162. <p></p>
  163. <p>    /* main section */</p>
  164. <p>    #j-main { padding: 0px !important; }</p>
  165. <p></p>
  166. <p> </p>
  167. <p></p>
  168. <p>    /* table cell title */</p>
  169. <p>    .jive-table td.jive-table-cell-title { padding: 5px !important; }</p>
  170. <p>       </p>
  171. <p>    /* thread list view column widths */                                            /* added in v0.43 */</p>
  172. <p>    .j-browse-details .j-td-title { max-width: none !important; }</p>
  173. <p>    .j-browse-details .j-td-date {</p>
  174. <p>        width: auto !important;</p>
  175. <p>        max-width: 20% !important;</p>
  176. <p>    }</p>
  177. <p></p>
  178. <p> </p>
  179. <p></p>
  180. <p>    /* ------------------</p>
  181. <p>      Hide Like and Bookmark columns in thread list view.</p>
  182. <p>   */                                                            /* added in v0.43 (optional) */</p>
  183. <p>   /* ------------------ (currently commented out)  */</p>
  184. <p>   .j-browse-details .j-td-likes,</p>
  185. <p>   .j-browse-details .j-td-bookmarks { display: none !important; }</p>
  186. <p>   .j-browse-details &gt; table.j-browse-list &gt; thead.j-rc4 &gt; tr &gt; th + th,</p>
  187. <p>   .j-browse-details &gt; table.j-browse-list &gt; thead.j-rc4 &gt; tr &gt; th + th + th { display: none !important; }</p>
  188. <p>   .j-browse-details &gt; table.j-browse-list &gt; thead.j-rc4 &gt; tr &gt; th + th + th + th { display: table-cell !important; }</p>
  189. <p>   /* ------------------ */</p>
  190. <p></p>
  191. <p> </p>
  192. <p></p>
  193. <p>    /* threads list view table tr td  */</p>
  194. <p>    .j-browse-details-tbody tr td { padding: 5px !important; }</p>
  195. <p></p>
  196. <p> </p>
  197. <p></p>
  198. <p>    /* communities list view table tr td */</p>
  199. <p>    .jive-communities-listing table tr td { padding: 5px !important; }</p>
  200. <p>   </p>
  201. <p>    /* thumbnails view width */</p>
  202. <p>    .j-browse-content .j-thumb-view,</p>
  203. <p>    .j-browse-places .j-browse-thumbnails,</p>
  204. <p>    .j-browse-people .j-browse-thumbnails { width: 100% !important; }</p>
  205. <p>   </p>
  206. <p>    /* thumbnail view list item margin */                                            /* added in v0.43 */</p>
  207. <p>    .j-browse-content .j-thumb-view &gt; li,</p>
  208. <p>    .j-browse-places .j-browse-thumbnails &gt; li { margin-right: 20px !important; }</p>
  209. <p></p>
  210. <p> </p>
  211. <p></p>
  212. <p>    /* social actions row */</p>
  213. <p>    .apple-social-actions-wrapper { margin-right: 0px !important; }</p>
  214. <p>    .j-thread .j-social-actions { margin-right: 40px !important; }</p>
  215. <p></p>
  216. <p> </p>
  217. <p></p>
  218. <p>    /* apple header, subheader row ("Find helpful contents..." etc )*/                /* fixed in v0.43 */</p>
  219. <p>    #apple-full-subheader,</p>
  220. <p>    #apple-activity-subheader {</p>
  221. <p>        padding: 0px 40px 15px !important;</p>
  222. <p>        margin-bottom: 15px !important;</p>
  223. <p>    }</p>
  224. <p>    #apple-full-header h2,</p>
  225. <p>    #apple-activity-header h2 { padding: 0px 40px !important; }</p>
  226. <p></p>
  227. <p> </p>
  228. <p></p>
  229. <p>    /* page header */</p>
  230. <p>    .j-body-place #jive-body &gt; header.j-page-header {</p>
  231. <p>        margin-left: 40px !important;</p>
  232. <p>        margin-right: 40px !important;</p>
  233. <p>        width: auto !important;</p>
  234. <p>    }</p>
  235. <p>   </p>
  236. <p>    /* browser filter row */</p>
  237. <p>    #j-browse-filters { margin-bottom: 5px !important; }</p>
  238. <p></p>
  239. <p> </p>
  240. <p></p>
  241. <p>    /* browser controls row */</p>
  242. <p>    .j-type-row { margin-bottom: 0px !important; }</p>
  243. <p></p>
  244. <p> </p>
  245. <p></p>
  246. <p>    /* browser controls content types (All Contents|User Tips|Discussions) width */</p>
  247. <p>    #js-browse-controls .j-type-row .j-content-types { width: 90% !important; }</p>
  248. <p>   </p>
  249. <p>    /* browser controls view toggle (Thumbnails|Details) width */</p>
  250. <p>    #js-browse-controls #j-item-view-toggle {</p>
  251. <p>        width: 10% !important;</p>
  252. <p>        display: table !important;</p>
  253. <p>    }</p>
  254. <p></p>
  255. <p> </p>
  256. <p></p>
  257. <p>    /* content filter row (All|Open|Answered|Threads) */</p>
  258. <p>    .j-content-filter {</p>
  259. <p>        background: white !important;</p>
  260. <p>        margin-bottom: 10px !important;</p>
  261. <p>    }   </p>
  262. <p>   </p>
  263. <p>    /* container canvas */</p>
  264. <p>    .j-contained {</p>
  265. <p>        margin-left: 40px !important;</p>
  266. <p>        margin-right: 40px !important;</p>
  267. <p>    }</p>
  268. <p></p>
  269. <p> </p>
  270. <p></p>
  271. <p>    /* category filter bar */</p>
  272. <p>    .jive-content-filter {</p>
  273. <p>        left: 0px !important;</p>
  274. <p>        width: 80% !important;</p>
  275. <p>    }</p>
  276. <p>    .touchcarousel-wrapper { width: 100% !important; }</p>
  277. <p>    .touchcarousel .tc-paging-container { width: 90% !important; }                    /* added in v0.41 */</p>
  278. <p></p>
  279. <p> </p>
  280. <p></p>
  281. <p>    /* more search results available */</p>
  282. <p>    #j-more-search-results-available { padding: 10px !important; }</p>
  283. <p>   </p>
  284. <p>    /* misc */</p>
  285. <p>    .jive-widget { margin-bottom: 10px !important; }</p>
  286. <p>    .j-column { margin-bottom: 10px !important; }</p>
  287. <p></p>
  288. <p> </p>
  289. <p></p>
  290. <p></p>
  291. <p>    /* ------------------</p>
  292. <p>        Treatment for narrow window</p>
  293. <p>        Method 1 (minimum optimisation)</p>
  294. <p></p>
  295. <p> </p>
  296. <p></p>
  297. <p>        Adjust thread list table's shift and margin to maximize its width.</p>
  298. <p>    */                                                                                 /* added in v0.43 */</p>
  299. <p>    .j-layout-sl.j-browse-content .j-column-wrap-l { margin-left: -166px !important; }</p>
  300. <p>    .j-layout-sl.j-browse-content .j-column-l      { margin-left: 166px !important; }</p>
  301. <p>    .j-layout-sl.j-browse-content .j-column-s      { width: 166px !important; }</p>
  302. <p>    /* ------------------ */</p>
  303. <p></p>
  304. <p> </p>
  305. <p></p>
  306. <p>    /* ------------------</p>
  307. <p>        Swap left-right positions of thread list table and sidebar ui (filters &amp; actions)</p>
  308. <p>    */                                                                                 /* fixed in v0.43 */</p>
  309. <p>    /* let thread list table float left */</p>
  310. <p>    .j-layout-sl.j-browse-content .j-column-wrap-l,</p>
  311. <p>    .j-layout-sl.j-browse-places .j-column-wrap-l { float: left !important; }</p>
  312. <p></p>
  313. <p> </p>
  314. <p></p>
  315. <p>    /* let sidebar ui float right */</p>
  316. <p>    .j-layout-sl.j-browse-content .j-column-s,</p>
  317. <p>    .j-layout-sl.j-browse-places .j-column-s { float: right !important; }</p>
  318. <p>    /* ------------------ */</p>
  319. <p></p>
  320. <p> </p>
  321. <p></p>
  322. <p></p>
  323. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  324. <p>        THREAD CONTENT BROWSER</p>
  325. <p>    */</p>
  326. <p>    /* thread header */</p>
  327. <p>    .apple-thread-header {</p>
  328. <p>        width: auto !important;</p>
  329. <p>        margin-bottom: 10px !important;</p>
  330. <p>        margin-left: 40px !important;</p>
  331. <p>    }</p>
  332. <p>   </p>
  333. <p>    /* thread original post */</p>
  334. <p>    .j-thread .jive-content { margin: 0px 40px 0px 140px !important; }</p>
  335. <p>   </p>
  336. <p>    /* thread replies ul */</p>
  337. <p>    ul.jive-discussion-replies.jive-discussion-indent-0 { margin: 0px !important; }</p>
  338. <p>   </p>
  339. <p>    /* thread reply li */</p>
  340. <p>    .jive-discussion-replies li.reply { margin-top: 15px !important; }</p>
  341. <p></p>
  342. <p> </p>
  343. <p></p>
  344. <p>    /* thread view indent */</p>
  345. <p>    .jive-discussion-indent-1 li.reply { padding-left: 15px !important; }</p>
  346. <p>   </p>
  347. <p>    /* thread info */</p>
  348. <p>    .jive-thread-info {</p>
  349. <p>        padding: 10px 40px !important;</p>
  350. <p>        margin: 0px !important;</p>
  351. <p>    }</p>
  352. <p>   </p>
  353. <p>    /* thread answer rollup */</p>
  354. <p>    .j-answer-rollup { margin: 30px 0px !important; }</p>
  355. <p>   </p>
  356. <p>    /* thread post header (poster, date, response to) */</p>
  357. <p>    .j-thread-post &gt; header {</p>
  358. <p>        padding: 10px 20px 0px 20px !important;</p>
  359. <p>        margin-bottom: 12px !important;</p>
  360. <p>    }</p>
  361. <p>   </p>
  362. <p>    /* thread post section (message body) */</p>
  363. <p>    .j-thread-post section {</p>
  364. <p>        padding: 0px 20px !important;</p>
  365. <p>        margin-bottom: 6px !important;</p>
  366. <p>    }</p>
  367. <p>   </p>
  368. <p>    /* thread post footer (Like|Reply etc) */</p>
  369. <p>    .j-thread-post footer { padding: 0px 15px !important; }</p>
  370. <p>    .j-thread-post footer &gt; ul { padding: 2px !important; }</p>
  371. <p>    .j-thread-post footer &gt; .acclaim-container { margin: 5px 0px !important; }</p>
  372. <p></p>
  373. <p> </p>
  374. <p></p>
  375. <p>    /* thread rendered content */</p>
  376. <p>    .jive-rendered-content { padding-bottom: 4px !important; }</p>
  377. <p>   </p>
  378. <p>    /* thread rendered content quote &amp; pre */</p>
  379. <p>    .jive-rendered-content .jive-quote,</p>
  380. <p>    .jive-rendered-content .jive-pre {</p>
  381. <p>        margin: 5px 15px !important;</p>
  382. <p>    }</p>
  383. <p></p>
  384. <p> </p>
  385. <p></p>
  386. <p>    /* thread reply footer (Return to Community|Go to original post) */</p>
  387. <p>    #jive-thread-reply-footer {    margin-top: 10px !important; }</p>
  388. <p>   </p>
  389. <p>    /* more like this links, incomming links */</p>
  390. <p>    #apple-related-threads { margin: 0px 40px !important; }</p>
  391. <p>    #apple-related-threads .j-box { margin-bottom: 0px !important; }</p>
  392. <p>    .j-icon-list li { padding: 3px 0px 3px 22px !important; }</p>
  393. <p></p>
  394. <p> </p>
  395. <p></p>
  396. <p></p>
  397. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  398. <p>        INLINE EDITOR</p>
  399. <p>    */</p>
  400. <p>    /* editor */</p>
  401. <p>    .jive-discussion-replies li.addReply { margin: 50px 40px 0px !important; }</p>
  402. <p></p>
  403. <p> </p>
  404. <p></p>
  405. <p></p>
  406. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  407. <p>        ADVANCED EDITOR</p>
  408. <p>    */</p>
  409. <p>    /* content area */</p>
  410. <p>    .j-thread .jive-content.jive-create-thread,</p>
  411. <p>    .jive-body-formpage-document .jive-content.doc-page {</p>
  412. <p>        margin: 0px 40px !important;</p>
  413. <p>        padding: 0px !important;</p>
  414. <p>    }</p>
  415. <p></p>
  416. <p> </p>
  417. <p></p>
  418. <p>    /* header */</p>
  419. <p>    .j-thread .jive-content.jive-create-thread h2,</p>
  420. <p>    .jive-body-formpage-document .jive-content.doc-page h2 { padding: 0px !important; }</p>
  421. <p></p>
  422. <p> </p>
  423. <p></p>
  424. <p>    /* editor panel */</p>
  425. <p>    .j-thread .jive-content.jive-create-thread #jive-compose-title,</p>
  426. <p>    .j-thread .jive-content.jive-create-thread .jive-editor-panel.jive-large-editor-panel,</p>
  427. <p>    .jive-body-formpage-document .jive-content.doc-page #jive-compose-title,</p>
  428. <p>    .jive-body-formpage-document .jive-content.doc-page .jive-editor-panel.jive-large-editor-panel { margin: 0px !important; }</p>
  429. <p></p>
  430. <p> </p>
  431. <p></p>
  432. <p>    /* line height in editor */</p>
  433. <p>    body.tiny_mce_content { line-height: inherit !important; }</p>
  434. <p></p>
  435. <p> </p>
  436. <p></p>
  437. <p>    /* replying to */</p>
  438. <p>    .jive-body-formpage-comment .jive-thread-message { margin: 0px !important; }  </p>
  439. <p></p>
  440. <p> </p>
  441. <p></p>
  442. <p>    /* buttons (Reply|Cancel) */</p>
  443. <p>    .j-publishbar,</p>
  444. <p>    .jive-body-formpage .jive-composebuttons { margin: 20px 40px 0px !important; }</p>
  445. <p></p>
  446. <p> </p>
  447. <p></p>
  448. <p></p>
  449. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  450. <p>        ACTIVITY STREAM</p>
  451. <p>    */</p>
  452. <p>    /* activity entry */</p>
  453. <p>    .j-act-entry { padding: 5px 0px 10px 100px !important; }</p>
  454. <p></p>
  455. <p> </p>
  456. <p></p>
  457. <p>    /* activity title */</p>
  458. <p>    .j-body-home .j-act-title { padding: 5px 0px 5px 24px !important; }</p>
  459. <p></p>
  460. <p> </p>
  461. <p></p>
  462. <p>    /* activity body &amp; comment */                                                    /* added in v0.43 */</p>
  463. <p>    .j-body-home .j-act-init { padding: 5px 0px 10px 100px !important; }</p>
  464. <p>    .apple-activity-comments-wrapper { margin-left: 0px !important; }</p>
  465. <p></p>
  466. <p> </p>
  467. <p></p>
  468. <p>    /* Like list */</p>
  469. <p>    .j-act-grouped .j-act-g-item { padding: 3px !important; }</p>
  470. <p>   </p>
  471. <p>   </p>
  472. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  473. <p>        SEARCH RESULTS</p>
  474. <p>    */</p>
  475. <p>    /* search result entry */</p>
  476. <p>    .j-search-results-main-container .j-search-result { padding: 10px !important; }    /* added in v0.43 */</p>
  477. <p></p>
  478. <p> </p>
  479. <p></p>
  480. <p></p>
  481. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  482. <p>        DOC (USER TIP)</p>
  483. <p>    */                                                                                 /* added in v0.43 */</p>
  484. <p>    /* user tip canvas */</p>
  485. <p>    .jive-body-content.j-doc .j-column-wrap-l { margin: 0px 40px !important; }</p>
  486. <p></p>
  487. <p> </p>
  488. <p></p>
  489. <p></p>
  490. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  491. <p>        PROFILE</p>
  492. <p>    */                                                                                 /* added in v0.43 */</p>
  493. <p>    /* header &amp; navigation bar (Bio|Activity|Content|Communities) */</p>
  494. <p>    .j-view-profile .j-page-header { padding: 10px 40px !important; }</p>
  495. <p>    .j-bigtab-nav { margin: 10px 40px !important; }</p>
  496. <p>   </p>
  497. <p>    /* Bio */</p>
  498. <p>    .j-layout-l .j-column-wrap-l { width: 100% !important; }</p>
  499. <p></p>
  500. <p> </p>
  501. <p></p>
  502. <p>    /* Communities (places) sidebar ui blue marker adjustment</p>
  503. <p>        (according to the sidebar width changed to 166px from 180px for selector: .j-layout-sl.j-browse-places .j-column-s</p>
  504. <p>        in PLACES section)  */</p>
  505. <p>    .j-view-profile .j-second-nav ul &gt; li.active  { width: 156px !important; }</p>
  506. <p></p>
  507. <p> </p>
  508. <p></p>
  509. <p></p>
  510. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  511. <p>        PLACES</p>
  512. <p>    */                                                                                 /* added in v0.43 */</p>
  513. <p>    /* latest activity column */</p>
  514. <p>    .j-browse-details .j-td-activity { max-width: 650px !important; }</p>
  515. <p></p>
  516. <p> </p>
  517. <p></p>
  518. <p></p>
  519. <p>    /* ------------------</p>
  520. <p>        Treatment for narrow window</p>
  521. <p>        Method 1 (minimum optimisation)</p>
  522. <p></p>
  523. <p> </p>
  524. <p></p>
  525. <p>        Adjust community list table's shift and margin to maximize its width.</p>
  526. <p>    */                                                                                 /* added in v0.43 */</p>
  527. <p>    .j-layout-sl.j-browse-places .j-column-wrap-l { margin-left: -166px !important; }</p>
  528. <p>    .j-layout-sl.j-browse-places .j-column-l      { margin-left: 166px !important; }</p>
  529. <p>    .j-layout-sl.j-browse-places .j-column-l      { padding-left: 0px !important; }</p>
  530. <p>    .j-layout-sl.j-browse-places .j-column-s      { width: 166px !important; }</p>
  531. <p>    /* ------------------ */</p>
  532. <p>} /* end of wide screen */</p>
  533. <p></p>
  534. <p></p>
  535. <p></p>
  536. <p>@media all and (max-width: 1265px)                                                 /* added in v0.6 */</p>
  537. <p>  {</p>
  538. <p>    /* styles for small screens ( narrow browsers window )</p>
  539. <p>       ========================</p>
  540. <p>      </p>
  541. <p>       Narrow is basically the same as the above wide screen browser except that this lets the sidebar</p>
  542. <p>       column (filter column) in list view be pushed down or up in layout flow to make room for the main</p>
  543. <p>       column (table column) when the window is not wide enough. It is done by setting margin-left and</p>
  544. <p>       padding-left of main column to 0 and setting max-width of main column, which is currently 1019px.</p>
  545. <p>       Consequently, if window width is less than 1265px (= 40 (margin-left) + 1019 (main column) + 166</p>
  546. <p>       (sidebar colum) + 40 (margin-right)), sidebar column is pushed down or up according to document</p>
  547. <p>       tree order. This rule set is intended to be useful for normal to narrow window whose width is in</p>
  548. <p>       range ca. 700-1400px. It can be used for wider window as well but there's no point to set the</p>
  549. <p>       max-width of main column in order to move sidebar column when the window is wide enough.</p>
  550. <p>  </p>
  551. <p>          custom styles for Apple Support Communities board system introduced in 2014-06 (v 0.5) */</p>
  552. <p>         </p>
  553. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  554. <p>        BODY</p>
  555. <p>    */</p>
  556. <p>    body.j-body-welome,                /* Welcome */</p>
  557. <p>    body.j-body-place,                /* Community */</p>
  558. <p>    body.j-body-yourwork,            /* Content */</p>
  559. <p>    body.j-body-home,                /* Activity */</p>
  560. <p>    body.j-body-yourconnections,    /* People */</p>
  561. <p>    body.j-body-preferences,        /* Preferences */</p>
  562. <p>    body.jive-body-content,            /* Thread */</p>
  563. <p>    body.jive-body-search,            /* Search */</p>
  564. <p>    body.jive-view-profile            /* Profile */</p>
  565. <p>    {                                                                                 /* added in v0.43 */</p>
  566. <p>        background: white !important;</p>
  567. <p>    }</p>
  568. <p>    body {</p>
  569. <p>        background: white;</p>
  570. <p>        min-width: 0px !important;</p>
  571. <p>    }</p>
  572. <p>    #body-apple {</p>
  573. <p>        width: 100% !important;</p>
  574. <p>        min-width: 0px !important;</p>
  575. <p>    }</p>
  576. <p></p>
  577. <p> </p>
  578. <p></p>
  579. <p></p>
  580. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  581. <p>        TEXT</p>
  582. <p>    */</p>
  583. <p>    /* line spacing */</p>
  584. <p>    .jive-content { line-height: 1.25 !important; }</p>
  585. <p></p>
  586. <p> </p>
  587. <p></p>
  588. <p>   </p>
  589. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  590. <p>        ASC HEADER AREA</p>
  591. <p>    */</p>
  592. <p>    #j-header,</p>
  593. <p>    #j-compact-header,</p>
  594. <p>    #j-footer { width: 100% !important; }</p>
  595. <p>   </p>
  596. <p>    /* navigation header (Apple Support Communities ...) */</p>
  597. <p>    #j-header-wrap {</p>
  598. <p>        padding: 0px 40px !important;</p>
  599. <p>        margin: 0px 0px 15px !important;</p>
  600. <p>    }</p>
  601. <p>    #j-globalNav-bg {</p>
  602. <p>        padding: 0pX !important;</p>
  603. <p>        margin: 0px !important;</p>
  604. <p>    }</p>
  605. <p>    #j-satNav { overflow: visible !important; }</p>
  606. <p>    #jive-breadcrumb { right: 40px !important; }</p>
  607. <p></p>
  608. <p> </p>
  609. <p></p>
  610. <p></p>
  611. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  612. <p>        ASC TOP PAGE</p>
  613. <p>    */</p>
  614. <p>    #jive-widgetframe-body_5780758 &gt; .content-large,    /* discussions.apple.com */</p>
  615. <p>    #jive-widgetframe-body_188974  &gt; .content-large,    /* discussionsjapan.apple.com */    /* added in v0.42 */</p>
  616. <p>    #jive-widgetframe-body_20835   &gt; .content-large        /* discussionskorea.apple.com */    /* added in v0.42 */</p>
  617. <p>    {                                                    /* added parent id in v0.41 */</p>
  618. <p>        text-align: center !important;</p>
  619. <p>        overflow-x: auto !important;</p>
  620. <p>        overflow-y: hidden !important;</p>
  621. <p>    }</p>
  622. <p>    .apple-communities {</p>
  623. <p>        display: inline-block !important;</p>
  624. <p>        width: 1120px !important;</p>
  625. <p>        text-align: left !important;</p>
  626. <p>    }</p>
  627. <p></p>
  628. <p> </p>
  629. <p></p>
  630. <p></p>
  631. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  632. <p>        THREAD LIST BROWSER</p>
  633. <p>    */</p>
  634. <p>    /* show author name in 'Latest activity' column in detailed list view of threads */</p>
  635. <p>    td.j-td-date &gt; span { display : inherit !important; }</p>
  636. <p></p>
  637. <p> </p>
  638. <p></p>
  639. <p>    /* main section */</p>
  640. <p>    #j-main { padding: 0px !important; }</p>
  641. <p></p>
  642. <p> </p>
  643. <p></p>
  644. <p>    /* table cell title */</p>
  645. <p>    .jive-table td.jive-table-cell-title { padding: 5px !important; }</p>
  646. <p>       </p>
  647. <p>    /* thread list view column widths */                                            /* added in v0.43 */</p>
  648. <p>    .j-browse-details .j-td-title { max-width: none !important; }</p>
  649. <p>    .j-browse-details .j-td-date {</p>
  650. <p>        width: auto !important;</p>
  651. <p>        max-width: 20% !important;</p>
  652. <p>    }</p>
  653. <p></p>
  654. <p> </p>
  655. <p></p>
  656. <p>    /* ------------------</p>
  657. <p>        Hide Like and Bookmark columns in thread list view.</p>
  658. <p>    */                                                                                 /* added in v0.43 */</p>
  659. <p>    /* ------------------ display in small screen        changed 0.6 */</p>
  660. <p>    .j-browse-details .j-td-likes,</p>
  661. <p>    .j-browse-details .j-td-bookmarks { display: none !important; }</p>
  662. <p>    .j-browse-details &gt; table.j-browse-list &gt; thead.j-rc4 &gt; tr &gt; th + th,</p>
  663. <p>    .j-browse-details &gt; table.j-browse-list &gt; thead.j-rc4 &gt; tr &gt; th + th + th { display: none !important; }</p>
  664. <p>    .j-browse-details &gt; table.j-browse-list &gt; thead.j-rc4 &gt; tr &gt; th + th + th + th { display: table-cell !important; }</p>
  665. <p>    /* ------------------ */</p>
  666. <p></p>
  667. <p> </p>
  668. <p></p>
  669. <p>    /* threads list view table tr td  */</p>
  670. <p>    .j-browse-details-tbody tr td { padding: 5px !important; }</p>
  671. <p></p>
  672. <p> </p>
  673. <p></p>
  674. <p>    /* communities list view table tr td */</p>
  675. <p>    .jive-communities-listing table tr td { padding: 5px !important; }</p>
  676. <p>   </p>
  677. <p>    /* thumbnails view width */</p>
  678. <p>    .j-browse-content .j-thumb-view,</p>
  679. <p>    .j-browse-places .j-browse-thumbnails,</p>
  680. <p>    .j-browse-people .j-browse-thumbnails { width: 100% !important; }</p>
  681. <p>   </p>
  682. <p>    /* thumbnail view list item margin */                                            /* added in v0.43 */</p>
  683. <p>    .j-browse-content .j-thumb-view &gt; li,</p>
  684. <p>    .j-browse-places .j-browse-thumbnails &gt; li { margin-right: 20px !important; }</p>
  685. <p></p>
  686. <p> </p>
  687. <p></p>
  688. <p>    /* social actions row */</p>
  689. <p>    .apple-social-actions-wrapper { margin-right: 0px !important; }</p>
  690. <p>    .j-thread .j-social-actions { margin-right: 40px !important; }</p>
  691. <p></p>
  692. <p> </p>
  693. <p></p>
  694. <p>    /* apple header, subheader row ("Find helpful contents..." etc )*/                /* fixed in v0.43 */</p>
  695. <p>    #apple-full-subheader,</p>
  696. <p>    #apple-activity-subheader {</p>
  697. <p>        padding: 0px 40px 15px !important;</p>
  698. <p>        margin-bottom: 15px !important;</p>
  699. <p>    }</p>
  700. <p>    #apple-full-header h2,</p>
  701. <p>    #apple-activity-header h2 { padding: 0px 40px !important; }</p>
  702. <p></p>
  703. <p> </p>
  704. <p></p>
  705. <p>    /* page header */</p>
  706. <p>    .j-body-place #jive-body &gt; header.j-page-header {</p>
  707. <p>        margin-left: 40px !important;</p>
  708. <p>        margin-right: 40px !important;</p>
  709. <p>        width: auto !important;</p>
  710. <p>    }</p>
  711. <p>   </p>
  712. <p>    /* browser filter row */</p>
  713. <p>    #j-browse-filters { margin-bottom: 5px !important; }</p>
  714. <p></p>
  715. <p> </p>
  716. <p></p>
  717. <p>    /* browser controls row */</p>
  718. <p>    .j-type-row { margin-bottom: 0px !important; }</p>
  719. <p></p>
  720. <p> </p>
  721. <p></p>
  722. <p>    /* browser controls content types (All Contents|User Tips|Discussions) width */</p>
  723. <p>    #js-browse-controls .j-type-row .j-content-types { width: 90% !important; }</p>
  724. <p>   </p>
  725. <p>    /* browser controls view toggle (Thumbnails|Details) width */</p>
  726. <p>    #js-browse-controls #j-item-view-toggle {</p>
  727. <p>        width: 10% !important;</p>
  728. <p>        display: table !important;</p>
  729. <p>    }</p>
  730. <p></p>
  731. <p> </p>
  732. <p></p>
  733. <p>    /* content filter row (All|Open|Answered|Threads) */</p>
  734. <p>    .j-content-filter {</p>
  735. <p>        background: white !important;</p>
  736. <p>        margin-bottom: 10px !important;</p>
  737. <p>    }   </p>
  738. <p>   </p>
  739. <p>    /* container canvas */</p>
  740. <p>    .j-contained {</p>
  741. <p>        margin-left: 40px !important;</p>
  742. <p>        margin-right: 40px !important;</p>
  743. <p>    }</p>
  744. <p></p>
  745. <p> </p>
  746. <p></p>
  747. <p>    /* category filter bar */</p>
  748. <p>    .jive-content-filter {</p>
  749. <p>        left: 0px !important;</p>
  750. <p>        width: 80% !important;</p>
  751. <p>    }</p>
  752. <p>    .touchcarousel-wrapper { width: 100% !important; }</p>
  753. <p>    .touchcarousel .tc-paging-container { width: 90% !important; }                    /* added in v0.41 */</p>
  754. <p></p>
  755. <p> </p>
  756. <p></p>
  757. <p>    /* more search results available */</p>
  758. <p>    #j-more-search-results-available { padding: 10px !important; }</p>
  759. <p>   </p>
  760. <p>    /* misc */</p>
  761. <p>    .jive-widget { margin-bottom: 10px !important; }</p>
  762. <p>    .j-column { margin-bottom: 10px !important; }</p>
  763. <p></p>
  764. <p> </p>
  765. <p></p>
  766. <p></p>
  767. <p>    /* ------------------</p>
  768. <p>        Treatment for narrow window</p>
  769. <p>        Method 1 (minimum optimisation)</p>
  770. <p></p>
  771. <p> </p>
  772. <p></p>
  773. <p>        Adjust thread list table's shift and margin to maximize its width.</p>
  774. <p>    */                                                                                 /* added in v0.43 */</p>
  775. <p>    /* ------------------ (currently commented out)</p>
  776. <p>    .j-layout-sl.j-browse-content .j-column-wrap-l { margin-left: -166px !important; }</p>
  777. <p>    .j-layout-sl.j-browse-content .j-column-l      { margin-left: 166px !important; }</p>
  778. <p>    .j-layout-sl.j-browse-content .j-column-s      { width: 166px !important; }</p>
  779. <p>    ------------------ */</p>
  780. <p>    /* ------------------</p>
  781. <p>        Treatment for narrow window</p>
  782. <p>        Method 2 (more beneficial to narrow window but has disadvantage for wide window)</p>
  783. <p>       </p>
  784. <p>        Let thread list table have full width but not exceed 1019px to make room for sidebar ui (filters &amp; actions).</p>
  785. <p>        If window is wide enough (&gt;=1265px), sidebar ui is displayed next to thread list table,</p>
  786. <p>        otherwise it is displayed below or above it (depending upon its document tree order).</p>
  787. <p>       </p>
  788. <p>        * sidebar width (constant)    = 166px</p>
  789. <p>        * thread table max width      = 1019px</p>
  790. <p>        * canvas margin-left          = 40px</p>
  791. <p>        * canvas margin-right         = 40px</p>
  792. <p>        ---------------------------------------</p>
  793. <p>        * total                       = 1265px</p>
  794. <p>    */                                                                                 /* added in v0.5 */</p>
  795. <p>    /* ------------------ (currently active) */</p>
  796. <p>    .j-layout-sl.j-browse-content .j-column-wrap-l { max-width: 1019px !important; }</p>
  797. <p>    .j-layout-sl.j-browse-content .j-column-wrap-l { margin-left: 0px !important; }</p>
  798. <p>    .j-layout-sl.j-browse-content .j-column-l      { margin-left: 0px !important; }</p>
  799. <p>    .j-layout-sl.j-browse-content .j-column-s      { width: 166px !important; }</p>
  800. <p>    /* ------------------ */</p>
  801. <p></p>
  802. <p> </p>
  803. <p></p>
  804. <p>    /* ------------------</p>
  805. <p>        Swap left-right positions of thread list table and sidebar ui (filters &amp; actions)</p>
  806. <p>    */                                                                                 /* fixed in v0.43 */</p>
  807. <p>    /* let thread list table float left */</p>
  808. <p>    .j-layout-sl.j-browse-content .j-column-wrap-l,</p>
  809. <p>    .j-layout-sl.j-browse-places .j-column-wrap-l { float: left !important; }</p>
  810. <p></p>
  811. <p> </p>
  812. <p></p>
  813. <p>    /* let sidebar ui float right */</p>
  814. <p>    .j-layout-sl.j-browse-content .j-column-s,</p>
  815. <p>    .j-layout-sl.j-browse-places .j-column-s { float: right !important; }</p>
  816. <p>    /* ------------------ */</p>
  817. <p></p>
  818. <p> </p>
  819. <p></p>
  820. <p></p>
  821. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  822. <p>        THREAD CONTENT BROWSER</p>
  823. <p>    */</p>
  824. <p>    /* thread header */</p>
  825. <p>    .apple-thread-header {</p>
  826. <p>        width: auto !important;</p>
  827. <p>        margin-bottom: 10px !important;</p>
  828. <p>        margin-left: 40px !important;</p>
  829. <p>    }</p>
  830. <p>   </p>
  831. <p>    /* thread original post */</p>
  832. <p>    .j-thread .jive-content { margin: 0px 40px 0px 140px !important; }</p>
  833. <p>   </p>
  834. <p>    /* thread replies ul */</p>
  835. <p>    ul.jive-discussion-replies.jive-discussion-indent-0 { margin: 0px !important; }</p>
  836. <p>   </p>
  837. <p>    /* thread reply li */</p>
  838. <p>    .jive-discussion-replies li.reply { margin-top: 15px !important; }</p>
  839. <p></p>
  840. <p> </p>
  841. <p></p>
  842. <p>    /* thread view indent */</p>
  843. <p>    .jive-discussion-indent-1 li.reply { padding-left: 15px !important; }</p>
  844. <p>   </p>
  845. <p>    /* thread info */</p>
  846. <p>    .jive-thread-info {</p>
  847. <p>        padding: 10px 40px !important;</p>
  848. <p>        margin: 0px !important;</p>
  849. <p>    }</p>
  850. <p>   </p>
  851. <p>    /* thread answer rollup */</p>
  852. <p>    .j-answer-rollup { margin: 30px 0px !important; }</p>
  853. <p>   </p>
  854. <p>    /* thread post header (poster, date, response to) */</p>
  855. <p>    .j-thread-post &gt; header {</p>
  856. <p>        padding: 10px 20px 0px 20px !important;</p>
  857. <p>        margin-bottom: 12px !important;</p>
  858. <p>    }</p>
  859. <p>   </p>
  860. <p>    /* thread post section (message body) */</p>
  861. <p>    .j-thread-post section {</p>
  862. <p>        padding: 0px 20px !important;</p>
  863. <p>        margin-bottom: 6px !important;</p>
  864. <p>    }</p>
  865. <p>   </p>
  866. <p>    /* thread post footer (Like|Reply etc) */</p>
  867. <p>    .j-thread-post footer { padding: 0px 15px !important; }</p>
  868. <p>    .j-thread-post footer &gt; ul { padding: 2px !important; }</p>
  869. <p>    .j-thread-post footer &gt; .acclaim-container { margin: 5px 0px !important; }</p>
  870. <p></p>
  871. <p> </p>
  872. <p></p>
  873. <p>    /* thread rendered content */</p>
  874. <p>    .jive-rendered-content { padding-bottom: 4px !important; }</p>
  875. <p>   </p>
  876. <p>    /* thread rendered content quote &amp; pre */</p>
  877. <p>    .jive-rendered-content .jive-quote,</p>
  878. <p>    .jive-rendered-content .jive-pre {</p>
  879. <p>        margin: 5px 15px !important;</p>
  880. <p>    }</p>
  881. <p></p>
  882. <p> </p>
  883. <p></p>
  884. <p>    /* thread reply footer (Return to Community|Go to original post) */</p>
  885. <p>    #jive-thread-reply-footer {    margin-top: 10px !important; }</p>
  886. <p>   </p>
  887. <p>    /* more like this links, incomming links */</p>
  888. <p>    #apple-related-threads { margin: 0px 40px !important; }</p>
  889. <p>    #apple-related-threads .j-box { margin-bottom: 0px !important; }</p>
  890. <p>    .j-icon-list li { padding: 3px 0px 3px 22px !important; }</p>
  891. <p></p>
  892. <p> </p>
  893. <p></p>
  894. <p></p>
  895. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  896. <p>        INLINE EDITOR</p>
  897. <p>    */</p>
  898. <p>    /* editor */</p>
  899. <p>    .jive-discussion-replies li.addReply { margin: 50px 40px 0px !important; }</p>
  900. <p></p>
  901. <p> </p>
  902. <p></p>
  903. <p></p>
  904. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  905. <p>        ADVANCED EDITOR</p>
  906. <p>    */</p>
  907. <p>    /* content area */</p>
  908. <p>    .j-thread .jive-content.jive-create-thread,</p>
  909. <p>    .jive-body-formpage-document .jive-content.doc-page {</p>
  910. <p>        margin: 0px 40px !important;</p>
  911. <p>        padding: 0px !important;</p>
  912. <p>    }</p>
  913. <p></p>
  914. <p> </p>
  915. <p></p>
  916. <p>    /* header */</p>
  917. <p>    .j-thread .jive-content.jive-create-thread h2,</p>
  918. <p>    .jive-body-formpage-document .jive-content.doc-page h2 { padding: 0px !important; }</p>
  919. <p></p>
  920. <p> </p>
  921. <p></p>
  922. <p>    /* editor panel */</p>
  923. <p>    .j-thread .jive-content.jive-create-thread #jive-compose-title,</p>
  924. <p>    .j-thread .jive-content.jive-create-thread .jive-editor-panel.jive-large-editor-panel,</p>
  925. <p>    .jive-body-formpage-document .jive-content.doc-page #jive-compose-title,</p>
  926. <p>    .jive-body-formpage-document .jive-content.doc-page .jive-editor-panel.jive-large-editor-panel { margin: 0px !important; }</p>
  927. <p></p>
  928. <p> </p>
  929. <p></p>
  930. <p>    /* line height in editor */</p>
  931. <p>    body.tiny_mce_content { line-height: inherit !important; }</p>
  932. <p></p>
  933. <p> </p>
  934. <p></p>
  935. <p>    /* replying to */</p>
  936. <p>    .jive-body-formpage-comment .jive-thread-message { margin: 0px !important; }  </p>
  937. <p></p>
  938. <p> </p>
  939. <p></p>
  940. <p>    /* buttons (Reply|Cancel) */</p>
  941. <p>    .j-publishbar,</p>
  942. <p>    .jive-body-formpage .jive-composebuttons { margin: 20px 40px 0px !important; }</p>
  943. <p></p>
  944. <p> </p>
  945. <p></p>
  946. <p></p>
  947. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  948. <p>        ACTIVITY STREAM</p>
  949. <p>    */</p>
  950. <p>    /* activity entry */</p>
  951. <p>    .j-act-entry { padding: 5px 0px 10px 100px !important; }</p>
  952. <p></p>
  953. <p> </p>
  954. <p></p>
  955. <p>    /* activity title */</p>
  956. <p>    .j-body-home .j-act-title { padding: 5px 0px 5px 24px !important; }</p>
  957. <p></p>
  958. <p> </p>
  959. <p></p>
  960. <p>    /* activity body &amp; comment */                                                    /* added in v0.43 */</p>
  961. <p>    .j-body-home .j-act-init,</p>
  962. <p>    .j-view-profile .j-act-init { padding: 5px 0px 10px 100px !important; }</p>
  963. <p>    .apple-activity-comments-wrapper { margin-left: 0px !important; }</p>
  964. <p></p>
  965. <p> </p>
  966. <p></p>
  967. <p>    /* Like list */</p>
  968. <p>    .j-act-grouped .j-act-g-item { padding: 3px !important; }</p>
  969. <p>   </p>
  970. <p>   </p>
  971. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  972. <p>        SEARCH RESULTS</p>
  973. <p>    */</p>
  974. <p>    /* search result entry */</p>
  975. <p>    .j-search-results-main-container .j-search-result { padding: 10px !important; }    /* added in v0.43 */</p>
  976. <p></p>
  977. <p> </p>
  978. <p></p>
  979. <p></p>
  980. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  981. <p>        DOC (USER TIP)</p>
  982. <p>    */                                                                                 /* added in v0.43 */</p>
  983. <p>    /* user tip canvas */</p>
  984. <p>    .jive-body-content.j-doc .j-column-wrap-l { margin: 0px 40px !important; }</p>
  985. <p></p>
  986. <p> </p>
  987. <p></p>
  988. <p></p>
  989. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  990. <p>        PROFILE</p>
  991. <p>    */                                                                                 /* added in v0.43 */</p>
  992. <p>    /* header &amp; navigation bar (Bio|Activity|Content|Communities) */</p>
  993. <p>    .j-view-profile .j-page-header { padding: 10px 40px !important; }</p>
  994. <p>    .j-bigtab-nav { margin: 10px 40px !important; }</p>
  995. <p>   </p>
  996. <p>    /* Bio */</p>
  997. <p>    .j-layout-l .j-column-wrap-l { width: 100% !important; }</p>
  998. <p></p>
  999. <p> </p>
  1000. <p></p>
  1001. <p>    /* Communities (places) sidebar ui blue marker adjustment</p>
  1002. <p>        (according to the sidebar width changed to 166px from 180px for selector: .j-layout-sl.j-browse-places .j-column-s</p>
  1003. <p>        in PLACES section)  */</p>
  1004. <p>    .j-view-profile .j-second-nav ul &gt; li.active  { width: 156px !important; }</p>
  1005. <p></p>
  1006. <p> </p>
  1007. <p></p>
  1008. <p></p>
  1009. <p>    /* ------------------------------------------------------------------------------- -----------------</p>
  1010. <p>        PLACES</p>
  1011. <p>    */                                                                                 /* added in v0.43 */</p>
  1012. <p>    /* latest activity column */</p>
  1013. <p>    .j-browse-details .j-td-activity { max-width: 650px !important; }</p>
  1014. <p></p>
  1015. <p> </p>
  1016. <p></p>
  1017. <p></p>
  1018. <p>    /* ------------------</p>
  1019. <p>        Treatment for narrow window</p>
  1020. <p>        Method 1 (minimum optimisation)</p>
  1021. <p></p>
  1022. <p> </p>
  1023. <p></p>
  1024. <p>        Adjust community list table's shift and margin to maximize its width.</p>
  1025. <p>    */                                                                                 /* added in v0.43 */</p>
  1026. <p>    /* ------------------ (currently commented out)</p>
  1027. <p>    .j-layout-sl.j-browse-places .j-column-wrap-l { margin-left: -166px !important; }</p>
  1028. <p>    .j-layout-sl.j-browse-places .j-column-l      { margin-left: 166px !important; }</p>
  1029. <p>    .j-layout-sl.j-browse-places .j-column-s      { width: 166px !important; }</p>
  1030. <p>    ------------------ */</p>
  1031. <p>    /* ------------------</p>
  1032. <p>        Treatment for narrow window</p>
  1033. <p>        Method 2 (more beneficial to narrow window but has disadvantage for wide window)</p>
  1034. <p>       </p>
  1035. <p>        Let community list table have full width but not exceed 1019px to make room for sidebar ui (filters &amp; actions).</p>
  1036. <p>        If window is wide enough (&gt;=1265px), sidebar ui is displayed next to community list table,</p>
  1037. <p>        otherwise it is displayed below or above it (depending upon its document tree order).</p>
  1038. <p>       </p>
  1039. <p>        * sidebar width (constant)    = 166px</p>
  1040. <p>        * community table max width   = 1019px</p>
  1041. <p>        * canvas margin-left          = 40px</p>
  1042. <p>        * canvas margin-right         = 40px</p>
  1043. <p>        ---------------------------------------</p>
  1044. <p>        * total                       = 1265px</p>
  1045. <p>    */                                                                                 /* added in v0.5 */</p>
  1046. <p>    /* ------------------ (currently active) */</p>
  1047. <p>    .j-layout-sl.j-browse-places .j-column-wrap-l { max-width: 1019px !important; }</p>
  1048. <p>    .j-layout-sl.j-browse-places .j-column-wrap-l { margin-left: 0px !important; }</p>
  1049. <p>    .j-layout-sl.j-browse-places .j-column-l      { margin-left: 0px !important; }</p>
  1050. <p>    .j-layout-sl.j-browse-places .j-column-l      { padding-left: 0px !important; }</p>
  1051. <p>    .j-layout-sl.j-browse-places .j-column-s      { width: 166px !important; }</p>
  1052. <p>    /* ------------------ */</p>
  1053. <p></p>
  1054. <p> </p>
  1055. <p></p>
  1056. <p></p>
  1057. <p>  }  /* end of narrow browsers. */</p>
  1058. <p>}  /* end of moz-document */</p>
  1059. </pre>
  1060. <p> </p></body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement