Bootstrap 4 templates (#47)
This commit is contained in:
2
cas_server/static/cas_server/bs4/fa-lock.svg
Normal file
2
cas_server/static/cas_server/bs4/fa-lock.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<!-- Icon by Font Awesome, https://fontawesome.com/, Creative Common 4.0 Attribution -->
|
||||
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="lock" class="svg-inline--fa fa-lock fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"></path></svg>
|
After Width: | Height: | Size: 529 B |
2
cas_server/static/cas_server/bs4/fa-user.svg
Normal file
2
cas_server/static/cas_server/bs4/fa-user.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<!-- Icon by Font Awesome, https://fontawesome.com/, Creative Common 4.0 Attribution -->
|
||||
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"></path></svg>
|
After Width: | Height: | Size: 573 B |
34
cas_server/static/cas_server/bs4/styles.css
Normal file
34
cas_server/static/cas_server/bs4/styles.css
Normal file
@ -0,0 +1,34 @@
|
||||
html, body {
|
||||
height: 100%;
|
||||
background-color: #eee;
|
||||
}
|
||||
.cover-container {
|
||||
max-width: 50em;
|
||||
}
|
||||
|
||||
/* Page title */
|
||||
#app-name {
|
||||
color: #000;
|
||||
text-shadow: 0 .05rem .2rem rgba(255, 255, 255, .5);
|
||||
}
|
||||
#app-name img {
|
||||
width: 110px;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
@media screen and (max-width: 680px) {
|
||||
#app-name img {
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* Add icons to login form */
|
||||
/* Font-Awesome attribution is already done inside SVG files */
|
||||
.form-signin input[type="text"] {
|
||||
background: right 1rem top 50% / 5% no-repeat url('fa-user.svg');
|
||||
padding-right: 3rem;
|
||||
}
|
||||
.form-signin input[type="password"] {
|
||||
background: right 1rem top 50% / 5% no-repeat url('fa-lock.svg');
|
||||
padding-right: 3rem;
|
||||
}
|
Reference in New Issue
Block a user