more dramatic different between hover and active edit feature pane

This commit is contained in:
Saman Bemel-Benrud
2013-06-24 11:13:40 -04:00
committed by John Firebaugh
parent f579795dee
commit 7c5cb5b3f1
3 changed files with 23 additions and 23 deletions
+20 -20
View File
@@ -311,7 +311,7 @@ ul.link-list li:last-child {
}
.fillL3 {
background: #f1f1f1;
background: #ececec;
color: #333;
}
@@ -891,15 +891,17 @@ a:hover .icon.out-link { background-position: -500px -14px;}
.subgrid .preset-list {
padding: 10px 10px 0 10px;
border: 1px solid #CCC;
margin-top: 0;
border: 0;
border-radius: 8px;
width: -webkit-calc(100% + 20px);
margin-left: -10px;
}
.subgrid .arrow {
border: solid rgba(0, 0, 0, 0);
border-width: 10px;
border-bottom-color: #CCC;
border-bottom-color: #f1f1f1;
width: 0;
height: 0;
margin-left: 50%;
@@ -947,12 +949,9 @@ a:hover .icon.out-link { background-position: -500px -14px;}
}
.inspector-preset form.preset-form {
padding: 20px;
}
.entity-editor-pane .preset-list-item {
border-bottom: 1px solid #ccc;
padding: 20px;
padding: 10px;
margin: 0 10px 20px 10px;
border-radius: 8px;
}
.entity-editor-pane .preset-list-item::after {
@@ -966,7 +965,7 @@ a:hover .icon.out-link { background-position: -500px -14px;}
margin: auto;
border: solid rgba(0, 0, 0, 0);
border-width: 10px;
border-bottom-color: #ccc;
border-bottom-color: #ececec;
}
.entity-editor-pane .preset-list-item .preset-list-button-wrap {
@@ -1040,13 +1039,14 @@ a:hover .icon.out-link { background-position: -500px -14px;}
}
/* Preset form (hover mode) */
.inspector-hover textarea,
.preset-input-wrap .label,
.inspector-hover input,
.inspector-hover .form-label,
.inspector-hover label {
background: #ececec;
}
.inspector-hover a,
.inspector-hover .checkselect label:last-of-type,
.inspector-hover .preset-input-wrap,
.inspector-hover .preset-input-wrap li {
.inspector-hover .checkselect label:last-of-type {
color: #666;
}
@@ -1213,6 +1213,7 @@ input,
}
button.preset-add-field {
background: #f6f6f6;
width: 25%;
height: 40px;
-webkit-transition: width 200ms;
@@ -1221,6 +1222,10 @@ button.preset-add-field {
transition: width 200ms;
}
button.preset-add-field:hover {
background: #ececec;
}
/* set width based on # of buttons */
button.preset-add-field:only-child {
@@ -1351,7 +1356,6 @@ input[type=number] {
display: block;
padding: 5px 10px;
color: #7092FF;
background-color: white;
}
.checkselect label:hover {
@@ -2327,10 +2331,6 @@ img.wiki-image {
display: inline-block;
}
.mode-save .commit-info {
padding-bottom: 10px;
}
.mode-save .commit-form {
margin-bottom: 0;
}
+1 -1
View File
@@ -46,7 +46,7 @@ iD.ui.EntityEditor = function(context) {
.attr('class', 'inspector-body');
$enter.append('div')
.attr('class', 'preset-list-item inspector-inner fillL')
.attr('class', 'preset-list-item inspector-inner')
.append('div')
.attr('class', 'preset-list-button-wrap')
.append('button')
+2 -2
View File
@@ -76,7 +76,7 @@ iD.ui.preset = function(context) {
.data([0]);
$form.enter().append('form')
.attr('class', 'fillL preset-form inspector-inner');
.attr('class', 'preset-form inspector-inner fillL3');
var $fields = $form.selectAll('.form-field')
.data(shown, fieldKey);
@@ -132,7 +132,7 @@ iD.ui.preset = function(context) {
.data([0]);
$more.enter().append('div')
.attr('class', 'more-buttons fillL inspector-inner');
.attr('class', 'more-buttons inspector-inner');
var $buttons = $more.selectAll('.preset-add-field')
.data(notShown, fieldKey);