PageRenderTime 26ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/src/options.html

https://gitlab.com/dg-chrome-extensions/sexyundo
HTML | 297 lines | 260 code | 36 blank | 1 comment | 0 complexity | 38430624d162989b9756656e4df1bc68 MD5 | raw file
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Sexy Undo Close Tab</title>
  5. <style type="text/css">
  6. html {
  7. height: 100%;
  8. }
  9. body {
  10. margin: 20px;
  11. font: 10px "Lucida Grande", verdana, sans-serif;
  12. font-size: 12px;
  13. -moz-user-select: none;
  14. background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #1A1F2B), color-stop(1.0, #1A1F2B));
  15. height: 100%;
  16. }
  17. .saveButton {
  18. color: #000;
  19. background: #E5ECFF;
  20. border: 1px solid #FFF;
  21. padding: 0px 10px 0px 10px;
  22. text-align: center;
  23. position: relative;
  24. vertical-align: baseline;
  25. text-decoration: none !important;
  26. cursor: pointer;
  27. -moz-border-radius: 4px;
  28. border-radius: 4px;
  29. font-size: 20px;
  30. text-shadow: 1px 0px 1px #FFF;
  31. -webkit-box-shadow: 0 0px 3px rgba(0, 0, 0, 0.5);
  32. background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #FFF), color-stop(1.0, #E5ECFF));
  33. }
  34. .saveButton:hover {
  35. color: #000 !important;
  36. background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #E5ECFF), color-stop(1.0, #FFF));
  37. }
  38. .saveButton:active {
  39. color: #000 !important;
  40. background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #E5ECFF), color-stop(1.0, #E5ECFF));
  41. }
  42. .saveButton:disabled {
  43. color: #FFF !important;
  44. background: #333;
  45. text-shadow: 1px 0px 1px #000;
  46. border: 1px solid #AAA;
  47. }
  48. a,
  49. a:hover,
  50. a:visited {
  51. color: #404352;
  52. }
  53. .small {
  54. font-size: 12px !important;
  55. }
  56. header {
  57. font-size: 30px;
  58. font-weight: bold;
  59. margin: 0 auto;
  60. margin-bottom: 20px;
  61. -webkit-text-stroke: hsla(200, 100%, 80%, .1) 1px;
  62. 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;
  63. display: inline;
  64. color: #24353E;
  65. width: 800px;
  66. }
  67. i {
  68. color: #85A5CC;
  69. font-size: 15px;
  70. }
  71. .boxx {
  72. width: 700px;
  73. border-radius: 4px;
  74. padding: 15px;
  75. margin: 5px;
  76. text-align: left;
  77. background: #B2C2CC;
  78. -webkit-box-shadow: 0 0px 10px rgba(0, 0, 0, 0.3);
  79. }
  80. .boxxInfo {
  81. border: 2px solid #000;
  82. width: 650px;
  83. border-radius: 4px;
  84. padding: 5px;
  85. margin: 20px;
  86. text-align: right;
  87. background: #FFF;
  88. -webkit-box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
  89. }
  90. .number {
  91. font-size: 14px;
  92. font-weight: bold;
  93. border-radius: 4px;
  94. background: #8F9CA4;
  95. padding: 2px 5px;
  96. color: #FFF;
  97. -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.2);
  98. border-bottom: 1px solid #FFF;
  99. background: -webkit-gradient(linear, left top, left bottom, from(#8F9CA4), to(#627A8C));
  100. }
  101. .option {
  102. border-radius: 4px;
  103. background: #EEE;
  104. color: #000;
  105. margin: 7px 0;
  106. padding: 2px 2px 5px 6px;
  107. -webkit-box-shadow: 0 10px 5px rgba(0, 0, 0, 0.2);
  108. border-top: 1px solid #FFF;
  109. }
  110. .option i {
  111. color: #000;
  112. font-size: 10px;
  113. }
  114. .option label {
  115. cursor: pointer;
  116. padding-top: 5px;
  117. width: 100%;
  118. }
  119. .option input[type=checkbox] {
  120. border: 1px solid #555;
  121. padding: 0.5em;
  122. font-size: 15px;
  123. line-height: 1.2em;
  124. width: 80%;
  125. background: #fff;
  126. background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ccc));
  127. -webkit-appearance: none;
  128. -webkit-box-shadow: 1px 1px 3px #fff;
  129. -webkit-border-radius: 0.5em;
  130. display: inline-block;
  131. font-size: 15px;
  132. line-height: 1em;
  133. margin: 0 0.25em 0 0;
  134. padding: 0;
  135. width: 1.25em;
  136. height: 1.25em;
  137. border-radius: 0.25em;
  138. vertical-align: text-top;
  139. cursor: pointer;
  140. }
  141. .option input[type=checkbox]:checked {
  142. 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%00%00%04DIDATx%DA%EC%98%B9J%2CA%14%86%EF%F4%AC%8E%5B%24%F8%00%93%BA%83%89%89%A1%22n%A1%81%89%B8%22%82%2B%06%A2%E2%82%B8%20%1A%A9(%B8%BC%87%8F%E0%12%09%3E%82K%AA%20%EAu%EEo%FFw%0EEuO%2F3%A3%5C%2F%FD%07E%F5Lu%F7%D7%FF9u%BA%BA%22%A9T%EA%D7O%90%F1%EB%87(%00%0D%40%03%D0%004%00%0D%40%03%D0%FF%1B4%F2%3D%B7I%A7%D3%B6%BF%87B%A1%7F%05T%105V%22%F2G%2F%B8%91oC%D4%40qH%3E%B4%D2w%CA%D1%D0%D7H%F3%89%94%86aloo%0F%0C%0C%D8%BA%EB%7C%C1H8%1C%FE%22%2F%D3%19%FD%B5%C40677%BB%BB%BB%D1%8F%C5b%7B%7B%7B%B6%8F%975%F4%BE%40%ADs%C2zu%8D%F2%E3%E3%03-%EE%B2%B1%B1AJhjj%0A'%EE%EF%EF%A3%C5%03xa%8D%409%F09g%95%20B%18%06%CA%F5%F5u%A1%A4%26''qk%F8%8A%7FU%DC%AC%A0%D1h%D4c%1C%1D%1C%95%1Bp%00%11y%08%8E%B5%B5%B5%AE%AE.%EB%95%9B%9A%9A%8E%8F%8F1Re%CD%11T%8B%23%95L%26%CB%CA%CA%EE%EE%EE%D4y%23%E5F%CCF%07%9E%AD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AC%A8%FF%8D%8D%8D%DA%B9%CF%CF%CF%B3%B3%B3%18%03%3E%82%D2N%EB%04%F2%FE%D9%94%D5Qu9%C2%9A%2F%AC2%09%A0%E9%E9i%BCT%1B%1A%1AT%CA%9E%9E%9E%97%97%17D%5C%B33gJ%F7%D0%0B%2B%86%91U%2Bu8%9C%99%99%C1%07F%5D%5D%1D)%7B%7B%7B%B1%DA(--M%9AR%83.1%F1K%E9%BEpVYU8%E2%A2%C5%03%80%60nn%0EK%E3T*%85%E9%85%E7%C1%22%B0(%23%A1T%8B%91_JO%9F%22%C2%AA%BD%B1%84%18%10x%7D%AF%AE%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;
  143. -webkit-background-size: 28px 28px;
  144. }
  145. .input[type=button] {}
  146. .dark {
  147. background: #627A8C;
  148. color: #FFF;
  149. border-radius: 4px;
  150. margin: 3px 0;
  151. padding: 2px 2px 3px 6px;
  152. }
  153. new {
  154. color: #FF0;
  155. font-size: 10px;
  156. text-shadow: 0px 0px 5px #000;
  157. font-weight: bold;
  158. }
  159. .donate {
  160. display: inline-block;
  161. outline: none;
  162. cursor: pointer;
  163. text-align: center;
  164. text-decoration: none;
  165. font: 14px/100% Arial, Helvetica, sans-serif;
  166. padding: .5em 2em;
  167. text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
  168. border-radius: .5em;
  169. -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  170. color: #fef4e9;
  171. border: solid 1px #da7c0c;
  172. background: #f78d1d;
  173. background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
  174. display: none;
  175. }
  176. .donate:hover {
  177. background: #f47c20;
  178. background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
  179. }
  180. .donate:hover {
  181. background: #d45500;
  182. }
  183. input[type=range] {
  184. -webkit-appearance: none;
  185. /* Remove Safari default */
  186. width: 250px;
  187. height: 15px;
  188. border-radius: 2px;
  189. position: relative;
  190. background-color: #627A8C;
  191. -webkit-background-clip: padding-box;
  192. border: 0;
  193. border-bottom: 1px solid #FFF;
  194. cursor: ew-resize;
  195. }
  196. input[type="range"]::-webkit-slider-thumb {
  197. -webkit-appearance: none;
  198. /* Remove Safari default */
  199. position: relative;
  200. z-index: 1;
  201. width: 8px;
  202. height: 15px;
  203. border-radius: 3px;
  204. background-color: #FFF;
  205. border: 1px solid #000;
  206. background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ccc));
  207. }
  208. </style>
  209. <script src="js/init.js"></script>
  210. <script src="js/options.js"></script>
  211. </head>
  212. <body>
  213. <center>
  214. <header>Sexy Undo Close Tab - Options</header><br>
  215. <i>Plugins auto-update, so stay tunned for more options !</i>
  216. <div class="boxx">
  217. <div class="dark" id="tips"><b>Some fancy dancy features :</b><br>
  218. <small>
  219. &bull; 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>
  220. &bull; Navigate through the list using the TAB key <br>
  221. &bull; Double clicking on the icon will open the last closed tab<br>
  222. &bull; Middle clicking on a closed tab will open it without focusing on it<br>
  223. &bull; Detection of duplicate links<br>
  224. &bull; Delete TABS by searching for them and then clicking on the DELETE button<br>
  225. &bull; Auto-clearing, your local storage won't get filled with mess and you don't have to care about Clearing anymore !
  226. </small>
  227. </div>
  228. <!-- <new>(NEW !)</new> -->
  229. <div class="option"><input type="checkbox" id="showBadge"><label for="showBadge"> Enable badge ( Amount of closed tabs number thing )</label></div>
  230. <div class="option"><input type="checkbox" id="menuTop"><label for="menuTop"> Search Bar & Buttons on top</label></div>
  231. <div class="option"><input type="checkbox" id="showSearch"><label for="showSearch"> Show search bar </label></div>
  232. <div class="option"><input type="checkbox" id="showClear"><label for="showClear"> Show the 'Clear' button</label></div>
  233. <div class="option"><input type="checkbox" id="showTime"><label for="showTime"> Show time </label></div>
  234. <div class="option"><input type="checkbox" id="bold"><label for="bold"> Bold font</label></div>
  235. <div class="option"><input type="checkbox" id="ctrlZ"><label for="ctrlZ"> Enable Ctrl+Z shortcut</label></div>
  236. <div class="option"><input type="checkbox" id="appendTab"><label for="appendTab"> Append opened tabs to the end </label></div>
  237. <div class="option"><input type="checkbox" id="disableDClick"><label for="disableDClick"> Disable double click feature </label></div>
  238. <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>
  239. <div class="option">
  240. <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>
  241. </div>
  242. <div class="option">
  243. Amount of closed tabs to display per page :<br>
  244. <input type="number" min="3" max="250" step="1" value="" id="numItems">
  245. <n id="numItems-value" class="number"></n>
  246. </div>
  247. <div class="option">
  248. Amount of lines of text to display for each tab :<br>
  249. <input type="number" min="0" max="6" step="1" value="" id="numLines">
  250. <n id="numLines-value" class="number"></n>
  251. </div>
  252. <br><button id="saveButton" class="saveButton">Save</button>
  253. <---- Click here to save your settings ! <br><br><br><br>
  254. <center><button class="saveButton small" id="clearMemory">CLEAR HISTORY</button> </center>
  255. </div>
  256. <br><br>
  257. </center>
  258. <script src="googleAnalytics.js"></script>
  259. <script src="googleAnalyticsMaster.js"></script>
  260. </body>
  261. </html>