Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Gallery2B/ModalSignupFormCSS2.css
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
111 lines (94 sloc)
1.99 KB
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
* {box-sizing: border-box} | |
/* Input Width */ | |
input[type=text], input[type=password], input[type=email], input[type=date] { | |
width: 100%; | |
text-align: left; | |
padding: 15px; | |
margin: 5px 0 22px 0; | |
display: inline-flex; | |
border: none; | |
background: #f1f1f1; | |
} | |
/* BG color when input focused */ | |
input[type=text]:focus, input[type=password]:focus { | |
background-color: #ddd; | |
outline:none; | |
} | |
/* Styling for Buttons */ | |
button { | |
background-color: rgb(27, 221, 60); | |
color: white; | |
padding: 14px 20px; | |
margin: 8px 0; | |
border: none; | |
cursor: pointer; | |
width: 100%; | |
opacity: 0.9; | |
} | |
/* hover explains itself */ | |
button:hover { | |
opacity:1; | |
} | |
/* Cancel and sign up button floats with equal width. */ | |
.cancelbutton, .Register { | |
float : left; | |
width: 50%; | |
} | |
/* added customization for main register button */ | |
.firstregister { | |
width:20% | |
} | |
/*cancel button customization + */ | |
.cancelbutton{ | |
padding: 14px 20px; | |
background-color: #f44336; | |
} | |
/* padding for container*/ | |
.container{ | |
padding : 16px; | |
} | |
/* cool looking modal thing that pops up and dissappears aswell */ | |
.modal{ | |
display: none; /*so its hidden */ | |
position: fixed; | |
z-index: 1; /* sits on top */ | |
left: 0; | |
top: 0; | |
width: 100%; | |
overflow: auto; | |
height: 100%; | |
background-color: #b8ccf7; | |
padding-top: 50px; | |
} | |
/* content */ | |
.modal-content { | |
background-color: #fefefe; | |
margin: 5% auto 15% auto; | |
border: 1px solid #888; | |
width: 80%; | |
} | |
/* the (x closing button) */ | |
.close { | |
position: absolute; | |
right: 35px; | |
top:15px; | |
font-size:40px; | |
font-weight:bold; | |
color: #f1f1f1; | |
} | |
.close:hover, | |
.close:focus { | |
color: #f44336; | |
cursor: pointer; | |
} | |
/* clearing the floats */ | |
.clearreset::after { | |
content: ""; | |
clear: both; | |
display: table; | |
} | |
/* Ruler */ | |
hr { | |
border: 1px solid #f1f1f1; | |
margin-bottom: 25px; | |
} |