Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Use px for button styling #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions src/showcaser.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,30 +99,35 @@
}

.showcaser-button {
background: 0 0;
background: transparent;
border: none;
border-radius: 2px;
color: #fff;
position: relative;
height: 2.25em;
line-height: 2.25em;
height: 36px;
line-height: 36px;
margin: 0;
min-width: 4em;
padding: 0 1em;
min-width: 64px;
padding: 0 16px;
display: inline-block;
font-family: 'Roboto', sans-serif;
font-size: 1em;
font-size: 14px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0;
letter-spacing: .04em;
overflow: hidden;
will-change: box-shadow;
transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1),
background-color .2s cubic-bezier(.4, 0, .2, 1),
color .2s cubic-bezier(.4, 0, .2, 1);
outline: none;
cursor: pointer;
text-decoration: none;
text-align: center;
vertical-align: middle;
box-sizing: border-box;
user-select: none;
-webkit-appearance: none;
}

.showcaser-button:hover {
Expand All @@ -140,17 +145,15 @@
.showcaser-skip {
color: white;
cursor: pointer;
left: 100%;
bottom: 0.3em;
margin-left: 2em;
margin-left: 28px;
white-space: nowrap;
line-height: 1.5;
display: inline;
font-size: 0.9em;
font-size: 12px;
vertical-align: middle;
}

.showcaser-text-container.left .showcaser-skip {
right: 100%;
left: initial;
}
}