Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvd committed Dec 13, 2020
1 parent 5978174 commit 30b6708
Show file tree
Hide file tree
Showing 174 changed files with 1,356 additions and 931 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file added _locales/.DS_Store
Binary file not shown.
13 changes: 9 additions & 4 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"descriptionshort": {"message": "The entire page will be fading to dark, so you can watch the videos as if you were in the cinema."},
"pagehelp": {"message": "help"},
"titelimage": {"message": "Background Image"},
"shortcutalllights": {"message": "to toggle the lights on/off for all open tabs"},
Expand Down Expand Up @@ -358,7 +359,8 @@
"autostopbannertrans": {"message": "Show a transparent banner"},
"titleanalytics": {"message": "Analytics"},
"desbadgeanalytics": {"message": "Show the badge with the number of clicks you have dimmed the webpage"},
"shareanalyticenergy": {"message": "I saved $product$ kWh thanks to Turn Off the Lights", "placeholders": {"product": {"content": "$1", "example": "123"}}},
"shareanalyticenergy": {"message": "I saved $energyvalue$ kWh thanks to Turn Off the Lights", "placeholders": {"energyvalue": {"content": "$1", "example": "123"}}},
"shareanalyticenergyWh": {"message": "I saved $energyvalue$ Wh thanks to Turn Off the Lights", "placeholders": {"energyvalue": {"content": "$1", "example": "123"}}},
"analyticsoption": {"message": "Analytics"},
"activelayertoday": {"message": "Number of clicks today"},
"totalenergysaved": {"message": "Total electrical energy saved"},
Expand All @@ -377,7 +379,7 @@
"charttitlelblenergytotal": {"message": "Total used Energy"},
"charttitlelblenergysaved": {"message": "Total saved Energy"},
"titlelanalyticprivacy": {"message": "Turn Off the Lights browser extension takes your privacy very seriously. The Turn Off the Lights Analytics you are seeing on this page is only stored locally on your computer. Your personal site engagement information will not be sold and not transferred to unaffiliated third parties."},
"shareanalyticlove": {"message": "The website I most love is $product$ with Turn Off the Lights", "placeholders": {"product": {"content": "$1", "example": "123"}}},
"shareanalyticlove": {"message": "The website I most love is $websiteurl$ with Turn Off the Lights", "placeholders": {"websiteurl": {"content": "$1", "example": "123"}}},
"desvolumeposa": {"message": "Show the volume meter in center of the current video player"},
"desvolumeposb": {"message": "Show the volume value on top left of the current video player"},
"desvolumeposc": {"message": "Show the volume value on top right of the current video player"},
Expand Down Expand Up @@ -453,7 +455,7 @@
"autostopclickme": {"message": "Click on me to play this HTML5 video"},
"autostopenabled": {"message": "AutoStop is enabled!"},
"searchplaceholder": {"message": "Search"},
"scoregame": {"message": "My amazing high score $product$ on the HIDDEN easter egg game in the Turn Off the Lights Browser extension. Try it yourself!","placeholders": {"product": {"content": "$1", "example": "123"}}},
"scoregame": {"message": "My amazing high score $scorevalue$ on the HIDDEN easter egg game in the Turn Off the Lights Browser extension. Try it yourself!","placeholders": {"scorevalue": {"content": "$1", "example": "123"}}},
"permissionoption": {"message": "Permission must be enabled to use this feature."},
"titelpermission": {"message": "Permissions"},
"despermissiontab": {"message": "Remove the tab permission"},
Expand All @@ -472,5 +474,8 @@
"permissionstorage": {"message": "This is to save the settings on your local computer, and to sync it to your web browser account."},
"permissionallurl": {"message": "This is to control the lamp button on all websites that include http, https, file, and ftp."},
"permissiontheme": {"message": "This is to change the web browser user interface in a dark or light theme."},
"desnightmodeswitchhide": {"message": "Automatically hide the night switch after your chosen seconds"}
"desnightmodeswitchhide": {"message": "Automatically hide the night switch after your chosen seconds"},
"destrythiswebsite": {"message": "Try this web page"},
"desatmosfpsmanual": {"message": "Manually"},
"desatmosfpsauto": {"message": "Synchronized as a best effort with the frame rate of the video playing on screen"}
}
12 changes: 6 additions & 6 deletions css/options.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions css/palette.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ hr{margin:0;border:0px;height:1px;background:var(--totl-hr-border)}
.energytext{display:inline-block;width:205px;vertical-align:top;margin-top:8px}
#energycompared{font-weight:bold}
/* share box */
#shareboxfacebook{background:url(../images/facebook@2x.png)left top no-repeat;background:-webkit-image-set(url(../images/facebook.png) 1x,url(../images/facebook@2x.png) 2x);width:18px;height:18px;display:inline-block;background-size:cover;margin-right:10px;margin-top:10px;cursor:pointer}
#shareboxtwitter{background:url(../images/twitter@2x.png)left top no-repeat;background:-webkit-image-set(url(../images/twitter.png) 1x,url(../images/twitter@2x.png) 2x);width:18px;height:18px;display:inline-block;background-size:cover;margin-top:10px;cursor:pointer}
#shareboxfacebook{background:url(../images/facebook@2x.webp)left top no-repeat;background:-webkit-image-set(url(../images/facebook.webp) 1x,url(../images/facebook@2x.webp) 2x);width:18px;height:18px;display:inline-block;background-size:cover;margin-right:10px;margin-top:10px;cursor:pointer}
#shareboxtwitter{background:url(../images/twitter@2x.webp)left top no-repeat;background:-webkit-image-set(url(../images/twitter.webp) 1x,url(../images/twitter@2x.webp) 2x);width:18px;height:18px;display:inline-block;background-size:cover;margin-top:10px;cursor:pointer}
#shareboxrate:hover,#shareboxgoogle:hover,#shareboxfacebook:hover,#shareboxtwitter:hover{opacity:.8;cursor:pointer}
#color1a{background-color:black}
#color1b{background-color:rgba(33,56,17,1)}
Expand Down
26 changes: 15 additions & 11 deletions css/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,34 @@ To view a copy of this license, visit http://creativecommons.org/licenses/GPL/2.
--totl-primary-font-color:#fff;
--totl-body-background:#111111;
--totl-hr-border:#444444;
--totl-button-color:#fff;
--totl-button-background:rgba(244,244,244,.4);
--totl-button-background-active:rgba(158,158,158,.2);
--totl-button-background-hover:rgba(158,158,158,.4);
}
.light{
--totl-primary-background:#fff;
--totl-primary-font-color:#000;
--totl-body-background:#fff;
--totl-hr-border:#cccccc;
--totl-button-color:#000;
--totl-button-background:rgba(244,244,244,.4);
--totl-button-background-active:rgba(158,158,158,.2);
--totl-button-background-hover:rgba(158,158,158,.4);
}

