Styling for the worldselector control
This commit is contained in:
@@ -47,6 +47,8 @@ overviewer.views.WorldView = Backbone.View.extend({
|
||||
overviewer.views.WorldSelectorView = Backbone.View.extend({
|
||||
initialize: function() {
|
||||
if(overviewer.collections.worldViews.length > 1) {
|
||||
$(this.el).addClass("customControl");
|
||||
|
||||
// a div will have already been created for us, we just
|
||||
// need to register it with the google maps control
|
||||
var selectBox = document.createElement('select');
|
||||
|
||||
@@ -40,6 +40,17 @@ body {
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
||||
.customControl > select {
|
||||
font-size: 12px;
|
||||
line-height: 160%;
|
||||
text-align: center;
|
||||
|
||||
border: 1px solid #A9BBDF;
|
||||
border-radius: 2px 2px;
|
||||
box-shadow: rgba(0, 0, 0, 0.347656) 2px 2px 3px;
|
||||
|
||||
}
|
||||
|
||||
.customControl > div.top {
|
||||
font-size: 12px;
|
||||
line-height: 160%;
|
||||
|
||||
Reference in New Issue
Block a user