Skip to content

Instantly share code, notes, and snippets.

@justinAurand
Last active March 7, 2019 17:41
Show Gist options
  • Save justinAurand/a977b1cd8218da552390718f7bd6736e to your computer and use it in GitHub Desktop.
Save justinAurand/a977b1cd8218da552390718f7bd6736e to your computer and use it in GitHub Desktop.
Double the size of the Modern skin for Launchy
/*
Almost necessary for 4K monitors.
Credit - https://www.deviantart.com/handofra--/art/Modern-for-Launchy-368677286
*/
/* Base */
#launchy {
background-color: #161616;
qproperty-geometry: rect(0 0 880 280);
}
#input, #output, #alternatives, #alternativesPath {
font: "Segoe UI";
border: 0;
}
/* Input + Output */
#input {
font-size: 48px;
padding: 4px 10px 0 10px;
background-color: #212121;
color: white;
qproperty-alignment: AlignLeft;
qproperty-geometry: rect(40 160 800 80);
}
#output {
font-size: 32px;
font-weight: bold;
padding: 40px 0 0 128px;
background-color: #3FA9F5;
color: white;
qproperty-alignment: AlignLeft;
qproperty-geometry: rect(0 0 880 120);
}
#outputIcon {
qproperty-geometry: rect(40 28 64 64);
}
/* Alternatives */
#alternatives {
font-size: 22px;
font-weight: bold;
background-color: #212121;
color: #555555;
selection-background-color: #212121;
selection-color: white;
alternate-background-color: #212121;
qproperty-alignment: AlignCenter;
qproperty-geometry: rect(40 250 800 64);
}
#alternativesPath {
font-size: 22px;
color: #212121;
selection-color: #555555;
}
/* Scrollbar */
QScrollBar#altScroll:vertical {
background: #212121;
width: 32px;
margin: 32px 0 32px 0;
}
QScrollBar#altScroll::handle:vertical {
background-color: #555555;
margin: 4px 8px 4px 8px;
}
QScrollBar#altScroll::add-page:vertical, QScrollBar#altScroll::sub-page:vertical {
background: #212121;
}
QScrollBar#altScroll::sub-line:vertical, QScrollBar#altScroll::add-line:vertical {
width: 32px;
height: 32px;
subcontrol-origin: margin;
}
QScrollBar#altScroll::sub-line:vertical {
subcontrol-position: top;
image: url(scroll_up.png);
}
QScrollBar#altScroll::add-line:vertical {
subcontrol-position: bottom;
image: url(scroll_down.png);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment