mdhub/app/application/resources/site/scss/forms.scss

109 lines
1.9 KiB
SCSS

.form-block {
padding: 10px 0;
label {
display: block;
font-size: 16px;
font-weight: 600;
padding-bottom: 7px;
color: #000;
span {
font-size: 14px;
font-weight: 400;
color: #f00;
}
}
.form-control {
display: block;
width: 100%;
padding: 6px 12px;
border-radius: 6px;
border: 1px solid #ddd;
}
textarea.form-control {
resize: vertical;
}
.form-control.is-invalid {
border-color: #dc3545;
}
.form-control:focus,
.form-control:focus-visible {
outline: 2px solid #006ce7;
}
.invalid-feedback {
display: block;
padding: 7px 10px;
color: #dc3545;
font-size: 14px;
border: 1px solid #dc3545;
border-radius: 6px;
margin-top: 10px;
margin-bottom: 10px;
}
}
.button {
background: #006400;
border: 1px solid #002452;
border-radius: 6px;
cursor: pointer;
font-weight: 600;
font-size: 16px;
padding: 12px 30px;
color: #fff;
transition: opacity 0.2s ease-out;
text-decoration: none;
display: inline-block;
vertical-align: top;
text-align: center;
}
.button:hover {
opacity: 0.8;
border-color: #006ce7;
color: #ccc;
}
.button.button-red {
border: 1px solid #FF2D20;
background: #9a241f;
}
.captcha-service-kor-elf {
position: relative;
z-index: 10;
}
.alert {
border-radius: 6px;
font-size: 16px;
padding: 14px 24px;
margin-bottom: 15px;
ul {
padding: 0;
margin: 0;
list-style: none;
}
}
.alert.alert-success {
border: 1px solid #0a6f4d;
color: #0a6f4d;
}
.alert.alert-danger {
border: 1px solid #dc3545;
color: #dc3545;
}
.form__example {
font-size: 14px;
font-style: italic;
color: #333;
}
.form__example__block {
display: block;
}