-
Notifications
You must be signed in to change notification settings - Fork 7
/
custom.css
188 lines (154 loc) · 4.28 KB
/
custom.css
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/* Remove the Foundry VTT Logo */
#logo{
display: none;
}
/* Move controls up now that the logo is gone */
#controls{
top: 0px !important;
}
/* Make background opaque and remove unnecessary drop shadows */
#controls .scene-control,
#controls .control-tool{
background-color: #4c4c4c;
box-shadow: none;
}
/* Make background opaque and remove unnecessary drop shadows */
#controls .control-tool.toggle{
background: rgba(30, 0, 60, 1) !important;
box-shadow: none;
}
/* Make background opaque and remove unnecessary drop shadows */
#controls .control-tool.toggle{
background: rgba(60, 0, 120, 1) !important;
box-shadow: 0 0 5px #9b8dff;
}
/* Hide Players Listing. Doesn't really matter who the hell is logged in */
#players{
/* display: none; */
}
/* Remove box shadow */
#players.app{
box-shadow: none;
}
/* Adjust sidebar display */
#sidebar{
background-color: #4c4c4c;
border-color: #4c4c4c;
right: 0 !important;
top: 0 !important;
height: 100vh !important;
border-radius: 0;
}
/* Remove box shadow */
#sidebar.app{
box-shadow: none;
}
/* Add ordering that the items in the Chat Tab */
[data-tab="chat"] > *{
order: 1;
}
/* Force the Private GM Roll Select Dropdown to be at the bottom of the page */
#chat-controls{
order: 2
}
/* Remove the D20 Icon from Chat Controls*/
#chat-controls .roll-type-select label{
display: none;
}
/* Set the Private GM Rolls Select Dropdown to span the full width of its area */
#chat-controls div.roll-type-select select{
width: 100% !important;
}
/* Remove Chat Save and Chat Delete Buttons */
#sidebar #chat-controls .control-buttons{
display: none;
}
/* Vertically Center the Polygot Label and Select Dropdown */
#polyglot.polyglot-lang-select {
align-items: center;
}
/* Remove the "Language" Label */
#polyglot.polyglot-lang-select label{
display: none;
}
/* Resize the Polygot Select Dropdown */
#polyglot.polyglot-lang-select select{
flex-basis: auto;
height: auto;
}
/* Move the Pack entries to be on a single line */
#compendium li.compendium-pack{
display: flex;
}
/* Move the Pack title to be first in its appearance */
#compendium h4.pack-title {
order: 1;
display: flex;
margin-right: 0.25rem;
}
/* Move the Compendium footer to be second in its appearance */
#compendium footer.compendium-footer {
order: 2;
opacity: 0.5;
}
/* No need for the compendium Entity type */
#compendium span.entity-type {
display: none;
}
/* Now that we are hiding part of each Compendium listing, this will vertically center the label with the icons */
#compendium h4.pack-title {
display: flex;
margin: 0 0.5rem 0 0;
}
/* Make the Compendium entries more compact */
#compendium h3{
border: none !important;
}
/* Make the Compendium entries more compact */
#compendium li.compendium-pack{
padding: 0;
border: none !important;
margin-top: 0rem;
margin-bottom: 0rem;
}
/* Add some space between compendium groups */
#compendium ol.compendium-list{
margin-bottom: 0.5rem;
}
/*
**************************************************
* Music Controls to make the playlist responsive
**************************************************
*/
/* Ensure Playlist titles are always visible */
#playlists li.playlist .playlist-header .playlist-name{
max-width: calc(100% - 100px);
background-image: linear-gradient(90deg,#f0f0e0 92.5%,rgba(0,0,0,0));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Ensure the Playlist collapse button is never faded */
#playlists li.playlist .playlist-header .playlist-name i.fa{
-webkit-text-fill-color: #999999;
}
/* The playlist should never be wider than the are it's contained within */
#playlists li.playlist .playlist-sounds{
display: flex;
flex-direction: column;
width: 100%;
}
/* Fade Trac text at the end of the row and ensure its width never exceeds what's possible */
#playlists li.sound .sound-name{
background-image: linear-gradient(90deg,#ffffff 92.5%,rgba(0,0,0,0));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
max-width: calc(100% - 152px);
}
#playlists li.sound .sound-controls{
display: inline-flex;
max-width: 152px;
}
/* Makes the stop button red */
#playlists .fa-square:before{
color: red;
}