Skip to content

Commit

Permalink
fix new stylelint nits
Browse files Browse the repository at this point in the history
  • Loading branch information
louh committed Nov 28, 2017
1 parent 869e82b commit 941e940
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 23 deletions.
3 changes: 2 additions & 1 deletion .stylelintrc
Expand Up @@ -8,6 +8,7 @@
"scss/at-mixin-argumentless-call-parentheses": "never",
"scss/selector-no-redundant-nesting-selector": true,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true
"scss/at-rule-no-unknown": true,
"no-descending-specificity": null
}
}
1 change: 0 additions & 1 deletion assets/css/_base.scss
Expand Up @@ -77,4 +77,3 @@ textarea {
border-color: desaturate($ui-colour, 100%) !important;
}
}

33 changes: 15 additions & 18 deletions assets/css/_info-bubble.scss
Expand Up @@ -81,9 +81,21 @@
fill: #231f20;
}

button.remove {
padding: 0;
margin-top: -3px;
button {
width: $info-bubble-button-size;
height: $info-bubble-button-size;

&.remove {
position: absolute;
right: 6px;
top: 6px;
width: auto;
padding: 0;
padding-left: 10px;
padding-right: 10px;
margin-top: -3px;
font-size: 11px;
}
}

&[type='segment'] .variants {
Expand Down Expand Up @@ -248,21 +260,6 @@
margin-top: 7px;
}
}

button {
width: $info-bubble-button-size;
height: $info-bubble-button-size;

&.remove {
position: absolute;
right: 6px;
top: 6px;
width: auto;
padding-left: 10px;
padding-right: 10px;
font-size: 11px;
}
}
}

.info-bubble.highlight-triangle .triangle::before {
Expand Down
2 changes: 1 addition & 1 deletion assets/css/_menu-bar.scss
Expand Up @@ -93,7 +93,7 @@ $top-menu-active-text: darken($ui-colour, 40%);
content: '';
display: inline-block;
padding-left: 5px;
font-family: 'Verdana';
font-family: 'Verdana', sans-serif;
font-size: 9px;
transform: scaleY(0.75);
}
Expand Down
2 changes: 1 addition & 1 deletion assets/css/_segment.scss
Expand Up @@ -157,7 +157,7 @@ body.segment-resize-dragging * {
border-bottom: 3px solid darken($ui-colour, 30%);
line-height: 100px;
font-size: 50px;
font-family: 'Tahoma';
font-family: 'Tahoma', sans-serif;
color: lighten($ui-colour, 0%);
z-index: $z-06-drag-handle;
pointer-events: none;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/_street-metadata.scss
Expand Up @@ -28,7 +28,7 @@ body:not(.read-only) #street-width-read {
}

&::after {
font-family: 'Verdana';
font-family: 'Verdana', sans-serif;
content: '';
padding-left: 5px;
font-size: 9px;
Expand Down

0 comments on commit 941e940

Please sign in to comment.