mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Moved the button, updated text
This commit is contained in:
@@ -63,13 +63,20 @@ body {
|
||||
position: absolute;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
right: 10px;
|
||||
right: 50px;
|
||||
top: 10px;
|
||||
border-radius: 4px;
|
||||
margin-right: 10px;
|
||||
background: black;
|
||||
}
|
||||
|
||||
.full-screen {
|
||||
position: absolute;
|
||||
width: 40px;
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
|
||||
4
dist/locales/en.json
vendored
4
dist/locales/en.json
vendored
@@ -431,8 +431,8 @@
|
||||
}
|
||||
},
|
||||
"full_screen": {
|
||||
"title": "Full Screen",
|
||||
"tooltip": "Go to Full Screen mode"
|
||||
"title": "FS",
|
||||
"tooltip": "Toggle Full Screen mode"
|
||||
},
|
||||
"merge_remote_changes": {
|
||||
"conflict": {
|
||||
|
||||
@@ -60,14 +60,14 @@ iD.ui = function(context) {
|
||||
.attr('class', 'button-wrap col1')
|
||||
.call(iD.ui.Save(context));
|
||||
|
||||
limiter.append('div')
|
||||
.attr('class', 'button-wrap col1')
|
||||
.call(iD.ui.FullScreen(context));
|
||||
|
||||
bar.append('div')
|
||||
.attr('class', 'spinner')
|
||||
.call(iD.ui.Spinner(context));
|
||||
|
||||
bar.append('div')
|
||||
.attr('class', 'full-screen')
|
||||
.call(iD.ui.FullScreen(context));
|
||||
|
||||
var controls = bar.append('div')
|
||||
.attr('class', 'map-controls');
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ iD.ui.FullScreen = function(context) {
|
||||
return;
|
||||
|
||||
var tooltip = bootstrap.tooltip()
|
||||
.placement('bottom')
|
||||
.placement('left')
|
||||
.html(true)
|
||||
.title(iD.ui.tooltipHtml(t('full_screen.tooltip')));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user