|
@@ -0,0 +1,240 @@
|
|
|
|
+.formdiv{
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100vh;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ align-items: center;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ background-image: url("../img/depositphotos_80275194-stock-illustration-russian-old-fair-bazaar-vector.jpg");
|
|
|
|
+ background-position: center; /* Center the image */
|
|
|
|
+ background-repeat: no-repeat; /* Do not repeat the image */
|
|
|
|
+ background-size: cover;
|
|
|
|
+
|
|
|
|
+ .form {
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ width: 460px;
|
|
|
|
+ box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.2);
|
|
|
|
+ padding-bottom: 40px;
|
|
|
|
+ border-radius: 3px;
|
|
|
|
+ background-color: rgba(247, 240, 240, 0.7);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ h1 {
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ padding: 20px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .input {
|
|
|
|
+ margin: 20px auto;
|
|
|
|
+ width: 80%;
|
|
|
|
+ display: block;
|
|
|
|
+ border: none;
|
|
|
|
+ padding: 10px 0;
|
|
|
|
+ border-bottom: solid 1px $color;
|
|
|
|
+ transition: all 0.3s cubic-bezier(.64,.09,.08,1);
|
|
|
|
+ background: linear-gradient(to bottom, rgba(255,255,255,0) 96%, $color 4%);
|
|
|
|
+ background-position: -400px 0;
|
|
|
|
+ background-size: 400px 100%;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ color: darken($color, 1%);
|
|
|
|
+ &:focus {
|
|
|
|
+ box-shadow: none;
|
|
|
|
+ outline: none;
|
|
|
|
+ background-position: 0 0;
|
|
|
|
+ &::-webkit-input-placeholder {
|
|
|
|
+ color: $color;
|
|
|
|
+ font-size: 11px;
|
|
|
|
+ transform: translateY(-20px);
|
|
|
|
+ visibility: visible !important;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ option{
|
|
|
|
+ background: rgba(247, 240, 240, 0.7);
|
|
|
|
+ border-radius: 3px;
|
|
|
|
+ }
|
|
|
|
+ select::-ms-expand { /* for IE 11 */
|
|
|
|
+ appearance: none;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .textarea {
|
|
|
|
+ margin: 20px auto;
|
|
|
|
+ width: 80%;
|
|
|
|
+ height: 100px;
|
|
|
|
+ display: block;
|
|
|
|
+ border: none;
|
|
|
|
+ padding: 20px 0;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ border-bottom: solid 1px $color;
|
|
|
|
+ transition: all 0.3s cubic-bezier(.64,.09,.08,1);
|
|
|
|
+ background: linear-gradient(to bottom, rgba(255,255,255,0) 96%, $color 4%);
|
|
|
|
+ background-position: -400px 0;
|
|
|
|
+ background-size: 400px 100%;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ color: darken($color, 1%);
|
|
|
|
+ &:focus {
|
|
|
|
+ box-shadow: none;
|
|
|
|
+ outline: none;
|
|
|
|
+ background-position: 0 0;
|
|
|
|
+ &::-webkit-input-placeholder {
|
|
|
|
+ color: $color;
|
|
|
|
+ font-size: 11px;
|
|
|
|
+ transform: translateY(-20px);
|
|
|
|
+ visibility: visible !important;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .buttonConteiner{
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .button {
|
|
|
|
+ border: none;
|
|
|
|
+ background: $color;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ border-radius: 3px;
|
|
|
|
+ padding: 6px;
|
|
|
|
+ margin: 10px 30px;
|
|
|
|
+ width: 80%;
|
|
|
|
+ color: white;
|
|
|
|
+ margin-left: 25px;
|
|
|
|
+ box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
|
|
|
|
+ &:hover {
|
|
|
|
+ transform: translateY(-3px);
|
|
|
|
+ box-shadow: 0 6px 6px 0 rgba(0,0,0,0.2);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+input[type=number]::-webkit-inner-spin-button,
|
|
|
|
+input[type=number]::-webkit-outer-spin-button {
|
|
|
|
+ -webkit-appearance: none;
|
|
|
|
+ margin: 0;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.upload-zone {
|
|
|
|
+ padding: 3px;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 33%;
|
|
|
|
+ top: 60%;
|
|
|
|
+ -webkit-transform: translate(-50%, -50%);
|
|
|
|
+ -ms-transform: translate(-50%, -50%);
|
|
|
|
+ -moz-transform: translate(-50%, -50%);
|
|
|
|
+ -o-transform: translate(-50%, -50%);
|
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
|
+ -webkit-border-radius: 20%;
|
|
|
|
+ -ms-border-radius: 20%;
|
|
|
|
+ -moz-border-radius: 20%;
|
|
|
|
+ -o-border-radius: 20%;
|
|
|
|
+ border-radius: 20%;
|
|
|
|
+ -webkit-transition: 0.3s;
|
|
|
|
+ -ms-transition: 0.3s;
|
|
|
|
+ -moz-transition: 0.3s;
|
|
|
|
+ -o-transition: 0.3s;
|
|
|
|
+ transition: 0.3s;
|
|
|
|
+ }
|
|
|
|
+ .upload-zone:before {
|
|
|
|
+ display: block;
|
|
|
|
+ width: 80px;
|
|
|
|
+ height: 80px;
|
|
|
|
+ border: 3px dashed $color;
|
|
|
|
+ position: relative;
|
|
|
|
+ -webkit-border-radius: 20%;
|
|
|
|
+ -ms-border-radius: 20%;
|
|
|
|
+ -moz-border-radius: 20%;
|
|
|
|
+ -o-border-radius: 20%;
|
|
|
|
+ border-radius: 20%;
|
|
|
|
+ content: " ";
|
|
|
|
+ display: block;
|
|
|
|
+ -webkit-transition: 0.3s;
|
|
|
|
+ -ms-transition: 0.3s;
|
|
|
|
+ -moz-transition: 0.3s;
|
|
|
|
+ -o-transition: 0.3s;
|
|
|
|
+ transition: 0.3s;
|
|
|
|
+ }
|
|
|
|
+ .upload-zone:hover {
|
|
|
|
+ background: $color;
|
|
|
|
+ }
|
|
|
|
+ .upload-zone:hover:before {
|
|
|
|
+ border-color: #fff;
|
|
|
|
+ }
|
|
|
|
+ .upload-zone:hover i:before, .upload-zone:hover i:after {
|
|
|
|
+ background: #fff;
|
|
|
|
+ }
|
|
|
|
+ .upload-zone i {
|
|
|
|
+ display: block;
|
|
|
|
+ width: 20%;
|
|
|
|
+ height: 20%;
|
|
|
|
+ -webkit-border-radius: 50%;
|
|
|
|
+ -ms-border-radius: 50%;
|
|
|
|
+ -moz-border-radius: 50%;
|
|
|
|
+ -o-border-radius: 50%;
|
|
|
|
+ border-radius: 50%;
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 50%;
|
|
|
|
+ top: 50%;
|
|
|
|
+ -webkit-transform: translate(-50%, -50%);
|
|
|
|
+ -ms-transform: translate(-50%, -50%);
|
|
|
|
+ -moz-transform: translate(-50%, -50%);
|
|
|
|
+ -o-transform: translate(-50%, -50%);
|
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
|
+ -webkit-transition: 0.3s;
|
|
|
|
+ -ms-transition: 0.3s;
|
|
|
|
+ -moz-transition: 0.3s;
|
|
|
|
+ -o-transition: 0.3s;
|
|
|
|
+ transition: 0.3s;
|
|
|
|
+ }
|
|
|
|
+ .upload-zone i:before, .upload-zone i:after {
|
|
|
|
+ background: $color;
|
|
|
|
+ top: 50%;
|
|
|
|
+ left: 50%;
|
|
|
|
+ content: " ";
|
|
|
|
+ display: block;
|
|
|
|
+ -webkit-border-radius: 4px;
|
|
|
|
+ -ms-border-radius: 4px;
|
|
|
|
+ -moz-border-radius: 4px;
|
|
|
|
+ -o-border-radius: 4px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ -webkit-transition: 0.3s;
|
|
|
|
+ -ms-transition: 0.3s;
|
|
|
|
+ -moz-transition: 0.3s;
|
|
|
|
+ -o-transition: 0.3s;
|
|
|
|
+ transition: 0.3s;
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 50%;
|
|
|
|
+ top: 50%;
|
|
|
|
+ -webkit-transform: translate(-50%, -50%);
|
|
|
|
+ -ms-transform: translate(-50%, -50%);
|
|
|
|
+ -moz-transform: translate(-50%, -50%);
|
|
|
|
+ -o-transform: translate(-50%, -50%);
|
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
|
+ }
|
|
|
|
+ .upload-zone i:before {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 3px;
|
|
|
|
+ }
|
|
|
|
+ .upload-zone i:after {
|
|
|
|
+ width: 3px;
|
|
|
|
+ height: 100%;
|
|
|
|
+ }
|
|
|
|
+ .upload-zone input[type='file'] {
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .zone2{
|
|
|
|
+ left: 43%;
|
|
|
|
+ top: 60%;
|
|
|
|
+ }
|
|
|
|
+ .zone3{
|
|
|
|
+ left: 53%;
|
|
|
|
+ top: 60%;
|
|
|
|
+ }
|
|
|
|
+ .zone4{
|
|
|
|
+ left: 63%;
|
|
|
|
+ top: 60%;
|
|
|
|
+ }
|