Advertisement
rccharles

ASC may 2016 look beta-E update

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