Ticket Creation
by roomyrooms
HTML
<div id='ticket_holder'>
<div id='ticket_container'>
<div id='ticket_scroll'>
<div class='ticket_contents' id='ticket_game_contents'>
<span class='ticket_section'>Ticket Title</span>
<textarea type='text' class='ticket_field_area' placeholder='Lost item, bugged, found exploit'></textarea>
<span class='ticket_section'>Issue Description</span>
<textarea type='text' class='ticket_field_area' placeholder='Brief description of events and what went/is going wrong'></textarea>
<span class='ticket_section'>Extra / Misc.</span>
<input type='text' class='ticket_field' placeholder='Discord, etc.'>
<br><br>
<div class='ticket_input'>
<input type='checkbox' class='ticket_checkbox'>
<div class='ticket_input_text'>Label Issue as High-Priority</div>
<div class='ticket_input_desc'>Checking this will ping admins in-game and on discord if they have it enabled.
<br>
<span style='color:#DD5555;'>Only use this if the issue is time sensitive/critically important or risk punishment.</span></div>
</div>
</div>
</div>
</div>
</div>
CSS
#ticket_holder {
width: 350px;
height: 300px;
display: flex;
justify-content: center;
}
#ticket_container {
position: relative;
width: 256px;
border: 10px solid;
border-image: url(https://i.gyazo.com/34a29fe2749b507b0ab6e8358baaf798.png) 10 round;
background: #191919;
border-radius: 5px;
padding-left: 2px;
user-select: none;
overflow: hidden;
font-family: Verdana;
}
#ticket_scroll {
max-height: 300px;
overflow-x: hidden;
overflow-y: auto;
padding-left: 2px;
margin-top: -4px;
width: 100%;
}
.ticket_contents {
color: #ddd;
text-shadow: 1px 1px #000;
font-size: 14px;
}
.ticket_section {
display: block;
font-size: 13px;
font-style: italic;
padding-top: 2px;
margin-bottom: -2px;
width: 100%;
margin-left: -2px;
}
.ticket_input {
background-color: #333;
padding-left: 4px;
padding-right: 4px;
margin-top: 2px;
border: 1px solid #555;
border-radius: 5px;
display: inline-block;
width: 95%;
}
.ticket_input_desc {
font-size: 12px;
color: #bbb;
margin-top: -2px;
}
.ticket_input_text {
font-size: 14px;
margin-left: -2px;
text-align: left;
text-decoration: underline;
padding: 2px;
display: inline-block;
cursor: pointer;
}
.ticket_input_text:hover {
text-decoration: none;
color: #fff;
}
.ticket_field {
background-color: rgb(200, 200, 200);
padding-left: 4px;
padding-right: 4px;
margin-top: 2px;
border: 1px solid #555;
border-radius: 5px;
display: inline-block;
width: 95%;
outline: none;
font-family: Verdana;
}
.ticket_field_area {
background-color: rgb(200, 200, 200);
padding-left: 4px;
padding-right: 4px;
margin-top: 2px;
border: 1px solid #555;
border-radius: 5px;
display: inline-block;
width: 95%;
outline: none;
font-family: Verdana;
resize: vertical;
min-height: 32px;
max-height: 128px;
}
.ticket_checkbox {
margin: 0px;
width: 14px;
height: 14px;
float: left;
margin-top: 3px;
margin-right: 3px;
cursor:...