Skip to content

Commit

Permalink
Fix CSS linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Jan 16, 2017
1 parent c92b2b7 commit 4b02481
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
7 changes: 4 additions & 3 deletions demo/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
}

nav.vertical-section {
margin: 0 0 20px 0;
padding: 8px 20px 0 20px;
margin: 0 0 20px;
padding: 8px 20px 0;
text-transform: uppercase;
}

Expand All @@ -53,7 +53,8 @@
list-style: none;
}

nav a, nav b {
nav a,
nav b {
@apply --paper-font-button;
}

Expand Down
11 changes: 10 additions & 1 deletion demo/custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ <h3>Customizing Vertical and Horizontal Layouts Separately</h3>
margin: 10px 0;
};
}

.custom-5[vertical] {
--vaadin-split-layout-splitter: {
min-width: 6px;
Expand All @@ -140,12 +141,15 @@ <h3>Customizing Vertical and Horizontal Layouts Separately</h3>
margin: 0 20px;
};
}

.custom-5 iron-icon[icon="more-vert"] {
color: var(--paper-grey-600);
}

.custom-5 iron-icon[icon="more-horiz"] {
color: var(--paper-grey-300);
}

.custom-5[vertical] iron-icon[icon="more-vert"],
.custom-5:not([vertical]) iron-icon[icon="more-horiz"] {
display: none;
Expand Down Expand Up @@ -174,16 +178,19 @@ <h3>Customizing Nested Layouts</h3>
fill: yellow;
};
}

.custom-6-3 {
--vaadin-split-layout-splitter: {
fill: blue;
};
}

.custom-6-4 {
--vaadin-split-layout-splitter: {
fill: green;
};
}

.custom-6-5 {
--vaadin-split-layout-splitter: {
fill: brown;
Expand Down Expand Up @@ -229,6 +236,7 @@ <h3>Thin Lines</h3>
background-clip: content-box;
fill: none;
};

background: var(--dark-theme-background-color);
color: var(--dark-theme-text-color);
}
Expand All @@ -254,9 +262,10 @@ <h3>Custom Handle</h3>
<style is="custom-style">
.custom-8 {
--vaadin-split-layout-splitter: {
min-width: 0px;
min-width: 0;
};
}

.custom-8 .splitter-handle {
height: 100px;
border: solid 1px var(--paper-indigo-700);
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
font-size: 14px;
line-height: 21px;
}

code.iron-doc-property {
font-size: 12px !important;
}
Expand Down

0 comments on commit 4b02481

Please sign in to comment.