/src/options.html
HTML | 297 lines | 260 code | 36 blank | 1 comment | 0 complexity | 38430624d162989b9756656e4df1bc68 MD5 | raw file
- <!DOCTYPE html>
- <html>
- <head>
- <title>Sexy Undo Close Tab</title>
- <style type="text/css">
- html {
- height: 100%;
- }
-
- body {
- margin: 20px;
- font: 10px "Lucida Grande", verdana, sans-serif;
- font-size: 12px;
- -moz-user-select: none;
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #1A1F2B), color-stop(1.0, #1A1F2B));
- height: 100%;
- }
-
- .saveButton {
- color: #000;
- background: #E5ECFF;
- border: 1px solid #FFF;
- padding: 0px 10px 0px 10px;
- text-align: center;
- position: relative;
- vertical-align: baseline;
- text-decoration: none !important;
- cursor: pointer;
- -moz-border-radius: 4px;
- border-radius: 4px;
- font-size: 20px;
- text-shadow: 1px 0px 1px #FFF;
- -webkit-box-shadow: 0 0px 3px rgba(0, 0, 0, 0.5);
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #FFF), color-stop(1.0, #E5ECFF));
- }
-
- .saveButton:hover {
- color: #000 !important;
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #E5ECFF), color-stop(1.0, #FFF));
- }
-
- .saveButton:active {
- color: #000 !important;
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #E5ECFF), color-stop(1.0, #E5ECFF));
- }
-
- .saveButton:disabled {
- color: #FFF !important;
- background: #333;
- text-shadow: 1px 0px 1px #000;
- border: 1px solid #AAA;
- }
-
- a,
- a:hover,
- a:visited {
- color: #404352;
- }
-
- .small {
- font-size: 12px !important;
- }
-
- header {
- font-size: 30px;
- font-weight: bold;
- margin: 0 auto;
- margin-bottom: 20px;
- -webkit-text-stroke: hsla(200, 100%, 80%, .1) 1px;
- text-shadow: hsla(200, 100%, 70%, .9) 1px -1px 2px, hsla(200, 100%, 50%, .2) 0 -5px 20px, rgba(0, 0, 0, 0.9) -10px 20px 25px;
- display: inline;
- color: #24353E;
- width: 800px;
- }
-
- i {
- color: #85A5CC;
- font-size: 15px;
- }
-
- .boxx {
- width: 700px;
- border-radius: 4px;
- padding: 15px;
- margin: 5px;
- text-align: left;
- background: #B2C2CC;
- -webkit-box-shadow: 0 0px 10px rgba(0, 0, 0, 0.3);
- }
-
- .boxxInfo {
- border: 2px solid #000;
- width: 650px;
- border-radius: 4px;
- padding: 5px;
- margin: 20px;
- text-align: right;
- background: #FFF;
- -webkit-box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
- }
-
- .number {
- font-size: 14px;
- font-weight: bold;
- border-radius: 4px;
- background: #8F9CA4;
- padding: 2px 5px;
- color: #FFF;
- -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.2);
- border-bottom: 1px solid #FFF;
- background: -webkit-gradient(linear, left top, left bottom, from(#8F9CA4), to(#627A8C));
- }
-
- .option {
- border-radius: 4px;
- background: #EEE;
- color: #000;
- margin: 7px 0;
- padding: 2px 2px 5px 6px;
- -webkit-box-shadow: 0 10px 5px rgba(0, 0, 0, 0.2);
- border-top: 1px solid #FFF;
- }
-
- .option i {
- color: #000;
- font-size: 10px;
- }
-
- .option label {
- cursor: pointer;
- padding-top: 5px;
- width: 100%;
- }
-
- .option input[type=checkbox] {
- border: 1px solid #555;
- padding: 0.5em;
- font-size: 15px;
- line-height: 1.2em;
- width: 80%;
- background: #fff;
- background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ccc));
- -webkit-appearance: none;
- -webkit-box-shadow: 1px 1px 3px #fff;
- -webkit-border-radius: 0.5em;
- display: inline-block;
- font-size: 15px;
- line-height: 1em;
- margin: 0 0.25em 0 0;
- padding: 0;
- width: 1.25em;
- height: 1.25em;
- border-radius: 0.25em;
- vertical-align: text-top;
- cursor: pointer;
- }
-
- .option input[type=checkbox]:checked {
- background: url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%008%00%00%008%08%02%00%00%00'%E4%ACI%00%00%00%19tEXtSoftware%00Adobe%20ImageReadyq%C9e%3C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AE%82%09%C3%CA%CB%CB%B5%D7%8FV%8Cr%A0%F4%FA%CD%24%AC%E4c%2B%8E%22%D0p%91%8B%26%D4K%B1Y%DE%40%EA%8A37%CAOP%2F%A7%C9BS-Ob*PdE%A2%FEH%E2%82P%FA%D8%80%10Vy%A3%0A%2Bhh'%07%A8%95A%94'%A5%BF%9D%12%8D%95%1D%88%B5V6g%C8*%E5%B6%20%94%BE%B7tlY%85R%C6%C8%87T%3E%B3'%DF%BD'%8D%953L%FD%92%B6%EE%EA%E4O%99%E3%26%99%F6%11%E7%BC%7DR%10%CA%DCw%F3%D4%95%94-J%A1%F8%0A%B6%EDXp%A0%60%0F%3F%00%0D%40%03%D0%00%F4k%F4G%80%01%00%E2%BB%B3%8D%BD%BE%0E%DE%00%00%00%00IEND%AEB%60%82") no-repeat center center;
- -webkit-background-size: 28px 28px;
- }
-
- .input[type=button] {}
-
- .dark {
- background: #627A8C;
- color: #FFF;
- border-radius: 4px;
- margin: 3px 0;
- padding: 2px 2px 3px 6px;
- }
-
- new {
- color: #FF0;
- font-size: 10px;
- text-shadow: 0px 0px 5px #000;
- font-weight: bold;
- }
-
- .donate {
- display: inline-block;
- outline: none;
- cursor: pointer;
- text-align: center;
- text-decoration: none;
- font: 14px/100% Arial, Helvetica, sans-serif;
- padding: .5em 2em;
- text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
- border-radius: .5em;
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
- color: #fef4e9;
- border: solid 1px #da7c0c;
- background: #f78d1d;
- background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
- display: none;
- }
-
- .donate:hover {
- background: #f47c20;
- background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
- }
-
- .donate:hover {
- background: #d45500;
- }
-
- input[type=range] {
- -webkit-appearance: none;
- /* Remove Safari default */
- width: 250px;
- height: 15px;
- border-radius: 2px;
- position: relative;
- background-color: #627A8C;
- -webkit-background-clip: padding-box;
- border: 0;
- border-bottom: 1px solid #FFF;
- cursor: ew-resize;
- }
-
- input[type="range"]::-webkit-slider-thumb {
- -webkit-appearance: none;
- /* Remove Safari default */
- position: relative;
- z-index: 1;
- width: 8px;
- height: 15px;
- border-radius: 3px;
- background-color: #FFF;
- border: 1px solid #000;
- background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ccc));
- }
- </style>
- <script src="js/init.js"></script>
- <script src="js/options.js"></script>
- </head>
- <body>
- <center>
- <header>Sexy Undo Close Tab - Options</header><br>
- <i>Plugins auto-update, so stay tunned for more options !</i>
- <div class="boxx">
- <div class="dark" id="tips"><b>Some fancy dancy features :</b><br>
- <small>
- • Search box auto focuses once you open the Undo Closed Tabs popup, so you can search for your lost tab without any extra clicks !<br>
- • Navigate through the list using the TAB key <br>
- • Double clicking on the icon will open the last closed tab<br>
- • Middle clicking on a closed tab will open it without focusing on it<br>
- • Detection of duplicate links<br>
- • Delete TABS by searching for them and then clicking on the DELETE button<br>
- • Auto-clearing, your local storage won't get filled with mess and you don't have to care about Clearing anymore !
- </small>
- </div>
- <!-- <new>(NEW !)</new> -->
- <div class="option"><input type="checkbox" id="showBadge"><label for="showBadge"> Enable badge ( Amount of closed tabs number thing )</label></div>
- <div class="option"><input type="checkbox" id="menuTop"><label for="menuTop"> Search Bar & Buttons on top</label></div>
- <div class="option"><input type="checkbox" id="showSearch"><label for="showSearch"> Show search bar </label></div>
- <div class="option"><input type="checkbox" id="showClear"><label for="showClear"> Show the 'Clear' button</label></div>
- <div class="option"><input type="checkbox" id="showTime"><label for="showTime"> Show time </label></div>
- <div class="option"><input type="checkbox" id="bold"><label for="bold"> Bold font</label></div>
- <div class="option"><input type="checkbox" id="ctrlZ"><label for="ctrlZ"> Enable Ctrl+Z shortcut</label></div>
- <div class="option"><input type="checkbox" id="appendTab"><label for="appendTab"> Append opened tabs to the end </label></div>
- <div class="option"><input type="checkbox" id="disableDClick"><label for="disableDClick"> Disable double click feature </label></div>
- <div class="option" style="display:none"><input type="checkbox" id="largeRemove"><label for="largeRemove"> Use a large (remove) instead of the small (x) for the remove button </label></div>
- <div class="option">
- <input type="checkbox" id="saveHistory"><label for="saveHistory"> Save Closed Tabs even if I close Chrome</label><i> ( Tested upto 3 months of usage without clearing, stayed fast and cool !)</i>
-
- </div>
- <div class="option">
- Amount of closed tabs to display per page :<br>
- <input type="number" min="3" max="250" step="1" value="" id="numItems">
- <n id="numItems-value" class="number"></n>
- </div>
- <div class="option">
- Amount of lines of text to display for each tab :<br>
- <input type="number" min="0" max="6" step="1" value="" id="numLines">
- <n id="numLines-value" class="number"></n>
- </div>
- <br><button id="saveButton" class="saveButton">Save</button>
- <---- Click here to save your settings ! <br><br><br><br>
- <center><button class="saveButton small" id="clearMemory">CLEAR HISTORY</button> </center>
- </div>
- <br><br>
- </center>
- <script src="googleAnalytics.js"></script>
- <script src="googleAnalyticsMaster.js"></script>
- </body>
- </html>