more requested changes

This commit is contained in:
nicfreeman1209 2021-02-12 18:00:59 +00:00
parent 6d649a963a
commit 61be9aa8d0
5 changed files with 30 additions and 16 deletions

View File

@ -12,6 +12,13 @@
<font-awesome-icon <font-awesome-icon
@click="isMaximized = !isMaximized" @click="isMaximized = !isMaximized"
class="maximize-toggle" class="maximize-toggle"
v-if="isMaximized"
icon="window-minimize"
/>
<font-awesome-icon
@click="isMaximized = !isMaximized"
class="maximize-toggle"
v-if="!isMaximized"
icon="window-maximize" icon="window-maximize"
/> />
<font-awesome-icon @click="close" class="close" icon="times-circle" /> <font-awesome-icon @click="close" class="close" icon="times-circle" />
@ -57,7 +64,13 @@ export default {
box-shadow: 2px 2px 20px 1px #000; box-shadow: 2px 2px 20px 1px #000;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
max-width: 60%;
.vote-history &,
.night-reference &,
.characters & {
overflow-y: auto; overflow-y: auto;
}
ul { ul {
list-style-type: none; list-style-type: none;
@ -80,9 +93,10 @@ export default {
color: red; color: red;
} }
} }
.maximize-toggle { > .maximize-toggle {
z-index: 100;
position: absolute; position: absolute;
right: 55px; right: 52px;
top: 20px; top: 20px;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
@ -91,6 +105,11 @@ export default {
} }
} }
.not-maximized {
max-height: 80%;
max-width: 80%;
}
.maximized { .maximized {
background: rgba(0, 0, 0, 0.95); background: rgba(0, 0, 0, 0.95);
padding: 0; padding: 0;
@ -98,14 +117,9 @@ export default {
width: 100%; width: 100%;
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
} display: flex;
.not-maximized { align-content: center;
background: rgba(0, 0, 0, 0.8); //justify-content: center;
padding: 10px 20px;
height: revert;
width: revert;
max-width: 80%;
max-height: 80%;
} }
.modal-fade-enter, .modal-fade-enter,

View File

@ -165,7 +165,7 @@ export default {
} }
h3 { h3 {
margin: 0 90px; margin: 0 40px;
svg { svg {
vertical-align: middle; vertical-align: middle;
} }

View File

@ -103,7 +103,7 @@ export default {
} }
h3 { h3 {
margin: 0 90px; margin: 0 40px;
svg { svg {
vertical-align: middle; vertical-align: middle;
} }

View File

@ -99,7 +99,7 @@ export default {
} }
h3 { h3 {
margin: 0 90px; margin: 0 90px 0 10px;
svg { svg {
vertical-align: middle; vertical-align: middle;
} }
@ -107,7 +107,6 @@ h3 {
table { table {
border-spacing: 10px 0; border-spacing: 10px 0;
padding: 10px 0px 0px 0px;
} }
thead td { thead td {

View File

@ -46,7 +46,8 @@ const faIcons = [
"VolumeUp", "VolumeUp",
"VolumeMute", "VolumeMute",
"VoteYea", "VoteYea",
"WindowMaximize" "WindowMaximize",
"WindowMinimize"
]; ];
const fabIcons = ["Github", "Discord"]; const fabIcons = ["Github", "Discord"];
library.add( library.add(