mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-11 09:11:50 +00:00
Remove more unused styles
This commit is contained in:
parent
0e7082dbbd
commit
a7ec1e53bf
@ -36,14 +36,11 @@ body {
|
||||
text-decoration: none;
|
||||
text-size-adjust: 100%;
|
||||
letter-spacing: normal;
|
||||
scrollbar-width: 6px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-touch-callout: none;
|
||||
/* prevent callout to copy image, etc when tap to hold */
|
||||
-webkit-text-size-adjust: none;
|
||||
/* prevent webkit from resizing text to fit */
|
||||
scrollbar-face-color: #888;
|
||||
scrollbar-track-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
#ll_fp {
|
||||
|
||||
@ -25,9 +25,7 @@ html {
|
||||
// scroll-behavior: smooth;
|
||||
background: $mainBgColor;
|
||||
// Disable zooming and thus
|
||||
-ms-touch-action: pan-x, pan-y;
|
||||
touch-action: pan-x, pan-y;
|
||||
-ms-content-zooming: none;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
@ -41,8 +39,6 @@ html {
|
||||
body {
|
||||
color: #555;
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
background: inherit !important;
|
||||
text-transform: none;
|
||||
white-space: normal;
|
||||
@ -56,45 +52,11 @@ body {
|
||||
text-decoration: none;
|
||||
text-size-adjust: 100%;
|
||||
letter-spacing: normal;
|
||||
scrollbar-width: 6px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
// -webkit-overflow-scrolling: touch; /* stop scrolling immediately */
|
||||
-webkit-touch-callout: none;
|
||||
/* prevent callout to copy image, etc when tap to hold */
|
||||
-webkit-text-size-adjust: none;
|
||||
/* prevent webkit from resizing text to fit */
|
||||
// Internet explorer
|
||||
scrollbar-face-color: #888;
|
||||
scrollbar-track-color: rgba(255, 255, 255, 0.1);
|
||||
// Firefox
|
||||
scrollbar-color: #cdd0d4 rgba(#000, 0.05);
|
||||
overflow: hidden;
|
||||
@include Text;
|
||||
&.externalAdOpen {
|
||||
&::before {
|
||||
text-transform: uppercase;
|
||||
@include SuperSmallText;
|
||||
content: "Loading Advertisement...";
|
||||
color: #333;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
pointer-events: all;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(50, 60, 70, 0.8);
|
||||
z-index: 999999;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
@include InlineAnimation(1s ease-in-out infinite) {
|
||||
50% {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// For recording the bg video
|
||||
// filter: blur(5px);
|
||||
// &::after {
|
||||
@ -217,11 +179,6 @@ button {
|
||||
/* WebKit/Blink Browsers */
|
||||
}
|
||||
|
||||
::-moz-selection {
|
||||
background: $colorGreenBright;
|
||||
/* Gecko Browsers */
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="email"] {
|
||||
@include S(padding, 11px, 12px);
|
||||
@ -292,7 +249,6 @@ i {
|
||||
|
||||
input {
|
||||
user-select: text;
|
||||
-moz-user-select: text;
|
||||
pointer-events: all;
|
||||
cursor: text;
|
||||
border-radius: 0;
|
||||
@ -308,7 +264,6 @@ canvas {
|
||||
letter-spacing: 0 !important;
|
||||
transform: translateZ(0);
|
||||
backface-visibility: hidden;
|
||||
-webkit-backface-visibility: hidden;
|
||||
}
|
||||
|
||||
.fontPreload {
|
||||
@ -666,7 +621,6 @@ input.rangeInput {
|
||||
|
||||
&::-webkit-slider-thumb {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
box-shadow: inset 0 0 0 D(10px) $themeColor;
|
||||
border-radius: 50%;
|
||||
|
||||
|
||||
@ -5,7 +5,6 @@ the performance when animated. Use only transform and opacity in animations! */
|
||||
will-change: transform, opacity, filter;
|
||||
// transform: translateZ(0);
|
||||
backface-visibility: hidden;
|
||||
-webkit-backface-visibility: hidden;
|
||||
}
|
||||
|
||||
// Helper which includes the translateZ webkit fix, use together with Fast animation
|
||||
|
||||
Loading…
Reference in New Issue
Block a user