html{min-width:295px;min-height:395px;padding:0;margin:0}
html{min-width:295px;min-height:295px;padding:0;margin:0}
body{background:var(--totl-body-background);color:var(--totl-primary-font-color);width:295px;padding:0;margin:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-family:sans-serif;font-size:12px}
.button{cursor:pointer;width:100%;height:55px;font-family:Arial,sans-serif;font-size:12px;text-align:center;padding:0px;line-height:25px;color:var(--totl-primary-font-color);display:table-cell}
.button:hover{color:var(--totl-primary-font-color);opacity:.88}
/* button */
button{width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:0 0;border:none;border-radius:2px;color:var(--totl-button-color);position:relative;height:36px;margin:0;min-width:64px;padding:0 16px;display:inline-block;font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:14px;font-weight:500;text-transform:uppercase;letter-spacing:0;overflow:hidden;will-change:box-shadow;transition:box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);outline:none;cursor:pointer;text-decoration:none;text-align:center;line-height:36px;vertical-align:middle;box-shadow:0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12), 0 2px 4px -1px rgba(0,0,0,.2);background-color:var(--totl-button-background)}
button:active{background-color:var(--totl-button-background-active)}
button:hover{background-color:var(--totl-button-background-hover)}
.infobar{height:58px;background:#4285f4;padding:0 16px;font-size:24px;color:var(--totl-primary-font-color);line-height:70px}
.infomessage{padding:16px;font-size:14px}
.actionmessage{padding:4px 16px 20px 16px;font-size:14px}
hr{margin:0;border:0px;height:1px;background:var(--totl-hr-border)}
.btnbox{margin:15px auto;left:0;right:0;width:calc(295px - 15px)}
.btnbox .dbn{cursor:pointer;padding:5px;height:60px;width:60px;display:inline-block;float:left;vertical-align:top;margin:5px 10px;border:1px solid transparent;position:relative}
.btnbox .dbn:hover{border:1px solid #ccc}
.btnbox .dbn .lbl{color:var(--totl-primary-font-color);position:absolute;bottom:5px;font-size:11px;text-align:center;left:0;right:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.btnbox .donatebck{background:rgb(255,215,64);border:1px solid #ffd740}
.btnbox .donatebck:hover{background:rgba(255,215,64,.6);border:1px solid #ffd740}
.btnbox .donatebck .lbl{color:black}
.textrate{text-align:center;font-size:30px;top:10px;left:0;right:0;position:absolute;color:#fcba49}
.textdonate,.textsettings{text-align:center;font-size:30px;top:10px;left:0;right:0;position:absolute}
.email{background:url(../images/email@2x.png)left top no-repeat;background:-webkit-image-set(url(../images/email.png) 1x,url(../images/email@2x.png) 2x);width:18px;height:18px;display:inline-block;background-size:cover;margin:auto;position:absolute;top:0;right:0;bottom:15px;left:0}
.facebook{background:url(../images/facebook@2x.png)left top no-repeat;background:-webkit-image-set(url(../images/facebook.png) 1x,url(../images/facebook@2x.png) 2x);width:18px;height:18px;display:inline-block;background-size:cover;margin:auto;position:absolute;top:0;right:0;bottom:15px;left:0}
.twitter{background:url(../images/twitter@2x.png)left top no-repeat;background:-webkit-image-set(url(../images/twitter.png) 1x,url(../images/twitter@2x.png) 2x);width:18px;height:18px;display:inline-block;background-size:cover;margin:auto;position:absolute;top:0;right:0;bottom:15px;left:0}
.textsettings{text-align:center;font-size:30px;top:10px;left:0;right:0;position:absolute}
Binary file added icons/.DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletion icons/gold.svg

This file was deleted.

Loading

0 comments on commit 30b6708

Please sign in to comment.