1
0
Fork 0
mirror of https://github.com/marcrobledo/RomPatcher.js.git synced 2025-06-27 16:25:54 +00:00

text selection enabled in crc,md5 and sha1 containers

This commit is contained in:
marcrobledo 2018-05-11 12:58:11 +02:00
parent c836c55ffe
commit 71af1985eb
4 changed files with 15 additions and 7 deletions

View file

@ -27,7 +27,7 @@ html, body{height:100%}
height: 100%; height: 100%;
flex-direction: column; flex-direction: column;
} }
header{padding: 5% 0 8%} header{padding: 1% 0 4%}
header h1{display:none} header h1{display:none}
footer{padding: 50px 0 20px} footer{padding: 50px 0 20px}
#wrapper{flex-basis:100%} #wrapper{flex-basis:100%}
@ -195,10 +195,16 @@ button.no-text.with-icon:before{margin-right:0px}
#rom-info{font-family:'Roboto Mono',monospace;color:#888;font-size:12px} #rom-info{font-family:'Roboto Mono',monospace;color:#888;font-size:12px;
-moz-user-select:text;
-webkit-user-select: text;
-ms-user-select:text;
-o-user-select:text;
user-select:text;
cursor:text;
}
#rom-info .rightcol{white-space:nowrap;overflow:hidden;text-overflow:ellipsis} #rom-info .rightcol{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#crc32.valid{color:green} #crc32.valid{color:green}
/*#crc32.valid:after{content:" \002713"}*/
#crc32.invalid{color: red} #crc32.invalid{color: red}
@ -210,6 +216,7 @@ button.no-text.with-icon:before{margin-right:0px}
background-position:-32px 0px; background-position:-32px 0px;
content:""; content:"";
margin-left:4px; margin-left:4px;
/*content:" \002713"}*/
} }

View file

@ -1,4 +1,4 @@
/* RomPatcher.js v20180428 - Marc Robledo 2016-2018 - http://www.marcrobledo.com/license */ /* RomPatcher.js v20180511 - Marc Robledo 2016-2018 - http://www.marcrobledo.com/license */
var MAX_ROM_SIZE=33554432; var MAX_ROM_SIZE=33554432;
var romFile, headeredRomFile, unheaderedRomFile, patch, romFile1, romFile2, tempFile; var romFile, headeredRomFile, unheaderedRomFile, patch, romFile1, romFile2, tempFile;
/* Shortcuts */ /* Shortcuts */

View file

@ -12,7 +12,7 @@ limitations under the License.
mod by marcrobledo, original from: https://github.com/GoogleChrome/samples/blob/gh-pages/service-worker/basic/service-worker.js mod by marcrobledo, original from: https://github.com/GoogleChrome/samples/blob/gh-pages/service-worker/basic/service-worker.js
*/ */
const PRECACHE_ID='v20180429'; const PRECACHE_ID='v20180511';
const PRECACHE_FILES=[ const PRECACHE_FILES=[
'index.html','./', 'index.html','./',
'RomPatcher.css', 'RomPatcher.css',

View file

@ -16,9 +16,10 @@
<script type="text/javascript" src="./ups.js"></script> <script type="text/javascript" src="./ups.js"></script>
<script type="text/javascript" src="./aps.js"></script> <script type="text/javascript" src="./aps.js"></script>
<script type="text/javascript" src="./bps.js"></script> <script type="text/javascript" src="./bps.js"></script>
<!-- <script type="text/javascript" src="./apsgba.js"></script> --> <!-- <script type="text/javascript" src="./apsgba.js"></script> -->
</head> </head>
<body unselectable="on" onselectstart="return false"><div id="column"> <body><div id="column">
<!-- HEADER --> <!-- HEADER -->
@ -103,7 +104,7 @@
<!-- FOOTER --> <!-- FOOTER -->
<footer> <footer>
Rom Patcher JS <small>rev 20170428</small> by <a href="/">Marc Robledo</a> Rom Patcher JS <small>rev 20170511</small> by <a href="/">Marc Robledo</a>
<i class="icon github"></i> <a href="https://github.com/marcrobledo/RomPatcher.js/" target="_blank">See on GitHub</a> <i class="icon github"></i> <a href="https://github.com/marcrobledo/RomPatcher.js/" target="_blank">See on GitHub</a>
<i class="icon heart"></i> <a href="https://www.paypal.me/marcrobledo/5" target="_blank" rel="nofollow">Donate</a> <i class="icon heart"></i> <a href="https://www.paypal.me/marcrobledo/5" target="_blank" rel="nofollow">Donate</a>
</footer> </footer>