mirror of
https://github.com/sismics/docs.git
synced 2024-12-22 19:33:47 +01:00
Closes #78: login page design
This commit is contained in:
parent
a102bf04f4
commit
f927193ae9
BIN
docs-web/src/main/webapp/src/img/background.jpg
Normal file
BIN
docs-web/src/main/webapp/src/img/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
@ -1,5 +1,11 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-offset-5 col-sm-3">
|
||||
<style>
|
||||
/* No navbar in login screen */
|
||||
.navbar {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<div class="row vertical-center login-box-container">
|
||||
<div class="col-sm-offset-5 col-sm-2 login-box">
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<label class="sr-only" for="inputUsername">Username</label>
|
||||
|
@ -208,4 +208,34 @@ input[readonly].share-link {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Vertical alignment
|
||||
.vertical-center {
|
||||
min-height: 100vh;
|
||||
|
||||
/* Make it a flex container */
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
|
||||
/* Align the bootstrap's container vertically */
|
||||
-webkit-box-align : center;
|
||||
-webkit-align-items : center;
|
||||
-moz-box-align : center;
|
||||
-ms-flex-align : center;
|
||||
align-items : center;
|
||||
}
|
||||
|
||||
// Login
|
||||
.login-box-container {
|
||||
background: url('../img/background.jpg') no-repeat center;
|
||||
}
|
||||
|
||||
.login-box {
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
padding: 20px;
|
||||
border-radius: 4px
|
||||
}
|
Loading…
Reference in New Issue
Block a user