Improving user-interface.
This commit is contained in:
@@ -133,7 +133,8 @@
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="main" style="position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: #000000;">
|
||||
<div id="main" class="ui-widget"
|
||||
style="position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: #000000;">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -94,7 +94,7 @@ var GempLotrGameUI = Class.extend({
|
||||
});
|
||||
this.specialGroup.setBounds(this.padding, this.padding, 400, 200);
|
||||
|
||||
this.gameStateElem = $("<div></div>");
|
||||
this.gameStateElem = $("<div class='ui-widget-content'></div>");
|
||||
this.gameStateElem.css({"border-radius": "7px", "background-color": "#ffffff"});
|
||||
|
||||
this.gameStateElem.append("<b>Players:</b><br>");
|
||||
|
||||
@@ -120,7 +120,7 @@ var NormalCardGroup = CardGroup.extend({
|
||||
setBounds: function(x, y, width, height) {
|
||||
this._super(x + 3, y + 3, width - 6, height - 6);
|
||||
if (this.descDiv != null)
|
||||
this.descDiv.css({left:x + "px", top:y + "px", width: width, height: height, "background-color":"#ffffff", "border-radius":"7px", position: "absolute", "text-align": "center"});
|
||||
this.descDiv.css({left:x + "px", top:y + "px", width: width, height: height, position: "absolute"});
|
||||
},
|
||||
|
||||
layoutCards: function() {
|
||||
|
||||
Reference in New Issue
Block a user