|
79 | 79 | opacity: 0.5; |
80 | 80 | } |
81 | 81 | paper-button { |
82 | | - background: rgb(221, 221, 221); |
83 | | - color: rgb(112, 112, 112); |
84 | 82 | font-size: 1em; |
85 | 83 | margin: 14px 5px 5px 2px; |
86 | 84 | padding-left: 1em; |
|
98 | 96 | core-icon[icon=check] { |
99 | 97 | color: #009688; |
100 | 98 | } |
101 | | - .highlightedButton { |
102 | | - background: #009688; /* dark green */ |
103 | | - color: white; |
104 | | - } |
105 | 99 | p.preButtonDetailedText { |
106 | 100 | margin: 18px 0px 0px 0px; |
107 | 101 | font-size: 12px; |
|
175 | 169 | </p> |
176 | 170 | </div> |
177 | 171 | <p class='preButtonDetailedText'>You will be able to get access when {{ contact.name }} accepts.</p> |
178 | | - <paper-button raised on-tap='{{ cancelRequest }}'>Cancel Request</paper-button> |
| 172 | + <paper-button class='grey' raised on-tap='{{ cancelRequest }}'>Cancel Request</paper-button> |
179 | 173 | </div> |
180 | 174 |
|
181 | 175 | <div hidden?='{{ contact.gettingConsentState != GettingConsentState.REMOTE_OFFERED_LOCAL_NO_ACTION }}'> |
182 | 176 | <p class='preButtonText'>They've offered you access.</p> |
183 | | - <paper-button class='highlightedButton' raised on-tap='{{ request }}'>Accept Offer</paper-button> |
184 | | - <paper-button class='highlightedButton' raised on-tap='{{ ignoreOffer }}'>Ignore</paper-button> |
| 177 | + <paper-button raised on-tap='{{ request }}'>Accept Offer</paper-button> |
| 178 | + <paper-button raised on-tap='{{ ignoreOffer }}'>Ignore</paper-button> |
185 | 179 | </div> |
186 | 180 |
|
187 | 181 | <div hidden?='{{ contact.gettingConsentState != GettingConsentState.REMOTE_OFFERED_LOCAL_IGNORED }}'> |
188 | 182 | <p class='preButtonText'>They've offered you access.</p> |
189 | | - <paper-button raised on-tap='{{ unignoreOffer }}'>Stop ignoring offers</paper-button> |
| 183 | + <paper-button class='grey' raised on-tap='{{ unignoreOffer }}'>Stop ignoring offers</paper-button> |
190 | 184 | </div> |
191 | 185 |
|
192 | 186 | <div hidden?='{{ contact.gettingConsentState != GettingConsentState.NO_OFFER_OR_REQUEST }}'> |
193 | | - <paper-button raised class='highlightedButton' on-tap='{{ request }}'> |
| 187 | + <paper-button raised on-tap='{{ request }}'> |
194 | 188 | Ask for access |
195 | 189 | </paper-button> |
196 | 190 | </div> |
|
203 | 197 |
|
204 | 198 | <div hidden?='{{ contact.sharingConsentState != SharingConsentState.LOCAL_OFFERED_REMOTE_ACCEPTED }}'> |
205 | 199 | <p class='preButtonText'>You've given them access.</p> |
206 | | - <paper-button raised on-tap='{{ cancelOffer }}'>Revoke Access</paper-button> |
| 200 | + <paper-button class='grey' raised on-tap='{{ cancelOffer }}'>Revoke Access</paper-button> |
207 | 201 | </div> |
208 | 202 |
|
209 | 203 | <div hidden?='{{ contact.sharingConsentState != SharingConsentState.LOCAL_OFFERED_REMOTE_NO_ACTION }}'> |
210 | | - <paper-button raised on-tap='{{ cancelOffer }}'>Cancel Offer</paper-button> |
| 204 | + <paper-button class='grey' raised on-tap='{{ cancelOffer }}'>Cancel Offer</paper-button> |
211 | 205 | </div> |
212 | 206 |
|
213 | 207 | <div hidden?='{{ contact.sharingConsentState != SharingConsentState.REMOTE_REQUESTED_LOCAL_NO_ACTION }}'> |
|
217 | 211 | {{ contact.name }} requests access from you. |
218 | 212 | </p> |
219 | 213 | </div> |
220 | | - <paper-button raised class='highlightedButton' on-tap='{{ offer }}'>Grant</paper-button> |
221 | | - <paper-button raised class='highlightedButton' on-tap='{{ ignoreRequest }}'>Ignore</paper-button> |
| 214 | + <paper-button raised on-tap='{{ offer }}'>Grant</paper-button> |
| 215 | + <paper-button raised on-tap='{{ ignoreRequest }}'>Ignore</paper-button> |
222 | 216 | </div> |
223 | 217 |
|
224 | 218 | <div hidden?='{{ contact.sharingConsentState != SharingConsentState.REMOTE_REQUESTED_LOCAL_IGNORED }}'> |
225 | 219 | <p class='preButtonText'>They requested access through you.</p> |
226 | | - <paper-button raised on-tap='{{ unignoreRequest }}'>Stop ignoring requests</paper-button> |
| 220 | + <paper-button class='grey' raised on-tap='{{ unignoreRequest }}'>Stop ignoring requests</paper-button> |
227 | 221 | </div> |
228 | 222 |
|
229 | 223 | <div hidden?='{{ contact.sharingConsentState != SharingConsentState.NO_OFFER_OR_REQUEST }}'> |
230 | 224 | <p class='preButtonText'>You have not granted them access.</p> |
231 | | - <paper-button raised class='highlightedButton' on-tap='{{ offer }}'>Offer Access</paper-button> |
| 225 | + <paper-button raised on-tap='{{ offer }}'>Offer Access</paper-button> |
232 | 226 | </div> |
233 | 227 | </core-collapse> <!-- end of shareControls --> |
234 | 228 |
|
|
0 commit comments