modify landing page
This commit is contained in:
commit
dd232b1c02
2599 files changed
+226992
No files matched your search
@@ -0,0 +1,88 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Kanit|Sarabun|Taviraj');
|
||||
.input-group-option:last-child span.input-group-addon-remove{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.input-group-option:last-child input.form-control{
|
||||
border-bottom-right-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
|
||||
.input-group-option span.input-group-addon-remove{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.input-group-option{
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
/*
|
||||
Selects
|
||||
*/
|
||||
|
||||
.input-group-multiple-select:last-child span.input-group-addon-remove{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.input-group-multiple-select:last-child input.form-control{
|
||||
border-bottom-right-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
|
||||
.input-group-multiple-select span.input-group-addon-remove{
|
||||
cursor: pointer;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.input-group-multiple-select{
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.form-group-1{
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.shadow-textarea textarea.form-control::placeholder {
|
||||
font-weight: 300;
|
||||
}
|
||||
.shadow-textarea textarea.form-control {
|
||||
padding-left: 0.8rem;
|
||||
}
|
||||
.group.a{
|
||||
margin: 10rem;
|
||||
}
|
||||
|
||||
.resp-container {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding-top: 56.25%;
|
||||
}
|
||||
|
||||
.resp-iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.size_card{
|
||||
width: 286px;
|
||||
height: 256px;
|
||||
}
|
||||
.size_card_2{
|
||||
width: 18rem;
|
||||
height: 18rem;
|
||||
}
|
||||
|
||||
.fix-size{
|
||||
width: 198px;
|
||||
height: 474px;
|
||||
}
|
||||
|
||||
.size_box_intable{
|
||||
width: 12rem;
|
||||
height: 2.5.rem;
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
#myBtn {
|
||||
display: none; /* Hidden by default */
|
||||
position: fixed; /* Fixed/sticky position */
|
||||
bottom: 20px; /* Place the button at the bottom of the page */
|
||||
right: 30px; /* Place the button 30px from the right */
|
||||
z-index: 99; /* Make sure it does not overlap */
|
||||
border: none; /* Remove borders */
|
||||
outline: none; /* Remove outline */
|
||||
background-color: hsl(199, 48%, 46%); /* Set a background color */
|
||||
color: white; /* Text color */
|
||||
cursor: pointer; /* Add a mouse pointer on hover */
|
||||
padding: 15px; /* Some padding */
|
||||
border-radius: 10px; /* Rounded corners */
|
||||
font-size: 18px; /* Increase font size */
|
||||
}
|
||||
|
||||
#myBtn:hover {
|
||||
background-color: #555; /* Add a dark-grey background on hover */
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
.group {
|
||||
position:relative;
|
||||
margin-bottom:45px;
|
||||
}
|
||||
input {
|
||||
font-size:18px;
|
||||
padding:10px 10px 10px 5px;
|
||||
display:block;
|
||||
width:300px;
|
||||
border:none;
|
||||
border-bottom:1px solid #757575;
|
||||
}
|
||||
/* LABEL ======================================= */
|
||||
label {
|
||||
color:#999;
|
||||
font-size:18px;
|
||||
font-weight:normal;
|
||||
position:absolute;
|
||||
pointer-events:none;
|
||||
left:5px;
|
||||
top:10px;
|
||||
transition:0.2s ease all;
|
||||
-moz-transition:0.2s ease all;
|
||||
-webkit-transition:0.2s ease all;
|
||||
}
|
||||
|
||||
/* active state */
|
||||
input:focus ~ label, input:valid ~ label {
|
||||
top:-20px;
|
||||
font-size:14px;
|
||||
color:rgb(217, 255, 1);
|
||||
}
|
||||
|
||||
/* BOTTOM BARS ================================= */
|
||||
.bar { position:relative; display:block; width:300px; }
|
||||
.bar:before, .bar:after {
|
||||
content:'';
|
||||
height:2px;
|
||||
width:0;
|
||||
bottom:1px;
|
||||
position:absolute;
|
||||
background:#5264AE;
|
||||
transition:0.2s ease all;
|
||||
-moz-transition:0.2s ease all;
|
||||
-webkit-transition:0.2s ease all;
|
||||
}
|
||||
.bar:before {
|
||||
left:50%;
|
||||
}
|
||||
.bar:after {
|
||||
right:50%;
|
||||
}
|
||||
|
||||
/* active state */
|
||||
input:focus ~ .bar:before, input:focus ~ .bar:after {
|
||||
width:50%;
|
||||
}
|
||||
|
||||
/* HIGHLIGHTER ================================== */
|
||||
.highlight {
|
||||
position:absolute;
|
||||
height:60%;
|
||||
width:100px;
|
||||
top:25%;
|
||||
left:0;
|
||||
pointer-events:none;
|
||||
opacity:0.5;
|
||||
}
|
||||
|
||||
/* active state */
|
||||
input:focus ~ .highlight {
|
||||
-webkit-animation:inputHighlighter 0.3s ease;
|
||||
-moz-animation:inputHighlighter 0.3s ease;
|
||||
animation:inputHighlighter 0.3s ease;
|
||||
}
|
||||
|
||||
/* ANIMATIONS ================ */
|
||||
@-webkit-keyframes inputHighlighter {
|
||||
from { background:#5264AE; }
|
||||
to { width:0; background:transparent; }
|
||||
}
|
||||
@-moz-keyframes inputHighlighter {
|
||||
from { background:#5264AE; }
|
||||
to { width:0; background:transparent; }
|
||||
}
|
||||
@keyframes inputHighlighter {
|
||||
from { background:#5264AE; }
|
||||
to { width:0; background:transparent; }
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
body {
|
||||
background: #000;
|
||||
|
||||
text-align: center;
|
||||
}
|
||||
.ques {
|
||||
color: darkslateblue;
|
||||
}
|
||||
.switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 65px;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.switch input {display:none;}
|
||||
|
||||
.slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #f2f2f2;
|
||||
-webkit-transition: .4s;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
.slider:before {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
content: "";
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
left: 0.5px;
|
||||
bottom: 0.5px;
|
||||
background-color: darkslategrey;
|
||||
-webkit-box-shadow: 0 0.5px 1.25px rgba(0, 0, 0, 0.22);
|
||||
box-shadow: 0 0.5px 1.25px rgba(0, 0, 0, 0.22);
|
||||
-webkit-transition: .4s;
|
||||
transition: all 0.4s ease-in-out;
|
||||
}
|
||||
.slider:after {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
content: "เปิด";
|
||||
font-size: 16px;
|
||||
text-align: left !important;
|
||||
line-height: 25px;
|
||||
padding-left: 0;
|
||||
width: 65px;
|
||||
color: #fff;
|
||||
height: 25px;
|
||||
border-radius: 25px;
|
||||
background-color: #ff6418;
|
||||
-webkit-transform: translateX(-40px);
|
||||
-ms-transform: translateX(-40px);
|
||||
transform: translateX(-40px);
|
||||
transition: all 0.4s ease-in-out;
|
||||
}
|
||||
|
||||
input:checked + .slider:after {
|
||||
-webkit-transform: translateX(0px);
|
||||
-ms-transform: translateX(0px);
|
||||
transform: translateX(0px);
|
||||
/*width: 235px;*/
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
input:checked + .slider:before {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
input:checked + .slider:before {
|
||||
-webkit-transform: translateX(40px);
|
||||
-ms-transform: translateX(40px);
|
||||
transform: translateX(40px);
|
||||
}
|
||||
|
||||
/* Rounded sliders */
|
||||
.slider.round {
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
.slider.round:before {
|
||||
border-radius: 50%;
|
||||
}
|
||||
.absolute-no {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: darkslategrey;
|
||||
text-align: right !important;
|
||||
font-size: 16px;
|
||||
width: calc(100% - 10px);
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
cursor: pointer;
|
||||
}
|
||||
Reference in new issue
Block a user