Allows customization of the chatbox height
Screen Height Chatbox by Mike
Details
AuthorMike
LicenseGPL-v3
Categorysimple-mmo
Created
Updated
Size768 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Changelog
1-10-24.2
- Swapped out width range variable for number variable
- Positionable settings container
1-10-24.1
- Added option to customize chat width
1-10-24
- Initial release
Source code
/* ==UserStyle==
@name Screen Height Chatbox
@namespace github.com/openstyles/stylus
@version 1-10-24.2
@description chatbox covers entire screen height
@author Mike
@preprocessor uso
/*preprocessor variables*\/
@var range chat-height "Chat Height" 100
@var number chat-width "Chat Width" 24
@var number settings-pos "Settings Position" 1
==/UserStyle== */
@-moz-document url-prefix("https://web.simple-mmo.com/") {
#chatBox {
height: /*[[chat-height]]*/%;
margin-bottom: 1rem;
width: /*[[chat-width]]*/rem
}
#show_hide_chat_btn {
margin-bottom: 0rem
}
div[class="absolute right-0 top-0 mr-2 mt-2"]{
margin-right: /*[[settings-pos]]*/rem
}
}