Removed unite character and optimized code

This commit is contained in:
wioniqle-q 2021-11-15 15:13:27 +03:00 committed by GitHub
commit f0d8ebcb92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,9 +8,9 @@ body {
textarea { textarea {
background: transparent; background: transparent;
border: 0px; border: 0;
color: #fff; color: #fff;
padding: 0px; padding: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
font-family: monospace; font-family: monospace;
@ -28,7 +28,7 @@ textarea {
z-index: -1000; z-index: -1000;
position: absolute; position: absolute;
top: 20px; top: 20px;
left: 0px; left: 0;
width: 30px; /* 30 to get 20 away from box */ width: 30px; /* 30 to get 20 away from box */
font-size: 13px; font-size: 13px;
font-family: monospace; font-family: monospace;
@ -39,17 +39,17 @@ textarea {
/* code box when locked */ /* code box when locked */
#box { #box {
padding: 0px; padding: 0;
margin: 0px; margin: 0;
width: 100%; width: 100%;
border: 0px; border: 0;
outline: none; outline: none;
font-size: 13px; font-size: 13px;
overflow: inherit; overflow: inherit;
} }
#box code { #box code {
padding: 0px; padding: 0;
background: transparent !important; /* don't hide hastebox */ background: transparent !important; /* don't hide hastebox */
} }
@ -57,8 +57,8 @@ textarea {
#key { #key {
position: fixed; position: fixed;
top: 0px; top: 0;
right: 0px; right: 0;
z-index: +1000; /* watch out */ z-index: +1000; /* watch out */
} }
@ -70,8 +70,8 @@ textarea {
#box2 { #box2 {
background: #08323c; background: #08323c;
font-size: 0px; font-size: 0;
padding: 0px 5px; padding: 0 5px;
} }
#box1 a.logo, #box1 a.logo:visited { #box1 a.logo, #box1 a.logo:visited {
@ -98,20 +98,23 @@ textarea {
} }
#box2 .function.enabled:hover { #box2 .function.enabled:hover {
cursor: hand;
cursor: pointer; cursor: pointer;
} }
#box2 .function.enabled:hover {
cursor: hand;
}
#pointer { #pointer {
display: block; display: block;
height: 5px; height: 5px;
width: 10px; width: 10px;
background: url(hover-dropdown-tip.png); background: url(hover-dropdown-tip.png);
bottom: 0px; bottom: 0;
position: absolute; position: absolute;
margin: auto; margin: auto;
left: 0px; left: 0;
right: 0px; right: 0;
} }
#box3, #messages li { #box3, #messages li {
@ -133,30 +136,74 @@ textarea {
font-weight: normal; font-weight: normal;
} }
#box2 .function.save { background-position: -5px top; } #box2 .function.save {
#box2 .function.enabled.save { background-position: -5px center; } background-position: -5px top;
#box2 .function.enabled.save:hover { background-position: -5px bottom; } }
#box2 .function.new { background-position: -42px top; } #box2 .function.enabled.save {
#box2 .function.enabled.new { background-position: -42px center; } background-position: -5px center;
#box2 .function.enabled.new:hover { background-position: -42px bottom; } }
#box2 .function.duplicate { background-position: -79px top; } #box2 .function.enabled.save:hover {
#box2 .function.enabled.duplicate { background-position: -79px center; } background-position: -5px bottom;
#box2 .function.enabled.duplicate:hover { background-position: -79px bottom; } }
#box2 .function.raw { background-position: -116px top; } #box2 .function.new {
#box2 .function.enabled.raw { background-position: -116px center; } background-position: -42px top;
#box2 .function.enabled.raw:hover { background-position: -116px bottom; } }
#box2 .function.twitter { background-position: -153px top; } #box2 .function.enabled.new {
#box2 .function.enabled.twitter { background-position: -153px center; } background-position: -42px center;
#box2 .function.enabled.twitter:hover { background-position: -153px bottom; } }
#box2 .button-picture{ border-width: 0; font-size: inherit; }
#box2 .function.enabled.new:hover {
background-position: -42px bottom;
}
#box2 .function.duplicate {
background-position: -79px top;
}
#box2 .function.enabled.duplicate {
background-position: -79px center;
}
#box2 .function.enabled.duplicate:hover {
background-position: -79px bottom;
}
#box2 .function.raw {
background-position: -116px top;
}
#box2 .function.enabled.raw {
background-position: -116px center;
}
#box2 .function.enabled.raw:hover {
background-position: -116px bottom;
}
#box2 .function.twitter {
background-position: -153px top;
}
#box2 .function.enabled.twitter {
background-position: -153px center;
}
#box2 .function.enabled.twitter:hover {
background-position: -153px bottom;
}
#box2 .button-picture {
border-width: 0;
font-size: inherit;
}
#messages { #messages {
position: fixed; position: fixed;
top:0px; top: 0;
right: 138px; right: 138px;
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -172,4 +219,3 @@ textarea {
#messages li.error { #messages li.error {
background: rgba(102, 8, 0, 0.8); background: rgba(102, 8, 0, 0.8);
} }