Fix .prettierignore ignoring lobby "app" css

pull/9822/head
Benedikt Werner 2021-09-16 10:27:19 +02:00
parent 240b337fce
commit c3d01fbd5f
No known key found for this signature in database
GPG Key ID: 1DBFF0F8E9E121EB
6 changed files with 46 additions and 46 deletions

View File

@ -1,28 +1,28 @@
modules /modules
app /app
project /project
public/css /public/css
public/piece-css /public/piece-css
public/compiled /public/compiled
public/glyphs.json /public/glyphs.json
public/javascripts/vendor /public/javascripts/vendor
public/vendor /public/vendor
translation/dest /translation/dest
dist/ /dist/
ui/common/**/*.js /ui/common/**/*.js
ui/common/**/*.d.ts /ui/common/**/*.d.ts
ui/game/**/*.js /ui/game/**/*.js
ui/game/**/*.d.ts /ui/game/**/*.d.ts
ui/nvui/**/*.js /ui/nvui/**/*.js
ui/nvui/**/*.d.ts /ui/nvui/**/*.d.ts
ui/puz/**/*.js /ui/puz/**/*.js
ui/puz/**/*.d.ts /ui/puz/**/*.d.ts
*.min.js *.min.js
.bloop/ /.bloop/
.bsp/ /.bsp/
.metals/ /.metals/

View File

