Skip to content

Commit

Permalink
sass-lint rules cleanup (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
piwysocki authored Nov 30, 2022
1 parent ae871d1 commit 3a31cdb
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 16 deletions.
6 changes: 0 additions & 6 deletions .sass-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,8 @@ rules:
nesting-depth:
- 2
- max-depth: 4
no-attribute-selectors: 0
no-color-hex: 0
no-color-keywords: 2
no-color-literals: 0
no-combinators: 0
no-css-comments: 0
no-debug: 2
no-disallowed-properties: 2
Expand All @@ -55,7 +52,6 @@ rules:
- exclude:
- src
no-empty-rulesets: 2
no-extends: 0
no-ids: 2
no-important: 2
no-invalid-hex: 2
Expand All @@ -65,7 +61,6 @@ rules:
no-trailing-whitespace: 2
no-trailing-zero: 0
no-transition-all: 2
no-universal-selectors: 0
no-url-protocols: 2
no-vendor-prefixes:
- 2
Expand All @@ -79,7 +74,6 @@ rules:
property-units: 2
pseudo-element: 2
quotes: 2
shorthand-values: 0
single-line-per-selector: 0
space-after-bang: 2
space-after-colon: 2
Expand Down
2 changes: 1 addition & 1 deletion src/client/components/button-group/button-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $title-margin: 6px;
flex: 2;
text-align: center;
height: $input-height;
padding: 8px 2px 0 2px;
padding: 8px 2px 0;
border-right: 0;

&:first-child {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
.caret {
position: absolute;
top: 0;
padding: 3px 3px;
padding: 3px;
cursor: pointer;

svg {
Expand Down
2 changes: 1 addition & 1 deletion src/client/components/pinboard-panel/pinboard-panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
flex-direction: column;
flex-wrap: wrap;

padding: $tile-margin-v $tile-margin-h 0 $tile-margin-h;
padding: $tile-margin-v $tile-margin-h 0;

.dimension-tile,
.drop-indicator-tile {
Expand Down
2 changes: 1 addition & 1 deletion src/client/components/tabular-scroller/corner/corner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
width: calc(100% - #{$space-left});
height: $header-height;
overflow: hidden;
padding: $header-padding-top 0 0 0;
padding: $header-padding-top 0 0;
margin-left: $space-left;

.resize-handle {
Expand Down
2 changes: 1 addition & 1 deletion src/client/components/tile-header/tile-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
.tile-header {
.title {
@include css-variable(color, text-standard);
padding: 15px $padding-compact 10px $padding-compact;
padding: 15px $padding-compact 10px;
font-size: 12px;
text-transform: uppercase;
cursor: default;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
display: flex;

.short-url, .copy-button {
padding: 8px 8px 6px 8px;
padding: 8px 8px 6px;
display: inline-block;
border-radius: 0;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

.left-bar .cube-description {
display: inline-block;
padding: 11px 5px 11px 5px;
padding: 11px 5px;
margin-left: 5px;
width: auto;

Expand Down
2 changes: 1 addition & 1 deletion src/client/views/cube-view/cube-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ $control-panel-height: 3 * $control-tile-height + 2px;
}

.series-tile-row {
border-radius: $corner 0 0 0;
border-radius: $corner 0 0;
}

.filter-tile-row {
Expand Down
4 changes: 2 additions & 2 deletions src/client/views/home-view/data-cube-card/data-cube-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
@import '../../../imports';

.data-cube-card {
padding: 5px 0 0 0;
padding: 5px 0 0;

.inner-container {
background-color: $white;
box-shadow: 0 1px 1px 0 rgba($black, 0.1);
width: 100%;
padding: 16px 16px;
padding: 16px;
border-radius: $corner;

white-space: nowrap;
Expand Down

0 comments on commit 3a31cdb

Please sign in to comment.