psniquiz/client.css
Vexure 338e0bd009 player state sync added
+ player state syncronisation
+ host selection
- FMs
2024-09-14 15:23:45 +03:00

318 lines
5.4 KiB
CSS

body {text-align: center;}
.pquiz-button {
background-color: #22223C;
color: #DDF;
margin: 3px;
font-weight: 700;
min-height: 32px;
border: 1px solid #537;
border-radius: 4px;
}
#client-container {
min-width: 300px;
max-width: 360px;
min-height: 80px;
width: fit-content;
height: fit-content;
border: 1px solid #112;
border-radius : 12px;
font-family: ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
display: block;
position: fixed;
z-index: 999;
}
#client-top-header-game-date, #client-top-header-caption, #update-data-button {
padding: 3px;
padding-top: 6px;
padding-bottom: 2px;
display: block;
font-size: 16px;
font-weight: 700;
}
#client-top-header {
width: 100%;
margin-left: -1px;
margin-right: -1px;
margin-bottom: 6px;
border-radius: 12px 12px 0 0;
border-bottom: 1px solid #224;
display: flex;
overflow: hidden;
z-index: 15;
}
#client-top-header-game-date {
padding: 6px 6px 0px 12px;
font-size: 14px;
z-index: 8;}
#client-top-header-caption {
min-width: 150px;
margin-left: auto;
margin-right: auto;
font-size: 14px;
order: 1;
text-align: center;
}
#update-data-button {
float: right;
margin-left: auto;
margin-right: -4px;
height: auto;
width: 50px;
min-width: 32px;
order: 2;
border-radius: 0 12px 0 0;
border: 1px none;
}
#client-top-table {
min-width: 322px;
min-height: 60px;
padding: 6px 6px 1px 6px;
}
.client-top-string {
padding-left: 9px;
padding-right: 9px;
min-height: 45px;
font-weight: 800;
font-size: 21px;
border-radius : 6px;
margin-bottom: -12px;
align-items: center;
display: flex;
}
.client-top-string-place, .client-top-string-names, .client-top-string-score {
padding: 10;
overflow: hidden;
display: inline-block;
vertical-align: top;
justify-content: center; }
.client-top-string-place {
min-width: 36px;
height: auto;
order: 0;
}
.client-top-string-names {
min-width: 200px;
max-width: 320px;
margin-left: auto;
order: 1; }
.client-top-string-score {
float: right;
min-width: 36px;
margin-left: auto;
order: 2;
}
#client-extra-panel {
display: none;
position: absolute;
width: 300px;
height: fit-content;
background: gray;
left: -310px;
top: 5px;
z-index: 100;
border-radius: 5px;
}
#client-extra-button {
width: 22px;
height: 24px;
left: -19px;
top: 5px;
position: absolute;
background-color: gray;
font-weight: 700;
font-size: 21px;
border-radius: 5px 0 0 5px;
z-index: 200;
}
#client-settings-panel {
display: flex;
flex-direction: column;
align-items: center;
}
.pquiz-select {
margin: 4px;
width: 140px;
height: 32px;
border: 1px solid transparent;
border-radius: 4px;
}
#client-extra-textarea-messages {
width: 96%;
min-height: 50px;
height: 200px;
margin-top: 5px;
font-size: 13px;
background-color: #224;
border: 1px solid transparent;
border-radius: 3px;
min-width: 290px;
}
#client-update-progress-bar {
width: 100%;
height: 5px;
}
#client-bottom-block {
width: 100%;
border-radius: 0 0 12px 12px;
font-weight: 700;
font-size: 12px;
display: flex;
flex-direction: column;
overflow: hidden;
z-index: 15;
}
#client-bottom-panel {
width: 100%;
font-weight: 700;
font-size: 12px;
display: flex;
flex-direction: row;
overflow: hidden;
z-index: 16;
}
#client-bottom-panel-update-time {
padding: 6px 6px 6px 10px;
z-index: 8;
}
#client-bottom-panel-last-message {
min-width: 100px;
margin-left: auto;
padding: 6px;
order: 1;
flex-grow: 1;
text-align: center;
}
#client-bottom-panel-video-adress {
float: right;
margin-left: auto;
margin-right: -4px;
max-width: 120px;
padding: 6px 10px 6px 6px;
text-align: right;
order: 2;
}
#client-player-panel {
width: 100%;
font-weight: 700;
font-size: 12px;
display: flex;
flex-direction: column;
overflow: hidden;
z-index: 18;
}
#client-player-panel-indicator {
width: 16px;
height: 16px;
border-radius: 8px;
border: 1px solid black;
background-color: lightblue;
margin-right: 12px;
position: relative;
top: 10px;
left: 7px;
display: inline-block;
color: #112;
}
.pquiz-input {
text-align: center;
border: 1px solid transparent;
border-radius: 4px;
}
.pquiz-checkbox-container{
margin: 4px;
padding: 4px;
border-radius: 4px;
}
#client-player-panel-nick-input {
height: 28px;
margin: 3px 0 0 3px;
font-weight: 700;
margin-right: 6px;
display: inline-block;
flex-grow: 1;
}
#client-player-panel-answer-btn-container, #client-player-panel-nick-container {
display: none;
}
.client-player-panel-answer-btn {
padding: 6px;
margin-left: 1px;
min-width: 58px;
display: inline-block;
background-color: purple;
}
#client-player-panel-answer-textarea {
text-align: center;
font-size: 24px;
margin-top: 8px;
border: 1px solid transparent;
border-radius: 4px 4px 12px 12px;
width: 95%;
}