@ -1,6 +1,6 @@
@import "pool"; @import 'pool';
@import "hook-chart"; @import 'hook-chart';
@import "hook-list"; @import 'hook-list';
.lobby__app { .lobby__app {
@extend %flex-column; @extend %flex-column;
@ -19,17 +19,17 @@
flex: 1 1 100%; flex: 1 1 100%;
position: relative; position: relative;
@if $theme == "transp" { @if $theme == 'transp' {
background: fade-out($c-bg-box, 0.2); background: fade-out($c-bg-box, 0.2);
} } @else {
@else { $logo-color: 'dadada';
$logo-color: "dadada";
@if $theme-dark { @if $theme-dark {
$logo-color: "383633"; $logo-color: '383633';
} }
background: $c-bg-box url("data:image/svg+xml,%3Csvg viewBox='-2 -2 54 54' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23#{$logo-color}' stroke='%23#{$logo-color}' stroke-linejoin='round'%0Ad='M38.956.5c-3.53.418-6.452.902-9.286 2.984C5.534 1.786-.692 18.533.68 29.364 3.493 50.214 31.918 55.785 41.329 41.7c-7.444 7.696-19.276 8.752-28.323 3.084C3.959 39.116-.506 27.392 4.683 17.567 9.873 7.742 18.996 4.535 29.03 6.405c2.43-1.418 5.225-3.22 7.655-3.187l-1.694 4.86 12.752 21.37c-.439 5.654-5.459 6.112-5.459 6.112-.574-1.47-1.634-2.942-4.842-6.036-3.207-3.094-17.465-10.177-15.788-16.207-2.001 6.967 10.311 14.152 14.04 17.663 3.73 3.51 5.426 6.04 5.795 6.756 0 0 9.392-2.504 7.838-8.927L37.4 7.171z'/%3E%3C/svg%3E%0A"); background: $c-bg-box
url("data:image/svg+xml,%3Csvg viewBox='-2 -2 54 54' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23#{$logo-color}' stroke='%23#{$logo-color}' stroke-linejoin='round'%0Ad='M38.956.5c-3.53.418-6.452.902-9.286 2.984C5.534 1.786-.692 18.533.68 29.364 3.493 50.214 31.918 55.785 41.329 41.7c-7.444 7.696-19.276 8.752-28.323 3.084C3.959 39.116-.506 27.392 4.683 17.567 9.873 7.742 18.996 4.535 29.03 6.405c2.43-1.418 5.225-3.22 7.655-3.187l-1.694 4.86 12.752 21.37c-.439 5.654-5.459 6.112-5.459 6.112-.574-1.47-1.634-2.942-4.842-6.036-3.207-3.094-17.465-10.177-15.788-16.207-2.001 6.967 10.311 14.152 14.04 17.663 3.73 3.51 5.426 6.04 5.795 6.756 0 0 9.392-2.504 7.838-8.927L37.4 7.171z'/%3E%3C/svg%3E%0A");
} }
background-size: 100% 100%; background-size: 100% 100%;
@ -49,7 +49,7 @@
.toggle { .toggle {
position: absolute; position: absolute;
padding: .6em; padding: 0.6em;
cursor: pointer; cursor: pointer;
z-index: 2; z-index: 2;
font-size: 1.3em; font-size: 1.3em;

View File

@ -7,7 +7,7 @@
.label { .label {
color: $c-font-dim; color: $c-font-dim;
font-size: .7em; font-size: 0.7em;
position: absolute; position: absolute;
left: 3px; left: 3px;
bottom: 1px; bottom: 1px;
@ -42,7 +42,7 @@
cursor: pointer; cursor: pointer;
z-index: 3; z-index: 3;
font-size: 1.6em; font-size: 1.6em;
opacity: .7; opacity: 0.7;
@include transition; @include transition;
@ -77,7 +77,7 @@
display: none; display: none;
background: $c-bg-box; background: $c-bg-box;
position: absolute; position: absolute;
z-index: z("powertip"); z-index: z('powertip');
.inner { .inner {
@extend %flex-column; @extend %flex-column;
@ -94,6 +94,6 @@
@extend %metal; @extend %metal;
min-width: 120px; min-width: 120px;
padding: .5em .7em; padding: 0.5em 0.7em;
} }
} }

View File

@ -23,7 +23,8 @@
.checkable { .checkable {
@extend %nowrap-ellipsis; @extend %nowrap-ellipsis;
label, input { label,
input {
vertical-align: middle; vertical-align: middle;
cursor: pointer; cursor: pointer;
} }
@ -48,7 +49,7 @@
} }
input { input {
margin-right: .3em; margin-right: 0.3em;
} }
.range { .range {
@ -59,7 +60,7 @@
@extend %flex-center-nowrap; @extend %flex-center-nowrap;
justify-content: center; justify-content: center;
input { input {
padding: .6em 0; padding: 0.6em 0;
margin: 0 1ch; margin: 0 1ch;
@include breakpoint($mq-not-xx-small) { @include breakpoint($mq-not-xx-small) {
width: 26vw; width: 26vw;

View File

@ -52,7 +52,7 @@
&.sort .is:before { &.sort .is:before {
opacity: 0.7; opacity: 0.7;
margin-right: 3px; margin-right: 3px;
content: ""; content: '';
} }
&.player { &.player {
@ -73,7 +73,7 @@
td { td {
@extend %nowrap-hidden; @extend %nowrap-hidden;
padding: .5em .7em; padding: 0.5em 0.7em;
border-bottom: $border; border-bottom: $border;
cursor: pointer; cursor: pointer;
background: fade-out($c-bg-box, 0.5); background: fade-out($c-bg-box, 0.5);

View File

@ -15,7 +15,7 @@
grid-gap: 9px; grid-gap: 9px;
padding: 9px; padding: 9px;
@include fluid-size("font-size", 14px, 25px); @include fluid-size('font-size', 14px, 25px);
> div { > div {
@extend %flex-column, %box-radius, %break-word; @extend %flex-column, %box-radius, %break-word;
@ -27,8 +27,7 @@
@if $theme-light { @if $theme-light {
background: fade-out($c-bg-box, 0.5); background: fade-out($c-bg-box, 0.5);
} } @else {
@else {
background: fade-out($c-font, 0.95); background: fade-out($c-font, 0.95);
} }
@ -58,7 +57,7 @@
.spinner { .spinner {
flex: 0 0 auto; flex: 0 0 auto;
margin: .1em 0 .6em 0; margin: 0.1em 0 0.6em 0;
width: 2em; width: 2em;
height: 2em; height: 2em;
pointer-events: none; pointer-events: none;
@ -68,6 +67,6 @@
display: block; display: block;
font-size: 1.5em; font-size: 1.5em;
line-height: 1.6em; line-height: 1.6em;
letter-spacing: .1em; letter-spacing: 0.1em;
} }
} }