This commit is contained in:
Sefaakahramann 2020-05-07 17:26:38 +03:00 committed by GitHub
commit a15e19f1df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 2 deletions

7
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": []
}

10
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,10 @@
{
"window.autoDetectColorScheme": true,
"window.closeWhenEmpty": true,
"cleartool.actionCommentOptionDialog": true,
"cleartool.actionPreserveFileModificationTime": true,
"problems.showCurrentInStatus": true,
"remote.downloadExtensionsLocally": true,
"comments.openPanel": "openOnSessionStart",
"remote.restoreForwardedPorts": true
}

View File

@ -6,7 +6,7 @@ var clockPlugin = function () {};
clockPlugin.prototype.start = function () {
BdApi.clearCSS("clockPluginCss");
BdApi.injectCSS("clockPluginCss", '#clockPluginClock { position:absolute; color:#FFF; background:#333333; padding:0 12px 0 13px; min-width:55px; max-width:55px; z-index:100; }');
BdApi.injectCSS("clockPluginCss", '#clockPluginClock { position:absolute; color:#FFF; padding:0 10px 0 80px; min-width:50px; max-width:50px; z-index:100; }');
var self = this;
this.clock = $("<div/>", { id: "clockPluginClock" });
$("body").append(this.clock);
@ -92,4 +92,4 @@ clockPlugin.prototype.getVersion = function () {
clockPlugin.prototype.getAuthor = function () {
return "Jiiks";
};
};