mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-05 14:00:31 +02:00
click
This commit is contained in:
parent
56c754a592
commit
1f81401632
4 changed files with 15 additions and 1329 deletions
|
@ -9,36 +9,10 @@
|
|||
<link rel="shortcut icon" href="https://rimgo.pussthecat.org/RFbdMMB.png" type="image/x-icon">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- NOT REALLY A NAVBAR BUT WHATEVER.. I DON'T KOW WHAT ELSE TO CALL IT -->
|
||||
<div class="navBar">
|
||||
<a target="_blank" title="Link to my GitHub" id="github" class="github" href="https://github.com/zyqunix/click" target="_blank" rel="noopener noreferrer">
|
||||
<svg width="32px" height="32px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#f4f4f4" style="--darkreader-inline-fill: #f4f4f4;" data-darkreader-inline-fill=""><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <title>github [#142]</title><desc>Created with Sketch.</desc><defs> </defs> <g id="Page-1" stroke="none" stroke-width="1" fill="f4f4f4" fill-rule="evenodd" style="--darkreader-inline-stroke: none;" data-darkreader-inline-stroke=""> <g id="Dribbble-Light-Preview" transform="translate(-140.000000, -7559.000000)" fill="#747474" style="--darkreader-inline-fill: #000000;" data-darkreader-inline-fill=""> <g id="icons" transform="translate(56.000000, 160.000000)"> <path d="M94,7399 C99.523,7399 104,7403.59 104,7409.253 C104,7413.782 101.138,7417.624 97.167,7418.981 C96.66,7419.082 96.48,7418.762 96.48,7418.489 C96.48,7418.151 96.492,7417.047 96.492,7415.675 C96.492,7414.719 96.172,7414.095 95.813,7413.777 C98.04,7413.523 100.38,7412.656 100.38,7408.718 C100.38,7407.598 99.992,7406.684 99.35,7405.966 C99.454,7405.707 99.797,7404.664 99.252,7403.252 C99.252,7403.252 98.414,7402.977 96.505,7404.303 C95.706,7404.076 94.85,7403.962 94,7403.958 C93.15,7403.962 92.295,7404.076 91.497,7404.303 C89.586,7402.977 88.746,7403.252 88.746,7403.252 C88.203,7404.664 88.546,7405.707 88.649,7405.966 C88.01,7406.684 87.619,7407.598 87.619,7408.718 C87.619,7412.646 89.954,7413.526 92.175,7413.785 C91.889,7414.041 91.63,7414.493 91.54,7415.156 C90.97,7415.418 89.522,7415.871 88.63,7414.304 C88.63,7414.304 88.101,7413.319 87.097,7413.247 C87.097,7413.247 86.122,7413.234 87.029,7413.87 C87.029,7413.87 87.684,7414.185 88.139,7415.37 C88.139,7415.37 88.726,7417.2 91.508,7416.58 C91.513,7417.437 91.522,7418.245 91.522,7418.489 C91.522,7418.76 91.338,7419.077 90.839,7418.982 C86.865,7417.627 84,7413.783 84,7409.253 C84,7403.59 88.478,7399 94,7399" id="github-[#142]"> </path> </g> </g> </g> </g></svg>
|
||||
</a>
|
||||
|
||||
<a target="_blank" title="Link to my Personal Page" id="web" class="web" href="https://fentseller.lol/bio">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="32px" height="32px" viewBox="2 2 28 28"><path fill="currentColor" d="M11 16c0-1.393.078-2.734.222-4h9.556c.144 1.266.222 2.607.222 4c0 1.393-.078 2.734-.222 4h-9.556A35.485 35.485 0 0 1 11 16Zm-1.79 4A37.618 37.618 0 0 1 9 16c0-1.379.073-2.72.21-4H2.58A14.002 14.002 0 0 0 2 16c0 1.39.203 2.733.58 4h6.63Zm-5.863 2h6.138c.314 1.86.771 3.547 1.344 4.978c.369.922.793 1.758 1.272 2.472A14.036 14.036 0 0 1 3.347 22Zm8.168 0h8.97c-.29 1.6-.69 3.032-1.17 4.235c-.516 1.288-1.104 2.262-1.706 2.9c-.6.634-1.144.865-1.609.865c-.465 0-1.009-.231-1.609-.866c-.602-.637-1.19-1.611-1.705-2.899c-.481-1.203-.881-2.636-1.171-4.235Zm11 0c-.314 1.86-.771 3.547-1.344 4.978c-.369.922-.793 1.758-1.272 2.472A14.036 14.036 0 0 0 28.653 22h-6.138Zm6.905-2c.377-1.267.58-2.61.58-4c0-1.39-.203-2.733-.58-4h-6.63c.137 1.28.21 2.621.21 4s-.073 2.72-.21 4h6.63ZM19.314 5.765c.481 1.203.881 2.636 1.171 4.235h-8.97c.29-1.6.69-3.032 1.17-4.235c.516-1.288 1.104-2.263 1.706-2.9c.598-.631 1.14-.863 1.604-.865h.008c.464 0 1.007.233 1.606.866c.602.636 1.19 1.611 1.705 2.899ZM22.515 10h6.138a14.036 14.036 0 0 0-8.754-7.45c.479.714.903 1.55 1.272 2.472c.573 1.431 1.03 3.118 1.344 4.978ZM3.347 10h6.138c.314-1.86.771-3.547 1.344-4.978c.369-.922.793-1.758 1.272-2.472A14.036 14.036 0 0 0 3.347 10Z"></path></svg>
|
||||
</a>
|
||||
|
||||
<button title="SHIFT+RMB not working?" id="help" class="help">
|
||||
<svg height="32px" width="32px" version="1.1" id="_x32_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" xml:space="preserve" fill="#747474" style="--darkreader-inline-fill: #000000;" data-darkreader-inline-fill=""><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <style type="text/css"> .st0{fill:#747474;} </style><style class="darkreader darkreader--sync" media="screen"></style> <g> <path class="st0" d="M255.992,0.008C114.626,0.008,0,114.626,0,256s114.626,255.992,255.992,255.992 C397.391,511.992,512,397.375,512,256S397.391,0.008,255.992,0.008z M300.942,373.528c-10.355,11.492-16.29,18.322-27.467,29.007 c-16.918,16.177-36.128,20.484-51.063,4.516c-21.467-22.959,1.048-92.804,1.597-95.449c4.032-18.564,12.08-55.667,12.08-55.667 s-17.387,10.644-27.709,14.419c-7.613,2.782-16.225-0.871-18.354-8.234c-1.984-6.822-0.404-11.161,3.774-15.822 c10.354-11.484,16.289-18.314,27.467-28.999c16.934-16.185,36.128-20.483,51.063-4.524c21.467,22.959,5.628,60.732,0.064,87.497 c-0.548,2.653-13.742,63.627-13.742,63.627s17.387-10.645,27.709-14.427c7.628-2.774,16.241,0.887,18.37,8.242 C306.716,364.537,305.12,368.875,300.942,373.528z M273.169,176.123c-23.886,2.096-44.934-15.564-47.031-39.467 c-2.08-23.878,15.58-44.934,39.467-47.014c23.87-2.097,44.934,15.58,47.015,39.458 C314.716,152.979,297.039,174.043,273.169,176.123z"></path> </g> </g></svg>
|
||||
</button>
|
||||
|
||||
<div class="seperator" id="seperator"></div>
|
||||
|
||||
<button title="Change the Theme from Light to Dark and vice-versa!" id="themeToggle" class="theme-button">
|
||||
<svg fill="#747474" height="24px" width="24px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 472.618 472.618" xml:space="preserve" style="--darkreader-inline-fill: #747474;" data-darkreader-inline-fill=""><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <g> <g> <path d="M380.525,337.291c-135.427,0-245.302-109.773-245.302-245.302c0-32.502,6.338-63.575,17.991-91.988 C63.372,36.286,0,124.39,0,227.315c0,135.427,109.875,245.302,245.302,245.302c102.923,0,191.029-63.472,227.316-153.315 C444.201,330.954,413.129,337.291,380.525,337.291z"></path> </g> </g> </g></svg>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- MAIN CONTAINER/VALUE STUFF -->
|
||||
<div class="container" id="container">
|
||||
<div class="cards" id="container">
|
||||
<h1>Click Test</h1>
|
||||
<p>A minimalist clicking test without ads or trackers.</p>
|
||||
<p>(To show the context menu, hold SHIFT and Right Click.)</p> <!-- FOR THEM NOOBS, Y'KNOW? -->
|
||||
<p>(To show the context menu, hold SHIFT and Right Click)</p>
|
||||
|
||||
<div class="counter">
|
||||
<div>Left Clicks: <span id="leftClickCount">0</span></div>
|
||||
|
@ -50,7 +24,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- MAIN/ONLY JAVASCRIPT -->
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,18 +1,21 @@
|
|||
@import url(/global.css);
|
||||
|
||||
* {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
button, p {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.help {
|
||||
color: #f0f0f0;
|
||||
color: var(--text);
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.container {
|
||||
.cards {
|
||||
text-align: center;
|
||||
background-color: #4b4b4b;
|
||||
border-radius: 8px;
|
||||
padding: 30px 100px;
|
||||
box-shadow: 0 4px 10px rgba(16, 16, 16, 0.5);
|
||||
|
@ -28,100 +31,29 @@ button, p {
|
|||
.counter {
|
||||
font-size: 24px;
|
||||
margin: 40px 0;
|
||||
color: #ffffff;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
p, h6, h1 {
|
||||
color: #f0f0f0;
|
||||
color: var(--text);
|
||||
transition: color 0.3s;
|
||||
|
||||
}
|
||||
|
||||
.reset {
|
||||
transition: background-color 0.3s;
|
||||
background-color: #b0b0b0;
|
||||
color: #2a2a2a;
|
||||
border: 2px solid rgb(120, 120, 120);
|
||||
background-color: var(--surface0);
|
||||
color: var(--text);
|
||||
border: 1px solid var(--overlay2);
|
||||
border-radius: 5px;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
margin-top: 15px;
|
||||
outline: none;
|
||||
transition: border 0.3s;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.reset:hover {
|
||||
border: 2px dashed #3c7855;
|
||||
}
|
||||
|
||||
.navBar > *:hover:not(.seperator) {
|
||||
cursor: pointer;
|
||||
scale: 1.05;
|
||||
}
|
||||
|
||||
.navBar > * {
|
||||
transition: scale 0.3s;
|
||||
|
||||
}
|
||||
|
||||
.theme-button {
|
||||
background-color: rgb(0,0,0,0);
|
||||
border-color: rgb(0,0,0,0);
|
||||
transition: 0.3s;
|
||||
color: #f0f0f0;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
margin-top: -5px;
|
||||
z-index: 1000;
|
||||
right: 20px;
|
||||
top: 20px;
|
||||
margin-left: 5px !important;
|
||||
}
|
||||
|
||||
.theme-button:hover {
|
||||
scale: 1.1;
|
||||
}
|
||||
|
||||
.theme-button svg {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.navBar {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.navBar > * {
|
||||
margin: 5px 1px 5px 10px;
|
||||
}
|
||||
|
||||
.github,
|
||||
.web {
|
||||
text-align: center;
|
||||
transition: 0.3s;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
z-index: 10;
|
||||
color: #747474;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.github svg,
|
||||
.web svg {
|
||||
pointer-events: all;
|
||||
transition: 0.3s;
|
||||
fill: #747474;
|
||||
}
|
||||
|
||||
.seperator {
|
||||
height: 25px;
|
||||
width: 2px;
|
||||
border-radius: 10px;
|
||||
background-color: #747474;
|
||||
|
||||
background-color: var(--surface1);
|
||||
}
|
1011
code/index.html
1011
code/index.html
File diff suppressed because it is too large
Load diff
208
code/style.css
208
code/style.css
|
@ -1,208 +0,0 @@
|
|||
@import url(/global.css);
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
background-color: #2a2a2a;
|
||||
color: #f0f0f0;
|
||||
overflow-x: hidden;
|
||||
font-family: 'Hack', 'JetBrainsMono', monospace;
|
||||
}
|
||||
|
||||
h3 {
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #404040;
|
||||
border-radius: 3px;
|
||||
padding: 0.1em 0.2em;
|
||||
font-size: 85%;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
table {
|
||||
margin-top: 0;
|
||||
border-collapse: collapse;
|
||||
table-layout: auto;
|
||||
font-size: 0.875rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
thead {
|
||||
margin-left: 100px !important;
|
||||
}
|
||||
|
||||
div[class="has-inner-focus"] {
|
||||
text-align: left;
|
||||
width: 600px !important;
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
th {
|
||||
padding: 2px;
|
||||
border-left: 2px solid #505050;
|
||||
}
|
||||
|
||||
tr {
|
||||
border: 2px solid #505050;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
tr > td {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
border-left: 2px solid #505050;
|
||||
|
||||
}
|
||||
|
||||
td:first-of-type {
|
||||
padding-left: 3px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
td:nth-of-type(2) {
|
||||
padding-right: 20px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
td:nth-of-type(3) {
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
div.main {
|
||||
position: absolute;
|
||||
top: 100px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
summary {
|
||||
cursor: pointer;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background-color: #333333;
|
||||
padding: 0.5em;
|
||||
border-radius: 5px;
|
||||
z-index: 10;
|
||||
text-align: start !important;
|
||||
font-weight: bold;
|
||||
max-width: 600px;
|
||||
display: flex;
|
||||
justify-content: left;
|
||||
align-items: center;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
summary > a {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
details[open] > summary {
|
||||
transition: background-color 0.3s ease;
|
||||
border-radius: 5px;
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
|
||||
details:not([open]) > summary {
|
||||
width: 600px !important;
|
||||
}
|
||||
|
||||
details > summary::marker {
|
||||
content: '';
|
||||
}
|
||||
|
||||
summary:hover {
|
||||
background-color: #444444;
|
||||
}
|
||||
|
||||
details > summary::before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
margin-right: 0.5em;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M4.29289 8.29289C4.68342 7.90237 5.31658 7.90237 5.70711 8.29289L12 14.5858L18.2929 8.29289C18.6834 7.90237 19.3166 7.90237 19.7071 8.29289C20.0976 8.68342 20.0976 9.31658 19.7071 9.70711L12.7071 16.7071C12.3166 17.0976 11.6834 17.0976 11.2929 16.7071L4.29289 9.70711C3.90237 9.31658 3.90237 8.68342 4.29289 8.29289Z"/></svg>');
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
details[open] > summary::before {
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
|
||||
/* not dis again blehhhhhhh */
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
body {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
div[class="has-inner-focus"] {
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
summary {
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
table {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
body {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
position: relative;
|
||||
top: 0;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
div[class="has-inner-focus"] {
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
summary {
|
||||
font-size: 1rem;
|
||||
padding: 0.4em;
|
||||
}
|
||||
|
||||
table {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
body {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
div[class="has-inner-focus"] {
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
summary {
|
||||
font-size: 0.9rem;
|
||||
padding: 0.3em;
|
||||
}
|
||||
|
||||
table {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1rem;
|
||||
top: 10px;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue