init
This commit is contained in:
commit
72d4047541
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
**.css
|
2
Makefile
Normal file
2
Makefile
Normal file
|
@ -0,0 +1,2 @@
|
|||
css/style.css: css/style.less
|
||||
lesscpy -x css/style.less css/style.css
|
161
css/style.less
Normal file
161
css/style.less
Normal file
|
@ -0,0 +1,161 @@
|
|||
@color-1: #047E7C;
|
||||
@color-2: #0C6D74;
|
||||
@color-3: #0C6D74;
|
||||
@color-bg: #F1F2E3;
|
||||
@color-grey: #787970;
|
||||
|
||||
/* ======== MIXINS ======== */
|
||||
|
||||
.step-color(@color) {
|
||||
background-color: @color;
|
||||
.step-number:not(.done) {
|
||||
color: @color;
|
||||
}
|
||||
}
|
||||
|
||||
// shadow appilied to element under to shadow element
|
||||
// (shadow is placed on the top)
|
||||
.top-bottom-shadow {
|
||||
box-shadow: inset 0px 8px 6px -5px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
/* ======== ======== */
|
||||
|
||||
body {
|
||||
cursor: default;
|
||||
background-color: @color-bg;
|
||||
font-family: "Source Sans Pro", sans;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: @color-bg;
|
||||
padding: 1rem;
|
||||
|
||||
h1 {
|
||||
//font-size: 50px;
|
||||
padding: 0.5em 0;
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
#steps {
|
||||
color: @color-bg;
|
||||
.step-heading {
|
||||
.top-bottom-shadow;
|
||||
|
||||
h2 {
|
||||
font-weight: 300;
|
||||
padding: 8px;
|
||||
|
||||
.step-number {
|
||||
display: inline-block;
|
||||
margin: 0 0.5em;
|
||||
text-align: center;
|
||||
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
|
||||
border: 0px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.step-number:not(.done) {
|
||||
font-weight: 400;
|
||||
background-color: @color-bg;
|
||||
color: black;
|
||||
.number {
|
||||
display: inline;
|
||||
}
|
||||
.check {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.step-number.done {
|
||||
background-color: #8ECA63; // green
|
||||
color: @color-bg;
|
||||
.number {
|
||||
display: none;
|
||||
}
|
||||
.check {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.step {
|
||||
form {
|
||||
.row {
|
||||
margin-bottom: 0.7em;
|
||||
.col {
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
}
|
||||
input {
|
||||
color: white; // (!)
|
||||
background-color: rgba(255, 255, 255, 0.30);
|
||||
border: 0px solid rgba(255, 255, 255, 0.30);
|
||||
border-radius: 6px;
|
||||
padding: 0.4em 0.6em;
|
||||
width: 100%;
|
||||
&::placeholder {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.next-wrapper {
|
||||
text-align: center;
|
||||
height: 96px;
|
||||
padding-top: 2em;
|
||||
|
||||
a {
|
||||
span {
|
||||
display: block;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 48px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.step-heading, .step {
|
||||
padding: 2em 30vw;
|
||||
&.step-heading {
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
&.step {
|
||||
padding-top: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
#step-1, #step-1-heading {
|
||||
.step-color(@color-1);
|
||||
}
|
||||
|
||||
#step-2, #step-2-heading {
|
||||
.step-color(@color-2);
|
||||
}
|
||||
|
||||
#step-3, #step-3-heading {
|
||||
.step-color(@color-3);
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
.top-bottom-shadow;
|
||||
background-color: @color-bg;
|
||||
padding: 2em 30vw;
|
||||
text-align: center;
|
||||
a {
|
||||
color: @color-grey;
|
||||
border-bottom: dotted 1px rgba(0,0,0,0.25);
|
||||
}
|
||||
}
|
137
index.html
Normal file
137
index.html
Normal file
|
@ -0,0 +1,137 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Mitglied werden | FabLab Bad Windsheim</title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.0/dist/css/bootstrap.min.css" integrity="sha256-NJWeQ+bs82iAeoT5Ktmqbi3NXwxcHlfaVejzJI2dklU=" crossorigin="anonymous">
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons|Source+Sans+Pro:300,400" rel="stylesheet">
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>MITGLIED WERDEN</h1>
|
||||
</header>
|
||||
|
||||
<div class="accordion" id="steps">
|
||||
|
||||
<!--
|
||||
- mmmm mmmmmmm mmmmmm mmmmm mmm
|
||||
- #" " # # # "# #
|
||||
- "#mmm # #mmmmm #mmm#" #
|
||||
- "# # # # #
|
||||
- "mmm#" # #mmmmm # mm#mm
|
||||
-->
|
||||
|
||||
<div class="step-heading" id="step-1-heading">
|
||||
<h2>
|
||||
<div class="step-number">
|
||||
<span class="number">1</span>
|
||||
<span class="check">✓</span>
|
||||
</div>
|
||||
<a data-toggle="collapse" data-target="#step-1" aria-expanded="true" aria-controls="step-1">
|
||||
Persönliche Daten
|
||||
</a>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div id="step-1" class="step collapse show" aria-labelledby="step-1-heading" data-parent="#steps">
|
||||
<form>
|
||||
<div class="row">
|
||||
<div class="col col-12 col-md-6">
|
||||
<input type="text" name="givenname" placeholder="Vorname">
|
||||
</div>
|
||||
<div class="col col-12 col-md-6">
|
||||
<input type="text" name="surname" placeholder="Nachname">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col col-12">
|
||||
<input type="text" name="address" placeholder="Adresse">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col col-12 col-md-4">
|
||||
<input type="text" name="zip" placeholder="Postleitzahl">
|
||||
</div>
|
||||
<div class="col col-12 col-md-8">
|
||||
<input type="text" name="place" placeholder="Ort">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="next-wrapper">
|
||||
<a data-toggle="collapse" data-target="#step-2" aria-expanded="false" aria-controls="step-2">
|
||||
<span>Weiter</span>
|
||||
<i class="material-icons">keyboard_arrow_down</i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
- mmmm mmmmmmm mmmmmm mmmmm mmmm
|
||||
- #" " # # # "# " "#
|
||||
- "#mmm # #mmmmm #mmm#" m"
|
||||
- "# # # # m"
|
||||
- "mmm#" # #mmmmm # m#mmmm
|
||||
-->
|
||||
|
||||
<div class="step-heading" id="step-2-heading">
|
||||
<h2>
|
||||
<div class="step-number">
|
||||
<span class="number">2</span>
|
||||
<span class="check">✓</span>
|
||||
</div>
|
||||
<a data-toggle="collapse" data-target="#step-2" aria-expanded="true" aria-controls="step-2">
|
||||
Persönliche Daten
|
||||
</a>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div id="step-2" class="step collapse" aria-labelledby="step-2-heading" data-parent="#steps">
|
||||
<form>
|
||||
<div class="row">
|
||||
<div class="col col-12 col-md-6">
|
||||
<input type="text" name="givenname" placeholder="Vorname">
|
||||
</div>
|
||||
<div class="col col-12 col-md-6">
|
||||
<input type="text" name="surname" placeholder="Nachname">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col col-12">
|
||||
<input type="text" name="address" placeholder="Adresse">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col col-12 col-md-4">
|
||||
<input type="text" name="zip" placeholder="Postleitzahl">
|
||||
</div>
|
||||
<div class="col col-12 col-md-8">
|
||||
<input type="text" name="place" placeholder="Ort">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="next-wrapper">
|
||||
<a data-toggle="collapse" data-target="#step-3" aria-expanded="false" aria-controls="step-3">
|
||||
<span>Weiter</span>
|
||||
<i class="material-icons">keyboard_arrow_down</i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<a href="#">Impressum</a>
|
||||
</footer>
|
||||
|
||||
<!-- Bootstrap requires jQuery and popper.js -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.3/dist/umd/popper.min.js" integrity="sha256-98vAGjEDGN79TjHkYWVD4s87rvWkdWLHPs5MC3FvFX4=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.1.0/dist/js/bootstrap.min.js" integrity="sha256-C8oQVJ33cKtnkARnmeWp6SDChkU+u7KvsNMFUzkkUzk=" crossorigin="anonymous"></script>
|
||||
|
||||
<!-- pdfmake -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/pdfmake@0.1.36/build/pdfmake.min.js" integrity="sha256-Bxopx5SriypS8eE5qr38Bvap2ZNx3CUl9HZ6sewBtfk=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/pdfmake@0.1.36/build/vfs_fonts.js" integrity="sha256-wvH/UThD/fVD6sz1bAWX7JDW5Nx1TBdhegX8IHX20hA=" crossorigin="anonymous"></script>
|
||||
</body>
|
||||
</html>
|
Reference in a new issue