This repository was archived by the owner on Oct 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_common.sass
78 lines (61 loc) · 1.46 KB
/
_common.sass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Common, reusable blocks.
@import globals
.drip--mobile
@media #{$media-ipad}
display: none
// Site buttons
// Account for all-caps text appearing too high visually.
$button-text-offset: 1px
.button
+font-header(12)
+linear-gradient(lighten($black, 15%), $black, $fallback: $black)
border: none
border-radius: 2px
color: $white
display: block
line-height: 40px - $button-text-offset
margin-top: 10px
min-width: 75px
padding: 0 15px
padding-top: $button-text-offset
&:hover:not([disabled])
+linear-gradient(lighten($black, 20%), $black)
&:active:not([disabled])
+linear-gradient($black, lighten($black, 10%))
&[disabled]
opacity: .6
// Simple black header bands
.header-band
@extend .l-centered
+font-header(12, 18)
color: $grey-text
padding: 10px 0 8px
text-align: center
@media #{$media-ipad}
padding: 20px 0 18px
.header-band--two-lines
padding: 25px 0 23px
@media #{$media-ipad}
padding: 30px 0 28px
.header-band.header-band--serif
@extend %text--body
background: $white
color: $black
font-size: 10px
letter-spacing: 1px
padding: 9px 0
@media #{$media-ipad}
font-size: 11px
padding: 0
text-align: right
> span
border: 1px solid $grey-rule
border-width: 0 1px
display: inline-block
padding: 8px 30px 9px
// Animation helpers //////////////////
.sprinkle-text
color: $grey-rule
.sprinkle-text--active
+transition(color 300ms ease-in)
color: $orange