-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FFE-155 Used padding instead of line-height to set button height/padd…
…ing. Update visual tests screenshots. Lint.
- Loading branch information
Kristoffer Nordström
committed
Mar 20, 2017
1 parent
33da3f9
commit a8f7201
Showing
9 changed files
with
40 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
.ffe-back-button { | ||
box-shadow: none; | ||
border: none; | ||
width: auto; | ||
color: @ffe-grey-dark; | ||
font-family: "MuseoSansRounded-500", arial, sans-serif; | ||
font-size: 16px; | ||
height: 24px; | ||
line-height: 20px; | ||
padding-left: 1em; | ||
background: transparent no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='0.8em' height='1.5em' viewBox='0 0 200 200'%3E%3Cpath transform = 'rotate(90 100 100)' fill = '%23676767' d='m16.171492,41.999998c-4.143269,0-8.2852797,1.57464-11.4277496,4.706478-6.3249899,6.283609-6.3249899,16.499474,0,22.803034l84.0286676,83.76282c6.30496,6.30356,16.54928,6.30356,22.87426,0l83.60959-83.26412c6.32499-6.28361,6.32499-16.499477,0-22.803038-6.30496-6.30356-16.55553-6.30356-22.88051,0l-72.13806,71.893768-72.613438-72.373767c-3.14247-3.151781-7.29074-4.725174-11.433999-4.725174h-0.0188z'/%3E%3C/svg%3E"); | ||
cursor: pointer; | ||
display: block; | ||
outline: none; | ||
overflow: hidden; | ||
box-shadow: none; | ||
border: none; | ||
width: auto; | ||
color: @ffe-grey-dark; | ||
font-family: "MuseoSansRounded-500", arial, sans-serif; | ||
font-size: 16px; | ||
height: 24px; | ||
line-height: 20px; | ||
padding-left: 1em; | ||
background: transparent no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='0.8em' height='1.5em' viewBox='0 0 200 200'%3E%3Cpath transform = 'rotate(90 100 100)' fill = '%23676767' d='m16.171492,41.999998c-4.143269,0-8.2852797,1.57464-11.4277496,4.706478-6.3249899,6.283609-6.3249899,16.499474,0,22.803034l84.0286676,83.76282c6.30496,6.30356,16.54928,6.30356,22.87426,0l83.60959-83.26412c6.32499-6.28361,6.32499-16.499477,0-22.803038-6.30496-6.30356-16.55553-6.30356-22.88051,0l-72.13806,71.893768-72.613438-72.373767c-3.14247-3.151781-7.29074-4.725174-11.433999-4.725174h-0.0188z'/%3E%3C/svg%3E"); | ||
cursor: pointer; | ||
display: block; | ||
outline: none; | ||
overflow: hidden; | ||
|
||
&:focus { | ||
background-color: transparent; | ||
border-radius: 4px; | ||
box-shadow: 0 0 0 2px @ffe-blue-focus; | ||
} | ||
&:focus { | ||
background-color: transparent; | ||
border-radius: 4px; | ||
box-shadow: 0 0 0 2px @ffe-blue-focus; | ||
} | ||
|
||
&:hover { | ||
background-color: transparent; | ||
box-shadow: none; | ||
} | ||
&:hover { | ||
background-color: transparent; | ||
box-shadow: none; | ||
} | ||
|
||
&:hover &__label { | ||
border-bottom: 1px solid @ffe-grey-dark; | ||
} | ||
} | ||
&:hover &__label { | ||
border-bottom: 1px solid @ffe-grey-dark; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.6 KB
(100%)
visual-tests/baseline-screenshots/example/plain/firefox-large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+34 Bytes
(100%)
visual-tests/baseline-screenshots/example/plain/firefox-medium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+19 Bytes
(100%)
visual-tests/baseline-screenshots/example/plain/firefox-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.