"
+ dat += ""
+
+ if(TAB_ANTAG) // Antagonist's Preferences
+ dat += ""
dat += "Special Role Settings"
if(jobban_isbanned(user, ROLE_SYNDICATE))
dat += "You are banned from special roles."
@@ -462,7 +469,8 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
else
dat += "Be [capitalize(i)]: \[ERROR] "
else
- dat += "Be [capitalize(i)]: [(i in src.be_special) ? "Yes" : "No"] "
+ var/is_special = (i in src.be_special)
+ dat += "Be [capitalize(i)]:[(is_special) ? "Yes" : "No"] "
dat += " | "
if(TAB_GEAR)
diff --git a/html/browser/common.css b/html/browser/common.css
index 3480183d129..3332473586a 100644
--- a/html/browser/common.css
+++ b/html/browser/common.css
@@ -1,5 +1,5 @@
-body
-{
+body
+{
padding: 0;
margin: 0;
background-color: #272727;
@@ -15,8 +15,8 @@ hr
}
a, a:link, a:visited, a:active, .linkOn, .linkOff
-{
- color: #ffffff;
+{
+ color: #ffffff;
text-decoration: none;
background: #40628a;
border: 1px solid #161616;
@@ -26,8 +26,8 @@ a, a:link, a:visited, a:active, .linkOn, .linkOff
}
a.nobg, a.nobg:link, a.nobg:visited, a.nobg:active
-{
- color: #ffffff;
+{
+ color: #ffffff;
text-decoration: none;
background: transparent;
border: none;
@@ -36,20 +36,43 @@ a.nobg, a.nobg:link, a.nobg:visited, a.nobg:active
cursor:default;
font-weight:bold;
}
-a.nobg:hover
-{
+a.nobg:hover
+{
color:#40628a;
}
-a:hover
-{
+a:hover
+{
color: #40628a;
background: #ffffff;
}
+
+a.red
+{
+ background: #b30000;
+}
+
+a.red:hover
+{
+ color: #ffffff;
+ background: #ff0000;
+}
+
+a.green
+{
+ background: #408000;
+}
+
+a.green:hover
+{
+ color: #ffffff;
+ background: #59b300;
+}
+
a.white, a.white:link, a.white:visited, a.white:active
-{
- color: #40628a;
+{
+ color: #40628a;
text-decoration: none;
background: #ffffff;
border: 1px solid #161616;
@@ -58,22 +81,22 @@ a.white, a.white:link, a.white:visited, a.white:active
cursor:default;
}
-a.white:hover
-{
+a.white:hover
+{
color: #ffffff;
background: #40628a;
}
.linkOn, a.linkOn:link, a.linkOn:visited, a.linkOn:active, a.linkOn:hover
-{
- color: #ffffff;
+{
+ color: #ffffff;
background: #2f943c;
border-color: #24722e;
}
.linkOff, a.linkOff:link, a.linkOff:visited, a.linkOff:active, a.linkOff:hover
-{
- color: #ffffff;
+{
+ color: #ffffff;
background: #999999;
border-color: #666666;
}
@@ -105,15 +128,15 @@ li
padding: 0 0 2px 0;
}
-img, a img
-{
- border-style:none;
+img, a img
+{
+ border-style:none;
}
h1, h2, h3, h4, h5, h6
{
margin: 0;
- padding: 16px 0 8px 0;
+ padding: 16px 0 8px 0;
color: #517087;
}
@@ -163,7 +186,7 @@ h4
right:0px;
z-index: 10
}
-
+
.uiTitleButtons
{
position:fixed;
@@ -182,7 +205,7 @@ h4
}
.uiContent
-{
+{
clear: both;
padding: 8px;
font-family: Verdana, Geneva, sans-serif;
@@ -225,7 +248,7 @@ h4
}
.notice.icon
-{
+{
padding: 2px 4px 0 20px;
}
|