Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markd.otto@gmail.com>2018-04-09 19:00:23 +0300
committerGitHub <noreply@github.com>2018-04-09 19:00:23 +0300
commit8f7bd419935adfcd53c471a0202083464800619e (patch)
treed0e6ab018a0f41b59a1206cf72ffc79a474e69b9 /docs/4.1/examples/sign-in
parent91730a644f107ca80a747a6f7f0c173eca5708fa (diff)
Ship v4.1.0 (#26218)v4.1.0
* update docs path from docs/4.0/ to docs/4.1/ * bump version to 4.1.0 * Update redirects to work for 4.1 docs move * Update docs version switcher to include latest and link to 4.0 docs * re-run dist * Update package-lock.json * Update docs-navbar.html
Diffstat (limited to 'docs/4.1/examples/sign-in')
-rw-r--r--docs/4.1/examples/sign-in/index.html36
-rw-r--r--docs/4.1/examples/sign-in/signin.css44
2 files changed, 80 insertions, 0 deletions
diff --git a/docs/4.1/examples/sign-in/index.html b/docs/4.1/examples/sign-in/index.html
new file mode 100644
index 0000000000..0a4d90cbdc
--- /dev/null
+++ b/docs/4.1/examples/sign-in/index.html
@@ -0,0 +1,36 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Signin Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="signin.css" rel="stylesheet">
+ </head>
+
+ <body class="text-center">
+ <form class="form-signin">
+ <img class="mb-4" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
+ <h1 class="h3 mb-3 font-weight-normal">Please sign in</h1>
+ <label for="inputEmail" class="sr-only">Email address</label>
+ <input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
+ <label for="inputPassword" class="sr-only">Password</label>
+ <input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
+ <div class="checkbox mb-3">
+ <label>
+ <input type="checkbox" value="remember-me"> Remember me
+ </label>
+ </div>
+ <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
+ <p class="mt-5 mb-3 text-muted">&copy; 2017-2018</p>
+ </form>
+ </body>
+</html>
diff --git a/docs/4.1/examples/sign-in/signin.css b/docs/4.1/examples/sign-in/signin.css
new file mode 100644
index 0000000000..90cc93e5b9
--- /dev/null
+++ b/docs/4.1/examples/sign-in/signin.css
@@ -0,0 +1,44 @@
+html,
+body {
+ height: 100%;
+}
+
+body {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-align: center;
+ align-items: center;
+ padding-top: 40px;
+ padding-bottom: 40px;
+ background-color: #f5f5f5;
+}
+
+.form-signin {
+ width: 100%;
+ max-width: 330px;
+ padding: 15px;
+ margin: auto;
+}
+.form-signin .checkbox {
+ font-weight: 400;
+}
+.form-signin .form-control {
+ position: relative;
+ box-sizing: border-box;
+ height: auto;
+ padding: 10px;
+ font-size: 16px;
+}
+.form-signin .form-control:focus {
+ z-index: 2;
+}
+.form-signin input[type="email"] {
+ margin-bottom: -1px;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.form-signin input[type="password"] {
+ margin-bottom: 10px;
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}