mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-07 11:51:35 +00:00
Remove unnecessary grid classes
These instances are mostly or entirely overridden by more specific rules.
This commit is contained in:
@@ -658,6 +658,7 @@ a:hover .icon.out-link { background-position: -500px -14px;}
|
||||
padding: 5px 30px 5px 30px;
|
||||
border-top: 1px solid #ccc;
|
||||
background-color: #fafafa;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Inspector
|
||||
|
||||
@@ -50,7 +50,7 @@ iD.ui.EntityEditor = function(context) {
|
||||
.attr('class', 'inspector-body');
|
||||
|
||||
$enter.append('div')
|
||||
.attr('class', 'preset-icon-wrap inspector-inner col12')
|
||||
.attr('class', 'preset-icon-wrap inspector-inner')
|
||||
.append('button')
|
||||
.attr('class', 'preset-reset preset-icon-button')
|
||||
.call(bootstrap.tooltip()
|
||||
@@ -58,16 +58,16 @@ iD.ui.EntityEditor = function(context) {
|
||||
.placement('right'));
|
||||
|
||||
$enter.append('div')
|
||||
.attr('class', 'inspector-border inspector-preset col12');
|
||||
.attr('class', 'inspector-border inspector-preset');
|
||||
|
||||
$enter.append('div')
|
||||
.attr('class', 'inspector-border raw-tag-editor inspector-inner col12');
|
||||
.attr('class', 'inspector-border raw-tag-editor inspector-inner');
|
||||
|
||||
$enter.append('div')
|
||||
.attr('class', 'inspector-border raw-member-editor inspector-inner col12');
|
||||
.attr('class', 'inspector-border raw-member-editor inspector-inner');
|
||||
|
||||
$enter.append('div')
|
||||
.attr('class', 'raw-membership-editor inspector-inner col12');
|
||||
.attr('class', 'raw-membership-editor inspector-inner');
|
||||
|
||||
selection.selectAll('.preset-reset')
|
||||
.on('click', function() {
|
||||
|
||||
@@ -44,7 +44,7 @@ iD.ui.Inspector = function(context) {
|
||||
.data([0]);
|
||||
|
||||
$footer.enter().append('div')
|
||||
.attr('class', 'footer col12');
|
||||
.attr('class', 'footer');
|
||||
|
||||
selection.select('.footer')
|
||||
.call(iD.ui.ViewOnOSM(context)
|
||||
|
||||
@@ -76,7 +76,7 @@ iD.ui.preset = function(context) {
|
||||
.data([0]);
|
||||
|
||||
$form.enter().append('form')
|
||||
.attr('class', 'fillL preset-form inspector-inner col12');
|
||||
.attr('class', 'fillL preset-form inspector-inner');
|
||||
|
||||
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 col12');
|
||||
.attr('class', 'more-buttons fillL inspector-inner');
|
||||
|
||||
var $buttons = $more.selectAll('.preset-add-field')
|
||||
.data(notShown, fieldKey);
|
||||
|
||||
@@ -124,7 +124,7 @@ iD.ui.PresetList = function(context) {
|
||||
|
||||
function item(selection) {
|
||||
var wrap = selection.append('div')
|
||||
.attr('class', 'preset-list-button-wrap category col12');
|
||||
.attr('class', 'preset-list-button-wrap category');
|
||||
|
||||
wrap.append('button')
|
||||
.attr('class', 'preset-list-button')
|
||||
@@ -137,7 +137,7 @@ iD.ui.PresetList = function(context) {
|
||||
.text(preset.name());
|
||||
|
||||
box = selection.append('div')
|
||||
.attr('class', 'subgrid col12')
|
||||
.attr('class', 'subgrid')
|
||||
.style('max-height', '0px');
|
||||
|
||||
box.append('div')
|
||||
@@ -174,7 +174,7 @@ iD.ui.PresetList = function(context) {
|
||||
function PresetItem(preset) {
|
||||
function item(selection) {
|
||||
var wrap = selection.append('div')
|
||||
.attr('class', 'preset-list-button-wrap col12');
|
||||
.attr('class', 'preset-list-button-wrap');
|
||||
|
||||
wrap.append('button')
|
||||
.attr('class', 'preset-list-button')
|
||||
|
||||
@@ -42,7 +42,7 @@ iD.ui.RawTagEditor = function(context) {
|
||||
.data([0]);
|
||||
|
||||
var $enter = $newTag.enter().append('button')
|
||||
.attr('class', 'add-tag col6');
|
||||
.attr('class', 'add-tag');
|
||||
|
||||
$enter.append('span')
|
||||
.attr('class', 'icon plus light');
|
||||
@@ -69,7 +69,7 @@ iD.ui.RawTagEditor = function(context) {
|
||||
.attr('maxlength', 255);
|
||||
|
||||
$enter.append('div')
|
||||
.attr('class', 'input-wrap-position col6')
|
||||
.attr('class', 'input-wrap-position')
|
||||
.append('input')
|
||||
.property('type', 'text')
|
||||
.attr('class', 'value')
|
||||
|
||||
Reference in New Issue
Block a user