diff --git a/code/game/machinery/computer/store.dm b/code/game/machinery/computer/store.dm index dcdb4b1134e..aa7118c49b8 100644 --- a/code/game/machinery/computer/store.dm +++ b/code/game/machinery/computer/store.dm @@ -13,7 +13,6 @@ /obj/machinery/computer/merch/New() ..() - /obj/machinery/computer/merch/attack_ai(mob/user as mob) src.add_hiddenprint(user) return attack_hand(user) @@ -43,43 +42,49 @@ html { color:#999; } +table {background:#303030;} + +caption {text-align:left;} + +.button { + color:#cfcfcf; + text-decoration:none; + font-weight:bold; + text-align:center; + width:75px; + padding:21px; + box-sizing:border-box; + background:none; + border:none; + display: inline-block; +} +.button:hover {color:#ffffff;} + a { color:#cfcfcf; text-decoration:none; font-weight:bold; } +a:hover {color:#ffffff;} -a:hover { - color:#ffffff; -} -tr { - background:#303030; - border-radius:6px; - margin-bottom:0.5em; - border-bottom:1px solid black; -} -tr:nth-child(even) { - background:#3f3f3f; -} +p {margin:0;} -td.cost { - font-size:20pt; - font-weight:bold; -} +tr.dark {background:#303030;} -td.cost.affordable { - background:green; -} +tr.light {background:#3f3f3f;} -td.cost.toomuch { - background:maroon; -} +td,th {padding:15px;} +th.cost {padding:0px;} + +th.cost.affordable {background:green;} + +th.cost.toomuch {background:maroon;} -

Refresh | Balance: $[balance]

+

Refresh | Balance: $[balance]

[command_name()] Merchandise

Doing your job and not getting any recognition at work? Well, welcome to the @@ -87,8 +92,9 @@ td.cost.toomuch { completed your Job Objectives.

Work hard. Get cash. Acquire bragging rights.

-

In Stock:

+
+ @@ -101,8 +107,11 @@ td.cost.toomuch { if(item.cost>balance) cost_class="toomuch" var/itemID=centcomm_store.items.Find(item) + var/row_color="light" + if(itemID%2 == 0) + row_color="dark" dat += {" - + @@ -110,9 +119,9 @@ td.cost.toomuch {

[item.name]

[item.desc]

- + "} dat += {" @@ -120,7 +129,7 @@ td.cost.toomuch {
In Stock:
# Name/Description
[itemID] - $[item.cost] - + $[item.cost] +
"} - user << browse(dat, "window=merch") + user << browse(dat, "window=merch;size=440x600;can_resize=0") onclose(user, "merch") return @@ -142,6 +151,6 @@ td.cost.toomuch { if(!centcomm_store.PlaceOrder(usr,itemID)) to_chat(usr, "Unable to charge your account.") else - to_chat(usr, "You've successfully purchased the item. It should be in your hands or on the floor.") + to_chat(usr, "You've successfully purchased the item. It should be in your hands or on the floor.") src.updateUsrDialog() return