Skip to content

Commit

Permalink
Fix styles at all sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Radchenko committed Jun 1, 2016
1 parent d336b04 commit d59b5d6
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion vendor/ember-cli-toggle/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
outline: 0;
display: flex;
flex-basis: 4em;
min-width: 4em;
height: 2em;
position: relative;
cursor: pointer;
Expand Down
4 changes: 2 additions & 2 deletions vendor/ember-cli-toggle/themes/default.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.x-toggle-default.x-toggle-btn {
padding: 0.1em;
padding: 0.16em 0.1em;
background-color: #E7E7E7;
border-radius: 0.2em;
transition: background-color 0.2s;
Expand Down Expand Up @@ -28,6 +28,6 @@

.x-toggle-default.large {
width: 4.7em;
height: 2.6em;
height: 2.1em;
padding: 4px;
}
2 changes: 1 addition & 1 deletion vendor/ember-cli-toggle/themes/flat.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@

.x-toggle-flat.large {
width: 4.7em;
height: 2.6em;
height: 2.1em;
padding: 4px;
}
8 changes: 4 additions & 4 deletions vendor/ember-cli-toggle/themes/flip.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

.x-toggle-flip.small:before,
.x-toggle-flip.small:after {
line-height: 2.2em;
line-height: 2.2em;
font-size: 0.8em;
}

Expand All @@ -79,17 +79,17 @@

.x-toggle-flip.medium:before,
.x-toggle-flip.medium:after {
line-height: 2.3em;
line-height: 2.3em;
}

.x-toggle-flip.large {
width: 4.7em;
height: 2.6em;
height: 2.1em;
padding: 4px;
}

.x-toggle-flip.large:before,
.x-toggle-flip.large:after {
line-height: 2.4em;
line-height: 2.1em;
font-size: 1.1em;
}
2 changes: 1 addition & 1 deletion vendor/ember-cli-toggle/themes/ios.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@

.x-toggle-ios.large {
width: 4.7em;
height: 2.6em;
height: 2.1em;
padding: 4px;
}
2 changes: 1 addition & 1 deletion vendor/ember-cli-toggle/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@

.x-toggle-light.large {
width: 4.7em;
height: 2.6em;
height: 2.1em;
padding: 4px;
}
4 changes: 2 additions & 2 deletions vendor/ember-cli-toggle/themes/skewed.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@

.x-toggle-skewed.large {
width: 4.7em;
height: 2.6em;
height: 2.1em;
padding: 4px;
}

.x-toggle-skewed.large:before,
.x-toggle-skewed.large:after {
line-height: 2em;
line-height: 1.7em;
font-size: 1.1em;
}

0 comments on commit d59b5d6

Please sign in to comment.