-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.css
93 lines (81 loc) · 1.52 KB
/
demo.css
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
body {
background-color: #E8E8E8;
}
section {
margin: 16px;
display: inline-block;
font-family: Roboto, helvetica, sans-serif;
background: white;
color: rgba(0, 0, 0, 0.87);
border-radius: 2px;
box-shadow: 0 1px 4px 0px rgba(0, 0, 0, 0.31);
}
body.scrolling section {
display: block;
}
section.expanded {
display: inline-block;
padding: 16px;
max-width: 400px;
}
section header {
display: none;
font-size: 20px;
}
section.expanded header {
display: block;
}
section p {
display: none;
}
section.expanded p {
display: block;
}
/*section button {
background: white;
padding: 8px 16px;
border: none;
outline: none;
text-transform: uppercase;
cursor: pointer;
}*/
#fab {
position: fixed;
right: 16px;
bottom: 16px;
display: block;
width: 56px;
height: 56px;
font-size: 24px;
line-height: 56px;
text-align: center;
border: none;
border-radius: 50%;
outline: none;
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
font-feature-settings: 'liga';
background: #d23f31;
color: rgba(255, 255, 255, 0.87);
box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.54);
cursor: pointer;
}
#buttons {
position: fixed;
right: 16px;
bottom: 16px;
display: block;
padding: 16px;
background: rgba(255, 255, 255, 0.87);
box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.31);
border-radius: 2px;
}