Advertisement
rccharles

asc june 2016 header A

Jun 29th, 2016
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.54 KB | None | 0 0
  1. /* Reduce the size of a header area on a list web page.
  2.    example:
  3.        https://discussions.apple.com/content?filterID=following~objecttype~objecttype[thread]
  4. */
  5.  
  6. @-moz-document
  7.    url-prefix(https://discussions.apple.com/content),
  8.    url-prefix(https://discussions.apple.com/community),
  9.    url-prefix(https://discussions.apple.com/people),
  10.    url-prefix(https://discussionsjapan.apple.com/content),
  11.    url-prefix(https://discussionsjapan.apple.com/community),
  12.    url-prefix(https://discussionsjapan.apple.com/people),
  13.    url-prefix(https://discussionskorea.apple.com/content),
  14.    url-prefix(https://discussionskorea.apple.com/community),
  15.    url-prefix(https://discussionskorea.apple.com/people),
  16.    url-prefix(https://communities.apple.com/es/content),    
  17.    url-prefix(https://communities.apple.com/es/community/),
  18.    url-prefix(https://communities.apple.com/es/people),  
  19.    url-prefix(https://communities.apple.com/pt/content),
  20.    url-prefix(https://communities.apple.com/pt/community/),
  21.    url-prefix(https://communities.apple.com/pt/people) {  
  22.    
  23.      
  24.       header#j-header nav#j-globalNav-bg {margin-top: -4px !important;}
  25.       header#j-header div#second-row {padding-top: 6px !important;}
  26.       header#apple-full-header h4#apple-full-subheader { display: none !important; }
  27.       header#apple-full-header {margin-top: -40px !important;}
  28.       nav#jive-breadcrumb {
  29.           margin-top: -20px !important;
  30.           width: 500px !important;
  31.           float: right !important;
  32.         }
  33.      
  34.      /*  Delete line under "all discussions" */
  35.      div.j-layout.j-layout-sl form#js-browse-controls div.j-browse-filter-row.j-content-filter {
  36.           border-bottom: 0px !important;
  37.       }
  38.      
  39.      /* All discussions */
  40.      select.j-browse-filter.js-browse-filter {
  41.          padding: 5px 6px 5px 8px !important;
  42.          font-size: 14px !important;
  43.          width: 160px !important;      
  44.          text-align: left !important;
  45.          border-color: #9b9b9b !important;
  46.          background-color: #f2f2f2 !important;
  47.       }
  48.      
  49.      /* "Type to filter by text" on list of discussions in a community. */
  50.      div.j-browse-sorts.j-browse-filter-row span.j-browse-search input {
  51.          padding: 5px 6px 5px 8px !important;
  52.          font-size: 14px !important;
  53.          width: 160px !important;      /* Was 220px */
  54.          text-align: center !important;
  55.          border-color: #9b9b9b !important;
  56.          background-color: #f2f2f2 !important;
  57.        }
  58.        
  59.      /* Sort by ... */
  60.      #js-browse-controls #j-browse-filters #j-sort {
  61.          border-color: #9b9b9b !important; /* grey, Apple's color */
  62.          padding: 6px 6px 8px 28px !important;
  63.          font-size: 14px !important;
  64.          background-color: #f2f2f2 !important;
  65.          text-align: left !important;
  66.          height:  30px !important;
  67.          padding: 2px !important;
  68.          width: 260px !important;
  69.        }
  70.      
  71.     /* Hover over  */
  72.         /* All discussions */
  73.     select.j-browse-filter.js-browse-filter:hover,
  74.         /* text */
  75.     div.j-browse-sorts.j-browse-filter-row span.j-browse-search input:hover,
  76.         /* sort by ... */
  77.     #js-browse-controls #j-browse-filters #j-sort:hover {  
  78.         border-color: #42aaff !important;  /* light blue */    
  79.       }  
  80.  
  81. /*    padding-top: 40px !important;   /* trying to save space in header. breadcomb got moved. adjust. 0.2 */
  82.      
  83.        /* Compress space in header */
  84.     /* div#jive-body.clearfix {
  85.          margin-top: -90px !important;
  86.          } */
  87.        
  88.      
  89. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement