Skip to content

Commit

Permalink
border radius for all boards
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Mar 16, 2024
1 parent e2c707b commit cea05a0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 16 deletions.
2 changes: 1 addition & 1 deletion ui/analyse/css/study/_player.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$player-height: 1.6rem;

.analyse.has-players {
cg-board {
.main-board cg-board {
border-radius: 0;
}

Expand Down
2 changes: 1 addition & 1 deletion ui/analyse/css/study/panel/_multiboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
}
}
}
.mini-game__gauge ~ .mini-game__board cg-container {
.mini-game__gauge ~ .mini-game__board cg-board {
@extend %box-radius-left;
}
}
5 changes: 2 additions & 3 deletions ui/ceval/css/_pv.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@
.cg-wrap {
@extend %abs-100;
}
cg-container {
@extend %box-radius, %popup-shadow;
overflow: hidden;
cg-board {
@extend %popup-shadow;
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions ui/common/css/component/_board.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@
.mini-game .cg-wrap {
@extend %square;
}

cg-board {
@extend %box-radius;
}
.gauge-on .main-board cg-board {
@extend %box-radius-left;
}
5 changes: 0 additions & 5 deletions ui/common/css/component/_mini-game.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,4 @@
font-weight: bold;
margin: 0 1ch;
}

cg-container {
@extend %box-radius;
overflow: hidden;
}
}
6 changes: 0 additions & 6 deletions ui/lobby/css/_lobby.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ body {
margin-#{$end-direction}: 1ch;
}

.lobby__tv cg-container,
.lobby__puzzle cg-container {
@extend %box-radius;
overflow: hidden;
}

.now-playing {
.meta {
@extend %flex-column;
Expand Down

0 comments on commit cea05a0

Please sign in to comment.