mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Make login modal look better
This commit is contained in:
parent
014e06d780
commit
dc98421ded
@ -197,3 +197,29 @@ a {
|
|||||||
.align-top {
|
.align-top {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#modal_guildinfobox {
|
||||||
|
background-color: #455a64;
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#modal_guildiconcircle {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 800px) {
|
||||||
|
.valign-wrap {
|
||||||
|
display: -webkit-flex;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-align-items: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
}
|
@ -76,10 +76,10 @@
|
|||||||
<div id="loginmodal" class="modal">
|
<div id="loginmodal" class="modal">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<h4>{{ login_greeting }}</h4>
|
<h4>{{ login_greeting }}</h4>
|
||||||
<div class="row valign-wrapper">
|
<div id="loginmodal-maincontent" class="row valign-wrap">
|
||||||
<div class="col m3 s12" style="background-color: #455a64; padding-top: 10px; padding-bottom: 10px;">
|
<div id="modal_guildinfobox" class="col m3 s12">
|
||||||
{% if guild['icon'] %}
|
{% if guild['icon'] %}
|
||||||
<img class="circle" src="{{ generate_guild_icon( guild['id'], guild['icon'] ) }}">
|
<img id="modal_guildiconcircle" class="circle" src="{{ generate_guild_icon( guild['id'], guild['icon'] ) }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p id="modal_guildname"><strong>{{ guild['name'] }}</strong></p>
|
<p id="modal_guildname"><strong>{{ guild['name'] }}</strong></p>
|
||||||
<a id="modal_invite_btn" class="waves-effect waves-light btn" target="_blank">discord.gg</a>
|
<a id="modal_invite_btn" class="waves-effect waves-light btn" target="_blank">discord.gg</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user