mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
cleanup form styles and tooltips.
This commit is contained in:
29
css/app.css
29
css/app.css
@@ -183,11 +183,11 @@ input:focus {
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
width: 20px;
|
||||
margin-right: 5px;
|
||||
margin-bottom: 3px;
|
||||
vertical-align: bottom;
|
||||
float: left;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin-right: 5px;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
/* remove bottom border radius when combobox is open */
|
||||
@@ -246,18 +246,14 @@ ul li { list-style: none;}
|
||||
position: relative;
|
||||
padding: 5px 10px;
|
||||
display:block;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
background-color: white;
|
||||
height: 30px;
|
||||
color: #7092FF;
|
||||
cursor: pointer;
|
||||
-moz-transition: all 100ms;
|
||||
-o-transition: all 100ms;
|
||||
transition: all 100ms;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.toggle-list > label:hover {
|
||||
@@ -277,9 +273,19 @@ ul li { list-style: none;}
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.toggle-list > label.remove span {
|
||||
.toggle-list label > span {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.toggle-list > label.remove span.icon {
|
||||
display: block;
|
||||
width: 14px;
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
background-position: -201px 0;
|
||||
background-position: -204px 0;
|
||||
}
|
||||
|
||||
.toggle-list > label.active {
|
||||
@@ -1950,6 +1956,7 @@ img.wiki-image {
|
||||
|
||||
.background-control .layer-toggle-gpx .layer-extent {
|
||||
border-left: 1px solid #CCC;
|
||||
border-radius: 0 4px 4px 0;
|
||||
}
|
||||
|
||||
.background-control .layer-toggle-gpx.selected .layer-extent {
|
||||
|
||||
@@ -76,7 +76,7 @@ iD.ui.Background = function(context) {
|
||||
.filter(function(d) { return d.data.description; })
|
||||
.call(bootstrap.tooltip()
|
||||
.title(function(d) { return d.data.description; })
|
||||
.placement('right')
|
||||
.placement('left')
|
||||
);
|
||||
|
||||
layerInner.append('input')
|
||||
@@ -232,7 +232,7 @@ iD.ui.Background = function(context) {
|
||||
|
||||
gpxLayerItem.call(bootstrap.tooltip()
|
||||
.title(t('gpx.drag_drop'))
|
||||
.placement('right'));
|
||||
.placement('left'));
|
||||
|
||||
gpxLayerItem.append('input')
|
||||
.attr('type', 'checkbox')
|
||||
@@ -292,7 +292,7 @@ iD.ui.Background = function(context) {
|
||||
|
||||
resetButton.call(bootstrap.tooltip()
|
||||
.title(t('background.reset'))
|
||||
.placement('right'));
|
||||
.placement('bottom'));
|
||||
|
||||
context.map()
|
||||
.on('move.background-update', _.debounce(update, 1000));
|
||||
|
||||
Reference in New Issue
Block a user