Created
April 2, 2019 22:49
-
-
Save wendelnascimento/3e464aa452ed25de629b9d6acef4c18e to your computer and use it in GitHub Desktop.
Default modal css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* modal */ | |
.modal-container { | |
position: fixed; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
top: 0; | |
display: flex; | |
background: rgba(0, 0, 0, 0.3); | |
align-items: center; | |
overflow: hidden; | |
overflow-y: auto; | |
pointer-events: none; | |
opacity: 0; | |
z-index: -1; | |
padding: 50px 0px; | |
-webkit-transition: all 0.3s ease; | |
-moz-transition: all 0.3s ease; | |
transition: all 0.3s ease; | |
} | |
.modal-skin { | |
position: absolute; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
top: 0; | |
} | |
.modal-container.opened { | |
opacity: 1; | |
z-index: 999; | |
pointer-events: auto; | |
-webkit-transition: all 0.2s ease; | |
-moz-transition: all 0.2s ease; | |
transition: all 0.2s ease; | |
} | |
.modal { | |
width: 500px; | |
max-width: 100%; | |
background: white; | |
margin: auto; | |
padding: 10px 20px 30px 20px; | |
border-radius: 10px; | |
transform: scale(0.9); | |
-webkit-transition: all 0.3s ease; | |
-moz-transition: all 0.3s ease; | |
transition: all 0.3s ease; | |
} | |
.opened .modal { | |
transform: scale(1); | |
-webkit-transition: all 0.3s ease; | |
-moz-transition: all 0.3s ease; | |
transition: all 0.3s ease; | |
} | |
.modal-header { | |
padding: 10px 0px; | |
display: flex; | |
align-items: center; | |
justify-content: space-between; | |
margin-bottom: 20px; | |
} | |
.modal-body { | |
padding: 0px 20px; | |
} | |
.modal-header-title { | |
margin: 0; | |
color: #15397d; | |
margin: auto; | |
} | |
.btn-close { | |
position: relative; | |
width: 30px; | |
height: 30px; | |
border-radius: 50%; | |
cursor: pointer; | |
} | |
.btn-close:after { | |
content: ''; | |
position: absolute; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
top: 0; | |
display: block; | |
width: 30px; | |
height: 2px; | |
background: #000000; | |
margin: auto; | |
transform: rotate(45deg); | |
} | |
.btn-close:before { | |
content: ''; | |
position: absolute; | |
left: 0; | |
bottom: 0; | |
top: 0; | |
right: 0; | |
display: block; | |
width: 30px; | |
height: 2px; | |
background: #000000; | |
margin: auto; | |
transform: rotate(-45deg); | |
} | |
.input-group { | |
width: 100%; | |
margin-bottom: 20px; | |
} | |
.input-group label { | |
margin-bottom: 3px; | |
display: block; | |
font-weight: bold; | |
font-family: 'Open Sans', sans-serif; | |
line-height: 25px; | |
} | |
.input-group small { | |
margin-bottom: 3px; | |
display: block; | |
font-family: 'Open Sans', sans-serif; | |
} | |
.input-default { | |
padding: 10px; | |
border: 1px solid #dbdbdb; | |
width: 100%; | |
box-sizing: border-box; | |
border-radius: 3px; | |
} | |
.input-radio { | |
margin-top: 10px; | |
} | |
.input-radio + span { | |
font-family: 'Open Sans', sans-serif; | |
} | |
.input-default:focus { | |
outline: none; | |
border-color: #15397d; | |
} | |
.input-default::-webkit-input-placeholder { | |
color: #dbdbdb; | |
font-size: 0.9em; | |
} | |
.input-default::-moz-placeholder { | |
color: #dbdbdb; | |
font-size: 0.9em; | |
} | |
.input-default:-ms-input-placeholder { | |
color: #dbdbdb; | |
font-size: 0.9em; | |
} | |
.input-default:-moz-placeholder { | |
color: #dbdbdb; | |
font-size: 0.9em; | |
} | |
.btn-send { | |
padding: 15px 20px; | |
border-radius: 30px; | |
font-size: 1.3em; | |
border: none; | |
background: #15397d; | |
color: white; | |
margin: auto; | |
display: block; | |
cursor: pointer; | |
font-family: 'Open Sans', sans-serif; | |
} | |
.feedback { | |
background: #15397d; | |
padding: 5px 15px; | |
margin-top: 20px; | |
font-size: 1em; | |
border-radius: 3px; | |
color: white; | |
text-align: center | |
} | |
.invisible { | |
display: none; | |
} | |
.conditionalInputGroup { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment