Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Reduce the size of a header area on a list web page and others like logged in web page page.
- example:
- https://discussions.apple.com/content?filterID=following~objecttype~objecttype[thread]
- https://discussions.apple.com/people/<userid>?view=discussions
- This adjustment assume you are running the combined user style sheet.
- https://discussions.apple.com/docs/DOC-7501
- Two problems exist when running standalone:
- 1) breadcrumb flies off the top of the screen. Change adjust to -80px
- 2) sidebar's blue box is in the wrong place. Probably have to ditch it.
- */
- @-moz-document
- url-prefix(https://discussions.apple.com/content),
- url-prefix(https://discussions.apple.com/community),
- url-prefix(https://discussions.apple.com/people),
- url-prefix(https://discussionsjapan.apple.com/content),
- url-prefix(https://discussionsjapan.apple.com/community),
- url-prefix(https://discussionsjapan.apple.com/people),
- url-prefix(https://discussionskorea.apple.com/content),
- url-prefix(https://discussionskorea.apple.com/community),
- url-prefix(https://discussionskorea.apple.com/people),
- url-prefix(https://communities.apple.com/es/content),
- url-prefix(https://communities.apple.com/es/community/),
- url-prefix(https://communities.apple.com/es/people),
- url-prefix(https://communities.apple.com/pt/content),
- url-prefix(https://communities.apple.com/pt/community/),
- url-prefix(https://communities.apple.com/pt/people) {
- /* debug:
- background-color: yellow !important;
- */
- /* top line:
- Communities Contact support
- I guess we know by now that we are in the communities. */
- /* Communities */
- div#body-apple header div#apple-site-title a { display: none!important; }
- /* Contact Support */
- div#body-apple header ul#contact-support-link a {
- margin-top: -10px !important;
- /*background-color: pink !important;*/
- }
- /* User id My subscriptions Content ... */
- header#j-header div#second-row {
- /*background-color: yellow !important;*/
- padding-top: 6px !important;
- }
- /* User id signout */
- div#second-row ul#j-satNav-wrap {
- /*background-color: aqua !important;*/
- margin-left: -40px !important;
- margin-top: -10px !important;
- }
- /* "Find helpful content and discussions"
- Total waste of space. */
- header#apple-full-header h4#apple-full-subheader { display: none!important; }
- /* Support Communities Content
- Move breadcrumb to the upper left, thus avoiding the repeating of Communities and content */
- section#j-main nav#jive-breadcrumb { /* add more selectors to overwhele main css */
- position: absolute !important; /* override what in the main css */
- text-align: left !important;
- top: -120px !important; /* if you want to run this with out the main css, change to -80px */
- left: 0px !important;
- font-size: 20px !important;
- /* background-color: tan !important;*/
- width: inherit !important; /* override what in the main css */
- }
- /* Content in a large font-size. Glad to get rid of this redundant waste of space. */
- div#jive-body header#apple-full-header { display: none!important; }
- /* Box and list view icons
- Who ever uses the box view? No need. */
- div#jive-body ul#j-item-view-toggle { display: none!important; }
- /* Lower header. Large box. Starts with All content Annoucements User tips Discussions includes contents listing. */
- div.j-layout.j-layout-sl.clearfix.j-contained {
- /*background-color: aqua !important;*/
- margin-top: -50px !important;
- }
- /* The second line in the header FYI
- limit selection to just user's content
- div.j-layout.j-layout-sl.clearfix.j-contained.j-contained-tabs.j-browse-content.j-rc5
- form#js-browse-controls div.j-browse-sorts {} */
- /* move up a bit the horizonal nav bar. In the main css, the sidebar was made horizontal */
- div .j-colum-wrap-s nav.j-second-nav ul { margin-top: -10px !important;}
- /* Delete line under "all discussions" */
- div.j-layout.j-layout-sl form#js-browse-controls div.j-browse-filter-row.j-content-filter {
- border-bottom: 0px !important;
- height: 30px !important;
- }
- /* All discussions */
- select.j-browse-filter.js-browse-filter {
- padding: 5px 6px 5px 8px !important;
- font-size: 14px !important;
- width: 160px !important;
- text-align: left !important;
- border-color: #9b9b9b !important;
- background-color: #f2f2f2 !important;
- }
- /* "Type to filter by text" on list of discussions in a community. */
- div.j-browse-sorts.j-browse-filter-row span.j-browse-search input {
- padding: 5px 6px 5px 8px !important;
- font-size: 14px !important;
- width: 160px !important; /* Was 220px */
- text-align: center !important;
- border-color: #9b9b9b !important;
- background-color: #f2f2f2 !important;
- }
- /* Sort by ... */
- #js-browse-controls #j-browse-filters #j-sort {
- border-color: #9b9b9b !important; /* grey, Apple's color */
- padding: 6px 6px 8px 28px !important;
- font-size: 14px !important;
- background-color: #f2f2f2 !important;
- text-align: left !important;
- height: 30px !important;
- padding: 2px !important;
- width: 260px !important;
- }
- /* Hover over */
- /* All discussions */
- select.j-browse-filter.js-browse-filter:hover,
- /* text */
- div.j-browse-sorts.j-browse-filter-row span.j-browse-search input:hover,
- /* sort by ... */
- #js-browse-controls #j-browse-filters #j-sort:hover {
- border-color: #42aaff !important; /* light blue */
- }
- }
- @-moz-document
- url-prefix(https://discussions.apple.com/people) {
- /* top line:
- Communities Contact support
- Display normal first line on logged in page. Being later in this file,
- the display keyword overrides earlier one. */
- header#j-header nav#j-globalNav-bg {display: inherit !important;}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement