Skip to content

Commit

Permalink
Move lumo specific stuff to theme. Remove transitions from material.
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo committed Jun 26, 2018
1 parent 07d19a2 commit 9b9f576
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/vaadin-radio-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@
:host {
display: inline-block;
}

[part="label"] {
display: block;
}

[part="label"]:empty {
display: none;
}
</style>
<label part="label">[[label]]</label>
<slot id="slot"></slot>
Expand Down
8 changes: 8 additions & 0 deletions theme/lumo/vaadin-radio-group-styles.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<dom-module id="lumo-radio-group" theme-for="vaadin-radio-group">
<template>
<style>
[part="label"] {
display: block;
}

[part="label"]:empty {
display: none;
}

:host([theme~="vertical"]) {
display: flex;
flex-direction: column;
Expand Down
2 changes: 0 additions & 2 deletions theme/material/vaadin-radio-group-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
color: var(--material-secondary-text-color);
transform-origin: 0 75%;
transform: scale(0.75);
transition: transform 0.175s, color 0.175s, width 0.175s;
transition-timing-function: ease, ease, step-end;
}
</style>
</template>
Expand Down

0 comments on commit 9b9f576

Please sign in to comment.