-
Notifications
You must be signed in to change notification settings - Fork 1
/
mh-taller-windows.user.js
154 lines (128 loc) · 3.91 KB
/
mh-taller-windows.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
// ==UserScript==
// @name 🐭️ MouseHunt - Taller Windows
// @version 1.3.0
// @description Makes all the windows taller, so you can see more of the content without scrolling.
// @license MIT
// @author bradp
// @namespace bradp
// @match https://www.mousehuntgame.com/*
// @icon https://i.mouse.rip/mouse.png
// @grant none
// @run-at document-end
// @require https://cdn.jsdelivr.net/npm/[email protected]
// ==/UserScript==
((function () {
'use strict';
const style = document.createElement('style');
style.innerHTML = `.adventureBookPopup-titleContent,
.convertibleOpenView-itemContainer,
.marketplaceView-browse-content,
.MHCheckoutAllRewardsPageView,
.treasureMapListingsView-tableView,
.treasureMapView-block-content,
.treasureMapView-block-content.halfHeight,
.treasureMapView-block-content.tall,
.treasureMapView-blockWrapper.tall .treasureMapView-block-content,
#messengerUINotification .notificationHeader,
#messengerUINotification .notificationMessageList,
#supplytransfer .drawer .listContainer,
#supplytransfer .drawer .tabContent,
#supplytransfer .drawer {
height: auto;
max-height: 75vh;
}
#supplytransfer .drawer {
padding-bottom: 75px;
}
.adventureBookPopup-titleContent {
max-height: unset;
}
.treasureMapDialogView.limitHeight .treasureMapView-block-content,
.treasureMapDialogView.limitHeight .treasureMapDialogView-content {
max-height: 75vh;
}
.treasureMapDialogView.wide.limitHeight {
top: 300px;
}
.giftSelectorView-inbox-giftContainer,
#overlayPopup .giftSelectorView-scroller {
height: auto;
min-height: 300px;
max-height: 75vh;
}
#overlayPopup.giftSelectorViewPopup {
top: 50px !important;
}
.springHuntHUD-popup-regionContainer {
display: contents;
}
#overlayPopup .imgArray {
min-height: 105px;
/* specifically to fit scrambles at the least */
max-height: 500px;
}
/* FI airship */
.floatingIslandsWorkshop-parts-content {
height: auto;
background: linear-gradient(255deg, #fbf3b0 75%, #fdfcc7 100%);
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
outline: 10px solid #fbf3ae;
box-shadow: 0 2px 1px 11px #b9570e, 0 3px 2px 12px #985316, 0 4px 1px 13px #84420f, 0 5px 1px 14px #c47728, 0 6px 1px 15px #cd7f2c, 0 7px 1px 16px #e19439;
}
.floatingIslandsWorkshop-stabilizer {
top: 325px;
right: 78px;
left: unset;
border: none;
transform: rotate(90deg);
}
.floatingIslandsWorkshop-stabilizer label {
color: #848383;
}
.floatingIslandsWorkshop-part-name {
position: absolute;
top: 0;
right: 10px;
left: 0;
}
.floatingIslandsWorkshop-part-border {
margin-top: 18px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.floatingIslandsWorkshop-part-state a.mousehuntActionButton.tiny.lightBlue {
font-size: 9px;
background: #fefad7;
box-shadow: none;
}
.floatingIslandsWorkshop-part-state a.mousehuntActionButton.tiny.lightBlue::before {
background: #fff9c3;
box-shadow: 0 0 10px #f3ecb2 inset;
}
.floatingIslandsWorkshop-parts-total {
margin-right: 15px;
}
.floatingIslandsWorkshop-partsContainer {
background-color: #fbf3ae;
border-radius: 5px;
}
.floatingIslandsWorkshop-part.active .floatingIslandsWorkshop-part-border {
background-color: #90cefa;
}
.floatingIslandsWorkshop-part-state .mousehuntActionButton.tiny.selected {
box-shadow: none;
}
.floatingIslandsWorkshop-part-actions {
background-color: #c48648;
}
.floatingIslandsWorkshop-part.active .floatingIslandsWorkshop-part-border::after {
border: none;
}
/* select 2 */
.select2-results {
max-height: 50vh;
}`;
document.head.appendChild(style);
migrateUserscript('🐭️ MouseHunt - Taller Windows', 'https://greasyfork.org/en/scripts/452235-mousehunt-taller-windows');
})());