Skip to content

Commit d97925d

Browse files
committed
Merge branch 'master' of github.com:OnfireNetwork/dialogui
2 parents 867fdeb + 8276a4c commit d97925d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

client.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
local web = CreateWebUI(0, 0, 0, 0, 1, 16)
22
SetWebAlignment(web, 0, 0)
33
SetWebAnchors(web, 0, 0, 1, 1)
4-
SetWebURL(web, "http://asset/dialogui/dialog.html")
4+
SetWebURL(web, "http://asset/"..GetPackageName().."/dialog.html")
55
local nextId = 1
66
local dialogs = {}
77
local lastOpened = -1
8-
local globalTheme = "default-dark"
8+
local globalTheme = "themes/default-dark.css"
99
function createDialog(title, text, ...)
1010
local id = nextId
1111
nextId = nextId + 1

themes/saitama.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
text-transform: uppercase;
101101
cursor: pointer;
102102
transition: all 150ms ease;
103+
outline: 0;
103104
}
104105
.menu-button:hover {
105106
transform: translateY(-3%);
@@ -194,4 +195,4 @@
194195

195196
::-webkit-scrollbar-thumb {
196197
background: #888;
197-
}
198+
}

0 commit comments

Comments
 (0)