1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-14 10:41:52 +00:00

Remove more unused styles

This commit is contained in:
Даниїл Григор'єв 2024-06-20 19:43:59 +03:00
parent 0e7082dbbd
commit a7ec1e53bf
No known key found for this signature in database
GPG Key ID: B890DF16341D8C1D
3 changed files with 0 additions and 50 deletions

View File

@ -36,14 +36,11 @@ body {
text-decoration: none; text-decoration: none;
text-size-adjust: 100%; text-size-adjust: 100%;
letter-spacing: normal; letter-spacing: normal;
scrollbar-width: 6px;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-webkit-touch-callout: none; -webkit-touch-callout: none;
/* prevent callout to copy image, etc when tap to hold */ /* prevent callout to copy image, etc when tap to hold */
-webkit-text-size-adjust: none; -webkit-text-size-adjust: none;
/* prevent webkit from resizing text to fit */ /* prevent webkit from resizing text to fit */
scrollbar-face-color: #888;
scrollbar-track-color: rgba(255, 255, 255, 0.1);
} }
#ll_fp { #ll_fp {

View File

@ -25,9 +25,7 @@ html {
// scroll-behavior: smooth; // scroll-behavior: smooth;
background: $mainBgColor; background: $mainBgColor;
// Disable zooming and thus // Disable zooming and thus
-ms-touch-action: pan-x, pan-y;
touch-action: pan-x, pan-y; touch-action: pan-x, pan-y;
-ms-content-zooming: none;
top: 0; top: 0;
left: 0; left: 0;
bottom: 0; bottom: 0;
@ -41,8 +39,6 @@ html {
body { body {
color: #555; color: #555;
user-select: none; user-select: none;
-moz-user-select: none;
-ms-user-select: none;
background: inherit !important; background: inherit !important;
text-transform: none; text-transform: none;
white-space: normal; white-space: normal;
@ -56,45 +52,11 @@ body {
text-decoration: none; text-decoration: none;
text-size-adjust: 100%; text-size-adjust: 100%;
letter-spacing: normal; letter-spacing: normal;
scrollbar-width: 6px;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
// -webkit-overflow-scrolling: touch; /* stop scrolling immediately */
-webkit-touch-callout: none; -webkit-touch-callout: none;
/* prevent callout to copy image, etc when tap to hold */ /* 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; overflow: hidden;
@include Text; @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 // For recording the bg video
// filter: blur(5px); // filter: blur(5px);
// &::after { // &::after {
@ -217,11 +179,6 @@ button {
/* WebKit/Blink Browsers */ /* WebKit/Blink Browsers */
} }
::-moz-selection {
background: $colorGreenBright;
/* Gecko Browsers */
}
input[type="text"], input[type="text"],
input[type="email"] { input[type="email"] {
@include S(padding, 11px, 12px); @include S(padding, 11px, 12px);
@ -292,7 +249,6 @@ i {
input { input {
user-select: text; user-select: text;
-moz-user-select: text;
pointer-events: all; pointer-events: all;
cursor: text; cursor: text;
border-radius: 0; border-radius: 0;
@ -308,7 +264,6 @@ canvas {
letter-spacing: 0 !important; letter-spacing: 0 !important;
transform: translateZ(0); transform: translateZ(0);
backface-visibility: hidden; backface-visibility: hidden;
-webkit-backface-visibility: hidden;
} }
.fontPreload { .fontPreload {
@ -666,7 +621,6 @@ input.rangeInput {
&::-webkit-slider-thumb { &::-webkit-slider-thumb {
appearance: none; appearance: none;
-webkit-appearance: none;
box-shadow: inset 0 0 0 D(10px) $themeColor; box-shadow: inset 0 0 0 D(10px) $themeColor;
border-radius: 50%; border-radius: 50%;

View File

@ -5,7 +5,6 @@ the performance when animated. Use only transform and opacity in animations! */
will-change: transform, opacity, filter; will-change: transform, opacity, filter;
// transform: translateZ(0); // transform: translateZ(0);
backface-visibility: hidden; backface-visibility: hidden;
-webkit-backface-visibility: hidden;
} }
// Helper which includes the translateZ webkit fix, use together with Fast animation // Helper which includes the translateZ webkit fix, use together with Fast animation