Skip to content

Instantly share code, notes, and snippets.

@aklef
Created November 13, 2017 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aklef/b1eb2a760ab2cf7edba79045191acc61 to your computer and use it in GitHub Desktop.
Save aklef/b1eb2a760ab2cf7edba79045191acc61 to your computer and use it in GitHub Desktop.
Outlook.com Tidy! (exported) Must be re-imported into Stylish to work!
@-moz-document domain("live.com") {
/*
Outlook.com Tidy V4.1.0
By BoffinbraiN
Modified by KLEFTO
*/
@namespace url(http://www.w3.org/1999/xhtml);
/* Outlook.com version 2017-07 */
}
@-moz-document domain("live.com") {
/* Hide right panel and footer */
#primaryContainer > :last-child {right:0 !important;} /* Allow reading pane to go to the far right */
._n_h {display:none !important;} /* Hide element containing ads and adblocker message */
/* Message List Header */
._n_V .ms-font-xxl {font-size:20px; line-height:40px;} /* Sensible font size on folder header */
._n_V ._n_01 {margin-top:-3px;} /* Adjust position of folder header checkbox */
._n_r1, ._n_a1 {border:none;} /* Remove left border from elements touching the left panel */
/* Compact Inbox */
._lvv_t {height:auto !important; padding-bottom:6px;} /* Message row */
._lvv_t ._lvv_x {height:100%;} /* Unread message marker bar */
._lvv_t .ms-font-l {font-size:12px;} /* Reduce line 1 font size */
._lvv_t ._lvv_D {height:auto; padding-top:5px} /* Pull up line 1 */
._lvv_t ._lvv_y {top:-3px;} /* Pull checkbox up */
._lvv_t ._lvv_G {margin-top:0;} /* Pull up line 2 */
._lvv_t ._lvv_L {display:none;} /* Hide line 3 */
/* Compact Folder Lists */
.subfolders ._n_i4 {height: auto;} /* Auto height on folder name */
.subfolders ._n_a4 {padding-top:0;} /* reduced padding */
.subfolders ._n_f4 {top:1px;} /* Align unread message count */
.subfolders ._n_94 {padding-left: 0;} /* Reduce left indent */
.subfolders ._n_74 {padding-left: 2px;} /* Reduce left indent further */
/* Compact Message Pane */
._rp_U4, ._rp_w2 {margin-left: 0;} /* Remove left indent from main body and misc headers */
}
@-moz-document domain("live.com") {
/* Hide right panel and footer */
#RightRailContainer,
.FooterContainer {display:none !important;}
#MainContent {right:0 !important; bottom:0 !important}
.WithRightRail {right:0 !important;}
/* Compact Inbox */
.InboxTableBody > li {height:auto !important; font-size:90% !important;}
.InboxTableBody > li > * {height:auto !important; padding-top:1px !important;}
.InboxTableBody .Ck {position:relative !important; top:1px !important;}
.InboxTableBody .Fm img {margin-top:1px !important;}
/* Compact Folder Lists */
ul.LeftNav > li > * {min-height:0 !important;}
ul.LeftNav > li > * > span {line-height:1.3em !important; top:-2px !important;}
}
@-moz-document domain("live.com") {
/*@@@@@@@@@@@@@@@@@@@*/
/** Custom changes! **/
/* Created by KLEFTO */
/*********************/
div > .o365buttonOutlined[role=link] {
display: none;
}
._rp_z1 {
visibility: hidden;
}
.owaimg.ms-Icon--waffle2 {
visibility: hidden;
}
.o365cs-nav-leftAlign > .o365button > .o365cs-nav-brandingText {
visibility: hidden;
}
.o365cs-nav-leftAlign .o365button > .o365cs-nav-brandingText:before {
content: "Outlook";
visibility: visible;
display: block;
}
.subfolders > div > div[draggable=true] > div > span {
padding-left: 0px !important;
}
._n_r4 > ._n_j4 {
padding-left: 0px !important;
}
/* Hide the "Folders" Dropdown */
div > div.treeHeaderContainer {
display:none;
}
div.subfolders {
margin-left: -20px;
}
.firstLevelFolderHead .ms-font-l {
font-size: 19px;
}
.ms-icon-font-size-16-circle:before {
font-size: 16px!important;
padding: 1px!important;
border-width: 2px!important;
width: 21px!important;
height: 21px!important;
}
._n_24 .ms-fwt-sl, .ms-font-weight-semilight-hover:hover, .ms-font-weight-semilight-before:before, .ms-fwt-sl-h:hover, .ms-fwt-sl-b:before {
font-family: 'Segoe UI',Arial,sans-serif;
}
/* .ms-bgc-tlra {
padding-top: 2px;
padding-bottom: 2px;
} */
div[autoid="_lvv2_9"] > div:nth-of-type(1) .ms-bgc-tlra.showAsFlaggedMouse, div[autoid="_lvv2_9"] > div:nth-of-type(1) .ms-bgc-nl {
border-top: 1px solid lightgrey;
}
div[autoid="_lvv2_9"] > div:nth-of-type(5) .ms-bgc-tlra.showAsFlaggedMouse, div[autoid="_lvv2_9"] > div:nth-of-type(5) .ms-bgc-nl {
border-bottom: 1px solid lightgrey;
}
/*div[autoid="_lvv2_9"] > div:nth-of-type(1) .ms-bgc-nl, div[autoid="_lvv2_9"] > div:nth-of-type(2) .ms-bgc-nl, div[autoid="_lvv2_9"] > div:nth-of-type(3) .ms-bgc-nl, div[autoid="_lvv2_9"] > div:nth-of-type(4) .ms-bgc-nl, div[autoid="_lvv2_9"] > div:nth-of-type(5) .ms-bgc-nl {
padding-top: 2px;
padding-bottom: 2px;
}*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment