Skip to content

Instantly share code, notes, and snippets.

@yanorei32
Last active March 8, 2017 21:33
Show Gist options
  • Save yanorei32/36b26551e512581b64798ccd19a28f93 to your computer and use it in GitHub Desktop.
Save yanorei32/36b26551e512581b64798ccd19a28f93 to your computer and use it in GitHub Desktop.
BetterDiscordのタイトルバードラッグしにくい問題を解決するスタイルシート。
//META{"name":"Title Bar","description":"Title Bar","author":"Yanorei32","version":"1.20"}*//
/* Title Bar */
.app {
margin-top : 31px !important;
}
html {
background-color : rgb(20,20,20) !important;
color:rgb(127,127,127);
}
body {
-webkit-app-region : drag;
}
body:before{
font-size : 30px;
font-family : "Myrica M" , "MyricaM M", "Consolas" !important;
padding-left : .5em;
content : "Discord Title Bar by Yanorei32";
}
/* Buttons */
.win-buttons button {
margin-right : 1px !important;
height : 29px !important;
width : 45px !important;
background-position : center center;
background-repeat : no-repeat;
background-size : 50%;
}
.win-buttons button:hover {
background-color : rgba(255,255,255,0.1);
}
.win-buttons .win-close:hover {
background-color : rgba(255,0,0,1);
}
.win-buttons {
right : 0px !important;
top : 1px !important;
height : 29px !important;
}
.separator-win {
margin : 0 !important;
}
/* Can't Select Text */
* {
user-select : none !important;
-webkit-user-select : none !important;
}
.messages-wrapper * {
user-select : text !important;
-webkit-user-select : text !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment