forked from online-go/online-go.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request online-go#2402 from online-go/annullment-reasons
Add some explanations as to why a game was annulled
- Loading branch information
Showing
6 changed files
with
242 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,136 @@ | ||
.play-controls { | ||
min-height: 5rem; | ||
.PlayControls { | ||
flex-grow: 0; | ||
flex-shrink: 0; | ||
display: block; | ||
user-select: none; | ||
display: flex; | ||
align-items: flex-start; | ||
flex-direction: column; | ||
justify-content: center; | ||
padding-top: 0.5rem; | ||
max-width: 100vw; | ||
min-height: 5rem; | ||
|
||
// height: 23rem; | ||
// min-height: 5rem; | ||
> div { | ||
width: 100%; | ||
} | ||
|
||
.annulled-indicator { | ||
color: red; | ||
text-align: center; | ||
position: relative; | ||
cursor: help; | ||
|
||
.fa { | ||
themed: color shade1; | ||
margin-left: 0.5rem; | ||
} | ||
|
||
.annulment-reason { | ||
display: none; | ||
} | ||
} | ||
|
||
.annulled-indicator:hover { | ||
.annulment-reason { | ||
display: inline-block; | ||
position: absolute; | ||
top: 1.1rem; | ||
left: 50%; | ||
transform: translateX(-50%); | ||
themed: background-color shade4; | ||
border: 1px solid; | ||
themed: border-color shade3; | ||
z-index: z.popover; | ||
themed: color fg; | ||
padding: 0.5rem; | ||
border-radius: 0.5rem; | ||
max-width: 90vw; | ||
text-align: justify; | ||
} | ||
} | ||
|
||
.game-action-buttons { | ||
position: relative; | ||
text-align: center; | ||
} | ||
|
||
.analyze-mode-buttons { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-around; | ||
align-items: center; | ||
margin-top: 5px; | ||
margin-bottom: 5px; | ||
|
||
button { | ||
themed: background-color success; | ||
themed-darken: border-color success border-darken-amount; | ||
} | ||
|
||
button:hover { | ||
themed-lighten: background-color success button-highlight-brighten-amount; | ||
themed-darken: border-color success button-border-highlight-darken-amount; | ||
} | ||
} | ||
|
||
.pause-controls { | ||
text-align: center; | ||
} | ||
|
||
.play-buttons { | ||
height: 2.6rem; | ||
min-height: 2.6rem; | ||
display: flex; | ||
width: 100%; | ||
justify-content: space-between; | ||
|
||
> span { | ||
flex-grow: 1; | ||
flex-basis: 33%; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
> span:first-child { | ||
justify-content: flex-start; | ||
} | ||
|
||
> span:last-child { | ||
justify-content: flex-end; | ||
} | ||
} | ||
|
||
.stone-removal-controls { | ||
text-align: center; | ||
|
||
.explanation { | ||
padding: 1rem; | ||
font-style: italic; | ||
} | ||
} | ||
|
||
.cancel-button { | ||
/* | ||
position: absolute; | ||
right: 0.5em; | ||
bottom: 0.5em; | ||
*/ | ||
} | ||
|
||
.undo-button { | ||
// position: absolute; | ||
// left: 0.5em; | ||
} | ||
|
||
.accept-undo-button { | ||
/* | ||
position: absolute; | ||
left: 0.5em; | ||
bottom: 0.5em; | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.