Skip to content

Instantly share code, notes, and snippets.

@CMTegner
Created October 23, 2012 04:32
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 CMTegner/3936677 to your computer and use it in GitHub Desktop.
Save CMTegner/3936677 to your computer and use it in GitHub Desktop.
Custom low-profile toolbar stylesheet for Chrome devtools
/**********************************************/
/*
* Low-profile toolbar Chrome devtools skin
* by Christian Maughan Tegnér
*
* https://gist.github.com/gists/3936677
*
/**********************************************/
.compact #toolbar {
height: 24px !important;
}
.compact .toolbar-item.close-left {
margin-top: 0 !important;
}
.compact .toolbar-item.toggleable {
margin-top: 3px !important;
padding-top: 0px !important;
}
.compact .toolbar-icon {
width: 12px !important;
height: 12px !important;
background-size: 96px 24px !important;
}
.compact .toolbar-item:active .toolbar-icon {
background-position-y: 12px !important;
}
.compact .toolbar-item.resources .toolbar-icon {
background-position-x: -12px !important;
}
.compact .toolbar-item.network .toolbar-icon {
background-position-x: -24px !important;
}
.compact .toolbar-item.sources .toolbar-icon {
background-position-x: -36px !important;
}
.compact .toolbar-item.timeline .toolbar-icon {
background-position-x: -48px !important;
}
.compact .toolbar-item.profiles .toolbar-icon {
background-position-x: -60px !important;
}
.compact .toolbar-item.audits .toolbar-icon {
background-position-x: -72px !important;
}
.compact .toolbar-item.console .toolbar-icon {
background-position-x: -84px !important;
}
.compact .toolbar-item.extension-panel-1_1 .toolbar-icon {
background-size: 12px 12px !important;
background-position-x: 12px !important;
}
body.compact #main {
top: 24px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment