mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +01:00
Move link component to lower-left, shift chat slightly right
This commit is contained in:
parent
3db079f90f
commit
ed7cccb2d2
@ -1,60 +0,0 @@
|
||||
.chat {
|
||||
position:absolute;
|
||||
bottom:0px;
|
||||
left:14px;
|
||||
|
||||
border-color: rgba(0,0,0,0.5);
|
||||
background: rgba(0,0,0,0.6);
|
||||
|
||||
border-style: solid;
|
||||
border-width: 1px 1px 0px 1px;
|
||||
|
||||
-moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
|
||||
-webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
|
||||
-o-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
|
||||
|
||||
-moz-border-radius: 3px 3px 0px 0px;
|
||||
-webkit-border-radius: 3px 3px 0px 0px;
|
||||
-o-border-radius: 3px 3px 0px 0px;
|
||||
|
||||
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
|
||||
border-radius: 3px 3px 0px 0px;
|
||||
}
|
||||
.chatinput {
|
||||
margin:4px;
|
||||
width:608px;
|
||||
height:12px;
|
||||
padding:1px;
|
||||
padding-left:15px;
|
||||
color: white;
|
||||
border: 0px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
background: url(../images/chat_cursor.png) rgba(0,0,0,0.6); background-repeat: no-repeat; background-position:left;
|
||||
outline: none;
|
||||
}
|
||||
.messagelist {
|
||||
margin:4px 4px 0px 4px;
|
||||
width:622px;
|
||||
max-height:198px;
|
||||
padding:1px;
|
||||
color: white;
|
||||
overflow:hidden;
|
||||
}
|
||||
.messagerow {
|
||||
position:relative;
|
||||
left:0px;
|
||||
bottom:0px;
|
||||
max-height:200px;
|
||||
color: white;
|
||||
font-weight:bold;
|
||||
}
|
||||
.messageicon {
|
||||
position:relative;
|
||||
left:0px;
|
||||
top:1px;
|
||||
}
|
||||
.messagetext {
|
||||
position:relative;
|
||||
left:0px;
|
||||
top:-3px;
|
||||
}
|
@ -728,7 +728,7 @@
|
||||
.chat {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 14px;
|
||||
left: 32px;
|
||||
z-index:50;
|
||||
|
||||
border-color: rgba(0,0,0,0.5);
|
||||
@ -904,7 +904,7 @@
|
||||
-moz-border-radius: 7px;
|
||||
-webkit-border-radius: 7px;
|
||||
border-radius: 7px;
|
||||
padding: 2px 10px 2px 2px;
|
||||
padding: 2px;
|
||||
background: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.dynmap .dynmap-link a {
|
||||
@ -931,5 +931,4 @@
|
||||
}
|
||||
.dynmap .dynmap-link-button {
|
||||
background-image: url(images/link.png);
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
componentconstructors['link'] = function(dynmap, configuration) {
|
||||
|
||||
var dynmapLink = L.Class.extend({
|
||||
options: { position: L.Control.Position.BOTTOM_RIGHT },
|
||||
options: { position: L.Control.Position.BOTTOM_LEFT },
|
||||
|
||||
onAdd: function(map) {
|
||||
this._map = map;
|
||||
|
Loading…
Reference in New Issue
Block a user