Commits

Sylvain Rouquette committed ce143e3

tweaked a bit the style

Comments (0)

Files changed (3)

Old
Old image
New
New image
 		for (var skill in g_classes[g_current_class][type]) {
 			var obj = g_classes[g_current_class][type][skill];
 			var element = $('#filter .' + obj.slug);
-			if (filter.length <= 2) {
+			if (filter.length <= 1) {
 				if ('runes' in obj)
 					for (var rune in obj.runes)
 						element.find('.rune_' + rune).show();
 				if (!show) {
 					for (var rune in obj.runes) {
 						show = re.exec(obj.runes[rune].name) ||
+							re.exec(obj.runes[rune].requiredLevel) ||
 							re.exec(obj.runes[rune].description) ||
 							re.exec(obj.runes[rune].simpleDescription);
 						if (show)
 				if (show) {
 					for (var rune in obj.runes) {
 						var show_rune = re.exec(obj.runes[rune].name) ||
+							re.exec(obj.runes[rune].requiredLevel) ||
 							re.exec(obj.runes[rune].description) ||
 							re.exec(obj.runes[rune].simpleDescription);
 						if (show_rune)
 
 
 function strOrEmpty(str) {
-	return str ? str : '';
+	return str ? str : '.';
 }
 
 
 	color: #F3E6D0;
 	font-family: "Palatino Linotype", "Times", serif;
 }
-body, select, input, option {
+body {
 	background-color: #000;
 }
+select, input, option {
+	background-color: #000;
+	border: #322A20 1px solid;
+}
+select:hover, option:hover {
+	background-color: #CFB991;
+	color: #322A20;
+}
 form {
 	text-align: center;
 }
 	font-family: "Palatino Linotype", "Times", serif;
 	color: #FD7;
 }
-.skills, .traits {
-	overflow: auto;
+#filter .skills, #filter .traits {
+	overflow-y: scroll;
 }
 .skill {
 	height:	48px;
 	clear: both;
 }
 .skill:hover {
-	background-color: #333;
+	background-color: #16120E;
 }
 .skill .desc {
 	float: left;
 	display: inline;
 	width: auto;
 }
+::-webkit-scrollbar {
+	width: 10px;
+	height: 10px;
+}
+::-webkit-scrollbar-track-piece {						/* Fond */
+	background: transparent none;
+	border: solid 4px transparent;
+	margin: 4px;
+	-webkit-box-shadow: inset 1px 1px 0 0 #322A20, inset -1px -1px 0 0 #111;
+}
 
+::-webkit-scrollbar-thumb {								/* Barre */
+	border: solid 0 transparent;
+	-webkit-border-radius: 5px;
+	-webkit-border-top-right-radius: 5px 5px;
+	-webkit-border-bottom-right-radius: 5px 5px;
+	color: #F3E6D0;
+	-webkit-box-shadow: inset 0 0 0 1px #322A20, inset 0 0 0 6px #111;
+}
+::-webkit-scrollbar-thumb:hover {						/* Barre */
+	color: #F3E6D0;
+	-webkit-box-shadow: inset 0 0 0 1px #CFB991, inset 0 0 0 6px #111;
+}
+