definicao de layout
This commit is contained in:
191
public/assets/scss/theme/_forms.scss
Normal file
191
public/assets/scss/theme/_forms.scss
Normal file
@@ -0,0 +1,191 @@
|
||||
/**=====================
|
||||
26. Form CSS Start
|
||||
==========================**/
|
||||
.height-35{
|
||||
height: 35px !important;
|
||||
}
|
||||
label{
|
||||
margin-bottom:5px;
|
||||
font-weight:600;
|
||||
}
|
||||
.form-group{
|
||||
margin-bottom:20px;
|
||||
}
|
||||
.form-control,.form-select{
|
||||
background-color:$white;
|
||||
font-size: 14px;
|
||||
border-color: $light-gray;
|
||||
color:$light-font;
|
||||
&:focus{
|
||||
border-color: $light-gray;
|
||||
background-color: $white;
|
||||
box-shadow: 0 0 0 0.2rem rgba(171, 140, 228, 0.05);
|
||||
}
|
||||
}
|
||||
.theme-form {
|
||||
.form-control{
|
||||
:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(171, 140, 228, 0.05);
|
||||
}
|
||||
}
|
||||
&.sm-form{
|
||||
.form-group{
|
||||
margin-bottom: $sm-form-margin-bottom;
|
||||
}
|
||||
}
|
||||
.form-group {
|
||||
margin-bottom: $form-group-margin-bottom;
|
||||
textarea{
|
||||
border-color: $form-input-border-color;
|
||||
&::-webkit-input-placeholder{
|
||||
color: $form-placeholder-color;
|
||||
font-size: $form-placeholder-font-size;
|
||||
letter-spacing: $form-placeholder-letter-spacing;
|
||||
font-weight: $form-placeholder-font-weight;
|
||||
}
|
||||
}
|
||||
input[type=text], input[type=email], input[type=search],
|
||||
input[type=password], input[type=number], input[type=tel], input[type=date], input[type=datetime-local]
|
||||
, input[type=time], input[type=datetime-local], input[type=month],input[type=week],
|
||||
input[type=url],input[type=file], select {
|
||||
border-color: $light-gray;
|
||||
// background-color: $form-input-bg-color;
|
||||
font-size: $form-placeholder-font-size;
|
||||
color: $form-placeholder-color;
|
||||
&::-webkit-input-placeholder{
|
||||
color: $form-placeholder-color;
|
||||
font-size: $form-placeholder-font-size;
|
||||
letter-spacing: $form-placeholder-letter-spacing;
|
||||
font-weight: $form-placeholder-font-weight;
|
||||
}
|
||||
}
|
||||
select.form-control:not([size]):not([multiple]){
|
||||
border-color: $form-input-border-color;
|
||||
font-size: $form-placeholder-font-size;
|
||||
}
|
||||
}
|
||||
.checkbox {
|
||||
label {
|
||||
padding-left: 10px;
|
||||
}
|
||||
}
|
||||
.form-divider {
|
||||
position: relative;
|
||||
clear: both;
|
||||
height: 0;
|
||||
margin: 30px 0;
|
||||
border-top: 1px solid $light-semi-gray;
|
||||
&:before {
|
||||
position: absolute;
|
||||
top: -11px;
|
||||
left: 40%;
|
||||
margin-left: -10px;
|
||||
padding: 0 5px;
|
||||
content: "Or Signup With";
|
||||
color: $theme-font-color;
|
||||
background: $white;
|
||||
}
|
||||
}
|
||||
.login-divider {
|
||||
position: relative;
|
||||
clear: both;
|
||||
height: 0;
|
||||
margin: 30px 0;
|
||||
border-top: 1px solid $light-semi-gray;
|
||||
&:before {
|
||||
position: absolute;
|
||||
top: -11px;
|
||||
left: 40%;
|
||||
margin-left: -10px;
|
||||
padding: 0 5px;
|
||||
color: $theme-font-color;
|
||||
background: $white;
|
||||
content: "Or Login With";
|
||||
}
|
||||
}
|
||||
.btn-fb {
|
||||
background-color: $fb;
|
||||
color: $white;
|
||||
width: 100%;
|
||||
}
|
||||
.btn-twitter {
|
||||
background-color: $twitter;
|
||||
color: $white;
|
||||
width: 100%;
|
||||
}
|
||||
.btn-google {
|
||||
background-color: $google-plus;
|
||||
color: $white;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
}
|
||||
.form-inline{
|
||||
display: -webkit-inline-box;
|
||||
.form-group{
|
||||
margin-right: 15px;
|
||||
.col-form-label
|
||||
{
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.search-form{
|
||||
.form-group{
|
||||
&:before{
|
||||
position: absolute;
|
||||
content: "";
|
||||
width:1px;
|
||||
height:25px;
|
||||
background:#e8ebf2;
|
||||
left:82px;
|
||||
top:50px;
|
||||
}
|
||||
&:after{
|
||||
position: absolute;
|
||||
content: "\f002";
|
||||
font-family: FontAwesome;
|
||||
top:50px;
|
||||
left:53px;
|
||||
color: #8e8e8e;
|
||||
}
|
||||
}
|
||||
input{
|
||||
border: 1px solid $light-gray;
|
||||
padding: 10px 10px 10px 70px;
|
||||
border-radius:50px;
|
||||
}
|
||||
}
|
||||
.form-label-align-right{
|
||||
label{
|
||||
text-align:right;
|
||||
padding-top: 17px;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
.custom-file-label{
|
||||
line-height: 1.8;
|
||||
&::after{
|
||||
line-height: 1.8;
|
||||
}
|
||||
}
|
||||
.input-group-text{
|
||||
border-color:$light-gray;
|
||||
font-weight:500;
|
||||
}
|
||||
|
||||
.dropdown-menu{
|
||||
border: 1px solid $light-gray;
|
||||
}
|
||||
.animated-modal {
|
||||
.form-select{
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**=====================
|
||||
26. Form CSS Ends
|
||||
==========================**/
|
||||
Reference in New Issue
Block a user