Skip to content

Commit 97252ca

Browse files
committed
Add button for donate
1 parent d5be04b commit 97252ca

File tree

3 files changed

+58
-3
lines changed

3 files changed

+58
-3
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
"name": "Web Activity Time Tracker",
55
"short_name": "Web Activity",
6-
"version": "0.7.5",
6+
"version": "0.7.6",
77
"minimum_chrome_version": "26",
88

99
"description": "Track your activity in the browser.",

options.html

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@
9090
<div id='restrictionsBlock' hidden>
9191
<label>Access daily restrictions for websites: </label>
9292
<div class="tooltip"><img src="/icons/information.svg" height="18" />
93-
<span class="tooltiptext">Set the time you can spend on the site during the day. After this time, access to the site will be blocked.</span>
93+
<span class="tooltiptext">Set the time you can spend on the site during the day. After this time, access
94+
to the site will be blocked.</span>
9495
</div>
9596
<div class="margin-top-10">
9697
<input type="text" placeholder="Enter site name..." id='addRestrictionSiteLbl' />
@@ -119,6 +120,60 @@
119120
href="https://chrome.google.com/webstore/detail/web-activity-time-tracker/hhfnghjdeddcfegfekjeihfmbjenlomm/reviews"
120121
target="_blank">Let me know!</a></label>
121122
</div>
123+
<div class="margin-top-10">
124+
<label>If you like what I'm accomplishing, feel free to buy me a coffee ☕️ Thank you for your
125+
support!</label>
126+
<div class="margin-top-10">
127+
<style>
128+
.bmc-button img {
129+
width: 27px !important;
130+
margin-bottom: 1px !important;
131+
box-shadow: none !important;
132+
border: none !important;
133+
vertical-align: middle !important;
134+
}
135+
136+
.bmc-button {
137+
line-height: 36px !important;
138+
height: 37px !important;
139+
text-decoration: none !important;
140+
display: inline-flex !important;
141+
color: #FFFFFF !important;
142+
background-color: #FF813F !important;
143+
border-radius: 3px !important;
144+
border: 1px solid transparent !important;
145+
padding: 1px 9px !important;
146+
font-size: 22px !important;
147+
letter-spacing: 0.6px !important;
148+
box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;
149+
-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
150+
margin: 0 auto !important;
151+
font-family: 'Cookie', cursive !important;
152+
-webkit-box-sizing: border-box !important;
153+
box-sizing: border-box !important;
154+
-o-transition: 0.3s all linear !important;
155+
-webkit-transition: 0.3s all linear !important;
156+
-moz-transition: 0.3s all linear !important;
157+
-ms-transition: 0.3s all linear !important;
158+
transition: 0.3s all linear !important;
159+
}
160+
161+
.bmc-button:hover,
162+
.bmc-button:active,
163+
.bmc-button:focus {
164+
-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
165+
text-decoration: none !important;
166+
box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
167+
opacity: 0.85 !important;
168+
color: #FFFFFF !important;
169+
}
170+
</style>
171+
<link href="https://fonts.googleapis.com/css?family=Cookie" rel="stylesheet"><a class="bmc-button"
172+
target="_blank" href="https://www.buymeacoffee.com/webactivitytime"><img
173+
src="https://www.buymeacoffee.com/assets/img/BMC-btn-logo.svg" alt="Buy me a coffee"><span
174+
style="margin-left:5px">Buy me a coffee</span></a>
175+
</div>
176+
</div>
122177
</div>
123178
</div>
124179
</div>

style/settings.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ input[type="button"]:hover {
298298
}
299299

300300
#restrictionsList{
301-
width: 430px;
301+
width: 440px;
302302
height: 250px;
303303
}
304304

0 commit comments

Comments
 (0)