-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
edf30d0
commit 5b915f1
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#lakeus-theme-designer { | ||
position: fixed; | ||
left: 32px; | ||
bottom: 32px; | ||
user-select: none; | ||
z-index: 199; | ||
} | ||
|
||
#lakeus-theme-designer #lakeus-theme-designer-button { | ||
color: #fff; | ||
background: #fff; | ||
text-align: center; | ||
height: 45px; | ||
width: 45px; | ||
font-size: 20px; | ||
border: 0; | ||
border-radius: 50%; | ||
box-shadow: 0 0 5px grey; | ||
text-shadow: 0 0 2px #4c4c4c; | ||
padding: 0; | ||
margin: 0; | ||
cursor: pointer; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
window.Lakeus = window.Lakeus || {}; | ||
window.Lakeus = window.Lakeus || {}; | ||
|
||
Lakeus.initThemeDesigner = function () { | ||
console.log("[Lakeus] Theme Designer is loading..."); | ||
var stylePath = mw.config.get('stylepath'); | ||
$('head').append('<link rel="stylesheet" href="' + stylePath + '/Lakeus/resources/themeDesigner.css' + '" type="text/css" />'); | ||
$("body").append('<div id="lakeus-theme-designer"><button id="lakeus-theme-designer-modal-button">🖌️</button></div>'); | ||
console.log("[Lakeus] Theme Designer is loaded."); | ||
}; |