+.inspector-hover a,
+.inspector-hover .checkselect label:last-of-type {
+ color: #666;
+}
+
+/* hide and remove from layout */
+.inspector-hidden,
+.inspector-hover label input[type="checkbox"],
+.inspector-hover label input[type="radio"],
+.inspector-hover .toggle-list label,
+.inspector-hover .toggle-list label span,
+.inspector-hover .inspector-inner .add-tag,
+.inspector-hover .inspector-inner .add-relation,
+.inspector-hover .toggle-list label.remove .icon {
+ height: 0;
+ width: 0;
+ overflow: hidden;
+ opacity: 0 !important;
+ border-width: 0;
+ margin: 0;
+ padding: 0;
+}
+
+/* hide but preserve in layout */
+.inspector-hover .entity-editor-pane button.minor,
+.inspector-hover .combobox-caret,
+.inspector-hover .entity-editor-pane .header button,
+.inspector-hover .spin-control,
+.inspector-hover .hide-toggle:before,
+.inspector-hover .more-buttons,
+.inspector-hover .form-label-button-wrap,
+.inspector-hover .tag-reference-button,
+.inspector-hover .view-on-osm {
+ opacity: 0;
+}
+
+/* Styles for raw tag inspector on hover */
+.inspector-hover .tag-row .key-wrap,
+.inspector-hover .tag-row .input-wrap-position {
+ width: 50%;
+}
+
+.inspector-hover .tag-row:first-child input.value {
+ border-top-right-radius: 4px;
+}
+
+.inspector-hover .tag-row:last-child input.value {
+ border-bottom-right-radius: 4px;
+}
+
+.inspector-hover .tag-row:last-child input.key {
+ border-bottom-left-radius: 4px;
+}
+
+.inspector-hover .inspector-body .more-buttons {
+ max-height: 0;
+ padding-bottom: 0;
+}
+
+/* Unstyle button fields */
+.inspector-hover .toggle-list label.active,
+.inspector-hover .entity-editor-pane a.hide-toggle {
+ opacity: 1;
+ background-color: transparent;
+ color: #666;
+ padding-left: 0;
+ border-width: 0;
+}
+
+.inspector-hover .toggle-list button.active {
+ padding-left: 10px;
+}
+
+/* Add placeholder only on hover for radio buttons */
+.inspector-hover .toggle-list .placeholder {
+ color: #a9a9a9;
+ padding: 5px 10px;
+ opacity: 1;
+ line-height: 20px;
+ width: 100%;
+}
+
+/* Hide placeholder for radio buttons if another is active, or not in hover state */
+.toggle-list label.active ~ .placeholder,
+.toggle-list .placeholder {
+ padding: 0;
+ opacity: 0;
+ width: 0;
+ line-height: 0;
+ display: block;
+ overflow: hidden;
+ -webkit-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
+ -moz-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
+ -o-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
+ transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
+}
+
+/* first phase hover-to-active animations */
+
+textarea,
+.form-label,
+.preset-input-wrap,
+.preset-input-wrap .label {
+ -webkit-transition: all 200ms;
+ -moz-transition: all 200ms;
+ -o-transition: all 200ms;
+ transition: all 200ms;
+}
+
+/* second phase hover-to-active animations */
+
+input,
+.checkselect label:last-of-type {
+ -webkit-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
+ -moz-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
+ -o-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
+ transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
+}
+
+.entity-editor-pane button.minor,
+.combobox-caret,
+.entity-editor-pane .header button,
+.toggle-list label span,
+.spin-control,
+.more-buttons,
+.view-on-osm,
+.hide-toggle:before,
+.entity-editor-pane .toggle-list label::before,
+.entity-editor-pane .toggle-list label.remove .icon {
+ -webkit-transition: opacity 200ms 200ms;
+ -moz-transition: opacity 200ms 200ms;
+ -o-transition: opacity 200ms 200ms;
+ transition: opacity 200ms 200ms;
+}
+
+.entity-editor-pane a.hide-toggle {
+ -webkit-transition: padding-left 200ms 200ms, color 200ms 200ms;
+ -moz-transition: padding-left 200ms 200ms, color 200ms 200ms;
+ -o-transition: padding-left 200ms 200ms, color 200ms 200ms;
+ transition: padding-left 200ms 200ms, color 200ms 200ms;
+}
+
+.entity-editor-pane .toggle-list label:not(.active) {
+ -webkit-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
+ -moz-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
+ -o-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
+ transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
+}
+
+.entity-editor-pane .toggle-list label {
+ -webkit-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
+ -moz-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
+ -o-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
+ transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
+}
+
+/* adding additional preset fields */
+
+.inspector-body .more-buttons {
+ max-height: 100px;
+ padding-top: 0;
+ -webkit-transition: padding 200ms 200ms, max-height 200ms 200ms;
+ -moz-transition: padding 200ms 200ms, max-height 200ms 200ms;
+ -o-transition: padding 200ms 200ms, max-height 200ms 200ms;
+ transition: padding 200ms 200ms, max-height 200ms 200ms;