|
116 | 116 |
|
117 | 117 | .fab { |
118 | 118 | border-radius: 100px; |
119 | | - width: 4rem; |
| 119 | + width: 68px; |
120 | 120 | position: relative; |
121 | 121 | overflow: hidden; |
122 | | - height: 4rem; |
| 122 | + height: 68px; |
123 | 123 | display: flex; |
124 | 124 | align-items: center; |
125 | 125 | box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); |
|
134 | 134 | } |
135 | 135 |
|
136 | 136 | .fab .material-icons.rotate { |
137 | | - -ms-transform: rotate(135deg); /* IE 9 */ |
138 | | - -webkit-transform: rotate(135deg); /* Chrome, Safari, Opera */ |
139 | | - transform: rotate(135deg); |
| 137 | + -ms-transform: rotate(315deg); /* IE 9 */ |
| 138 | + -webkit-transform: rotate(315deg); /* Chrome, Safari, Opera */ |
| 139 | + transform: rotate(315deg); |
140 | 140 | } |
141 | 141 |
|
142 | 142 | .fab-list { |
143 | 143 | position: relative; |
144 | 144 | z-index: 9999; |
145 | | - margin: 1rem .5rem; |
| 145 | + margin: 2vh 0.5vw; |
146 | 146 | } |
147 | 147 |
|
148 | 148 | .fab-list li { |
149 | | - width: 3rem; |
150 | | - height: 3rem; |
151 | | - margin-top: 1rem; |
| 149 | + width: 50px; |
| 150 | + height: 50px; |
| 151 | + margin-top: 2vh; |
152 | 152 | display: flex; |
153 | 153 | align-items: center; |
154 | 154 | border-radius: 100px; |
|
160 | 160 | margin: 0px auto; |
161 | 161 | } |
162 | 162 |
|
| 163 | + .pointer { |
| 164 | + cursor: pointer; |
| 165 | + } |
| 166 | +
|
| 167 | + /* Rules for sizing the icon. */ |
| 168 | + .material-icons.md-18 { font-size: 18px; } |
| 169 | + .material-icons.md-24 { font-size: 24px; } |
| 170 | + .material-icons.md-36 { font-size: 36px; } |
| 171 | + .material-icons.md-48 { font-size: 48px; } |
| 172 | +
|
| 173 | + /* Rules for using icons as black on a light background. */ |
| 174 | + .material-icons.md-dark { color: rgba(0, 0, 0, 0.54); } |
| 175 | + .material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); } |
| 176 | +
|
| 177 | + /* Rules for using icons as white on a dark background. */ |
| 178 | + .material-icons.md-light { color: rgba(255, 255, 255, 1); } |
| 179 | + .material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); } |
| 180 | +
|
163 | 181 | @media screen and (max-width: 768px) { |
164 | 182 | .fab-list { |
165 | | - margin: 1rem 0rem 0.5rem 0.35rem; |
| 183 | + margin: 2vh 1.8vw; |
166 | 184 | } |
167 | 185 | .fab-list li { |
168 | | - width: 2.6rem; |
169 | | - height: 2.6rem; |
| 186 | + width: 40px; |
| 187 | + height: 40px; |
170 | 188 | } |
171 | 189 | .fab-list li i { |
172 | | - font-size: 1.3rem !important; |
| 190 | + font-size: 24px !important; |
173 | 191 | } |
174 | 192 | .fab { |
175 | | - width: 3.2rem; |
176 | | - height: 3.2rem; |
| 193 | + width: 55px; |
| 194 | + height: 55px; |
177 | 195 | } |
178 | 196 | .fab i { |
179 | | - font-size: 2rem !important; |
| 197 | + font-size: 34px !important; |
180 | 198 | } |
181 | 199 |
|
182 | 200 | } |
|
0 commit comments