minor style fixes.

This commit is contained in:
saman bb
2013-05-16 23:00:18 -04:00
parent da9602795c
commit 20ed02c2c4
2 changed files with 15 additions and 12 deletions
+14 -11
View File
@@ -756,10 +756,13 @@ a:hover .icon.out-link { background-position: -500px -14px;}
overflow: hidden;
border-left: 1px solid rgba(0, 0, 0, .1);
line-height: 50px;
-moz-transition: all 100ms;
-o-transition: all 100ms;
transition: all 100ms;
}
.grid-entry:hover .label {
background: none;
background: #ececec;
}
.grid-button-wrap button.tag-reference-button {
@@ -885,7 +888,7 @@ a:hover .icon.out-link { background-position: -500px -14px;}
.tag-wrap .preset-icon-wrap {
border-bottom: 1px solid #CCC;
background-color: #e8ebff;
background-color: #F6F6F6;
}
.tag-wrap .preset-icon-wrap::after {
@@ -1007,6 +1010,10 @@ button.preset-add-field:nth-last-child(8) ~ button.preset-add-field {
border-top-color: #000;
}
.tag-wrap .tooltip.left .tooltip-arrow {
border-left-color: #000;
}
.tag-wrap .tooltip-inner {
background: #000;
color: #ccc;
@@ -2149,8 +2156,6 @@ img.wiki-image {
------------------------------------------------------- */
.tooltip {
max-width: 200px;
min-width: 120px;
position: absolute;
display: none;
color:#333;
@@ -2181,9 +2186,12 @@ img.wiki-image {
.tooltip.left {
margin-left: -20px;
text-align: right;
}
.tooltip-inner {
display: inline-block;
max-width: 200px;
padding: 10px;
font-weight: normal;
background-color: white;
@@ -2277,7 +2285,6 @@ img.wiki-image {
border-width: 0 5px 5px;
}
/* Exceptions for tooltips that are up against the edge of the screen */
.add-point .tooltip {
left: -20px !important; }
@@ -2288,12 +2295,9 @@ img.wiki-image {
}
.tooltip .keyhint-wrap {
background: #f6f6f6;
background: #F6F6F6;
padding: 10px;
left: 0;
right: 0;
bottom: -42px;
position: absolute;
margin: 10px -10px -10px;
}
.tooltip-inner .keyhint {
@@ -2306,7 +2310,6 @@ img.wiki-image {
position: relative;
z-index: 1;
text-align: left;
clear: both;
}
.tooltip-inner .keyhint::after {
+1 -1
View File
@@ -24,7 +24,7 @@ iD.ui.preset.localized = function(field, context) {
translateButton.call(bootstrap.tooltip()
.title(t('translate.translate'))
.placement('top'));
.placement('left'));
localizedInputs = selection.append('div')
.attr('class', 'localized-wrap');